sync, lsync - update disk
causes all information in memory that should be on disk to be written
out. This includes modified file system meta-data and delayed block
It should be used by commands and programs that examine a file system,
such as and so on. It is mandatory before a shutdown.
The writing, although scheduled, is not necessarily complete upon
In some HP-UX systems, 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.
is a deprecated system call that is currently functionally identical to
HP-UX kernel support for it remains only to aid compatibility with very
old HP-UX binaries.
was developed by HP and AT&T Bell Laboratories.
SEE ALSOsync(1M), fdatasync(2), fsync(2).