git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4b8f70d
)
docs: Note that guestfs_sync is no longer necessary.
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 7 Dec 2010 22:15:45 +0000
(22:15 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 7 Dec 2010 22:15:45 +0000
(22:15 +0000)
src/guestfs.pod
patch
|
blob
|
history
diff --git
a/src/guestfs.pod
b/src/guestfs.pod
index
7cb05a6
..
1376e52
100644
(file)
--- a/
src/guestfs.pod
+++ b/
src/guestfs.pod
@@
-14,7
+14,6
@@
guestfs - Library for accessing and modifying virtual machine images
guestfs_mount (g, "/dev/sda1", "/");
guestfs_touch (g, "/hello");
guestfs_umount (g, "/");
guestfs_mount (g, "/dev/sda1", "/");
guestfs_touch (g, "/hello");
guestfs_umount (g, "/");
- guestfs_sync (g);
guestfs_close (g);
cc prog.c -o prog -lguestfs
guestfs_close (g);
cc prog.c -o prog -lguestfs
@@
-100,11
+99,10
@@
this:
* disk image.
*/
guestfs_touch (g, "/hello");
* disk image.
*/
guestfs_touch (g, "/hello");
-
- /* You only need to call guestfs_sync if you have made
- * changes to the guest image. (But if you've made changes
- * then you *must* sync). See also: guestfs_umount and
- * guestfs_umount_all calls.
+
+ /* This is only needed for libguestfs < 1.5.24. Since then
+ * it is done automatically when you close the handle. See
+ * discussion of autosync in this page.
*/
guestfs_sync (g);
*/
guestfs_sync (g);