Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2024 15:01:22 +0000
From:      Gary Jennejohn <garyj@gmx.de>
To:        freebsd-current@freebsd.org
Subject:   Re: filemon
Message-ID:  <20240727170122.675f6bfe@ernst.home>
In-Reply-To: <CAFDf7UKxhSu%2BqMGV1KahrSX9ho8vFut4avxNVX4D8QGa6%2B%2BTjQ@mail.gmail.com>
References:  <ZqT6_a_0F8DCUsBm@int21h> <CAFDf7UKxhSu%2BqMGV1KahrSX9ho8vFut4avxNVX4D8QGa6%2B%2BTjQ@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

On Sat, 27 Jul 2024 15:27:19 +0100
Nuno Teixeira <eduardo@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 <void@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


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240727170122.675f6bfe>