Provided by:
debathena-syncupdate_10.0.1~ubuntu8.04_i386 ![bug](/manpages/www/img/bug.png)
NAME
syncupdate - update files with synchronously written data
SYNOPSIS
syncupdate [ -c tempfile ] source dest
DESCRIPTION
syncupdate copies or renames source to dest, making sure that the
information in source has been synchronously written out to disk before
performing the final rename.
If the -c flag is given, syncupdate will copy the contents of source to
tempfile, push the contents of tempfile to disk using fsync(2), and
then rename tempfile to dest. tempfile will be removed prior to the
copy. syncupdate will preserve the mode of source when generating
tempfile, but not the ownership information.
If the -c flag is not given, syncupdate will open source, use fsync(2)
to push its contents to disk, and then rename source to dest.
AUTHOR
Greg Hudson, MIT Information Systems
Copyright 1999 by the Massachusetts Institute of Technology
28 December 1999 SYNCUPDATE(1)