Page MenuHomeFreeBSD

nanobsd: Offset code partition to a track boundary
ClosedPublic

Authored by jlduran on May 24 2026, 11:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 16, 1:52 AM
Unknown Object (File)
Sun, Jun 7, 3:20 AM
Unknown Object (File)
Sun, Jun 7, 3:16 AM
Unknown Object (File)
Sat, Jun 6, 8:17 PM
Unknown Object (File)
Sat, Jun 6, 8:13 PM
Unknown Object (File)
Sat, Jun 6, 12:55 AM
Unknown Object (File)
Fri, Jun 5, 12:09 AM
Unknown Object (File)
Fri, Jun 5, 12:06 AM
Subscribers

Details

Summary

Ensure the primary and secondary code partitions start at a proper track
boundary by applying a NANO_SECTS offset in bytes.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 73404
Build 70287: arc lint + arc unit

Event Timeline

With the proviso that track boundaries are almost useless today, even for MBR which once upon a time was tied to track boundaries.

This revision is now accepted and ready to land.May 24 2026, 11:26 PM
In D57221#1311207, @imp wrote:

With the proviso that track boundaries are almost useless today, even for MBR which once upon a time was tied to track boundaries.

Stay tuned! I'll add a GSoC teaser to the commit message also indicating this fact is soon to be updated as well.