]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a hint that "device ctl" kind of depends on "device iscsi".
authortrasz <trasz@FreeBSD.org>
Wed, 8 Apr 2015 11:59:00 +0000 (11:59 +0000)
committertrasz <trasz@FreeBSD.org>
Wed, 8 Apr 2015 11:59:00 +0000 (11:59 +0000)
commit4317a349c054c2ed36fe2b36a19d92a34ed818b2
tree20bb862352c7db1bfd18e06a2896e5d3d6bd96e3
parentc6a558ff4aae125a8cf8049fb1283bb938a7e5a3
Add a hint that "device ctl" kind of depends on "device iscsi".

It actually doesn't - "device ctl" automatically pulls in ICL, which
would normally be a part of iscsi.ko.  However, doing it that way makes
iscsi.ko unloadable, and building ctl.ko without iscsi.ko (using
MODULES_OVERRIDE) results in ctl.ko that is unloadable, due to missing
symbols that would be resolved to iscsi.ko.  And since the symbols
are named "icl_whatever", it's not obvious that it's iscsi.ko that's
required.

If there is a better way - let me know.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation
share/man/man4/ctl.4