Page MenuHomeFreeBSD

nanobsd: Add a nano_makefs function
ClosedPublic

Authored by jlduran on Feb 1 2025, 4:25 AM.
Tags
None
Referenced Files
F163287249: D48789.id.diff
Tue, Jul 21, 6:21 PM
Unknown Object (File)
Sat, Jul 18, 7:59 PM
Unknown Object (File)
Sat, Jul 18, 2:31 AM
Unknown Object (File)
Wed, Jul 15, 12:25 PM
Unknown Object (File)
Wed, Jul 15, 6:37 AM
Unknown Object (File)
Wed, Jul 15, 6:37 AM
Unknown Object (File)
Thu, Jul 2, 6:24 PM
Unknown Object (File)
Thu, Jul 2, 6:23 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 62200
Build 59084: arc lint + arc unit