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
Unknown Object (File)
Mon, Sep 7, 6:06 AM
Unknown Object (File)
Sat, Sep 5, 11:09 PM
Unknown Object (File)
Sat, Sep 5, 4:13 PM
Unknown Object (File)
Sat, Sep 5, 4:12 PM
Unknown Object (File)
Sat, Sep 5, 2:37 PM
Unknown Object (File)
Sat, Sep 5, 1:34 PM
Unknown Object (File)
Fri, Sep 4, 3:08 AM
Unknown Object (File)
Thu, Sep 3, 6:18 AM
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