summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorPaul Irofti <pirofti@cvs.openbsd.org>2016-09-02 12:22:10 +0000
committerPaul Irofti <pirofti@cvs.openbsd.org>2016-09-02 12:22:10 +0000
commit94cdb9e2c682e368f6af6f5a91007764422f011a (patch)
tree7a09a4f3151b8a55fbd665216d919d6efec12047 /usr.sbin
parentbffebfec3e3525ac90c2952178c3590097f0f8cd (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