HomeFreeBSD

Check that primary GPT header is valid before wiping partitioning.

Description

Check that primary GPT header is valid before wiping partitioning.

This allows safely destroy corrupted GPT when primary header was
rewritten by some data, that do not want to destroy.

MFC after: 1 week

Details

Provenance
aeAuthored on
Parents
rS313184: Remove LOCAL_LIB_DIRS warning added in r275839.
Branches
Unknown
Tags
Unknown