Prevent '-u' when operating on GPT formatted disks, as the
authorkrw <krw@openbsd.org>
Thu, 12 May 2022 11:04:27 +0000 (11:04 +0000)
committerkrw <krw@openbsd.org>
Thu, 12 May 2022 11:04:27 +0000 (11:04 +0000)
commitd7e4e1b3e68f6a250474eacb622f384a3b6140d2
treee47378b40721d699764b654976e5a10ab1ba1eed
parent983dfe3cbdd54188df624294b0f3b6500c8af4f9
Prevent '-u' when operating on GPT formatted disks, as the
equivalent 'update' editing command already is.

Avoids the destruction of the GPT when the preventative MBR
is overwritten with the default MBR.

ok deraadt@
sbin/fdisk/fdisk.c