mirror of https://github.com/mkerrisk/man-pages
inotify.7: Mounting a filesystem on top of a monitored directory causes no event
Reported-by: Nicolas Iooss <Nicolas.Iooss@ssi.gouv.fr> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
792570def1
commit
c659c68e19
|
@ -706,6 +706,14 @@ approach is to close the inotify file descriptor, empty the cache,
|
|||
create a new inotify file descriptor,
|
||||
and then re-create watches and cache entries
|
||||
for the objects to be monitored.)
|
||||
|
||||
If a filesystem is mounted on top of a monitored directory,
|
||||
no event is generated, and no events are generated
|
||||
for objects immediately under the new mount point.
|
||||
If the filesystem is subsequently unmounted,
|
||||
events will subsequently be generated for the directory and
|
||||
the objects it contains.
|
||||
.\"
|
||||
.SS Dealing with rename() events
|
||||
As noted above, the
|
||||
.B IN_MOVED_FROM
|
||||
|
|
Loading…
Reference in New Issue