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)
Sat, Sep 12, 3:09 PM
Unknown Object (File)
Sat, Sep 12, 12:10 PM
Unknown Object (File)
Fri, Sep 11, 6:24 AM
Unknown Object (File)
Thu, Sep 10, 9:18 AM
Unknown Object (File)
Tue, Sep 8, 9:17 AM
Unknown Object (File)
Mon, Sep 7, 4:40 AM
Unknown Object (File)
Sun, Sep 6, 9:20 AM
Unknown Object (File)
Sat, Sep 5, 9:07 PM
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.