Product SiteDocumentation Site

16.3.3. Using the partx Command

The partx command displays a list of disk partitions. To list the partition table of a particular disk, as root, run this command with the -s option followed by the device name. For example:
~]# partx -s /dev/sda
NR     START       END   SECTORS   SIZE NAME UUID
 1      2048   4196351   4194304     2G      
 2   4196352 138414079 134217728    64G      
 3 138414080 146802687   8388608     4G      
 4 146802688 976773119 829970432 395.8G
For a complete list of available command line options, refer to the partx(8) manual page.