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

  man pages->OpenBSD man pages -> sync (8)              
Title
Content
Arch
Section
 

SYNC(8)

Contents


NAME    [Toc]    [Back]

     sync - force completion of pending disk writes (flush cache)

SYNOPSIS    [Toc]    [Back]

     sync

DESCRIPTION    [Toc]    [Back]

     The  sync  utility  can  be  called  to ensure that all disk
writes have been
     completed before the processor is halted in a way not  suitably done by
     reboot(8)  or  halt(8).   Generally, it is preferable to use
reboot(8) or
     halt(8) to shut down the system, as they may  perform  additional actions
     such  as resynchronizing the hardware clock and flushing internal caches
     before performing a final sync.

     sync utilizes the sync(2) function call.

SEE ALSO    [Toc]    [Back]

      
      
     fsync(2), sync(2), halt(8), reboot(8), update(8)

HISTORY    [Toc]    [Back]

     A sync command appeared in Version 6 AT&T UNIX.

OpenBSD      3.6                           May      31,      1993
[ Back ]
 Similar pages
Name OS Title
TIFFFlush IRIX flush pending writes to an open TIFF file
arm_sync_icache NetBSD clean the cpu data cache and flush the cpu instruction cache
disklabel Tru64 Reads and writes a disk pack label and formats disk partitions
cacheflush Linux flush contents of instruction and/or data cache
cacheflush IRIX flush contents of instruction and/or data cache
krs_flush HP-UX flush kernel registry services data to disk
update OpenBSD flush internal filesystem caches to disk frequently
sync Tru64 Flush file system metadata and data from memory buffers to disk.
sync2 Tru64 Flush file system metadata and data from memory buffers to disk
bdflush Linux start, flush, or tune buffer-dirty-flush daemon
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service