Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

syncer(1M)

sync(2)

sync(1M)

NAME

sync − synchronize file systems

SYNOPSIS

sync [-l]

DESCRIPTION

sync executes the sync() system call (see sync(2)). If the system is to be stopped, the sync command must be called to ensure file system integrity. 

sync flushes all previously unwritten system buffers including modified super blocks, modified inodes, and delayed block I/O out to disk.  This ensures that all file modifications are properly saved before performing a critical operation such as a system shutdown.  For additional protection from power failures or possible system crashes, use syncer to execute sync automatically at periodic intervals (see syncer(1M)).

Options

sync recognizes the following options:

-l (ell) Execute the lsync() system call instead (see sync(2)). If the machine is a cluster node, sync -l causes only the local node to be synced, while sync causes the entire cluster to be synced. 

AUTHOR

sync was developed by AT&T and HP. 

SEE ALSO

syncer(1M), sync(2). 

STANDARDS CONFORMANCE

sync: SVID2

Hewlett-Packard Company  —  HP-UX Release 9.0: August 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026