Artificial intelligent assistant

What is mean of "not explicitly being listened" on manual page of inotifywait? 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? <

It means you can get these events even if you used the `-e` option and didn't specify them. For instance, if you use


inotifywait -e modify filename


and the file is deleted, you'll get a `delete_self` event, even though you only asked for `modify` events.

This means you need to check the event type in the output, even if you only requested a specific event.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 730c4a34d0750833b3976bf103111292