*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> lsync (2)              
Title
Content
Arch
Section
 

Contents


 sync(2)                                                             sync(2)




 NAME    [Toc]    [Back]
      sync - update disk

 SYNOPSIS    [Toc]    [Back]
      #include <unistd.h>

      void sync(void);

 DESCRIPTION    [Toc]    [Back]
      sync() causes all information in memory that should be on disk to be
      written out.  This includes modified file system meta-data and delayed
      block I/O.

      It should be used by commands and programs that examine a file system,
      such as 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.

 AUTHOR    [Toc]    [Back]
      sync() was developed by HP and AT&T Bell Laboratories.

 SEE ALSO    [Toc]    [Back]
      sync(1M), fdatasync(2), fsync(2).

 STANDARDS CONFORMANCE    [Toc]    [Back]
      sync(): SVID2, SVID3, XPG2


 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
rmboot HP-UX install, update or remove boot programs from disk
mkboot HP-UX install, update or remove boot programs from disk
disklabel Tru64 Reads and writes a disk pack label and formats disk partitions
verifyDisk IRIX verifies disk surface and partitions as an option disk
sync OpenBSD synchronize disk block in-core status with that on disk
createlabel Tru64 creates a disk label structure for a disk device
sync NetBSD synchronize disk block in-core status with that on disk
initDisk IRIX initializes disk and partitions is as an option disk
lfs_markv NetBSD rewrite disk blocks to new disk locations
amdload HP-UX downloads new firmware to the disk array controllers, the disk system BCC controllers, and disks
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service