Page MenuHomeFreeBSD

nanobsd: Use rounded sizes for cfg and data slices
ClosedPublic

Authored by jlduran on May 24 2026, 10:59 AM.
Tags
None
Referenced Files
F168741798: D57219.id178674.diff
Sat, Aug 29, 10:16 PM
F168689378: D57219.id178516.diff
Sat, Aug 29, 3:37 PM
Unknown Object (File)
Fri, Aug 28, 6:16 PM
Unknown Object (File)
Mon, Aug 24, 4:12 AM
Unknown Object (File)
Sat, Aug 22, 2:04 PM
Unknown Object (File)
Sat, Aug 22, 2:03 PM
Unknown Object (File)
Thu, Aug 20, 11:24 PM
Unknown Object (File)
Thu, Aug 20, 4:15 AM
Subscribers

Details

Summary

Use the calculated (rounded up) cfg and data sizes from the
_.partitioning file, instead of consuming them directly from the global
variables. We obtain the size of the cfg and data slices by explicitly
searching for index 3 and 4 respectively in the _.partitioning file.

This ensures that the final image has the rounded-up sizes, and not the
raw sizes.

Diff Detail

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