On Mon, 2005-04-04 at 16:19 +1000, Andrew Tridgell wrote: > Unfortunately it doesn't really help with case-insensitivity, as it is > a non-blocking async interface, so the listeners get told way too > late. Plus you have to have every directory open that you want to > monitor, which would get silly.
I think inotify does not require you to have an fd open for each directory, that was the motivation behind its design: GNOME needed a way to monitor removable media without blocking its unmount. The rest of your points about maintaining a userspace dcache seem to make sense, though maybe trading memory for syscalls in the meantime would be worth doing (until the kernel provides more support). thanks -mike