Page MenuHomeFreeBSD

nanobsd: Add a nano_makefs function
ClosedPublic

Authored by jlduran on Feb 1 2025, 4:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 1, 4:31 AM
Unknown Object (File)
Sun, Mar 1, 2:22 AM
Unknown Object (File)
Sun, Mar 1, 12:23 AM
Unknown Object (File)
Sat, Feb 28, 9:01 AM
Unknown Object (File)
Tue, Feb 24, 6:25 AM
Unknown Object (File)
Thu, Feb 19, 6:31 PM
Unknown Object (File)
Jan 30 2026, 7:25 PM
Unknown Object (File)
Jan 25 2026, 6:11 AM
Subscribers
None

Details

Summary

Add a NANO_MAKEFS global variable with options equivalent to NANO_NEWFS
to be used with a nano_makefs function for creating images.

Also add a function that adjusts the code size calculation, so makefs -s
won't error about the minimum rounded size. Ideally this shim should be
removed, therefore the suspicious _xxx prefix.

Initially not wired.

Diff Detail

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