Re: [gamin] How to monitor a directory tree.
- From: Daniel Veillard <veillard redhat com>
- To: Arnault Teissier <roswel assonetworx com>
- Cc: gamin-list gnome org
- Subject: Re: [gamin] How to monitor a directory tree.
- Date: Wed, 18 May 2005 08:44:59 -0400
On Wed, May 18, 2005 at 07:31:14PM +0800, Arnault Teissier wrote:
> Hi,
>
> I'm sorry to come out with a question like that, but I cannot manage to
> find a way to monitor a full directory tree. I could of course, asked to
> monitor avery directories and subdirectories, but I wonder there is no
> better way with the standard API.
there is no way to do this directly from the API. You have to watch every
directory.
> And if I do so, i would know if I
> could bypass the limitation of 1024 monitored directory by using
> inotify.
inotify and polling are the only way to bypass the kernel imposed dnotify
limitation on the number of open file descriptors.
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]