clean up inotify
split out type for inotify_events
move inotify_events type to types