Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sync(2) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fsync

sync

sync

Purpose

     Updates the superblock, i-nodes, and delayed blocks.

Syntax

     void sync ( )

Description

     The  sync system  call causes  all information  in memory
     that should be  on disk to be written  out.  The writing,
     although  scheduled,  is  not necessarily  complete  upon
     return from  the sync system call.   Types of information
     to  be  written  include modified  superblocks,  modified
     i-nodes, delayed block I/O, and read-write mapped files.

     If  Distributed Services  is  installed  on your  system,
     information in memory relating  to remote files is sched-
     uled to be sent to the remote node.

     The  sync system  call should  be used  by programs  that
     examine a file  system, such as the df  and fsck commands
     described in AIX Operating System Commands Reference.

Related Information

     In this book:  "fsync."

     The sync command in  AIX Operating System Commands Refer-
     ence.

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