Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102602044
D38614.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
664 B
Referenced Files
None
Subscribers
None
D38614.diff
View Options
diff --git a/lib/libefivar/efivar-dp-xlate.c b/lib/libefivar/efivar-dp-xlate.c
--- a/lib/libefivar/efivar-dp-xlate.c
+++ b/lib/libefivar/efivar-dp-xlate.c
@@ -527,6 +527,15 @@
if (pp == NULL)
return (NULL);
efimedia = geom_pp_attr(mesh, pp, "efimedia");
+
+ /*
+ * If this device doesn't hav an efimedia attribute, see if it is a
+ * glabel node, and if so look for the underlying provider to get the
+ * efimedia attribute from.
+ */
+ if (efimedia == NULL &&
+ strcmp(pp->lg_geom->lg_class->lg_name, G_LABEL) == 0)
+ efimedia = find_geom_efimedia(mesh, pp->lg_geom->lg_name);
if (efimedia == NULL)
return (NULL);
return strdup(efimedia);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 15, 3:49 PM (17 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14644900
Default Alt Text
D38614.diff (664 B)
Attached To
Mode
D38614: efivar: Try harder to find label's efimedia
Attached
Detach File
Event Timeline
Log In to Comment