]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
efibootmgr: Add --efidev (-u) to discover UEFI's device path to a dev or file
authorWarner Losh <imp@FreeBSD.org>
Thu, 16 Feb 2023 16:36:03 +0000 (09:36 -0700)
committerWarner Losh <imp@FreeBSD.org>
Sun, 19 Feb 2023 00:46:57 +0000 (17:46 -0700)
commit8ab17c6dd1d8e8056e5354390f29e0f36cf4e406
tree763ce7b2bb04c119e5804cd48a0f20365ee7a241
parentbae5c36257ec5289631abf49b33a4041acc84e3c
efibootmgr: Add --efidev (-u) to discover UEFI's device path to a dev or file

"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
Reviewed by: corvink, manu
Differential Revision: https://reviews.freebsd.org/D38617

(cherry picked from commit 9a7915299484a767fbffc7234b8dc45c29954cca)
usr.sbin/efibootmgr/efibootmgr.8
usr.sbin/efibootmgr/efibootmgr.c