Kernel module path for ports?

Craig Boston craig at yekse.gank.org
Tue Jan 25 18:51:28 PST 2005


I'm working on a port that needs to install a kernel module (loaded by
an rcNG script).  Is there a preferred location for kernel modules
installed by a port?

A quick search of Google, the Porter's Handbook, and hier(7) came up
empty.  The following locations seem to be popular:

$PREFIX/lib/$PORTNAME
$PREFIX/modules
$PREFIX/share/$PORTNAME

There's also /boot/modules, but that's outside of PREFIX...  Would
anyone care to set a standard?

Thanks,
Craig


More information about the freebsd-ports mailing list