diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-04 10:41:34 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-04 10:41:34 +0100 |
commit | c9cc61940b41b1abb763a1932adfc3461372c10b (patch) | |
tree | 891b310f73b6d1166b59d91ec6f541923c9ab5e6 /guestfs.pod | |
parent | 64a5ae0e969754c709974104a83e6d1dbb4c2764 (diff) | |
download | libguestfs-c9cc61940b41b1abb763a1932adfc3461372c10b.tar.gz libguestfs-c9cc61940b41b1abb763a1932adfc3461372c10b.tar.xz libguestfs-c9cc61940b41b1abb763a1932adfc3461372c10b.zip |
Implemented autosync, make it the default for guestfish.
Diffstat (limited to 'guestfs.pod')
-rw-r--r-- | guestfs.pod | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/guestfs.pod b/guestfs.pod index 70082da4..129c6817 100644 --- a/guestfs.pod +++ b/guestfs.pod @@ -237,6 +237,22 @@ situations. This returns the current out of memory handler. +=head1 AUTOSYNC + +=head2 guestfs_set_autosync + + void guestfs_set_autosync (guestfs_h *handle, int autosync); + +If C<autosync> is true, this enables autosync. Libguestfs will make a +best effort attempt to run C<guestfs_sync> when the handle is closed +(also if the program exits without closing handles). + +=head2 guestfs_get_autosync + + int guestfs_get_autosync (guestfs_h *handle); + +Get the autosync flag. + =head1 VERBOSE MESSAGES =head2 guestfs_set_verbose |