From dc6f406e7f3b00d010fcd008f9f21396ab9788cf Mon Sep 17 00:00:00 2001 From: Michal Lenc Date: Mon, 7 Oct 2024 11:38:31 +0200 Subject: [PATCH] documentation/inotify: add newly supported events IN_CLOSE_WRITE and IN_CLOSE_NOWRITE are now supported and IN_MODIFY can be used for truncate as well. Signed-off-by: Michal Lenc --- Documentation/components/filesystem/inotify.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/components/filesystem/inotify.rst b/Documentation/components/filesystem/inotify.rst index 2fb37863b3f..cab61b4a881 100644 --- a/Documentation/components/filesystem/inotify.rst +++ b/Documentation/components/filesystem/inotify.rst @@ -90,12 +90,16 @@ calling inotify_add_watch and may be returned in the mask field returned by re **IN_ACCESS** :File was accessed - **IN_MODIFY** :File was modified + **IN_MODIFY** :File was modified (``write()`` or ``truncate()``) **IN_ATTRIB** :Metadata changed **IN_OPEN** :File was opened + **IN_CLOSE_WRITE** :File opened for writing was closed + + **IN_CLOSE_NOWRITE** : File not opened for writing was closed + **IN_MOVED_FROM** :File was moved from X **IN_MOVED_TO** :File was moved to Y