Date: Thu, 3 Apr 2008 16:11:59 +0200 From: Mel <fbsd.questions@rachie.is-a-geek.net> To: freebsd-questions@freebsd.org, John Conover <conover@rahul.net> Subject: Re: F_NOTIFY in fcntl(2)? Message-ID: <200804031612.00718.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <20080403102555.9941.qmail@rahul.net> References: <20080403102555.9941.qmail@rahul.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 03 April 2008 12:25:55 John Conover wrote: > Does freebsd support the F_NOTIFY, (i.e., File and directory change > notification,) in fcntl(2)? > > I get that it doesn't, but its an old 5X version, and I might have to > upgrade. Nope, this is a GNU extension to fcntl. File change notifications are done with EVFILT_VNODE using kqueue(2). Directory changes have no interface that I know of. You might wanna take a look at how devel/gamin handles this, specifically the kqueue implementation. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804031612.00718.fbsd.questions>