man inotifywait:
delete_self A watched file or directory was deleted. After this event the file or directory is no longer being watched. Note that this event can occur even if it is not explicitly being listened for.
unmount The filesystem on which a watched file or directory resides was unmounted. After this event the file or directory is no longer being watched. Note that this event can occur even if it is not explicitly being listened to.
How to understand mean of "that this event can occur even if it is not explicitly being listened" on that manual page?
https://manpages.debian.org/stretch/inotify-tools/inotifywait.1.en.html
echo >>foo
also triggers aACCESS
event ? – illiterate Nov 08 '17 at 04:57GNU bash, version 4.4.12(1)-release (i686-pc-linux-gnu)
,I'm not know if any shell option maybe is about to this. – illiterate Nov 09 '17 at 14:53