summaryrefslogtreecommitdiffstats
path: root/guestfs.pod
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-04 10:41:34 +0100
committerRichard Jones <rjones@redhat.com>2009-04-04 10:41:34 +0100
commitc9cc61940b41b1abb763a1932adfc3461372c10b (patch)
tree891b310f73b6d1166b59d91ec6f541923c9ab5e6 /guestfs.pod
parent64a5ae0e969754c709974104a83e6d1dbb4c2764 (diff)
downloadlibguestfs-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.pod16
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