add interface for inotify API

For some fmon-like functionality