Simple hack to preserve the EFI System partition when
authorkrw <krw@openbsd.org>
Fri, 11 Mar 2022 22:29:55 +0000 (22:29 +0000)
committerkrw <krw@openbsd.org>
Fri, 11 Mar 2022 22:29:55 +0000 (22:29 +0000)
commit65deb39bf6951a252b2e65215de26460beeb0e99
treed014670a92efe89c65f7f7e96a6f1e115700c8e8
parent5f69141a284a641310e0943fa09c7abc6a059175
Simple hack to preserve the EFI System partition when
auto-allocating the space on a disk whose GPT contains
any of the magic Apple partitions.

One step towards saving the firmware files on Apple
M1 machines when installing OpenBSD.

Tested & ok kettenis@
sbin/fdisk/fdisk.8
sbin/fdisk/fdisk.c
sbin/fdisk/gpt.c
sbin/fdisk/part.c