Blame SOURCES/0055-Add-part-label-documentation-to-mkpart-command.patch

fc4a62
From 5d2ebcc83aecad33805559f202aeb1a6f36f5ecd Mon Sep 17 00:00:00 2001
fc4a62
From: Fedora Ninjas <parted-owner@fedoraproject.org>
fc4a62
Date: Wed, 27 Mar 2019 09:12:19 -0700
fc4a62
Subject: [PATCH] Add part-label documentation to mkpart command
fc4a62
fc4a62
The documentation was not clear that the first field is a partition type
fc4a62
on MBR and a label on GPT.
fc4a62
fc4a62
Resolves: rhbz#1686659
fc4a62
---
fc4a62
 doc/C/parted.8 | 5 +++--
fc4a62
 1 file changed, 3 insertions(+), 2 deletions(-)
fc4a62
fc4a62
diff --git a/doc/C/parted.8 b/doc/C/parted.8
fc4a62
index 5a24c94..080a8cf 100644
fc4a62
--- a/doc/C/parted.8
fc4a62
+++ b/doc/C/parted.8
fc4a62
@@ -73,12 +73,13 @@ Create a new disklabel (partition table) of \fIlabel-type\fP.  \fIlabel-type\fP
fc4a62
 should be one of "aix", "amiga", "bsd", "dvh", "gpt", "loop", "mac", "msdos",
fc4a62
 "pc98", or "sun".
fc4a62
 .TP
fc4a62
-.B mkpart \fIpart-type\fP \fI[fs-type]\fP \fIstart\fP \fIend\fP
fc4a62
+.B mkpart \fI[part-type|part-label]\fP \fI[fs-type]\fP \fIstart\fP \fIend\fP
fc4a62
 Make a \fIpart-type\fP partition for filesystem \fIfs-type\fP (if specified),
fc4a62
 beginning at \fIstart\fP and ending at \fIend\fP (by default in megabytes).
fc4a62
 \fIfs-type\fP can be one of "btrfs", "ext2", "ext3", "ext4", "fat16", "fat32",
fc4a62
 "hfs", "hfs+", "linux-swap", "ntfs", "reiserfs", or "xfs".
fc4a62
-\fIpart-type\fP should be one of "primary", "logical", or "extended".
fc4a62
+For MBR labeled devices \fIpart-type\fP should be one of "primary", "logical", or "extended".
fc4a62
+For GPT labeled devices \fIpart-label\fP is used instead, and can be any short alphanumeric string.
fc4a62
 .TP
fc4a62
 .B name \fIpartition\fP \fIname\fP
fc4a62
 Set the name of \fIpartition\fP to \fIname\fP. This option works only on Mac,
fc4a62
-- 
fc4a62
2.20.1
fc4a62