Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sync(1M)

SYNC(2)  —  HP-UX

NAME

sync, lsync − update super-block

SYNOPSIS

void sync ( )

void lsync ( )

DESCRIPTION

Sync causes all information in memory that should be on disk to be written out.  This includes modified super blocks, modified inodes, and delayed block I/O. 

It should be used by programs which examine a file system, for example fsck, df, etc. It is mandatory before a shutdown.

The writing, although scheduled, is not necessarily complete upon return from sync.

In some HP-UX systems, sync may be reduced to a no-op.  This is permissible on a system which does not cache buffers, or in a system that in some way ensures that the disks are always in a consistent state. 

DEPENDENCIES

Series 300 Diskless
On systems that are members of a Series 300 diskless cluster, sync causes updates of all file systems in the cluster to be written out, while lsync performs only a local sync. That is, local buffers are flushed to disk and to remote nodes of the Series 300 diskless cluster, but remote nodes do not flush their own pages.

AUTHOR

Sync was developed by HP and AT&T Bell Laboratories.  Lsync was developed by HP. 

SEE ALSO

sync(1M). 

Hewlett-Packard Company  —  Version B.1,  May 11, 2021

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