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, Apr 19, 11:14 PM
Unknown Object (File)
Sat, Apr 11, 7:38 PM
Unknown Object (File)
Fri, Apr 10, 12:54 PM
Unknown Object (File)
Sat, Apr 4, 1:38 AM
Unknown Object (File)
Thu, Mar 26, 8:28 AM
Unknown Object (File)
Mar 22 2026, 8:05 AM
Unknown Object (File)
Mar 22 2026, 2:59 AM
Unknown Object (File)
Mar 20 2026, 7:40 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