mirror of https://github.com/mkerrisk/man-pages
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:
parent
031de15217
commit
2f48204194
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue