On Tue, Dec 05, 2006 at 02:08:22PM -0500, Matthias Clasen wrote:
> > gnome-menus uses gamin for notification, which uses
inotify. The problem
> > is that inotify sucks when it comes to nonexisting files
>
> Can't you add a watch on the directory, and get notification when
> a file gets added that way?
>
Sure. But if that directory is a busy one like, say, $HOME, then you get
a lot of unnecessary wakeups.
That's still got to be more efficient than polling.
Dave