On 30/07/2024 11:10, Dag-Erling Smørgrav wrote:
Gary Jennejohn <[email protected]> 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
