Improve editing GPT partition type GUID's by rejecting partition
authorkrw <krw@openbsd.org>
Wed, 1 Sep 2021 20:08:32 +0000 (20:08 +0000)
committerkrw <krw@openbsd.org>
Wed, 1 Sep 2021 20:08:32 +0000 (20:08 +0000)
commitede3ff43cd7d5b3c8c4f3c8476d81bff7634181f
treed5b78c3b0a70c0be15f2580204b329e525865a17
parent3a18642fa81c92dd5aea6105f11302b4b09e4c78
Improve editing GPT partition type GUID's by rejecting partition
id's that have no associated GUID, rather than disabling the
partition.

If the current partition type is a GUID with no corresponding
partition id, display and use that GUID as the default value.

Less surprising behaviour all round.
sbin/fdisk/cmd.c