From 705bb6738bfd1c74a103aac62921afe8215e07d6 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 18 Nov 2016 10:39:10 +0100 Subject: [PATCH] inotify.7: Note a subtlety of event generation when monitoring a directory Signed-off-by: Michael Kerrisk --- man7/inotify.7 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/man7/inotify.7 b/man7/inotify.7 index 523899ea9..b5c90f81a 100644 --- a/man7/inotify.7 +++ b/man7/inotify.7 @@ -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