10.101. Parted-3.1

Parted is a program for creating, copying and modifying partitions, and the file systems on them. Parted is especially useful on PPC machines in that, unlike fdisk, it accurately reads Macintosh partition maps.

10.101.1. Installation of Parted

Prepare Parted for compilation:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \
    --disable-device-mapper

The meaning of the configure options:

--disable-device-mapper

This disables the use of the device-mapper library, which we do not install in CLFS.

Compile the Parted package:

make

Install the package:

make install

10.101.2. Contents of Parted

Installed programs: parted, partprobe
Installed libraries: libparted.[a,so]

Short Descriptions

parted

A program for creating, destroying, resizing, checking and copying partitions, and the filesystems on them. This is useful for creating space for new operating systems, reorganising disk usage, copying data between hard disks, and disk imaging.

partprobe

Informs the OS of partition table changes.

libparted

A library to manipulate partitions.