X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fuse%2Fguestmount.pod;h=9fbefcf39a86d13d802edfed0be3daa9392e62bf;hb=8e61d636bb621e5e2bf6a2f4eb95329ceb2b9890;hp=338af97bdefd6d4f1ba7b86d65bc7186269a7e34;hpb=a20e5c00c35490fa29668630113a01240a69b701;p=libguestfs.git diff --git a/fuse/guestmount.pod b/fuse/guestmount.pod index 338af97..9fbefcf 100644 --- a/fuse/guestmount.pod +++ b/fuse/guestmount.pod @@ -148,7 +148,9 @@ to try to read passphrases from the user by opening C. Connect to a live virtual machine. (Experimental, see L). -=item B<-m dev[:mnt]> | B<--mount dev[:mnt]> +=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). @@ -156,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 +236,9 @@ Display the program version and exit. =item B<-w> | B<--rw> -This option does nothing at the moment. +This changes the I<-a>, I<-d> and I<-m> options so that disks are +added and mounts are done read-write. + See L. =item B<-x> | B<--trace> @@ -235,6 +249,21 @@ This also stops the daemon from forking into the background. =back +=head1 FILES + +=over 4 + +=item $HOME/.libguestfs-tools.rc + +=item /etc/libguestfs-tools.conf + +This configuration file controls the default read-only or read-write +mode (I<--ro> or I<--rw>). + +See L. + +=back + =head1 SEE ALSO L,