Add -A option to "safely" initialize a GPT without removing
authorkrw <krw@openbsd.org>
Mon, 21 Jun 2021 02:05:30 +0000 (02:05 +0000)
committerkrw <krw@openbsd.org>
Mon, 21 Jun 2021 02:05:30 +0000 (02:05 +0000)
commit95e8765c866608e2321b2ad4f5b0c7eba30d19c2
tree90073e599bd07214137c1e2311015ccdc704e39d
parentce0d5a02cdcd01256b1a1e154cf89bb0d2bbe307
Add -A option to "safely" initialize a GPT without removing
special boot partitions needed by some hardware. Make it
difficult to add, delete or modify those partitions with 'fdisk
-e'.

Trim back and correct syntax in usage(). Whack at man page
verbiage.

Suggestions and ok deraadt@
sbin/fdisk/cmd.c
sbin/fdisk/fdisk.8
sbin/fdisk/fdisk.c
sbin/fdisk/gpt.c
sbin/fdisk/part.c
sbin/fdisk/part.h