]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand/zfs: Add a third argument to zfs_probe_dev: part_too
authorWarner Losh <imp@FreeBSD.org>
Fri, 16 Dec 2022 23:19:51 +0000 (16:19 -0700)
committerWarner Losh <imp@FreeBSD.org>
Sun, 8 Jan 2023 16:45:11 +0000 (09:45 -0700)
commit71bbe6fb709dcfbe36877fa53c928e2e6d881843
tree075d214b38974276a19ef86b1d9207aba87933a9
parentc1871a3372e382bfcd46452d1d8d4f06561508cc
stand/zfs: Add a third argument to zfs_probe_dev: part_too

Pass in 'true' if you'd like to search this device's partitions or
'false' if you should just search the device. EFI and (in the future)
kboot have discrete partitions that aren't accessed via the full disk
device. Weird things happen if you try to search in these cases.

Sponsored by: Netflix
stand/efi/libefi/efizfs.c
stand/i386/loader/main.c
stand/i386/zfsboot/zfsboot.c
stand/libsa/zfs/libzfs.h
stand/libsa/zfs/zfs.c
stand/userboot/userboot/main.c