Page MenuHomeFreeBSD

g_part_ebr: always create "compat" aliases
ClosedPublic

Authored by emaste on Feb 27 2023, 7:21 PM.
Tags
None
Referenced Files
F110082359: D38812.diff
Thu, Feb 13, 9:42 AM
Unknown Object (File)
Tue, Feb 4, 9:27 AM
Unknown Object (File)
Sun, Feb 2, 11:34 AM
Unknown Object (File)
Jan 11 2025, 7:47 PM
Unknown Object (File)
Dec 6 2024, 2:52 PM
Unknown Object (File)
Nov 20 2024, 6:07 PM
Unknown Object (File)
Nov 6 2024, 2:34 PM
Unknown Object (File)
Nov 6 2024, 2:31 PM
Subscribers
None

Details

Summary
The "canonical" ebr names like `ada0s4+00002081` are not particularly
meaningful.  The "compat" aliases share the same namespace as the parent
MBR, resulting in names like `ada0s6`.  This is consistent with the way
Linux names partitions within an EBR.

We previously provided a sysctl kern.features.geom_part_ebr_compat,
which defaulted to enabled.  Remove the sysctl and always create the
"compat" aliases.

Relnotes: yes
Sponsored by: The FreeBSD Foundation

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped