summaryrefslogtreecommitdiffstats
path: root/cat/virt-filesystems.pod
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-10-25 12:47:16 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-10-25 14:02:46 +0100
commit51672634fddc20095adc1300e0bfee2c99c604f5 (patch)
treee25d5e9b67a3497e7132919a2a873255924894e7 /cat/virt-filesystems.pod
parent47412f137f2b09dbc2b44b78ba84c0b348e3f402 (diff)
downloadlibguestfs-51672634fddc20095adc1300e0bfee2c99c604f5.tar.gz
libguestfs-51672634fddc20095adc1300e0bfee2c99c604f5.tar.xz
libguestfs-51672634fddc20095adc1300e0bfee2c99c604f5.zip
virt-filesystems: Add MBR partition type byte to the output.
This adds an extra column containing this information, looking like this: Name Type VFS Label MBR Size Parent /dev/sda1 filesystem ntfs - - 6.0G - /dev/sda1 partition - - 07 6.0G /dev/sda /dev/sda device - - - 6.0G - In particular you can use this to tell if a partition is an extended partition, because the field will contain '05' or '0f'.
Diffstat (limited to 'cat/virt-filesystems.pod')
-rwxr-xr-xcat/virt-filesystems.pod8
1 files changed, 8 insertions, 0 deletions
diff --git a/cat/virt-filesystems.pod b/cat/virt-filesystems.pod
index ad28b02d..51123959 100755
--- a/cat/virt-filesystems.pod
+++ b/cat/virt-filesystems.pod
@@ -316,6 +316,14 @@ type if one could be detected, eg. C<ext4>.
If the object has a label (used for identifying and mounting
filesystems) then this column contains the label.
+=item B<MBR>
+
+The partition type byte, displayed as a two digit hexadecimal number.
+A comprehensive list of partition types can be found here:
+L<http://www.win.tue.nl/~aeb/partitions/partition_types-1.html>
+
+This is only applicable for DOS (MBR) partitions.
+
=item B<Size>
The size of the object in bytes. If the I<--human> option is used