Page MenuHomeFreeBSD

loader.efi: Expand uefi_rootdev to probe disks
ClosedPublic

Authored by imp on Jun 24 2026, 4:33 AM.
Tags
None
Referenced Files
F165305998: D57803.id180736.diff
Fri, Aug 7, 1:25 PM
F165295397: D57803.id.diff
Fri, Aug 7, 11:48 AM
F165252996: D57803.id180500.diff
Fri, Aug 7, 4:55 AM
Unknown Object (File)
Thu, Aug 6, 6:32 AM
Unknown Object (File)
Tue, Jul 28, 7:34 AM
Unknown Object (File)
Mon, Jul 27, 2:38 AM
Unknown Object (File)
Thu, Jul 16, 1:38 AM
Unknown Object (File)
Wed, Jul 15, 10:02 AM
Subscribers

Details

Summary

uefi_rootdev had to be the exact device to work. This is often difficult
to arrange and awkward. Instead, have it search the specified device: As
a partition if it specifies the partition, and as the whole disk if the
specified partition didn't work or it specifies a disk. This brings it
into lone what we do with other devices. This overrides the boot manager
search we do before we do this for the boot device, but this knob has
always been meant to overload the boot manager search.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable