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
F132486333: D19242.id54119.diff
Fri, Oct 17, 8:04 AM
F132486326: D19242.id54060.diff
Fri, Oct 17, 8:04 AM
F132486324: D19242.id.diff
Fri, Oct 17, 8:04 AM
F132435136: D19242.diff
Thu, Oct 16, 10:22 PM
Unknown Object (File)
Sat, Oct 4, 4:52 PM
Unknown Object (File)
Sat, Oct 4, 3:44 PM
Unknown Object (File)
Sep 14 2025, 5:48 AM
Unknown Object (File)
Sep 13 2025, 9:41 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.