X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=python%2Fguestfs.py;h=2fced28e0f93e8e7bade17811d3118039551e56a;hp=ab0154f28ad2725058abbcb3dbb138c431a30647;hb=f7e6ffa8a82f8a7a214a47ff32f46d9e893902d8;hpb=e4733575efff31742444b180cdcfbc2504b144c8 diff --git a/python/guestfs.py b/python/guestfs.py index ab0154f..2fced28 100644 --- a/python/guestfs.py +++ b/python/guestfs.py @@ -194,9 +194,12 @@ class GuestFS: def set_autosync (self, autosync): u"""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). """ return libguestfsmod.set_autosync (self._o, autosync)