sync(1M)
NAME
sync − synchronize file systems
SYNOPSIS
sync [-l]
DESCRIPTION
sync executes the sync() system call (see sync(2)). If the system is to be stopped, the sync command must be called to ensure file system integrity.
sync flushes all previously unwritten system buffers including modified super blocks, modified inodes, and delayed block I/O out to disk. This ensures that all file modifications are properly saved before performing a critical operation such as a system shutdown. For additional protection from power failures or possible system crashes, use syncer to execute sync automatically at periodic intervals (see syncer(1M)).
AUTHOR
sync was developed by AT&T and HP.
SEE ALSO
STANDARDS CONFORMANCE
sync: SVID2, SVID3
Hewlett-Packard Company — HP-UX Release 10.20: July 1996