Ivan Voras wrote:
> Short answer: no.
>
> Long answer: There should be. There were past discussions on writing
> such a facility to e.g. receive events for all files on per-mountpoint
> basis (which you could filter...), but we're not there yet.
Thanks! That answers my question. I'll find some s
On Mon, Oct 25, 2010 at 1:54 AM, Igor V. Ruzanov wrote:
> I thought so too but was not sure about his problem. With
> kqueue()/kevent() we can monitor every open file descriptor. So how many
> files are laid down in the directory tree, 100, 1000, 15000? In every
> such way its possible to write o
large directory tree for
changes. Is there?
On Sun, Oct 24, 2010 at 9:46 PM, Robert Bonomi wrote:
> > From owner-freebsd-questi...@freebsd.org Sun Oct 24 22:17:42 2010
> > Date: Sun, 24 Oct 2010 18:05:34 -0700
> > From: Kenton Varda
> > To: freebsd-questions@freebsd.or
Hi all,
I am trying to write some code which monitors a possibly-large directory
tree for changes. Specifically, it's a build system, and I want it to
automatically start rebuilding whenever I modify a source file.
So far the approach I've taken is to use EVFILT_VNODE to watch every file
and dir