Date: Sat, 20 Jul 2002 00:22:37 -0700 From: Jon Mini <baka@elvis.mu.org> To: Sean Hamilton <sh@planetquake.com> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Filesystem hook Message-ID: <20020720072237.GF31134@elvis.mu.org> In-Reply-To: <001501c22fa7$fd418a50$f019e8d8@slugabed.org> References: <001501c22fa7$fd418a50$f019e8d8@slugabed.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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). -- Jonathan Mini <mini@freebsd.org> http://www.freebsd.org/ 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?20020720072237.GF31134>