HomeFreeBSD

Fix error message when zfs module is not loaded

Description

Fix error message when zfs module is not loaded

This patch corrects a small issue where the wrong error message
was being displayed when the zfs kernel module was not loaded.
This also avoids waiting for the (by default) 10s timeout to see
if the /dev/zfs device appears.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #8187

Details

Provenance
Tom Caputi <tcaputi@datto.com>Authored on Dec 7 2018, 6:54 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Dec 7 2018, 6:54 PM
Parents
rGef57371a9236: Do not enable stack tracer for ZFS performance test
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG4b611761bd09: Fix error message when zfs module is not loaded (authored by Tom Caputi <tcaputi@datto.com>).Dec 7 2018, 6:54 PM