- Unix Commands Reference
- Unix - Tutorial Home
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
parted - Unix, Linux Command
NAMEGNU Parted - a partition manipulation program
SYNOPSISparted [options] [device [command [options...]...]]
DESCRIPTIONThis manual page documents briefly the parted command. Complete documentation is distributed with the package in GNU Info format; see below.
parted is a disk partitioning and partition resizing program. It allows you to create, destroy, resize, move and copy ext2, ext3, linux-swap, FAT, FAT32, and reiserfs partitions. It can create, resize and move Macintosh HFS partitions, as well as detect jfs, ntfs, ufs, and xfs partitions. It is useful for creating space for new operating systems, reorganising disk usage, and copying data to new hard disks.
|displays a help message.|
|prompts for user intervention.|
|never prompt the user.|
|displays the version.|
|The block device to partition.|
Specifies a command to parted. If no command is given, parted will give you
a command prompt. Commands are:
KNOWN ISSUESext3 filesystem resizing, copying and creating do not currently work, please use tools like resize2fs(8) and mke2fs(8) instead.
Resizing partitions with an ext3 filesystem will not generally work because of the above issue. Use resize2fs(8) to resize the filesystem and resize the partition manually using fdisk(8) or a similar tool. For LVM situations, you will need to use the LVM commands to resize the LVM elements.
Parted also missbehaves when certian type of arguments are used. If the syntax used to describe offsets from the end -1s is used in the command line, -- must be used after OPTIONS so as not to confuse getopt. Eg: parted -s /dev/sdb -- mklabel gpt mkpart primary ext2 1s -1s
REPORTING BUGSReport bugs to <firstname.lastname@example.org>
AUTHORThis manual page was written by Timshel Knoll <email@example.com>, for the Debian GNU/Linux system (but may be used by others).