This behavior is formally correct because it corresponds to its
implementation in the kernel (as of 2.6.31 and older versions). But I'm
not sure if it is "logically" correct. It is a question for the kernel
developers.
Regards,
Lukas
> Quick question about inotify and IN_DELETE_SELF. When I monitor a folder, and the folder itself is deleted, I get IN_DELETE_SELF. What seems strange to me is that IN_ISDIR is not set in the event mask, but it seems like it should be as I'm monitoring a directory, not a file. Is this the correct behavior? Thank you.
Received on Tue Jun 05 2012 - 22:14:21 CEST
This archive was generated by hypermail 2.2.0 : Tue Jun 05 2012 - 22:14:21 CEST