.I mask
field returned by
.BR read (2):
-.TS
-lB l.
-IN_ACCESS File was accessed (read) (*)
-IN_ATTRIB Metadata changed (permissions, timestamps,
- extended attributes, etc.) (*)
-IN_CLOSE_WRITE File opened for writing was closed (*)
-IN_CLOSE_NOWRITE File not opened for writing was closed (*)
-IN_CREATE File/directory created in watched directory (*)
-IN_DELETE File/directory deleted from watched directory (*)
-IN_DELETE_SELF Watched file/directory was itself deleted
-IN_MODIFY File was modified (*)
-IN_MOVE_SELF Watched file/directory was itself moved
-IN_MOVED_FROM File moved out of watched directory (*)
-IN_MOVED_TO File moved into watched directory (*)
-IN_OPEN File was opened (*)
-.TE
+.RS 4
+.sp
+.PD 0
+.TP 18
+.B IN_ACCESS
+File was accessed (read) (*).
+.TP
+.B IN_ATTRIB
+Metadata changed (permissions, timestamps, extended attributes, etc.) (*).
+.TP
+.B IN_CLOSE_WRITE
+File opened for writing was closed (*).
+.TP
+.B IN_CLOSE_NOWRITE
+File not opened for writing was closed (*).
+.TP
+.B IN_CREATE
+File/directory created in watched directory (*).
+.TP
+.B IN_DELETE
+File/directory deleted from watched directory (*).
+.TP
+.B IN_DELETE_SELF
+Watched file/directory was itself deleted.
+.TP
+.B IN_MODIFY
+File was modified (*).
+.TP
+.B IN_MOVE_SELF
+Watched file/directory was itself moved.
+.TP
+.B IN_MOVED_FROM
+File moved out of watched directory (*).
+.TP
+.B IN_MOVED_TO
+File moved into watched directory (*).
+.TP
+.B IN_OPEN
+File was opened (*).
+.PD
+.RE
.PP
When monitoring a directory,
the events marked with an asterisk (*) above can occur for
.I mask
when calling
.BR inotify_add_watch (2):
-.TP 16
+.RS 4
+.sp
+.PD 0
+.TP 18
.B IN_DONT_FOLLOW
Don't dereference \fIpathname\fP if it is a symbolic link
(since Linux 2.6.15).
.B IN_ONLYDIR
Only watch \fIpathname\fP if it is a directory
(since Linux 2.6.15).
-.TE
+.PD
+.RE
.PP
The following bits may be set in the
.I mask
field returned by
.BR read (2):
-.TP 16
+.RS 4
+.sp
+.PD 0
+.TP 18
.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_UNMOUNT
File system containing watched object was unmounted.
+.PD
+.RE
.SS /proc interfaces
The following interfaces can be used to limit the amount of
kernel memory consumed by inotify: