> Can dnotify work with fam?
> http://www.yggdrasil.com/cgi-bin/cvsweb.cgi/linux/Documentation/dnotify.txt?rev=1.1
I'm not very familiar with dnotify myself, but here's what I think:
- libfam could probably be rewritten to use dnotify instead of talking to
fam on systems where it's available.
- One potential problem is that with dnotify, you need one open fd per
monitored directory. (Of course, for applications which only monitor one
directory anyway, this isn't a problem.)
- When an event occurs in a directory, I don't see how to tell which file
the event occurred on.
Most likely the way fam can benefit most from dnotify is if the imon patch
is able to make use of the dnotify hooks in the fs code. I think dnotify &
imon have their hooks in the same places; it would be nice if imon could
use the same hooks, and be a smaller, less intimidating patch.
--Rusty
--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx
|