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)
Wed, Oct 22, 2:40 AM
Unknown Object (File)
Wed, Oct 22, 2:40 AM
Unknown Object (File)
Tue, Oct 21, 2:58 PM
Unknown Object (File)
Tue, Oct 14, 9:08 PM
Unknown Object (File)
Sat, Oct 11, 7:59 PM
Unknown Object (File)
Sat, Oct 4, 4:07 PM
Unknown Object (File)
Sep 17 2025, 5:35 AM
Unknown Object (File)
Sep 14 2025, 2:35 AM
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