mirror of https://github.com/mkerrisk/man-pages
fanotify.7: Clarify effects of file moves
If files or directories are moved to other mounts, the inode is deleted. Fanotify marks are lost. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7d6bfe72a3
commit
7d3c593b21
|
@ -91,10 +91,10 @@ ignore mask and the file cache entry can be updated.
|
|||
.PP
|
||||
The entries in the fanotify notification groups refer to files and
|
||||
directories via their inode number and to mounts via their mount ID.
|
||||
If files or directories are renamed or moved,
|
||||
If files or directories are renamed or moved within the same mount,
|
||||
the respective entries survive.
|
||||
If files or directories are deleted or mounts are unmounted,
|
||||
the corresponding entries are deleted.
|
||||
If files or directories are deleted or moved to another mount or if mounts are
|
||||
unmounted, the corresponding entries are deleted.
|
||||
.SS The event queue
|
||||
As events occur on the filesystem objects monitored by a notification group,
|
||||
the fanotify system generates events that are collected in a queue.
|
||||
|
|
Loading…
Reference in New Issue