diff --git a/man7/inotify.7 b/man7/inotify.7 index 0e3be6139..759b535dc 100644 --- a/man7/inotify.7 +++ b/man7/inotify.7 @@ -156,22 +156,47 @@ and may be returned in the .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 @@ -202,7 +227,10 @@ The following further bits can be specified in .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). @@ -218,13 +246,17 @@ watch list. .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). @@ -237,6 +269,8 @@ Event queue overflowed (\fIwd\fP is \-1 for this event). .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: