Split part_type into separate types 'mbr_type' and 'gpt_type',
authorkrw <krw@openbsd.org>
Thu, 2 Sep 2021 18:07:45 +0000 (18:07 +0000)
committerkrw <krw@openbsd.org>
Thu, 2 Sep 2021 18:07:45 +0000 (18:07 +0000)
commit5308a5540bc748443921af555c8392be7db4cd3a
tree00a5044c5e2d9ae115f2bc9556cdc0081fc2ad90
parent63d5bccf7e3f6a7a660f7f288152ce9c29010053
Split part_type into separate types 'mbr_type' and 'gpt_type',
shrinking static data demands. Split PRT_printall() into
PRT_print_mbrtypes() and PRT_print_gpttypes() to eliminate
pointless 'pseudo' MBR partition types and pointless display of
MBR partition types with no associated GPT GUIDs.

Eases future MBR and GPT partition type editing improvements.

ok kettenis@
sbin/fdisk/cmd.c
sbin/fdisk/part.c
sbin/fdisk/part.h