SYNC(2) SYNC(2) NAME sync - force writing of system buffers SYNOPSIS void sync() DESCRIPTION Sync schedules all information in memory that should be on disk or other block media to be written out. This 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(8). It is highly recommended before a shutdown or reboot. SEE ALSO sync(8) BUGS The writing, although scheduled, is not necessarily complete upon return from sync.