parted  3.4
About: GNU parted allows you to create, destroy, resize, move and copy hard disk partitions.
  Fossies Dox: parted-3.4.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

parted Documentation

Some Fossies usage hints in advance:

  1. To see the Doxygen generated documentation please click on one of the items in the steelblue colored "quick index" bar above or use the side panel at the left which displays a hierarchical tree-like index structure and is adjustable in width.
  2. If you want to search for something by keyword rather than browse for it you can use the client side search facility (using Javascript and DHTML) that provides live searching, i.e. the search results are presented and adapted as you type in the Search input field at the top right.
  3. Doxygen doesn't incorporate all member files but just a definable subset (basically the main project source code files that are written in a supported language). So to search and browse all member files you may visit the Fossies parted-3.4.tar.xz contents page and use the Fossies standard member browsing features (also with source code highlighting and additionally with optional code folding).

GNU Parted

GNU Parted is a program for manipulating partition tables.


Parted (post-2.4) no longer has the ability to create and modify file systems. Use file-system-specific tools to create and operate on file systems. For example, use the e2fsprogs programs to operate on ext2, ext3 and ext4 file systems. Use programs from the reiserfsprogs package if you want to manipulate reiserfs file systems. Although Parted lets you do some of the same things, the file-system-related code in parted is not as robust as the code in more specialized, FS-specific packages.

Most FS-related functionality was removed after Parted 2.4. Thus, the following commands are no longer supported: mkpartfs, mkfs, cp, move, check, resize.

See the file NEWS for a list of major changes in the current release.

  • documentation is in the doc/ directory. The User's documentation is in texinfo format, and is built into a format viewable by info/pinfo when you run make. To view the distributed texinfo documentation, run this:

    $ info -f

Or view it on-line at:

For any copyright year range specified as YYYY-ZZZZ in this package note that the range specifies every single year in that closed interval.


(1) When compiling Parted for distribution for general use, we recommend using the default configuration:

CFLAGS=-Os ./configure

This includes --enable-debug (by default), which contains many assertions. Obviously, these "waste" space, but in the past, they have caught potentially dangerous bugs before they would have done damage, so we think it's worth it. Also, it means we get more bug reports ;)

(2) When space is important, we suggest --without-readline, --disable-shared, and possibly --disable-nls.