Spoof GPT partitions of type 21686148-6449-6e6f-744e-656564454649 (a.k.a.
authorkrw <krw@openbsd.org>
Sat, 8 May 2021 16:41:24 +0000 (16:41 +0000)
committerkrw <krw@openbsd.org>
Sat, 8 May 2021 16:41:24 +0000 (16:41 +0000)
commit5e85fef01d31e2cf91750c683b2d34e203288445
tree4dded1cf584066b5db4f59bb92e3e2c24665816a
parent55a1b3e1bfd0cdb5a6c11fbe467d95dafa11d186
Spoof GPT partitions of type 21686148-6449-6e6f-744e-656564454649 (a.k.a.
"IdontNeedEFI", a.k.a. "BIOS boot") as FS_BOOT. Often used to contain the second
stage boot loader binary on disk images.

Makes it easier to recognize/overwrite/remove the contents.

Not yet supported in fdisk(8).

Example image provided by mlarkin@
sys/kern/subr_disk.c
sys/sys/disklabel.h