Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2011 23:44:00 -0700 (PDT)
From:      Unga <>
Subject:   How to sync a file on FreeBSD?
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi all

How to sync a file on FreeBSD (esp. on 8.1) to disk?

I used fsync(2), but does not immediately flush to disk.

I want my writing to a file (a log file) immediately available to other users to read.

Best regards

Want to link to this message? Use this URL: <>