From 859758b6928fae7f1b27e92cda8abf85fd80d3d8 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 26 Feb 2019 15:45:07 +0100 Subject: [PATCH 1/1] inotify.7: Minor fixes to Henry Wilson's patch Signed-off-by: Michael Kerrisk --- man7/inotify.7 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/man7/inotify.7 b/man7/inotify.7 index 873bc27bc9..0feda46de6 100644 --- a/man7/inotify.7 +++ b/man7/inotify.7 @@ -372,7 +372,7 @@ is not a directory. Using this flag provides an application with a race-free way of ensuring that the monitored object is a directory. .TP -.BR IN_MASK_CREATE " (from Linux 4.18)" +.BR IN_MASK_CREATE " (since Linux 4.18)" Watch .I pathname only if it does not already have a watch associated with it; @@ -380,12 +380,12 @@ the error .B EEXIST results if .I pathname -already is being watched. +is already being watched. Using this flag provides an application with a way of ensuring -that new watches do not modify existing ones. This is useful -because multiple paths may refer to the same inode, and +that new watches do not modify existing ones. +This is useful because multiple paths may refer to the same inode, and multiple calls to -.B inotify_add_watch (2) +.BR inotify_add_watch (2) without this flag may clobber existing watch masks. .RE .PP -- 2.39.2