Page MenuHomeFreeBSD

nanobsd: Add a nano_makefs function
ClosedPublic

Authored by jlduran on Feb 1 2025, 4:25 AM.
Tags
None
Referenced Files
F142434332: D48789.id150332.diff
Mon, Jan 19, 10:32 PM
Unknown Object (File)
Sun, Jan 18, 4:47 AM
Unknown Object (File)
Sun, Jan 18, 3:45 AM
Unknown Object (File)
Sat, Jan 17, 8:23 PM
Unknown Object (File)
Fri, Jan 16, 12:14 PM
Unknown Object (File)
Dec 15 2025, 2:23 PM
Unknown Object (File)
Dec 15 2025, 12:35 AM
Unknown Object (File)
Dec 11 2025, 12:17 PM
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