mirror of https://github.com/mkerrisk/man-pages
inotify.7: Minor fixes to Henry Wilson's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
381b7a9111
commit
859758b692
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue