summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-04-30 19:10:25 -0400
committerRichard W.M. Jones <rjones@redhat.com>2011-04-30 19:10:25 -0400
commita5e421570cc840f70f2931e24b3df40c9a14cd2d (patch)
tree790fc3ac340360d50168c444f92a256f99b9e720 /src
parent470e373eea218c8d46b0c63dda93ee9ece48940f (diff)
downloadlibguestfs-a5e421570cc840f70f2931e24b3df40c9a14cd2d.tar.gz
libguestfs-a5e421570cc840f70f2931e24b3df40c9a14cd2d.tar.xz
libguestfs-a5e421570cc840f70f2931e24b3df40c9a14cd2d.zip
guestfs(3): Refresh autosync gotcha documentation.
Diffstat (limited to 'src')
-rw-r--r--src/guestfs.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guestfs.pod b/src/guestfs.pod
index b66c16c9..389bced5 100644
--- a/src/guestfs.pod
+++ b/src/guestfs.pod
@@ -775,6 +775,9 @@ them.
=item Autosync / forgetting to sync.
+I<Update:> Autosync is enabled by default for all API users starting
+from libguestfs 1.5.24. This section only applies to older versions.
+
When modifying a filesystem from C or another language, you B<must>
unmount all filesystems and call L</guestfs_sync> explicitly before
you close the libguestfs handle. You can also call:
@@ -793,9 +796,6 @@ Note that in L<guestfish(3)> autosync is the default. So quick and
dirty guestfish scripts that forget to sync will work just fine, which
can make this very puzzling if you are trying to debug a problem.
-Update: Autosync is enabled by default for all API users starting from
-libguestfs 1.5.24.
-
=item Mount option C<-o sync> should not be the default.
If you use L</guestfs_mount>, then C<-o sync,noatime> are added