summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-04-17 16:24:03 +0100
committerRichard Jones <rjones@redhat.com>2010-04-17 16:24:03 +0100
commit6e4bf8e278f5c8bd28eba7152d2f11d1e537ee1b (patch)
tree194e1fe7c885e5ac40f0766e4f5f1bd8c3a33c09
parent4680c732585b2c2d292f521f393215c7943096fa (diff)
downloadlibguestfs-6e4bf8e278f5c8bd28eba7152d2f11d1e537ee1b.tar.gz
libguestfs-6e4bf8e278f5c8bd28eba7152d2f11d1e537ee1b.tar.xz
libguestfs-6e4bf8e278f5c8bd28eba7152d2f11d1e537ee1b.zip
In guestfs(3), unmount "/" directory in the example.
-rw-r--r--src/guestfs.pod1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/guestfs.pod b/src/guestfs.pod
index a566b71a..30466884 100644
--- a/src/guestfs.pod
+++ b/src/guestfs.pod
@@ -13,6 +13,7 @@ guestfs - Library for accessing and modifying virtual machine images
guestfs_launch (handle);
guestfs_mount (handle, "/dev/sda1", "/");
guestfs_touch (handle, "/hello");
+ guestfs_umount (handle, "/");
guestfs_sync (handle);
guestfs_close (handle);