Index: boot/zfs/zfsimpl.c =================================================================== --- boot/zfs/zfsimpl.c (wersja 217283) +++ boot/zfs/zfsimpl.c (kopia robocza) @@ -814,17 +814,10 @@ return (EIO); } -#ifndef TEST - if (val != POOL_STATE_ACTIVE) { - /* - * Don't print a message here. If we happen to reboot - * while where is an exported pool around, we don't - * need a cascade of confusing messages during boot. - */ - /*printf("ZFS: pool is not active\n");*/ + if (val == POOL_STATE_DESTROYED) { + /* We don't boot only from destroyed pools. */ return (EIO); } -#endif if (nvlist_find(nvlist, ZPOOL_CONFIG_POOL_TXG,