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)
Fri, Apr 17, 3:06 PM
Unknown Object (File)
Fri, Apr 17, 4:34 AM
Unknown Object (File)
Sun, Apr 12, 12:17 AM
Unknown Object (File)
Thu, Apr 9, 8:26 PM
Unknown Object (File)
Tue, Apr 7, 7:08 PM
Unknown Object (File)
Tue, Apr 7, 2:38 AM
Unknown Object (File)
Tue, Apr 7, 2:07 AM
Unknown Object (File)
Sun, Apr 5, 3:30 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