How to sync a file on FreeBSD? [SOLVED]

Polytropon freebsd at
Fri Jul 22 14:42:56 UTC 2011

On Fri, 22 Jul 2011 07:37:48 -0700, Michael Sierchio wrote:
> This is extremely important, esp. with Softupdates, since fsync() does
> not guarantee a flush of all buffers to the medium. 

But wouldn't sync() (see "man 2 sync") make sure that
all buffers, even in regards to soft updates, get
immediately flushed / written?

> In order to
> implement a stable queue, it would be best to use a different
> filesystem.

What type of filesystem would match those requirements?

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list