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

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