Constant inotify_sys::IN_EXCL_UNLINK [] [src]

pub const IN_EXCL_UNLINK: uint32_t = 67108864

Option: Don't watch unlinked children.

By default, when watching events on the children of a directory, events are generated for children even after they have been unlinked from the directory. This can result in large numbers of uninteresting events for some applications (e.g., if watching /tmp, in which many applications create temporary files whose names are immediately unlinked).

IN_EXCL_UNLINK changes this behavior, so that events are not generated for children after they have been unlinked from the watched directory.