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)
Thu, Jun 25, 4:53 PM
Unknown Object (File)
Wed, Jun 24, 12:22 AM
Unknown Object (File)
Mon, Jun 22, 5:04 PM
Unknown Object (File)
Sat, Jun 20, 1:49 AM
Unknown Object (File)
Thu, Jun 18, 1:59 PM
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
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 49468
Build 46358: arc lint + arc unit