Open OpenNingia opened 12 years ago
Seems like a good ideal, some distros all ready have the binaries inotify and inotify development packages, just a case of two more library dependencies.
How about the inotify-tools? Is this library common among distros?
Debian and Ubuntu have it in the repos https://launchpad.net/ubuntu/+source/inotify-tools
Anyone working on this? We can discuss suggestions like these in the discussion group:
this is pretty vital for a functional daemon: cronjobs just don’t do the trick.
are there any news about this feature?
i working on it. i use inotify without the external packages. until now i implement the new file creation notify and also delete. working on recursive folder read.
please suggest if have any ideas
This is not an issue but a suggestion, I crawled around the web to gain information about inotify and what I found was quite disappointing.
The main show stopper is that inotify doesn't support recursive directory watchers, and to code the recursive stuff ourself is quite silly ( lot's of work in balancing tree ).
However there exists a set of libraries and tools called inotify-tools that already implement the feature (using optimized redblack tree, which is neat)
take a look here: https://github.com/rvoicilas/inotify-tools/wiki/
I suggest using this stuff instead of directly linking to inotify