Date: Sat, 27 Jul 2024 19:41:06 +0000 From: =?UTF-8?B?0J7Qu9C10LM=?= <moonlapse81@gmail.com> To: freebsd-current@freebsd.org Subject: Re: filemon Message-ID: <CADADSGh2jHjG8kqQLB4i0KgRv47XOJ3T0eJORhzDJxmmdz7YRA@mail.gmail.com> In-Reply-To: <ZqU9y7w6Y1hkULUW@int21h> References: <ZqT6_a_0F8DCUsBm@int21h> <CAFDf7UKxhSu%2BqMGV1KahrSX9ho8vFut4avxNVX4D8QGa6%2B%2BTjQ@mail.gmail.com> <20240727170122.675f6bfe@ernst.home> <ZqU9y7w6Y1hkULUW@int21h>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] slightly tangent question but does filemon and consequently WITH_META_MODE=YES work, when /usr/obj is on tmpfs? In my test, it is not and i tested without reboot, so /usr/obj is not removed. Reason is to avoid disk use when building world/kernel. On Sat, Jul 27, 2024 at 6:35 PM void <void@f-m.fm> wrote: > On Sat, Jul 27, 2024 at 03:01:22PM +0000, Gary Jennejohn wrote: > > >filemon is not a device, it's an option. So you can't have "device > >filemon" in your kernel config file. > > man 4 filemon has the following > > NAME > filemon – the filemon device > > [...] > > DESCRIPTION > The filemon device allows a process to collect file operations data > of > its children. The device /dev/filemon responds to two ioctl(2) > calls. > > [...] > > Are you sure it's not a device? The man page suggests otherwise. > > -- > > [-- Attachment #2 --] <div dir="ltr"><div>slightly tangent question but does filemon and consequently WITH_META_MODE=YES work, when /usr/obj is on tmpfs? In my test, it is not and i tested without reboot, so /usr/obj is not removed. Reason is to avoid disk use when building world/kernel.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 27, 2024 at 6:35 PM void <<a href="mailto:void@f-m.fm">void@f-m.fm</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sat, Jul 27, 2024 at 03:01:22PM +0000, Gary Jennejohn wrote:<br> <br> >filemon is not a device, it's an option. So you can't have "device<br> >filemon" in your kernel config file.<br> <br> man 4 filemon has the following<br> <br> NAME<br> filemon – the filemon device<br> <br> [...]<br> <br> DESCRIPTION<br> The filemon device allows a process to collect file operations data of<br> its children. The device /dev/filemon responds to two ioctl(2) calls.<br> <br> [...]<br> <br> Are you sure it's not a device? The man page suggests otherwise.<br> <br> -- <br> <br> </blockquote></div>help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADADSGh2jHjG8kqQLB4i0KgRv47XOJ3T0eJORhzDJxmmdz7YRA>
