master
Neither macppc nor the retired loongson have any remaining useful information in /usr/mdec/mbr. Stop telling fdisk(8) that macppc and loongson HAS_MBR, and don't bother including the file in the base set.
Fold PRT_uuid_menudflt() and find_gpt_desc() into PRT_uuid_to_desc() to unify translations from UUIDs, remove pointless abstraction and clarify/shrink code.
remove prototypes with no matching function and externs with no var partly checked by millert@
Push DISK_[read|write]sectors() down to disk.c local functions and expose new DISK_[read|write]bytes() functions.
Enable the interactive partition editor's 'edit' command to accept -R style compact GPT partition descriptions.
Add -R to recover/create GPT or MBR from a file or partial GPT.
Make GPT_recover_partition() parameters const.
Add some anti-feline input protection by refusing to process input of excessive length.
Move LINEBUFSZ to be with its friends in misc.h.
Use nitems() in the simple iterations over mbr->mbr_prt[].