System information

rm minor-num Remove the partition
sel ect device Select a different device to configure
set minor-num flag state Set the flag on a partition; state is either on or off
to gg l e [NUMBER [FLAG] Toggle the state of FLAG on partition NUMBER
uni t UNIT Set the default unit to UNIT
Co mman d Descrip t io n
13.1. Viewing t he Part it ion T able
After starting parted , use the command pri nt to view the partition table. A table similar to the
following appears:
Examp le 13.1. Part it io n t ab le
Model: ATA ST3160812AS (scsi)
Disk /dev/sda: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 107MB 107MB primary ext3 boot
2 107MB 105GB 105GB primary ext3
3 105GB 107GB 2147MB primary linux-swap
4 107GB 160GB 52.9GB extended root
5 107GB 133GB 26.2GB logical ext3
6 133GB 133GB 107MB logical ext3
7 133GB 160GB 26.6GB logical lvm
The first line contains the disk type, manufacturer, model number and interface, and the second
line displays the disk label type. The remaining output below the fourth line shows the partition
table.
In the partition table, the Minor number is the partition number. For example, the partition with minor
number 1 corresponds to /d ev/sd a1. The Start and End values are in megabytes. Valid T ype are
metadata, free, primary, extended, or logical. The Fi lesystem is the file system type, which can be
any of the following:
ext2
ext3
fat16
fat32
hfs
jfs
linux-swap
ntfs
reiserfs
Chapt er 1 3. Part it ions
91