Section: Maintenance Commands (8)Updated: 11 Jan 2007Local indexUp
NAME
partx -
telling the kernel about presence and numbering of on-disk partitions.
SYNOPSIS
partx
[-a|-d|-l]
[--typeTYPE]
[--nrM-N]
[partition]
disk
DESCRIPTION
Given a block device (
disk
) and a partition table
type
, try to parse the partition table, and list the
contents. Optionally add or remove partitions.
This is not an fdisk - adding and removing partitions
is not a change of the disk, but just telling the kernel
about presence and numbering of on-disk partitions.
OPTIONS
-a
add specified partitions or read disk and add all partitions
-d
delete specified or all partitions
-l
list partitions. Note that the all numbers are in 512-byte sectors.
--type TYPE
Specify the partition type -- dos, bsd, solaris, unixware or gpt.