]> 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 06:47:19 +0000 (23:47 -0700)
commit1a492583b50e8f74a5834c1c4c5f030162190a85
tree80c49caaf78d9117721abe3474f9883985850f67
parent711c0ebd83428843cc88bb43bb6b78ef60c7b011
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
Approved by: re@ (cperciva)

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