Difference between revisions of "Virt-filesystems"

From wikieduonline
Jump to navigation Jump to search
Line 20: Line 20:
 
== Related commands ==
 
== Related commands ==
 
* <code>[[virt-resize]]</code>
 
* <code>[[virt-resize]]</code>
 
+
* <code>[[virt-ls]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 14:35, 4 February 2020

This article is a Draft. Help us to complete it.


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: