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)
Tue, Jul 21, 9:11 AM
Unknown Object (File)
Mon, Jul 20, 4:49 PM
Unknown Object (File)
Wed, Jul 15, 7:23 AM
Unknown Object (File)
Wed, Jul 15, 7:23 AM
Unknown Object (File)
Mon, Jul 13, 6:27 PM
Unknown Object (File)
Jun 17 2026, 10:12 PM
Unknown Object (File)
Jun 13 2026, 2:08 PM
Unknown Object (File)
Jun 7 2026, 6:11 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