diff options
author | Paul Irofti <pirofti@cvs.openbsd.org> | 2016-09-02 12:22:10 +0000 |
---|---|---|
committer | Paul Irofti <pirofti@cvs.openbsd.org> | 2016-09-02 12:22:10 +0000 |
commit | 94cdb9e2c682e368f6af6f5a91007764422f011a (patch) | |
tree | 7a09a4f3151b8a55fbd665216d919d6efec12047 /usr.sbin | |
parent | bffebfec3e3525ac90c2952178c3590097f0f8cd (diff) |
Fix misleading 'No valid MBR or GPT' message when no OpenBSD area is found.
The current code is too strict and checks for an OpenBSD area inside an
MBR or GPT and if it fails to find one reports that there's no valid MBR
or GPT (which is misleading because the MBR/GPT is valid).
Instead, do two checks (similar to i386): first see if there's an MBR or GPT
present on the disk and if there is then check for the OpenBSD area.
OK krw@, halex@.
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions