Section: System Administration (8)
Updated: June 2012
partx a | -d | -s | -u] [-t TYPE] [-n M:N] [ disk
Given a device or disk-image, partx tries to parse the partition table and list its contents. It optionally adds or removes partitions.
The disk argument is optional when a partition argument is provided. To force scanning a partition as if it were a whole disk (for example to list nested subpartitions), use the argument "-" (hyphen-minus). For example:
:partx --show - /dev/sda3
This will see sda3 as a whole-disk rather than a partition.
The partx command is part of the util-linux package and is available from Linux Kernel Archive
Tutoriais de Tecnologia Web