X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fuse%2Fguestmount.pod;h=ea0cb638eacbf40a6ac53f6c202c8ddaa3e2695f;hp=e86d76c79a45a0626a8f7f00c3ec71c93d3029cc;hb=4e529e06a4500959cd783f5029354fea47a253a6;hpb=2c4a7ef92a4583a1217213573ad406eb5d745990 diff --git a/fuse/guestmount.pod b/fuse/guestmount.pod index e86d76c..ea0cb63 100644 --- a/fuse/guestmount.pod +++ b/fuse/guestmount.pod @@ -57,9 +57,9 @@ For a libvirt guest called "Guest" you could do: guestmount -d Guest -i --ro /mnt If you don't know what filesystems are contained in a guest or -disk image, use L first: +disk image, use L first: - virt-list-filesystems MyGuest + virt-filesystems MyGuest If you want to trace the libguestfs calls but without excessive debugging information, we recommend: @@ -143,7 +143,14 @@ mounted on the real virtual machine. Read key or passphrase parameters from stdin. The default is to try to read passphrases from the user by opening C. -=item B<-m dev[:mnt]> | B<--mount dev[:mnt]> +=item B<--live> + +Connect to a live virtual machine. +(Experimental, see L). + +=item B<-m dev[:mountpoint[:options]]> + +=item B<--mount dev[:mountpoint[:options]]> Mount the named partition or logical volume on the given mountpoint B (this has nothing to do with mountpoints in the host). @@ -151,6 +158,16 @@ B (this has nothing to do with mountpoints in the host). If the mountpoint is omitted, it defaults to C. You have to mount something on C. +The third (and rarely used) part of the mount parameter is the list of +mount options used to mount the underlying filesystem. If this is not +given, then the mount options are either the empty string or C +(the latter if the I<--ro> flag is used). By specifying the mount +options, you override this default choice. Probably the only time you +would use this is to enable ACLs and/or extended attributes if the +filesystem can support them: + + -m /dev/sda1:/:acl,user_xattr + =item B<-n> | B<--no-sync> By default, we attempt to sync the guest disk when the FUSE mountpoint @@ -224,7 +241,7 @@ See L. =item B<-x> | B<--trace> -Trace libguestfs calls. +Trace libguestfs calls and entry into each FUSE function. This also stops the daemon from forking into the background.