mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
$ ./run ./format/virt-format -a /tmp/test.img --filesystem=ext2 --label=BOOT
$ ./run ./cat/virt-filesystems -a /tmp/test.img --all --long -h
Name Type VFS Label MBR Size Parent
/dev/sda1 filesystem ext2 BOOT - 1.0G -
/dev/sda1 partition - - 83 1.0G /dev/sda
/dev/sda device - - - 1.0G -
Thanks: Gerd Hoffmann (kraxel)
(cherry picked from commit c46e41cb3c)