Kernel module path for ports?

Jose M Rodriguez josemi at freebsd.jazztel.es
Wed Jan 26 00:32:56 PST 2005


El Miércoles, 26 de Enero de 2005 03:51, Craig Boston escribió:
> 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
better ${PREFIX}/libexec/...
> $PREFIX/modules
Not an option
> $PREFIX/share/$PORTNAME
modules are arch-specific.  Can't go under ${PREFIX}/share/
>
> There's also /boot/modules, but that's outside of PREFIX...  Would
I think this is the correct place, but you must place it first under 
${PREFIX}/libexec/ and then use a pkg-install script  to safe install it 
under /boot/modules
> anyone care to set a standard?
>
> Thanks,
> Craig

--
  josemi


More information about the freebsd-ports mailing list