inotify monitor skeleton