NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ZFS Bogosity
gdt%lexort.com@localhost (Greg Troxel) writes:
>David Brownlee <abs%absd.org@localhost> writes:
>> https://gnats.netbsd.org/57583
>Do you think this is just a bug that it fails to look at wd3e
>etc. wrongly if there is /dev/zfs?
The code scans all devices in the specified device directory, unless
it's /dev/. Then it uses sysctl hw.disknames to enumerate disk devices,
and it doesn't care about disklabel partitions.
You can also cache devices, then the pool devices are just used as
stored in the cache instead of scanning all disks for labels. But
that doesn't work nicely with wedges or anything else with changing
device units.
Home |
Main Index |
Thread Index |
Old Index