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)
Thu, Aug 13, 12:37 AM
Unknown Object (File)
Wed, Aug 12, 7:52 PM
Unknown Object (File)
Tue, Aug 11, 8:21 PM
Unknown Object (File)
Mon, Aug 10, 1:03 PM
Unknown Object (File)
Mon, Aug 10, 10:04 AM
Unknown Object (File)
Mon, Aug 10, 9:17 AM
Unknown Object (File)
Mon, Aug 10, 12:38 AM
Unknown Object (File)
Mon, Aug 10, 12:37 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