Hi there,
According to an (old) man page of sync(2)
According to the standard specification (e.g., SVID),
sync() schedules the writes, but may return before the
actual writing is done. However, since version 1.3.20
Linux does actually wait. (This still does not guarantee
data integrity: modern disks have large caches.)
How about recent kernels? Does sync() block until buffers are flushed?
How can I find out if the disk caches are actually flushed?
I want to make sure that all data is flushed to my disk drive before powering
down the system.
Thanks.
--
Steven
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html