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)
Tue, Oct 6, 1:28 PM
Unknown Object (File)
Tue, Sep 29, 4:32 PM
Unknown Object (File)
Mon, Sep 28, 2:20 PM
Unknown Object (File)
Mon, Sep 28, 1:10 PM
Unknown Object (File)
Wed, Sep 23, 10:46 PM
Unknown Object (File)
Thu, Sep 17, 1:50 AM
Unknown Object (File)
Tue, Sep 15, 8:32 AM
Unknown Object (File)
Mon, Sep 14, 6:04 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 Not Applicable
Unit
Tests Not Applicable