Virt-filesystems

From wikieduonline
Jump to navigation Jump to search
This article is a Draft. Help us to complete it.
https://libguestfs.org/virt-filesystems.1.html
virt-filesystems -a IMAGE_NAME.qcow2
/dev/sda111
virt-filesystems -a IMAGE_NAME_2.qcow2
(no output)
virt-filesystems --partitions --long -h -a qcow_IMAGE_NAME.qcow2
Name       Type       MBR  Size          Parent
/dev/sda1  partition  -    200G  /dev/sda


virt-filesystems -a output.img --all --long -h
Name       Type        VFS   Label  MBR  Size  Parent
/dev/sda1  filesystem  ext3  /boot  -    102M  -
/dev/sda2  filesystem  ext3  -      -    6.9G  -
/dev/sda3  filesystem  swap  -      -    992M  -
/dev/sda1  partition   -     -      -    102M  /dev/sda
/dev/sda2  partition   -     -      -    6.9G  /dev/sda
/dev/sda3  partition   -     -      -    992M  /dev/sda
/dev/sda   device      -     -      -    8.0G  -


Related commands

See also

Advertising: