Page MenuHomeFreeBSD

nanobsd: Use makefs -R flag to honor rounded sizes
ClosedPublic

Authored by jlduran on May 24 2026, 11:01 AM.
Tags
None
Referenced Files
F174142853: D57225.diff
Wed, Sep 30, 9:40 PM
Unknown Object (File)
Wed, Sep 30, 2:06 AM
Unknown Object (File)
Sat, Sep 26, 12:05 AM
Unknown Object (File)
Sun, Sep 20, 4:01 PM
Unknown Object (File)
Wed, Sep 16, 2:51 AM
Unknown Object (File)
Thu, Sep 10, 10:20 PM
Unknown Object (File)
Mon, Sep 7, 6:06 AM
Unknown Object (File)
Sat, Sep 5, 11:09 PM
Subscribers

Details

Summary

Switch from the min/max size flag (-s) to the round-up flag (-R) when
invoking makefs(8).

Because the partition sizes passed to nano_makefs have already been
rounded up by calculate_partitioning(), using -s can cause makefs to try
to perform sizing adjustments that usually result in failures.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable