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/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ Gamin-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gamin-list
