]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
zfsboot: to detect disk size, use GPT information first
authortsoome <tsoome@FreeBSD.org>
Tue, 30 Apr 2019 17:45:22 +0000 (17:45 +0000)
committertsoome <tsoome@FreeBSD.org>
Tue, 30 Apr 2019 17:45:22 +0000 (17:45 +0000)
commite8e6272957a03cc88a1c8e0716d24359bb76b569
treeff2eb08f31eb8f86a4d87319c8b5338aae1c617a
parentdbcfb46040f57c0e85aec34f4cd6ddff4c4e6b85
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.

MFC after: 1 month
stand/i386/zfsboot/zfsboot.c