Re: filemon
- Reply: Miroslav Lachman : "Re: filemon"
- Reply: Gary Jennejohn : "Re: filemon"
- Reply: Poul-Henning Kamp: "Re: filemon"
- In reply to: Gary Jennejohn : "Re: filemon"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Jul 2024 09:10:06 UTC
Gary Jennejohn <garyj@gmx.de> writes: > filemon is not a device, it's an option. So you can't have "device > filemon" in your kernel config file. There is very little difference between options and devices in kernel configuration files, but for what it's worth, filemon is a device, not an option. > I compile it with makeoptions MODULES_OVERRIDE="filemon ..." in my > kernel config file. All that does is build the module as part of the buildkernel process. It does not include the module in the kernel, nor does it cause the module to be loaded at boot time. > I also load it from /boot/loader.conf using filemon_load="YES" This does cause the module to be loaded at boot time, but it's slower than loading it later, and it increases memory fragmentation. A better option is to include "filemon" in the kld_list variable in /etc/rc.conf or /etc/rc.conf.d/kld. For instance, % cat /etc/rc.conf.d/kld/filemon kld_list="${kld_list} filemon" DES -- Dag-Erling Smørgrav - des@FreeBSD.org