sync sync sync
Sienkiew at UDEL-DEWEY.ARPA
Sienkiew at UDEL-DEWEY.ARPA
Fri May 24 08:43:26 AEST 1985
When you execute sync, it does NOT write anything that is locked for
manipulation. i.e. If I am modifying a file at the same time you
are calling sync, the inode of the file I am modifying may be 'locked'
when you look at it. Therefore, it will not be written to disk, since
to do so would invite disaster.
If you do it three times, you probably will get everything. Inodes
only stay locked for extremely short times.
Mark.
More information about the Comp.unix.wizards
mailing list