summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-30 17:34:23 +0100
committerRichard Jones <rjones@redhat.com>2009-04-30 17:34:23 +0100
commitf7e6ffa8a82f8a7a214a47ff32f46d9e893902d8 (patch)
treec0026038f845c5ec934d89aa3be5c3f1c307e305 /java
parente4733575efff31742444b180cdcfbc2504b144c8 (diff)
downloadlibguestfs-f7e6ffa8a82f8a7a214a47ff32f46d9e893902d8.tar.gz
libguestfs-f7e6ffa8a82f8a7a214a47ff32f46d9e893902d8.tar.xz
libguestfs-f7e6ffa8a82f8a7a214a47ff32f46d9e893902d8.zip
Autosync now runs umount-all; sync
Diffstat (limited to 'java')
-rw-r--r--java/com/redhat/et/libguestfs/GuestFS.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/java/com/redhat/et/libguestfs/GuestFS.java b/java/com/redhat/et/libguestfs/GuestFS.java
index fdf6e4ec..7e7cd686 100644
--- a/java/com/redhat/et/libguestfs/GuestFS.java
+++ b/java/com/redhat/et/libguestfs/GuestFS.java
@@ -319,9 +319,12 @@ public class GuestFS {
* set autosync mode
*
* If "autosync" is true, this enables autosync. Libguestfs
- * will make a best effort attempt to run "g.sync" when the
- * handle is closed (also if the program exits without
- * closing handles).
+ * will make a best effort attempt to run "g.umount_all"
+ * followed by "g.sync" when the handle is closed (also if
+ * the program exits without closing handles).
+ *
+ * This is disabled by default (except in guestfish where
+ * it is enabled by default).
*
* @throws LibGuestFSException
*/