summaryrefslogtreecommitdiff
path: root/sys/man
diff options
context:
space:
mode:
authormischief <mischief@offblast.org>2020-11-21 14:18:52 -0800
committermischief <mischief@offblast.org>2020-11-21 14:18:52 -0800
commit486ce605467693526541c0d46dffc25478751411 (patch)
tree172c95f14737017042d61f7b6d7faaa1ac2c5d4a /sys/man
parentad9b1234c365919fa9d8cdb3008b4d42acf37c60 (diff)
efi: prefer plan9.ini from ESP we loaded from
currently the EFI loader's behavior is to search all disks in a firmware-defined order. we search the list returned by the firmware in reverse order in the hopes of searching the first 9FAT instead of the ESP, but this results in unintuitive behavior when there are multiple FAT partitions (possibly in multiple disks), such as loading a plan9.ini and kernel from a different disk than the one you executed the EFI loader from. to resolve this, we change the EFI loader to instead prefer read plan9.ini and the kernel from the same disk as the EFI loader was read from, and then fall back to the old behavior, since the old behavior is relied on by current installations.
Diffstat (limited to 'sys/man')
0 files changed, 0 insertions, 0 deletions