Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2019 08:34:34 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Chris Rees <chris@rees.space>, Chris Rees <crees@bayofrum.net>, rgrimes@freebsd.org, "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
Cc:        "O. Hartmann" <ohartmann@walstatt.org>, Chris Rees <crees@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r346017 - in head: libexec/rc libexec/rc/rc.d share/man/man5
Message-ID:  <db4b4304-3868-a3b7-a79e-baaf304510b7@FreeBSD.org>
In-Reply-To: <56770290-a7f2-07dc-3f5a-f9d5721db724@rees.space>
References:  <201904091955.x39Jt7PU061907@gndrsh.dnsmgr.net> <A35301AC-C3A4-478A-8D4A-99E97D1CB8C6@bayofrum.net> <56770290-a7f2-07dc-3f5a-f9d5721db724@rees.space>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09/04/2019 23:08, Chris Rees wrote:
> [crees@pegasus]~% sudo kldload -n zfsctrl && echo yes
> yes
> 
> [crees@pegasus]~% find /boot -name zfsctrl\*
> [crees@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?db4b4304-3868-a3b7-a79e-baaf304510b7>