Hail,

I'm wondering how to fsync() changes to a directory such as link() with
softupdates or async mode. Linux has the "open and fsync the directory"
approach. 

With softupdates, fsync() syncs directory corresponding to the open file
handle.

However, how do I sync unlinks, for example?

Would opening a directory and fsync()ing flush all pending changes to
the directory and guarantee fsync() does not return before writes are
written (assuming write caches in the disk drive are switched off, of
course)?

-- 
Matthias Andree

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to