Re: filemon
- Reply: Dag-Erling_Smørgrav : "Re: filemon"
- Reply: Alastair Hogge : "Re: filemon"
- Reply: Michael Gmelin : "Re: filemon"
- Reply: Warner Losh : "Re: filemon"
- In reply to: Dag-Erling_Smørgrav : "Re: filemon"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Jul 2024 09:38:57 UTC
On 30/07/2024 11:10, Dag-Erling Smørgrav wrote:
> Gary Jennejohn <garyj@gmx.de> writes:
[..]
>> 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"
Does this also apply today? I recently read from someone on a mailing
list that the kld_list in rc.conf is no longer needed, that any problems
it used to solve are solved, and that the preferred way is to load
everything from loader.conf. So I'm curious, what's the right thing to
do then? (I load most of my modules from rc.conf)
Kind regards
Miroslav Lachman