From 18d92a146c9b5de787624863e6d9dfe7e5ddcf90 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 10 Jul 2014 06:51:10 +0200 Subject: [PATCH] inotify.7: Note that IN_ONLY_DIR can be used to avoid races Signed-off-by: Michael Kerrisk --- man7/inotify.7 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/man7/inotify.7 b/man7/inotify.7 index ddddbd283..6cd72b804 100644 --- a/man7/inotify.7 +++ b/man7/inotify.7 @@ -344,6 +344,8 @@ watch list. Only watch .I pathname if it is a directory. +Using this flag provides an application with a race-free way of +ensuring that the monitored objeect is a directory. .RE .PP The following bits may be set in the