summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBrian C. Lane <bcl@redhat.com>2015-11-05 15:03:54 -0800
committerBrian C. Lane <bcl@redhat.com>2016-12-22 13:57:38 -0800
commitf2ace5e95742cb20fdce8b551953a1b89c28135f (patch)
tree64cde03da685fdb0ef2b68851e17b91e2f4b8036 /doc
parent02b763188c7d54e92796d990944ec8d54019bf84 (diff)
downloadparted-f2ace5e95742cb20fdce8b551953a1b89c28135f.tar.gz
doc: Cleanup mkpart manpage entry (#1183077)
Diffstat (limited to 'doc')
-rw-r--r--doc/C/parted.88
-rw-r--r--doc/parted.texi2
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/C/parted.8 b/doc/C/parted.8
index a45f42f..41baa1a 100644
--- a/doc/C/parted.8
+++ b/doc/C/parted.8
@@ -73,12 +73,12 @@ Create a new disklabel (partition table) of \fIlabel-type\fP. \fIlabel-type\fP
should be one of "aix", "amiga", "bsd", "dvh", "gpt", "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 for filesystem \fIfs-type\fP (if specified),
-beginning at \fIstart\fP and ending at \fIend\fP (by default in megabytes).
+.B mkpart [\fIpart-type\fP \fIname\fP \fIfs-type\fP] \fIstart\fP \fIend\fP
+Create a new partition. \fIpart-type\fP may be specified only with msdos and
+dvh partition tables, it should be one of "primary", "logical", or "extended".
+\fIname\fP is required for GPT partition tables and \fIfs-type\fP is optional.
\fIfs-type\fP can be one of "btrfs", "ext2", "ext3", "ext4", "fat16", "fat32",
"hfs", "hfs+", "linux-swap", "ntfs", "reiserfs", or "xfs".
-\fIpart-type\fP should be one of "primary", "logical", or "extended".
.TP
.B name \fIpartition\fP \fIname\fP
Set the name of \fIpartition\fP to \fIname\fP. This option works only on Mac,
diff --git a/doc/parted.texi b/doc/parted.texi
index 060f3d4..c55d343 100644
--- a/doc/parted.texi
+++ b/doc/parted.texi
@@ -576,7 +576,7 @@ PCs.
@cindex mkpart, command description
@cindex command description, mkpart
-@deffn Command mkpart [@var{part-type} @var{fs-type} @var{name}] @var{start} @var{end}
+@deffn Command mkpart [@var{part-type} @var{name} @var{fs-type}] @var{start} @var{end}
Creates a new partition, @emph{without} creating a new file system on
that partition. This is useful for creating partitions for file systems