sync(ADM)
sync --
write all changes to disk
Syntax
sync [ file ... ]
Description
Without arguments, sync executes the sync
system primitive to write all changes to the storage medium.
If the system is to be stopped, sync
must be called to ensure filesystem integrity.
Note that
shutdown(ADM)
automatically calls sync
before shutting down the system.
If you specify the filenames (file ...) of regular
files or block devices for which you have write permission,
sync executes the fsync system primitive
to write out changes associated with just those files or devices.
See also
fsync(S),
sync(S)
Standards conformance
sync is conformant with
AT&T SVID Issue 2.
The usage of sync with filename arguments is not part of
any currently supported standard; it is an extension of
AT&T System V provided by the Santa Cruz Operation, Inc.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003