From a5e421570cc840f70f2931e24b3df40c9a14cd2d Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 30 Apr 2011 19:10:25 -0400 Subject: [PATCH] guestfs(3): Refresh autosync gotcha documentation. --- src/guestfs.pod | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/guestfs.pod b/src/guestfs.pod index b66c16c..389bced 100644 --- a/src/guestfs.pod +++ b/src/guestfs.pod @@ -775,6 +775,9 @@ them. =item Autosync / forgetting to sync. +I 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 unmount all filesystems and call L explicitly before you close the libguestfs handle. You can also call: @@ -793,9 +796,6 @@ Note that in L 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, then C<-o sync,noatime> are added -- 1.8.3.1