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 − update super-block

SYNOPSIS

void sync ( )

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. 

SEE ALSO

sync(1M). 

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

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