RFC: possible issue with kqueue

Warner Losh imp at bsdimp.com
Wed Apr 7 05:09:06 UTC 2021


On Tue, Apr 6, 2021, 10:58 PM Rozhuk Ivan <rozhuk.im at gmail.com> wrote:

> On Tue, 6 Apr 2021 22:50:16 -0600
> Warner Losh <imp at bsdimp.com> wrote:
>
> > > > > > https://reviews.freebsd.org/D19690
> > > > > >
> > > > > > I do not finish this.
> > > > > > Plan was: implement this and catch unmount notify in my FAM,
> > > > > > that in glib20.
> > > > > >
> > > > >
> > > > > Hum, but I do see mount/unmount events in devd on CURRENT!
> > > > >
> > > >
> > > > I did this in conjunction with the forced unmount work of chs at .
> > >
> > >
> > > Where I can learn more about this?
> > >
> >
> > The devd stuff is documented in devd.conf(5).
> >
> > The umount stuff is documented in the commit message for hash
> > d79ff54b5caad61e657b9cc651aa256f3949b97a
> >
>
>
> Sorry, it is unclear to me: who uses mount/unmount devd notifications?
>


Devd has a config file that you can use to configure scripts that run when
mount/umount happens. The bsdisk port uses it to track what was mounted.

Warner

>


More information about the freebsd-hackers mailing list