mirror of https://github.com/mkerrisk/man-pages
ffix
This commit is contained in:
parent
325f18dab4
commit
dda869a41d
|
@ -202,31 +202,41 @@ The following further bits can be specified in
|
|||
.I mask
|
||||
when calling
|
||||
.BR inotify_add_watch (2):
|
||||
.TS
|
||||
lB l.
|
||||
IN_DONT_FOLLOW Don't dereference \fIpathname\fP if it is a symbolic link
|
||||
(Since Linux 2.6.15)
|
||||
IN_MASK_ADD Add (OR) events to watch mask for this pathname if
|
||||
it already exists (instead of replacing mask)
|
||||
IN_ONESHOT Monitor \fIpathname\fP for one event, then remove from
|
||||
watch list
|
||||
IN_ONLYDIR Only watch \fIpathname\fP if it is a directory
|
||||
(Since Linux 2.6.15)
|
||||
.TP 16
|
||||
.B IN_DONT_FOLLOW
|
||||
Don't dereference \fIpathname\fP if it is a symbolic link
|
||||
(since Linux 2.6.15).
|
||||
.TP
|
||||
.B IN_MASK_ADD
|
||||
Add (OR) events to watch mask for this pathname if
|
||||
it already exists (instead of replacing mask).
|
||||
.TP
|
||||
.B IN_ONESHOT
|
||||
Monitor \fIpathname\fP for one event, then remove from
|
||||
watch list.
|
||||
.TP
|
||||
.B IN_ONLYDIR
|
||||
Only watch \fIpathname\fP if it is a directory
|
||||
(since Linux 2.6.15).
|
||||
.TE
|
||||
.PP
|
||||
The following bits may be set in the
|
||||
.I mask
|
||||
field returned by
|
||||
.BR read (2):
|
||||
.TS
|
||||
lB l.
|
||||
IN_IGNORED Watch was removed explicitly (\fBinotify_rm_watch\fP(2))
|
||||
or automatically (file was deleted, or
|
||||
file system was unmounted)
|
||||
IN_ISDIR Subject of this event is a directory
|
||||
IN_Q_OVERFLOW Event queue overflowed (\fIwd\fP is \-1 for this event)
|
||||
IN_UNMOUNT File system containing watched object was unmounted
|
||||
.TE
|
||||
.TP 16
|
||||
.B IN_IGNORED
|
||||
Watch was removed explicitly (\fBinotify_rm_watch\fP(2))
|
||||
or automatically (file was deleted, or file system was unmounted).
|
||||
.TP
|
||||
.B IN_ISDIR
|
||||
Subject of this event is a directory.
|
||||
.TP
|
||||
.B IN_Q_OVERFLOW
|
||||
Event queue overflowed (\fIwd\fP is \-1 for this event).
|
||||
.TP
|
||||
.B IN_UNMOUNT
|
||||
File system containing watched object was unmounted.
|
||||
.SS /proc interfaces
|
||||
The following interfaces can be used to limit the amount of
|
||||
kernel memory consumed by inotify:
|
||||
|
|
Loading…
Reference in New Issue