Blame SOURCES/0039-Cleanup-mkpart-manpage-entry-1183077.patch

7fd79c
From a5a64f34ca3d64c4da04ed6e870d4c8e469c6098 Mon Sep 17 00:00:00 2001
7fd79c
From: "Brian C. Lane" <bcl@redhat.com>
7fd79c
Date: Thu, 5 Nov 2015 15:03:54 -0800
7fd79c
Subject: [PATCH 39/40] Cleanup mkpart manpage entry (#1183077)
7fd79c
7fd79c
(cherry picked from commit fa6cd8448f68e6661fb86a8331b44198edd02c9d)
7fd79c
---
7fd79c
 doc/C/parted.8  | 8 ++++----
7fd79c
 doc/parted.texi | 2 +-
7fd79c
 2 files changed, 5 insertions(+), 5 deletions(-)
7fd79c
7fd79c
diff --git a/doc/C/parted.8 b/doc/C/parted.8
7fd79c
index a45f42f..41baa1a 100644
7fd79c
--- a/doc/C/parted.8
7fd79c
+++ b/doc/C/parted.8
7fd79c
@@ -73,12 +73,12 @@ Create a new disklabel (partition table) of \fIlabel-type\fP.  \fIlabel-type\fP
7fd79c
 should be one of "aix", "amiga", "bsd", "dvh", "gpt", "loop", "mac", "msdos",
7fd79c
 "pc98", or "sun".
7fd79c
 .TP
7fd79c
-.B mkpart \fIpart-type\fP \fI[fs-type]\fP \fIstart\fP \fIend\fP
7fd79c
-Make a \fIpart-type\fP partition for filesystem \fIfs-type\fP (if specified),
7fd79c
-beginning at \fIstart\fP and ending at \fIend\fP (by default in megabytes).
7fd79c
+.B mkpart [\fIpart-type\fP \fIname\fP \fIfs-type\fP] \fIstart\fP \fIend\fP
7fd79c
+Create a new partition. \fIpart-type\fP may be specified only with msdos and
7fd79c
+dvh partition tables, it should be one of "primary", "logical", or "extended".
7fd79c
+\fIname\fP is required for GPT partition tables and \fIfs-type\fP is optional.
7fd79c
 \fIfs-type\fP can be one of "btrfs", "ext2", "ext3", "ext4", "fat16", "fat32",
7fd79c
 "hfs", "hfs+", "linux-swap", "ntfs", "reiserfs", or "xfs".
7fd79c
-\fIpart-type\fP should be one of "primary", "logical", or "extended".
7fd79c
 .TP
7fd79c
 .B name \fIpartition\fP \fIname\fP
7fd79c
 Set the name of \fIpartition\fP to \fIname\fP. This option works only on Mac,
7fd79c
diff --git a/doc/parted.texi b/doc/parted.texi
7fd79c
index 07aa702..c727fb2 100644
7fd79c
--- a/doc/parted.texi
7fd79c
+++ b/doc/parted.texi
7fd79c
@@ -550,7 +550,7 @@ PCs.
7fd79c
 @cindex mkpart, command description
7fd79c
 @cindex command description, mkpart
7fd79c
 
7fd79c
-@deffn Command mkpart [@var{part-type} @var{fs-type} @var{name}] @var{start} @var{end}
7fd79c
+@deffn Command mkpart [@var{part-type} @var{name} @var{fs-type}] @var{start} @var{end}
7fd79c
 
7fd79c
 Creates a new partition, @emph{without} creating a new file system on
7fd79c
 that partition.  This is useful for creating partitions for file systems
7fd79c
-- 
7fd79c
2.5.5
7fd79c