HomeFreeBSD

MFC r340215:

Description

MFC r340215:
oader: always set media size from partition.

The disk access is validated by using partition table definitions, therefore
we have no need for if statements, just set the disk size.

Of course the partition table itself may be incorrect/inconsistent, but if
so, we are in trouble anyhow.

Differential Revision: https://reviews.freebsd.org/D17822

Details

Provenance
tsoomeAuthored on
Differential Revision
D17822: loader: always set media size from partition.
Parents
rS341225: MFC: r340240:
Branches
Unknown
Tags
Unknown