10.93. 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.93.1. Installation of Parted

Prepare Parted for compilation:

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

The meaning of the configure options:


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

Compile the Parted package:


Install the package:

make install

10.93.2. Contents of Parted

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

Short Descriptions


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.


Informs the OS of partition table changes.


A library to manipulate partitions.