
- 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



NAME
GNU Parted - a partition manipulation programSYNOPSIS
parted [options] [device [command [options...]...]]DESCRIPTION
This 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.
OPTIONS
Tag | Description |
---|---|
-h, --help | |
displays a help message. | |
-i, --interactive | |
prompts for user intervention. | |
-s, --script | |
never prompt the user. | |
-v, --version | |
displays the version. |
COMMANDS
Tag | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[device] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The block device to partition. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[command [options]] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Specifies a command to parted. If no command is given, parted will give you
a command prompt. Commands are:
|
KNOWN ISSUES
ext3 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 BUGS
Report bugs to <bug-parted@gnu.org>SEE ALSO
info(1) format GNU partitioning software manual.AUTHOR
This manual page was written by Timshel Knoll <timshel@debian.org>, for the Debian GNU/Linux system (but may be used by others).


Advertisements |