Allow fdisk(8) to add GPT partitions of protected types.
authorkrw <krw@openbsd.org>
Fri, 1 Mar 2024 17:48:03 +0000 (17:48 +0000)
committerkrw <krw@openbsd.org>
Fri, 1 Mar 2024 17:48:03 +0000 (17:48 +0000)
commit01a159e4e48da4a3ea85f84e5cb86a1b3dddaa32
treefbdc07d740601c630a6d94c91fa19a0ec6c71391
parentdf5e0c0dd6719df2dbad2ab5038890c1e2bf8ca7
Allow fdisk(8) to add GPT partitions of protected types.

This makes it possible to provision virtual machine images that
need a "BIOS Boot" partition.

Report, original diff and testing by Christian Ludwig. Thanks!

ok miod@
sbin/fdisk/cmd.c