summaryrefslogtreecommitdiffstats
path: root/disk-utils/partx.8
diff options
context:
space:
mode:
authorSami Kerola2017-04-13 19:09:23 +0200
committerSami Kerola2017-05-03 00:22:04 +0200
commit2cdaf94b55bd862fc01c76f0e8cb39e68d8f89f9 (patch)
treeb80988da4fa694e393ce3642844fcede0a5fb14f /disk-utils/partx.8
parentlibblkid: add blkid_partitions_get_name() (diff)
downloadkernel-qcow2-util-linux-2cdaf94b55bd862fc01c76f0e8cb39e68d8f89f9.tar.gz
kernel-qcow2-util-linux-2cdaf94b55bd862fc01c76f0e8cb39e68d8f89f9.tar.xz
kernel-qcow2-util-linux-2cdaf94b55bd862fc01c76f0e8cb39e68d8f89f9.zip
partx: add --list-types option
Use libblkid as the source of truth what partition type names exist, and are supported. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'disk-utils/partx.8')
-rw-r--r--disk-utils/partx.818
1 files changed, 4 insertions, 14 deletions
diff --git a/disk-utils/partx.8 b/disk-utils/partx.8
index 2dd34f209..af7313cb9 100644
--- a/disk-utils/partx.8
+++ b/disk-utils/partx.8
@@ -119,20 +119,10 @@ The output columns can be selected and rearranged with the
All numbers (except SIZE) are in 512-byte sectors.
.TP
.BR \-t , " \-\-type " \fItype
-Specify the partition table type, which can be one of
-.BR aix ,
-.BR bsd ,
-.BR dos ,
-.BR gpt ,
-.BR mac ,
-.BR minix ,
-.BR PMBR ,
-.BR sgi ,
-.BR solaris ,
-.BR sun ,
-.BR ultrix ,
-or
-.BR unixware .
+Specify the partition table type.
+.TP
+.BR \-\-list\-types
+List supported partition types and exit.
.TP
.BR \-u , " \-\-update"
Update the specified partitions.