Page MenuHomeFreeBSD

loader.efi: efipart should be more careful about constructing block device lists
ClosedPublic

Authored by tsoome on Aug 8 2019, 3:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 11, 7:49 AM
Unknown Object (File)
Sep 15 2025, 11:07 PM
Unknown Object (File)
Sep 14 2025, 2:44 AM
Unknown Object (File)
Aug 19 2025, 12:02 AM
Unknown Object (File)
Aug 14 2025, 11:30 PM
Unknown Object (File)
Jul 28 2025, 8:26 PM
Unknown Object (File)
Jul 28 2025, 3:39 PM
Unknown Object (File)
Jul 20 2025, 3:15 AM
Subscribers

Details

Summary

The cd handles should be collected as list of partitions. Some systems also provide base name for block device (like PciRoot(0x0)/Pci(0x5,0x0)), we need to be careful about those.

To make out life a bit easier, we prepare not just an array of handles, but we allocate pdinfo struct for each handle and devicepath, then we can simplify our work to sort the devices.

Test Plan

Tested with vmware fusion and bhyve.

Diff Detail

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