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)
Fri, Feb 28, 5:27 PM
Unknown Object (File)
Jan 28 2025, 5:05 AM
Unknown Object (File)
Jan 24 2025, 7:07 PM
Unknown Object (File)
Jan 21 2025, 12:10 AM
Unknown Object (File)
Jan 18 2025, 5:24 PM
Unknown Object (File)
Jan 14 2025, 5:51 AM
Unknown Object (File)
Dec 17 2024, 6:43 PM
Unknown Object (File)
Nov 26 2024, 6:20 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.