Bug 255443 - gpart(8): partition type portion is somewhat vague about symbolic name applicability to scheme types
Summary: gpart(8): partition type portion is somewhat vague about symbolic name applic...
Status: New
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-27 16:49 UTC by Xin LI
Modified: 2021-04-27 16:49 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xin LI freebsd_committer 2021-04-27 16:49:55 UTC
The current manual page is somewhat vague regarding applicability of a symbolic name (for example, 'ntfs') to partition scheme (for example, MBR) which can cause confusion for users.

Possible improvements that I can think of for now:

a) Maybe tag the partition type with scheme names, e.g., instead of:

     ntfs                       A partition that contains a NTFS or exFAT
                                filesystem.  The scheme-specific type is "!7"
                                for MBR.

Do something like:

     ntfs                       [MBR only] A partition that contains a NTFS
                                or exFAT filesystem.  The scheme-specific 
                                type is "!7" for MBR.

or

b) Make gpart(8) recognize the symbolic names in other schemes.  For 'ntfs', just give the value of ms-basic-data when using GPT.