sync(2)
NAME
sync − update super-block
SYNTAX
void sync()
DESCRIPTION
The sync system call schedules all memory-resident file system information to be written out to disk. This information includes modified super blocks, modified inodes, and delayed block I/O.
It should be used by programs which examine a file system (for example, icheck or df). It is mandatory before a boot.
RESTRICTIONS
The writing, although scheduled, is not necessarily complete upon return from the sync call.
ASSEMBLER
(sync = 36.)
sys sync