[parted-devel] [PATCH] Cleanup mkpart manpage entry (#1183077)

Brian C. Lane bcl at redhat.com
Thu Nov 5 23:04:21 UTC 2015


---
 doc/C/parted.8  | 8 ++++----
 doc/parted.texi | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/C/parted.8 b/doc/C/parted.8
index 5304375..f9dfca7 100644
--- a/doc/C/parted.8
+++ b/doc/C/parted.8
@@ -73,10 +73,10 @@ 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).
-\fIpart-type\fP should be one of "primary", "logical", or "extended".
+.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.
 .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 cb12e8d..f300f66 100644
--- a/doc/parted.texi
+++ b/doc/parted.texi
@@ -550,7 +550,7 @@ PCs.
 @cindex mkpart, command description
 @cindex command description, mkpart
 
- at deffn Command mkpart [@var{part-type} @var{fs-type} @var{name}] @var{start} @var{end}
+ at 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
-- 
2.4.3




More information about the parted-devel mailing list