Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Dec 2017 14:07:21 -0500
From:      "Mikhail T." <mi+thun@aldan.algebra.com>
To:        freebsd-fs <freebsd-fs@freebsd.org>
Subject:   Re: kqueue/kevent - watching an entire filesystem?
Message-ID:  <a7af2a6d-599d-7cd3-d9fd-cac55fd83f02@aldan.algebra.com>
In-Reply-To: <CAG6CVpVXdvVAC7up9QRkM-W_NX8KE=%2Bfj8QNhPyOoAE2oxvo=w@mail.gmail.com>
References:  <9795fa64-b2dc-50c3-c7e0-8422e0388c15@aldan.algebra.com> <CAG6CVpVXdvVAC7up9QRkM-W_NX8KE=%2Bfj8QNhPyOoAE2oxvo=w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 25.12.2017 12:41, Conrad Meyer wrote:
> I'm afraid there is nothing better than recursively opening
> subdirectories to monitor a tree (even a whole filesystem) with
> kqueue/kevent.

I wonder, how difficult it would be to implement the kevent-filter 
neccesary for this instead. Can it be just a module, or would it have to 
modify other places in the kernel?

    -mi




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a7af2a6d-599d-7cd3-d9fd-cac55fd83f02>