]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r346969: zfsboot: to detect disk size, use GPT information first
authorKyle Evans <kevans@FreeBSD.org>
Thu, 24 Oct 2019 02:49:13 +0000 (02:49 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Thu, 24 Oct 2019 02:49:13 +0000 (02:49 +0000)
commitb580e1fe9fd70ad149373fb65bb6bb01016a3b3d
tree5025afee2e08b4e3ec226298d41368cea5297fcc
parent3a51baab41730657ba62d54a8974816413e2b73f
MFC r346969: zfsboot: to detect disk size, use GPT information first

If we do have GPT on disk, read the disk size from it and do not
call int13.

Since int13 does report bogus informatiopn too often, rather trust the
partition table. We are using the same strategy with loader.
stand/i386/zfsboot/zfsboot.c