On Tue, 31 Oct 2000, Alfred Perlstein wrote:
> You guys are missing the difference between fsync(2) and sync(1),
> on Linux fsync(2) (called on a file descriptor) WILL sync out all
> the data halfway to specification, HOWEVER afaik it will not fsync
> out all directory entries that may contain this file.
That all depends on a filesystem. To my belief, all post-ext2 filesystems
(such as tux2, reiserfs, xfs) will properly flush metadata when
necessary..
-alex