sync with inotify