%general-entities; ]> $LastChangedBy$ $Date$ parted-&parted-version; Parted Introduction to parted The Parted package is a disk partitioning and partition resizing tool. &lfs83_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &parted-md5sum; Download size: &parted-size; Estimated disk space required: &parted-buildsize; Estimated build time: &parted-time; Additional Downloads Optional, to fix build without device mapper support: Parted Dependencies Optional LVM2 (needed for device-mapper, required if building udisks), pth, and texlive (or tl-installer User Notes: Installation of parted If you want to build without device mapper support, a fix is necessary: patch -Np1 -i ../parted-&parted-version;-devmapper-1.patch Install Parted by running the following commands: sed -i '/utsname.h/a#include <sys/sysmacros.h>' libparted/arch/linux.c && ./configure --prefix=/usr --disable-static && make && make -C doc html && makeinfo --html -o doc/html doc/parted.texi && makeinfo --plaintext -o doc/parted.txt doc/parted.texi texi2pdf -o doc/parted.pdf doc/parted.texi && texi2dvi -o doc/parted.dvi doc/parted.texi && dvips -o doc/parted.ps doc/parted.dvi If you wish to run the test suite, first remove a test that normally fails in BLFS (because it needs a locale C.UTF-8): sed -i '/t0251-gpt-unicode.sh/d' tests/Makefile To test the results, issue: make check. Note that many tests are skipped if not run as the root user. Now, as the root user: make install && install -v -m755 -d /usr/share/doc/parted-&parted-version;/html && install -v -m644 doc/html/* \ /usr/share/doc/parted-&parted-version;/html && install -v -m644 doc/{FAT,API,parted.{txt,html}} \ /usr/share/doc/parted-&parted-version; Install the optional PDF and Postscript documentation by issuing the following command as the root user: install -v -m644 doc/FAT doc/API doc/parted.{pdf,ps,dvi} \ /usr/share/doc/parted-&parted-version; Command Explanations sed ...: Add a header to allow building with glibc-2.28 or later. : This option disables device mapper support. Add this parameter if you have not installed LVM2. Contents Installed Programs Installed Libraries Installed Directories parted and partprobe libparted.so and libparted-fs-resize.so /usr/include/parted and /usr/share/doc/parted-&parted-version; Short Descriptions parted is a partition manipulation program. parted partprobe informs the OS of partition table changes. partprobe libparted.so contains the Parted API functions. libparted.so