X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Fguestfs.pod;h=389bced5ed3b2fbef97dfd41941583c6bf2d7bbc;hb=a5e421570cc840f70f2931e24b3df40c9a14cd2d;hp=c6e5a2891a2313364c84e61a462b36197f6babbe;hpb=dd86183f3f6d4d5ad28e1f12c56ba920934e7ad0;p=libguestfs.git diff --git a/src/guestfs.pod b/src/guestfs.pod index c6e5a28..389bced 100644 --- a/src/guestfs.pod +++ b/src/guestfs.pod @@ -354,7 +354,7 @@ doing: guestfs_download (g, filename, "/dev/stdout"); -and you can write tar output to a pipe C by doing: +and you can write tar output to a file descriptor C by doing: char devfd[64]; snprintf (devfd, sizeof devfd, "/dev/fd/%d", fd); @@ -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