inotify.7: Directory renames may invalidate multiple paths cached by application

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-03-27 06:45:17 +01:00
parent 031de15217
commit 2f48204194
1 changed files with 5 additions and 0 deletions

View File

@ -446,6 +446,11 @@ new files (and subdirectories) may already exist inside the subdirectory.
Therefore, you may want to scan the contents of the subdirectory
immediately after adding the watch (and, if desired,
recursively add watches for any subdirectories that it contains).
The inotify applications identifies events via watch descriptors.
It is the application's responsibility to cache a mapping
(if one is needed) between watch descriptors and pathnames.
Be aware that directory renamings may affect multiple cached pathnames.
.SH BUGS
In kernels before 2.6.16, the
.B IN_ONESHOT