]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r342151, r342161:
authorToomas Soome <tsoome@FreeBSD.org>
Sun, 30 Dec 2018 09:13:38 +0000 (09:13 +0000)
committerToomas Soome <tsoome@FreeBSD.org>
Sun, 30 Dec 2018 09:13:38 +0000 (09:13 +0000)
commit9eae88af5a1a2264cf2f894dc8746fd23f4a1f5d
tree4be41cc89306fdd69d36f2cebbf6f0d342ef1167
parent6065af357329beb6860f9be797a1a9e5cb73b526
MFC r342151, r342161:
loader: zfs reader should not probe partitionless disks

First of all, normal setups can not boot such pools as the tools
do not support installing boot programs.

Secondly, for proper pool configuration detection, we need to checks all
four label copies on disk, 2 from front and 2 from the end of the disk,
but zfs label does not contain the size of the disk - so we depend on
firmware to report the correct disk size or use information from the
partition table.

Without partition table, we only can rely on firmware to report and support
disk IO properly.

Relnotes: yes
stand/libsa/zfs/zfs.c