Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jul 2002 00:26:01 -0700
From:      "Sean Hamilton" <sh@planetquake.com>
To:        <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: Filesystem hook
Message-ID:  <001d01c22fbe$b39bf770$f019e8d8@slugabed.org>
References:  <001501c22fa7$fd418a50$f019e8d8@slugabed.org> <20020720072237.GF31134@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Subject: Re: Filesystem hook
> On Fri, Jul 19, 2002 at 09:43:25PM -0700, Sean Hamilton wrote:
> > Greetings,
> >
> > In Windows, there is a filesystem hook, ie, applications can ask to be
> > notified about changes to a given file system / structure. Thus, a
directory
> > listing could automatically update, etc.
> >
> > Does FreeBSD offer a similar mechanism?
>
> Yes, the kevent(2) interface allows you to listen for events on a vnode.
> However, there is no way to request for events of its children (e.g.
> subdirectories).

Thanks, I also got another reply saying the same. Looks like it does what I
want, and a fair bit more. I suppose I could just recurse and open a bunch
of these if I needed to -- are there limits? I'll check the man page.

sh


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001d01c22fbe$b39bf770$f019e8d8>