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, May 24, 11:16 AM
Unknown Object (File)
Sun, May 24, 4:39 AM
Unknown Object (File)
Sat, May 23, 3:01 PM
Unknown Object (File)
Fri, May 22, 12:40 PM
Unknown Object (File)
Tue, May 19, 10:00 PM
Unknown Object (File)
Sun, May 17, 3:17 PM
Unknown Object (File)
Sun, May 17, 3:17 PM
Unknown Object (File)
Fri, May 15, 3:28 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