write all changes to disk
sync [ file ... ]
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.
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.
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