Page MenuHomeFreeBSD

g_part_ebr: always create "compat" aliases
ClosedPublic

Authored by emaste on Feb 27 2023, 7:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 30, 6:39 AM
Unknown Object (File)
Fri, Mar 27, 10:32 AM
Unknown Object (File)
Thu, Mar 26, 5:28 PM
Unknown Object (File)
Mon, Mar 23, 12:38 AM
Unknown Object (File)
Mar 1 2026, 12:20 PM
Unknown Object (File)
Mar 1 2026, 3:50 AM
Unknown Object (File)
Feb 15 2026, 11:46 PM
Unknown Object (File)
Feb 7 2026, 4:26 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

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable