unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (SunOS-4.1.3)
Page:
Section:
Apropos / Subsearch:
optional field

SYNC(2)                       System Calls Manual                      SYNC(2)



NAME
       sync - update super-block

SYNOPSIS
       sync()

DESCRIPTION
       sync()  writes  out  all  information  in core memory that should be on
       disk.  This  includes  modified  super  blocks,  modified  inodes,  and
       delayed block I/O.

       sync() should be used by programs that examine a file system, for exam-
       ple fsck(8), df(1V), etc.  sync() is mandatory before a boot.

SEE ALSO
       fsync(2), cron(8)

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



                                21 January 1990                        SYNC(2)