Date: Tue, 30 Jul 2024 11:38:57 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> To: =?UTF-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org> Cc: freebsd-current@freebsd.org Subject: Re: filemon Message-ID: <a5471d18-7f88-4e24-8518-2c7a67ddd7f1@quip.cz> In-Reply-To: <865xsn6ya9.fsf@ltc.des.dev> References: <ZqT6_a_0F8DCUsBm@int21h> <CAFDf7UKxhSu%2BqMGV1KahrSX9ho8vFut4avxNVX4D8QGa6%2B%2BTjQ@mail.gmail.com> <20240727170122.675f6bfe@ernst.home> <865xsn6ya9.fsf@ltc.des.dev>
index | next in thread | previous in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a5471d18-7f88-4e24-8518-2c7a67ddd7f1>
