[Next] [Previous] [Up] [Top] [Contents]

5.1 File System Management

5.1.3 Sync command

Sync causes the system to flush its buffers and write all waiting data to disk. Sync should be executed periodically by the OS, either in the kernel, or through a periodic program, e.g. cron. SunOS does this for you every 30 seconds using either the update (4.1.X) or fsflush (5.X) command.


Unix System Administration - 8 AUG 1996
[Next] [Previous] [Up] [Top] [Contents]