sync(2) versus sync(8)

Shu-Wie F Chen swfc at ulysses.att.com
Tue Jul 3 03:55:44 AEST 1990


According to the man page for fsync(2) on a Sun-4:

...some description about fsync...

Note: this is different than sync(8) which schedules disk I/O for all
files (as though an fsync() had been done on all files) but returns
before the I/O completes.

...

However, I can't find sync in section 8 of the man pages.  What does it
actually do?  How does it differ from sync(2) which writes out all
information in core memory that should be on disk.

Thanks,
*swfc



More information about the Comp.unix.questions mailing list