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)
Mon, Nov 10, 8:39 PM
Unknown Object (File)
Sun, Nov 9, 4:51 PM
Unknown Object (File)
Sat, Nov 8, 6:58 PM
Unknown Object (File)
Tue, Nov 4, 8:54 AM
Unknown Object (File)
Mon, Oct 13, 4:34 AM
Unknown Object (File)
Oct 10 2025, 9:22 PM
Unknown Object (File)
Sep 29 2025, 6:40 PM
Unknown Object (File)
Sep 20 2025, 7:57 PM
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