2 .\" Copyright 2007 Karel Zak <kzak@redhat.com>
3 .\" Copyright 2007 Red Hat, Inc.
4 .\" May be distributed under the GNU General Public License
5 .TH PARTX 8 "11 Jan 2007"
8 telling the kernel about presence and numbering of on-disk partitions.
11 .RB [ \-a | \-d | \-l ]
19 Given a block device (
21 ) and a partition table
23 , try to parse the partition table, and list the
24 contents. Optionally add or remove partitions.
26 This is not an fdisk - adding and removing partitions
27 is not a change of the disk, but just telling the kernel
28 about presence and numbering of on-disk partitions.
33 add specified partitions or read disk and add all partitions
36 delete specified or all partitions
39 list partitions. Note that the all numbers are in 512-byte sectors.
42 Specify the partition type -- dos, bsd, solaris, unixware or gpt.
45 Specify the range of partitions (e.g --nr 2-4).
55 The partx command is part of the util-linux-ng package and is available from
56 ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.