loading modules not in /boot/kernel from loader.conf

Rob Messick robmessick at gmail.com
Mon Dec 10 11:53:14 PST 2007


Aryeh M. Friedman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> sysutils/fusefs-kmod installs to /usr/local/modules/fuse.ko and a
> fuse_load="YES" will not work because of this.  But, mv/cp/ln'ing it
> to /boot/kernel gets nuked if you rebuild/install the kernel.   How to
> get around this?
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.4 (FreeBSD)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHXUAtzIOMjAek4JIRApF1AJ4wbXjTQVt4wngiRObv7A2iTJFPQwCgnFiT
> V63lqeMKC4vWDHdykrcxXGo=
> =JB+k
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>   
The fusefs rc script will run kldload /usr/local/modules/fuse.ko.  You 
don't need to add anything to loader.conf . Secondly, you should add 
kernel modules to the /boot/modules dir not /boot/kernel.

-Rob


More information about the freebsd-questions mailing list