Page MenuHomeFreeBSD

efibootmgr: Add --efidev (-u) to discover UEFI's device path to a dev or file
ClosedPublic

Authored by imp on Feb 15 2023, 7:51 PM.
Tags
None
Referenced Files
F115702733: D38617.diff
Sun, Apr 27, 9:27 AM
Unknown Object (File)
Mon, Apr 21, 2:26 PM
Unknown Object (File)
Sat, Apr 19, 5:22 AM
Unknown Object (File)
Sun, Apr 13, 12:26 PM
Unknown Object (File)
Sun, Apr 13, 3:42 AM
Unknown Object (File)
Wed, Apr 9, 8:44 AM
Unknown Object (File)
Sat, Apr 5, 8:08 PM
Unknown Object (File)
Feb 24 2025, 9:35 AM
Subscribers
None

Details

Summary

"efibootmgr --efidev unix-path" will return the UEFI device-path to the
file or device specified by unix-path. It's useful for debugging, but
may also be useful for scripting.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 49817
Build 46708: arc lint + arc unit

Event Timeline

imp requested review of this revision.Feb 15 2023, 7:51 PM
imp created this revision.

Is this redundant with efidp -e? I'm not sure how to use efidp, though. Also, don't forget to update the man page's .Dd date.

usr.sbin/efibootmgr/efibootmgr.8
178

I think this would be redundant with efidp -e... if that actually worked.

This revision is now accepted and ready to land.Feb 16 2023, 7:06 AM