X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fuse%2Fguestmount.pod;h=fe19a07d82c817cf3c34a9ab660a15f113ba70ba;hp=9da740740c17523997cff0fb4cf75a0847b99e9c;hb=d600342b7d29c0176ff96a7807ebb38303ecb3a6;hpb=299d5b9dd260d47ac5121126ecd0e3f7bc4830b5 diff --git a/fuse/guestmount.pod b/fuse/guestmount.pod index 9da7407..fe19a07 100644 --- a/fuse/guestmount.pod +++ b/fuse/guestmount.pod @@ -75,6 +75,9 @@ If you want to debug the program, we recommend: Add a block device or virtual machine image. +The format of the disk image is auto-detected. To override this and +force a particular format use the I<--format=..> option. + =item B<--dir-cache-timeout N> Set the readdir cache timeout to I seconds, the default being 60 @@ -87,6 +90,18 @@ There is also a different attribute cache implemented by FUSE (see the FUSE option I<-o attr_timeout>), but the FUSE cache does not anticipate future requests, only cache existing ones. +=item B<--format=raw|qcow2|..> | B<--format> + +The default for the I<-a> option is to auto-detect the format of the +disk image. Using this forces the disk format for I<-a> options which +follow on the command line. Using I<--format> with no argument +switches back to auto-detection for subsequent I<-a> options. + +If you have untrusted raw-format guest disk images, you should use +this option to specify the disk format. This avoids a possible +security problem with malicious guests (CVE-2010-3851). See also +L. + =item B<--fuse-help> Display help on special FUSE options (see I<-o> below).