Accept sizes in bytes instead of 512 byte sectors. Replace
strsuftoll with strtobytes, which accepts powers of two and powers
of ten. Legacy configurations keep working with sector sizes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 76024 Build 72907: arc lint + arc unit
Event Timeline
Comment Actions
Since this is a legacy-breaking change (perhaps the most significant one), we should provide an easy migration path. For example, in the commit message, we can explain that users who want to keep using sector sizes could add an s (for sector) suffix to its current values when migrating to the default plan, this is a deliberate change from strsuftoll, which uses b (for block) for that same purpose.
| tools/tools/nanobsd/defaults.sh | ||
|---|---|---|
| 1479 | This change seems unrelated. | |