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)
Tue, Dec 17, 6:43 PM
Unknown Object (File)
Nov 26 2024, 6:20 PM
Unknown Object (File)
Nov 7 2024, 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
Subscribers
None

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22568
Build 21701: arc lint + arc unit

Event Timeline

usr.sbin/efivar/efiutil.c
171

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.