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
Unknown Object (File)
Mon, Mar 2, 10:55 PM
Unknown Object (File)
Mon, Feb 23, 8:33 PM
Unknown Object (File)
Sat, Feb 21, 3:23 PM
Unknown Object (File)
Feb 8 2026, 11:15 AM
Unknown Object (File)
Feb 8 2026, 9:09 AM
Unknown Object (File)
Feb 7 2026, 6:07 PM
Unknown Object (File)
Jan 31 2026, 3:19 PM
Unknown Object (File)
Jan 23 2026, 9:05 PM
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 Not Applicable
Unit
Tests Not Applicable

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