HomeFreeBSD

efivar: Try harder to find label's efimedia

Description

efivar: Try harder to find label's efimedia

If there's no efimedia attribute on the provider, and the provider's a
glabel, then find the 'parent' geom. In this case, the provider's name
is label-type/name, but the geom's label will that of the underlying
device (eg ada0p1). If it is, recurisvely call find_geom_efimedia with
the geom's name, which shuold have the efimedia attribute.

Sponsored by: Netflix
Reviewed by: corvink, manu, asomers
Differential Revision: https://reviews.freebsd.org/D38614

(cherry picked from commit ccf2121d59ac51e1a0287d75262d48018d09cad6)

Details

Provenance
impAuthored on Feb 16 2023, 4:36 PM
Reviewer
corvink
Differential Revision
D38614: efivar: Try harder to find label's efimedia
Parents
rGe9296dc1bcd2: netlink: validate rtable value in RTM_<NEW|DEL|GET>ROUTE.
Branches
Unknown
Tags
Unknown