Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 2021 23:08:51 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Rozhuk Ivan <rozhuk.im@gmail.com>
Cc:        Gleb Popov <arrowd@freebsd.org>, Damjan Jovanovic <damjan.jov@gmail.com>,  "freebsd-hackers@freebsd.org" <hackers@freebsd.org>
Subject:   Re: RFC: possible issue with kqueue
Message-ID:  <CANCZdfrDtUBN5yXFLgHwZdNc400indAHekSOy9e0SBa_sTbuBA@mail.gmail.com>
In-Reply-To: <20210407075819.52fd2eb7@rimwks.local>
References:  <20210327131011.e16291cac86475e75a33812c@FreeBSD.org> <20210330181402.GM14975@funkthat.com> <CAJm2B-kbkJPUHiurCfYsOmrCFSNPBD74FYsHsuNNdOVC6F4C%2BQ@mail.gmail.com> <CALH631mwWZBGiKhz3FAcL=dEQyYDM%2B7Z8Gc2H9VNMEh5dNfysA@mail.gmail.com> <CANCZdfr5q1KnWU4kGXWsgpS9m_vn1jyLBEzOdnJFYq_6htbFOw@mail.gmail.com> <20210407071419.6dc84f3c@rimwks.local> <CANCZdfoEZx%2BdoBR-X3xGv_o9jeSJADU1Pz4mKKZN9tNQRX9K0A@mail.gmail.com> <20210407075819.52fd2eb7@rimwks.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 6, 2021, 10:58 PM Rozhuk Ivan <rozhuk.im@gmail.com> wrote:

> On Tue, 6 Apr 2021 22:50:16 -0600
> Warner Losh <imp@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@.
> > >
> > >
> > > 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

>



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