Added a param to inotify flags; seems to detect removal of SDs much better now