diff options
author | Richard Jones <rjones@redhat.com> | 2009-11-24 15:19:08 +0000 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-11-24 16:01:11 +0000 |
commit | 299d5b9dd260d47ac5121126ecd0e3f7bc4830b5 (patch) | |
tree | 934509c2fdefa3fde1676352a752af53e27ef7b1 /fuse | |
parent | 9b6185b9bf8147e20563608b23eaafce9c5edc2f (diff) | |
download | libguestfs-299d5b9dd260d47ac5121126ecd0e3f7bc4830b5.tar.gz libguestfs-299d5b9dd260d47ac5121126ecd0e3f7bc4830b5.tar.xz libguestfs-299d5b9dd260d47ac5121126ecd0e3f7bc4830b5.zip |
New tool: virt-list-filesystems
Use this program as a convenient way to list the filesystems
available in a disk image or libvirt guest.
Example:
$ virt-list-filesystems /dev/vg_trick/Debian5x64
/dev/debian5x64/home
/dev/debian5x64/root
/dev/debian5x64/tmp
/dev/debian5x64/usr
/dev/debian5x64/var
/dev/sda1
This is designed to make it easier for novices to use guestfish
and guestmount. In particular with guestmount this acts as a way
to get a list of filesystems to use with the '-m' option. ie:
$ virt-list-filesystems unknowndisk.img
/dev/sda1
/dev/sda2
$ guestmount -a unknowndisk.img -m /dev/sda1 /mnt
Diffstat (limited to 'fuse')
-rw-r--r-- | fuse/guestmount.pod | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fuse/guestmount.pod b/fuse/guestmount.pod index ee9a7c88..9da74074 100644 --- a/fuse/guestmount.pod +++ b/fuse/guestmount.pod @@ -53,6 +53,11 @@ mountpoints for you: option is called I<--ro-fish> or I<--fish> because these parameters are compatible with L<guestfish(1)>. +If you don't know what filesystems are contained in a guest or +disk image, use L<virt-list-filesystems(1)> first: + + virt-list-filesystems MyGuest + If you want to trace the libguestfs calls but without excessive debugging, we recommend: |