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-osr5), sync(S-osr5)

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.


© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005