zfsonfreebsd/ZoF

Incorrect error message from zpool command

Closed this issue · 1 comments

On FreeBSD, the message zpool prints when trying to create a pool without the zfs module loaded is incorrect. It should just load the module for the user, but it definitely shouldn't require udevadm triggeron FreeBSD.

root@freebsd12-zol:~ # zpool create tank foo
/dev/zfs and /proc/self/mounts are required.
Try running 'udevadm trigger' and 'mount -t proc proc /proc' as root.
root@freebsd12-zol:~ #

This same error happens when you run 'zfs list' without zfs.ko loaded. Previously on FreeBSD this would automatically load zfs.ko