version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
JohnMcPherson |
1 |
!!NAME |
|
|
2 |
GNU Parted - a partition manipulation program |
|
|
3 |
|
|
|
4 |
!!SYNOPSIS |
|
|
5 |
__parted__ [[options] [[device [[command [[options...]...]] |
|
|
6 |
|
|
|
7 |
!!DESCRIPTION |
|
|
8 |
This manual page documents briefly the __parted__ command. Complete documentation is distributed with the parted-doc Debian package in GNU Info format; see below. |
|
|
9 |
|
|
|
10 |
__parted__ is a disk partitioning and partition resizing program. It allows you to create, destroy, resize, move and copy ext2, ext3, linux-swap, FAT and FAT32 partitions. This is useful for creating space for new operating systems, reorganising disk usage, and copying data to new hard disks. |
|
|
11 |
|
|
|
12 |
!!OPTIONS |
|
|
13 |
|
|
|
14 |
;__-h, --help__ : displays a help message. |
|
|
15 |
;__-i, --interactive__ : where necessary, prompts for user intervention. |
|
|
16 |
;__-s, --script__ : never prompts for user intervention. |
|
|
17 |
;__-v, --version__ : displays the version. |
|
|
18 |
|
|
|
19 |
!!COMMANDS |
|
|
20 |
|
|
|
21 |
;__[[device]__ : The block device to partition. |
|
|
22 |
;__[[command [[options]]__ : Specifies a command to parted. If no command is given, parted will give you a command prompt. Commands are: |
|
|
23 |
|
|
|
24 |
;__check ''partition''__ : does a simple check on ''partition''. |
|
|
25 |
;__cp ''[[source-device]'' ''source'' ''dest''__ : copies the ''source'' partition's filesystem on ''source-device'' (or the current device if no other device was specified) to the ''dest'' partition on the current device. |
|
|
26 |
;__help ''[[command]''__ : prints general help, or help on ''command'' if specified. |
|
|
27 |
;__mkfs ''partition'' ''fs-type''__ : make a filesystem ''fs-type'' on ''partition''. ''fs-type'' can be one of "FAT", "ext2" or "linux-swap". |
|
|
28 |
;__mklabel ''label-type''__ : Creates a new disklabel (partition table) of ''label-type''. ''label-type'' should be one of "bsd", "gpt", "loop", "mac", "mips", "msdos", "pc98" or "sun". |
|
|
29 |
;__mkpart ''part-type'' ''[[fs-type]'' ''start'' ''end''__ : make a ''part-type'' partition with filesystem ''fs-type'' (if specified), beginning at ''start'' and ending at ''end'' (in megabytes). ''part-type'' should be one of "primary", "logical" or "extended" |
|
|
30 |
;__mkpartfs ''part-type'' ''fs-type'' ''start'' ''end''__ : make a ''part-type'' partition with filesystem ''fs-type'' beginning at ''start'' and ending at ''end'' (in megabytes) |
|
|
31 |
;__move ''partition'' ''start'' ''end''__ : move ''partition'' to start at ''start'' and end at ''end''. Note: move never changes the minor number |
|
|
32 |
;__name ''partition'' ''name''__ : set the name of ''partition'' to ''name''. This option works only on Mac and PC98 disklabels. The name can be placed in quotes, if necessary |
|
|
33 |
;__print__ : displays the partition table |
|
|
34 |
;__quit__ : exits parted |
|
|
35 |
;__resize ''partition'' ''start'' ''end''__ : resize the filesystem on ''partition'' to start at ''start'' and end at ''end'' megabytes |
|
|
36 |
;__rm ''partition''__ : deletes ''partition'' |
|
|
37 |
;__select ''device''__ : choose ''device'' as the current device to edit. ''device'' should usually be a Linux hard disk device, but it can be a partition, software raid device or a LVM logical volume if that is necessary |
|
|
38 |
;__set ''partition'' ''flag'' ''state''__ : change the state of the ''flag'' on ''partition'' to ''state''. Flags supported are: "boot", "root", "swap", "hidden", "raid", "lvm", "lba" and "palo". ''state'' should be either "on" or "off" |
|
|
39 |
|
|
|
40 |
|
|
|
41 |
!!REPORTING BUGS |
|
|
42 |
Report bugs to <bug-parted@gnu.org> |
|
|
43 |
|
|
|
44 |
!!SEE ALSO |
|
|
45 |
fdisk(8), mkfs(8), The ''parted'' program is documented fully in the ''GNU partitioning software'' manual available via the Info system. |
|
|
46 |
|
|
|
47 |
!!AUTHOR |
|
|
48 |
This manual page was written by Timshel Knoll <timshel@debian.org>, for the Debian GNU/Linux system (but may be used by others). |