added inotify support, no testing