Page MenuHomeFreeBSD

stand: i386: take into account disk sector size for blk calculation
ClosedPublic

Authored by kevans on Sep 8 2022, 12:36 AM.

Details

Summary

disk_blocks assumes BIOSDISK_SECSIZE, but the media may not be using
it. In particular, bioscd on Parallels presents a 2K sector size, so
we end up with a short disk_blocks and subsequent validation fails when
trying to read /boot/lua.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable