HomeFreeBSD

kboot: Add ZFS support to hostdisk

Description

kboot: Add ZFS support to hostdisk

Add helper function to walk through the disk drives we've found to look
for zpools. main.c will still need to call this because the loader
hasn't implemented a good way to 'taste' drives for zpools and/or GELI
partitions (mostly because there's no generic list of candidate
devices).

Sponsored by: Netflix
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D38007

(cherry picked from commit cc82c650a72fcdde255b023703a9b214a81254ec)

Details

Provenance
impAuthored on Jan 13 2023, 9:20 PM
Reviewer
kevans
Differential Revision
D38007: kboot: Add ZFS support to hostdisk
Parents
rG85ce7697ca58: kboot: Rework hostdisk.c to allow easier ZFS support.
Branches
Unknown
Tags
Unknown