Difference between revisions of "Virt-filesystems"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Draft}}
 
{{Draft}}
  
 +
https://libguestfs.org/virt-filesystems.1.html
  
  virt-filesystems --partitions --long -a qcow_IMAGE_NAME.[[qcow2]]
+
  virt-filesystems -a IMAGE_NAME.[[qcow2]]
 +
[[/dev/sda]]111
  
 +
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 ==
 +
* <code>[[virt-resize]]</code>
 +
* <code>[[virt-ls]]</code>
 +
* <code>[[virt-cat]]</code>
 +
* <code>[[virt-df]]</code>
 +
* <code>[[virt-list-filesystems]]</code>
 +
* <code>[[guestmount]]</code>, <code>[[guestfish]]</code>
  
 
== See also ==
 
== See also ==
 
* {{virt}}
 
* {{virt}}
 
+
* {{fs}}
  
  
 
[[Category:Virt]]
 
[[Category:Virt]]

Latest revision as of 07:46, 4 April 2021

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[edit]

See also[edit]

Advertising: