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)
Fri, Aug 14, 3:42 PM
Unknown Object (File)
Wed, Aug 12, 6:27 AM
Unknown Object (File)
Tue, Aug 11, 5:53 PM
Unknown Object (File)
Sat, Aug 8, 2:42 PM
Unknown Object (File)
Sat, Aug 8, 3:36 AM
Unknown Object (File)
Fri, Aug 7, 11:17 AM
Unknown Object (File)
Thu, Aug 6, 2:37 PM
Unknown Object (File)
Wed, Aug 5, 6:02 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