svn commit: r346017 - in head: libexec/rc libexec/rc/rc.d share/man/man5
Andriy Gapon
avg at FreeBSD.org
Wed Apr 10 06:04:29 UTC 2019
On 09/04/2019 23:08, Chris Rees wrote:
> [crees at pegasus]~% sudo kldload -n zfsctrl && echo yes
> yes
>
> [crees at pegasus]~% find /boot -name zfsctrl\*
> [crees at pegasus]~%
I am not sure what was your point, but here are some thoughts (or food for thought).
1. As I mentioned earlier, ZFS has this duality where a loadable file is called
zfs.ko, but the actual module is called zfsctrl
2. 'kldload -n zfsctrl' should work if ZFS is already present (either in the
kernel or because zfs.ko is loaded) because zfsctlr is the module name
3. I don't know if 'kldload -n zfsctrl' would work if ZFS is not loaded, because
I am not sure if kldload is able to figure out that zfsctlrl can be found in zfs.ko.
4. In any case, /etc/rc.d/zfs has required_modules="zfs". So, the above is moot
unless you replace "zfs" with "zfsctrl". And then, it may or may not work
depending on #3.
--
Andriy Gapon
More information about the svn-src-all
mailing list