SYNC(8,C) AIX Commands Reference SYNC(8,C)
-------------------------------------------------------------------------------
sync
PURPOSE
Updates the superblock and writes buffered files to the fixed disk.
SYNTAX
sync ---|
DESCRIPTION
The sync command runs the sync system call. If you stop the system without
using the shutdown command, you must run sync to ensure file system integrity.
sync writes all unwritten system buffers to disk. This includes modified
superblocks, modified inodes and delayed block I/O. The sync command does not
write out inodes for files opened with O_DEFERC.
Note: The writing, although scheduled, is not necessarily complete upon return
from the sync system call. Therefore, you might want to call sync
several times.
RELATED INFORMATION
See the sync system call in AIX Operating System Technical Reference.
Processed November 8, 1990 SYNC(8,C) 1