inotify.7: Note a subtlety of event generation when monitoring a directory

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-11-18 10:39:10 +01:00
parent ebfe2108cc
commit 705bb6738b
1 changed files with 6 additions and 0 deletions

View File

@ -274,6 +274,12 @@ for the directory itself and for objects inside the directory; and
the events marked with a plus sign (+) occur only for objects
inside the directory (not for the directory itself).
.PP
.IR Note :
when monitoring a directory,
events are not generated for the files inside the directory
when the events are performed via a pathname (i.e., a link)
that lies outside the monitored directory.
When events are generated for objects inside a watched directory, the
.I name
field in the returned