Page MenuHomeFreeBSD

kboot: Probe all disks and partitions for a kernel
ClosedPublic

Authored by imp on Feb 1 2023, 6:24 AM.
Tags
None
Referenced Files
Unknown Object (File)
May 6 2026, 1:17 AM
Unknown Object (File)
May 4 2026, 4:53 PM
Unknown Object (File)
May 4 2026, 9:38 AM
Unknown Object (File)
May 3 2026, 11:39 PM
Unknown Object (File)
May 3 2026, 10:16 PM
Unknown Object (File)
Apr 29 2026, 10:12 AM
Unknown Object (File)
Apr 29 2026, 7:07 AM
Unknown Object (File)
Apr 28 2026, 8:22 AM
Subscribers

Details

Summary

Guess where to boot from when bootdev= isn't on the command line or
other config. Search all the disks and partitions for one that looks
like it could be a boot partition (same as we do when probing
zpools). Return the first one we find.

Sponsored by: Netflix

Diff Detail

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