From: Richard Jones Date: Sat, 17 Apr 2010 15:24:03 +0000 (+0100) Subject: In guestfs(3), unmount "/" directory in the example. X-Git-Tag: 1.2.3~11 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=1d1ffa4ed6af5a3d2569c95986adb66b226fa3b7;p=libguestfs.git In guestfs(3), unmount "/" directory in the example. (cherry picked from commit 6e4bf8e278f5c8bd28eba7152d2f11d1e537ee1b) --- diff --git a/src/guestfs.pod b/src/guestfs.pod index a566b71..3046688 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);