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>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000cae780061e3fcfd7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable slightly tangent question but does filemon and consequently WITH_META_MODE=3DYES 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=E2=80=AFPM 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 =E2=80=93 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. > > -- > > --000000000000cae780061e3fcfd7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>slightly tangent question but does filemon and conseq= uently WITH_META_MODE=3DYES 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=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, J= ul 27, 2024 at 6:35=E2=80=AFPM void <<a href=3D"mailto:void@f-m.fm">void= @f-m.fm</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"= margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-lef= t: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.=C2=A0 So you can't hav= e "device<br> >filemon" in your kernel config file.<br> <br> man 4 filemon has the following<br> <br> NAME<br> =C2=A0 =C2=A0 =C2=A0 filemon =E2=80=93 the filemon device<br> <br> [...]<br> <br> DESCRIPTION<br> =C2=A0 =C2=A0 =C2=A0 The filemon device allows a process to collect file op= erations data of<br> =C2=A0 =C2=A0 =C2=A0 its children.=C2=A0 The device /dev/filemon responds t= o 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> --000000000000cae780061e3fcfd7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADADSGh2jHjG8kqQLB4i0KgRv47XOJ3T0eJORhzDJxmmdz7YRA>