Page MenuHomeFreeBSD

nanobsd: Add a nano_makefs function
AcceptedPublic

Authored by jlduran on Feb 1 2025, 4:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 11, 12:17 PM
Unknown Object (File)
Tue, Dec 2, 4:46 PM
Unknown Object (File)
Sat, Nov 29, 5:12 AM
Unknown Object (File)
Fri, Nov 28, 8:11 PM
Unknown Object (File)
Thu, Nov 27, 6:59 AM
Unknown Object (File)
Fri, Nov 14, 11:08 PM
Unknown Object (File)
Nov 12 2025, 5:32 AM
Unknown Object (File)
Nov 5 2025, 10:18 PM
Subscribers
None

Details

Reviewers
emaste
imp
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