Page MenuHomeFreeBSD

Add the unix path to the output of `efivar --load-option`
ClosedPublic

Authored by bcran on Feb 19 2019, 6:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 7, 1:17 PM
Unknown Object (File)
Oct 15 2024, 8:02 PM
Unknown Object (File)
Sep 28 2024, 5:55 AM
Unknown Object (File)
Sep 27 2024, 2:14 PM
Unknown Object (File)
Sep 26 2024, 7:08 PM
Unknown Object (File)
Sep 22 2024, 10:10 PM
Unknown Object (File)
Sep 21 2024, 6:28 PM
Unknown Object (File)
Sep 20 2024, 5:13 PM
Subscribers
None

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

usr.sbin/efivar/efiutil.c
171 ↗(On Diff #54060)

The padding spaces were chosen to match the output of efibootmgr -v, so there are three spaces indenting the unix path from the EFI path above it.

Example output:

# ./efivar --load-option -n 8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0003
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0003
* FreeBSD HD(1,GPT,4fb8c175-d824-11e8-bf5c-107b4493a5a2,0x28,0x64000)/File(\EFI\FREEBSD\LOADER.EFI)
             nvd1p1:/EFI/FREEBSD/LOADER.EFI
This revision is now accepted and ready to land.Feb 19 2019, 7:00 PM
This revision was automatically updated to reflect the committed changes.