Make editing GPT easier/safer by defaulting offet to beginning of largest
authorkrw <krw@openbsd.org>
Sat, 30 Jan 2021 18:16:36 +0000 (18:16 +0000)
committerkrw <krw@openbsd.org>
Sat, 30 Jan 2021 18:16:36 +0000 (18:16 +0000)
commitc2d03168cbdadc2c30b2ebdbf597ea31227b0805
treeb897662cd310785d9defb130b99e5f1f39671fa5
parent653714dbcd1836598b60b795b08b2368d4a1ea38
Make editing GPT easier/safer by defaulting offet to beginning of largest
free space and preventing the creation of overlapping partitions.

Prompted & tested by landry@
sbin/fdisk/cmd.c
sbin/fdisk/gpt.c
sbin/fdisk/gpt.h