summaryrefslogtreecommitdiffstats
path: root/daemon/sync.c
Commit message (Collapse)AuthorAgeFilesLines
* daemon: Allow -r option to run daemon standalone.Richard W.M. Jones2011-02-031-2/+3
| | | | | | | | This changes several aspects of the daemon. Currently: * sysroot will be "" (ie. operate directly on /) * CHROOT_IN/CHROOT_OUT are disabled * autosync doesn't try to unmount everything
* Add a new internal-autosync API to perform autosync.Richard W.M. Jones2011-01-281-0/+17
| | | | | | | | | Instead of explicitly calling umount-all; sync, we add a daemon function called internal-autosync which does the same. Apart from slightly simplifying the process of closing the handle, the main advantage is we can modify the daemon for the standalone case so that internal-autosync does not do the umount-all operation.
* Tab to space (whitespace fixes only).Richard Jones2010-03-121-1/+1
|
* daemon: Fix sync() call on Unix.Richard Jones2009-11-251-1/+2
|
* sync: Windows implementation of sync() call.Richard Jones2009-11-251-1/+95
| | | | | Replace calls to sync() with calls to sync_disks() which supports Win32 via FlushFileBuffers.
* avoid warning about old-style no-param function definitionJim Meyering2009-08-171-1/+1
| | | | | * daemon/df.c (do_df, do_df_h): Add "void". * sync.c (do_sync): Likewise.
* remove trailing blanksJim Meyering2009-07-031-1/+1
|
* Added test suite.Richard Jones2009-04-111-1/+0
|
* Daemon and library are mostly talking to each other now.Richard Jones2009-04-031-0/+32