Right now zdb crashes if for various reasons libzfs_init fails which can happen
if the zfs modules fails to load for example.
I think it is better to reportean error rather than crashing
If you want I can also upstream this patch to openzfs
Differential D4691
zdb: report an error if initialisation fails bapt on Dec 22 2015, 11:14 PM. Authored by Tags None Referenced Files
Subscribers
Details Right now zdb crashes if for various reasons libzfs_init fails which can happen I think it is better to reportean error rather than crashing If you want I can also upstream this patch to openzfs
Diff Detail
|