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)
Wed, Aug 12, 3:36 PM
Unknown Object (File)
Mon, Aug 10, 4:58 AM
Unknown Object (File)
Sat, Aug 8, 1:27 AM
Unknown Object (File)
Wed, Aug 5, 6:46 AM
Unknown Object (File)
Wed, Aug 5, 6:16 AM
Unknown Object (File)
Tue, Aug 4, 6:11 AM
Unknown Object (File)
Sat, Jul 25, 3:30 AM
Unknown Object (File)
Jul 12 2026, 5:04 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