xref: /original-bsd/bin/sync/sync.8 (revision 2d18f455)
Copyright (c) 1980 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.

@(#)sync.8 6.2 (Berkeley) 05/28/86

SYNC 8 ""
C 4
NAME
sync - update the super block
SYNOPSIS
/etc/sync
DESCRIPTION
Sync executes the sync system primitive. Sync can be called to insure that all disk writes have been completed before the processor is halted in a way not suitably done by reboot (8) or halt (8). Generally, it is preferable to use reboot or halt to shut down the system, as they may perform additional actions such as resynchronizing the hardware clock and flushing internal caches before performing a final sync .

See sync (2) for details on the system primitive.

"SEE ALSO"
sync(2), fsync(2), halt(8), reboot(8), update(8)