Bug 255443

Summary: gpart(8): partition type portion is somewhat vague about symbolic name applicability to scheme types
Product: Documentation Reporter: Xin LI <delphij>
Component: Manual PagesAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Some People CC: doc
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Xin LI freebsd_committer freebsd_triage 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.