Removes the partition with number
number. If you accidently delete
a partition with this command, use mkpart to
recover it. Also, you can use the gpart program (see Related information)
to recover damaged disk labels.
Note for msdos disk labels: if you delete a logical partition, all
logical partitions with a larger partition number will be renumbered. For
example, if you delete a logical partition with a partition number of 6,
then logical partitions that were number 7, 8 and 9 would be renumbered
to 6, 7 and 8 respectively. This means, for example, that you have to
/etc/fstab on GNU/Linux systems.
(parted) rm 3
Remove partition 3.