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

Details

Provenance
impAuthored on Feb 16 2023, 3:53 PM
Reviewer
corvink
Differential Revision
D38614: efivar: Try harder to find label's efimedia
Parents
rG6d1c946e9168: libpcap: Make pcap/bpf.h a wrapper around system net/bpf.h
Branches
Unknown
Tags
Unknown