Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sync(1M) — HP-UX 8.05

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(2) system call. 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(1M) to execute sync automatically at periodic intervals. 

Options

sync recognizes the following options:

−l Execute lsync(2) system call instead. 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 8.05: June 1991

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