Index: doc/USER =================================================================== RCS file: /var/cvs/debian/parted/doc/USER,v retrieving revision 1.1.1.2 diff -u -r1.1.1.2 USER --- doc/USER 2001/04/18 15:47:19 1.1.1.2 +++ doc/USER 2001/04/25 08:23:05 @@ -580,7 +580,7 @@ select DEVICE choose the device to edit Selects the device for Parted to edit. The device will usually be a Linux hard -disk device, or, if direct access to a file systems required - a partition, +disk device, or, if direct access to a file system is required - a partition, software RAID device, or LVM logical volume. Example: Index: doc/parted.8 =================================================================== RCS file: /var/cvs/debian/parted/doc/parted.8,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 parted.8 --- doc/parted.8 2001/03/19 11:44:50 1.1.1.1 +++ doc/parted.8 2001/04/25 08:23:06 @@ -1,4 +1,6 @@ -.TH parted 8 +.\" Hey, EMACS: -*- nroff -*- +.\" Please adjust this date whenever revising the manpage. +.TH parted 8 "25 Apr, 2001" parted "GNU Parted Manual" .\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection .\" other parms are allowed: see man(7), man(1) .SH NAME @@ -39,19 +41,16 @@ a command prompt. Commands are: .RS .TP -.B boot \fIpartition\fP -sets the boot partition to be \fIpartition\fP. \fIpartition\fP is 1-4 -for primary/extended, and 5+ for logical partitions -.TP .B check \fIpartition\fP does a simple check on \fIpartition\fP .TP -.B cp \fIsource\fP [device] \fIdest\fP -copies \fIsource\fP partition's filesystem to \fIdest\fP partition on [device], -if specified +.B cp \fI[source-device]\fP \fIsource\fP \fIdest\fP +copies the \fIsource\fP partition's filesystem on \fIsource-device\fP (or the +current device if no other device was specified) to the \fIdest\fP +partition on the current device .TP -.B help [command] -prints general help, or help on [command] if specified +.B help \fI[command]\fP +prints general help, or help on \fIcommand\fP if specified .TP .B hide \fIpartition\fP hides partition \fIpartition\fP @@ -64,20 +63,33 @@ make a filesystem \fIfs-type\fP on \fIpartition\fP. \fIfs-type\fP can be one of "FAT", "ext2" or "linux-swap" .TP -.B mkpart \fIpart-type\fP [fs-type] \fIstart\fP \fIend\fP -make a \fIpart-type\fP partition with filesystem [fs-type] (if specified), -from \fIstart\fP to \fIend\fP (in megabytes). \fIpart-type\fP can be "primary", -"logical" or "extended" +.B mklabel \fIlabel-type\fP +Creates a new disklabel of type \fIlabel-type\fP on the current device. +\fIlabel-type\fP should be one of "bsd", "loop", "mac", "msdos", "pc98" or +"sun" +.TP +.B mkpart \fIpart-type\fP \fI[fs-type]\fP \fIstart\fP \fIend\fP +make a \fIpart-type\fP partition with filesystem \fIfs-type\fP (if specified), +beginning at \fIstart\fP and ending at \fIend\fP (in megabytes). +\fIpart-type\fP should be one of "primary", "logical" or "extended" .TP .B mkpartfs \fIpart-type\fP \fIfs-type\fP \fIstart\fP \fIend\fP -make a \fIpart-type\fP partition with filesystem \fIfs-type\fP from -\fIstart\fP to \fIend\fP (in megabytes). +make a \fIpart-type\fP partition with filesystem \fIfs-type\fP beginning at +\fIstart\fP and ending at \fIend\fP (in megabytes) +.TP +.B move \fIpartition\fP \fIstart\fP \fIend\fP +move \fIpartition\fP to start at \fIstart\fP and end at \fIend\fP. Note: move +never changes the minor number +.TP +.B name \fIpartition\fP \fIname\fP +set the name of \fIpartition\fP to \fIname\fP. This option works only on Mac +and PC98 disklabels. The name can be placed in quotes, if necessary .TP .B print displays the partition table .TP .B quit -exits program +exits parted .TP .B resize \fIpartition\fP \fIstart\fP \fIend\fP resize the filesystem on \fIpartition\fP to start at \fIstart\fP and end at @@ -86,15 +98,22 @@ .B rm \fIpartition\fP deletes \fIpartition\fP .TP -.B unhide \fIpartition\fP -unhides \fIpartition\fP +.B select \fIdevice\fP +choose \fIdevice\fP as the current device to edit. \fIdevice\fP 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 +.TP +.B set \fIpartition\fP \fIflag\fP \fIstate\fP +change the state of the \fIflag\fP on \fIpartition\fP to \fIstate\fP. Flags +supported are: "boot", "root", "swap", "hidden", "raid", "lvm" and "lba". +\fIstate\fP should be either "on" or "off" .RS .SH REPORTING BUGS Report bugs to .SH SEE ALSO .BR fdisk (8), .BR mkfs (8), -README file +USER manual. .SH AUTHOR This manual page was written by Timshel Knoll ,