Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1686659 - update mkpart info in manpage for gpt
Summary: update mkpart info in manpage for gpt
Keywords:
Status: ON_QA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: parted
Version: 7.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Brian Lane
QA Contact: Release Test Team
URL:
Whiteboard:
: 1686658 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-07 23:56 UTC by Pete Travis
Modified: 2019-03-27 16:55 UTC (History)
1 user (show)

Fixed In Version: parted-3.1-31.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

Description Pete Travis 2019-03-07 23:56:21 UTC
Description of problem:

The manpage's reference info for parted's `mkpart` command does not reflect usage for both gpt and MBR labels, but it should.

Version-Release number of selected component (if applicable):

[user@examplehost ~]$ rpm -q parted
parted-3.1-29.el7.x86_64
[user@examplehost ~]$ cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.5 (Maipo)


How reproducible:

`man parted`

Actual results:

[user@examplehost ~]$ man parted|grep -A5 mkpart
              mkpart part-type [fs-type] start end
                     Make  a part-type partition for filesystem fs-type (if specified), beginning at start and ending at
                     end (by default in megabytes).  fs-type can be one of "btrfs",  "ext2",  "ext3",  "ext4",  "fat16",
                     "fat32",  "hfs",  "hfs+",  "linux-swap",  "ntfs", "reiserfs", or "xfs".  part-type should be one of
                     "primary", "logical", or "extended".

Expected results:

[user@examplehost ~]$ man parted|grep -A5 mkpart
              mkpart [part-type|part-label] [fs-type] start end
                     Make  a part-type partition for filesystem fs-type (if specified), beginning at start and ending at
                     end (by default in megabytes).  fs-type can be one of "btrfs",  "ext2",  "ext3",  "ext4",  "fat16",
                     "fat32",  "hfs",  "hfs+",  "linux-swap",  "ntfs", "reiserfs", or "xfs".  

                     For MBR label drives, part-type should be one of
                     "primary", "logical", or "extended".
                     For GPT labeled drive, part-label is used instead, and can be any short alphanumeric string.


Additional info:

I'm discovering lots of GPT partitions labeled "primary" per the manpage.  It's amusing, but there is more utility in a real label and I think admins are missing that you can do that.

Comment 2 Brian Lane 2019-03-08 19:38:37 UTC
*** Bug 1686658 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.