On Sat, 27 Jul 2024 15:27:19 +0100 Nuno Teixeira <edua...@freebsd.org> wrote:
> Hello, > > I use filemon for builds with WITH_META_MODE loaded from rc.conf: > kld_list="... filemon" for some years on both amd64 and aarch64. > > Cheers, > > void <v...@f-m.fm> escreveu (sábado, 27/07/2024 à(s) 14:50): > > > Is it better to load filemon as kldload filemon, or to > > have it set as a device via 'device filemon' in the kernel > > config file? or to just load it when rebuilding the system? > > > > There is man 4 filemon but nothing there to describe usage as .ko > > or device. System is n271321-9ae91f59c500 on arm64. > > > > -- > > > > > filemon is not a device, it's an option. So you can't have "device filemon" in your kernel config file. I compile it with makeoptions MODULES_OVERRIDE="filemon ..." in my kernel config file. I also load it from /boot/loader.conf using filemon_load="YES" So, there are various ways to get filemon loaded. -- Gary Jennejohn