diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-08-18 22:08:29 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-08-18 22:08:29 +0100 |
commit | d67e6ea75dde6309ce4c6162a4a0429ab8d6709b (patch) | |
tree | e944fdbf86577e37759686d952bdbb337ff99e6d /src/guestfs.pod | |
parent | 781d72f55897b1ed923c795a0132241f53f6c6eb (diff) | |
download | libguestfs-d67e6ea75dde6309ce4c6162a4a0429ab8d6709b.tar.gz libguestfs-d67e6ea75dde6309ce4c6162a4a0429ab8d6709b.tar.xz libguestfs-d67e6ea75dde6309ce4c6162a4a0429ab8d6709b.zip |
Replace mount-options with mount where appropriate.
Since our minimum supported version is now 1.16 and mount was fixed in
1.13.16, it is now safe to replace mount-options + empty options with
mount wherever it occurs.
Diffstat (limited to 'src/guestfs.pod')
-rw-r--r-- | src/guestfs.pod | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guestfs.pod b/src/guestfs.pod index 05bbaea4..98de389a 100644 --- a/src/guestfs.pod +++ b/src/guestfs.pod @@ -143,12 +143,12 @@ NAMING> below. Before you can read or write files, create directories and so on in a disk image that contains filesystems, you have to mount those -filesystems using L</guestfs_mount_options> or L</guestfs_mount_ro>. +filesystems using L</guestfs_mount> or L</guestfs_mount_ro>. If you already know that a disk image contains (for example) one partition with a filesystem on that partition, then you can mount it directly: - guestfs_mount_options (g, "", "/dev/sda1", "/"); + guestfs_mount (g, "/dev/sda1", "/"); where C</dev/sda1> means literally the first partition (C<1>) of the first disk image that we added (C</dev/sda>). If the disk contains @@ -632,7 +632,7 @@ return a hash table like this example: / => /dev/vg_guest/lv_root /usr => /dev/vg_guest/lv_usr -The caller can then make calls to L</guestfs_mount_options> to +The caller can then make calls to L</guestfs_mount> to mount the filesystems as suggested. Be careful to mount filesystems in the right order (eg. C</> before |