From 8a35999094a6c7f5125fb9d0f87704d0e029dc7a Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 19 Dec 2007 05:17:51 +0000 Subject: [PATCH] Minor heading changes and reformattings. --- man7/inotify.7 | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/man7/inotify.7 b/man7/inotify.7 index dd9e88151..909779c6d 100644 --- a/man7/inotify.7 +++ b/man7/inotify.7 @@ -77,7 +77,7 @@ will block until at least one event occurs. Each successful .BR read (2) returns a buffer containing one or more of the following structures: -.in +0.25i +.RS 4 .nf struct inotify_event { @@ -89,7 +89,7 @@ struct inotify_event { char name[]; /* Optional null-terminated name */ }; .fi -.in -0.25i +.RE .I wd identifies the watch for which this event occurs. @@ -156,11 +156,8 @@ and may be returned in the .I mask field returned by .BR read (2): -.in +0.25i .TS -lB lB lB l. -Bit Description IN_ACCESS File was accessed (read) (*) IN_ATTRIB Metadata changed (permissions, timestamps, extended attributes, etc.) (*) @@ -175,7 +172,6 @@ IN_MOVED_FROM File moved out of watched directory (*) IN_MOVED_TO File moved into watched directory (*) IN_OPEN File was opened (*) .TE -.in -0.25i .PP When monitoring a directory, the events marked with an asterisk (*) above can occur for @@ -206,11 +202,8 @@ The following further bits can be specified in .I mask when calling .BR inotify_add_watch (2): -.in +0.25i .TS -lB lB lB l. -Bit Description 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 @@ -220,17 +213,13 @@ IN_ONESHOT Monitor \fIpathname\fP for one event, then remove from IN_ONLYDIR Only watch \fIpathname\fP if it is a directory (Since Linux 2.6.15) .TE -.in -0.25i .PP The following bits may be set in the .I mask field returned by .BR read (2): -.in +0.25i .TS -lB lB lB l. -Bit Description IN_IGNORED Watch was removed explicitly (\fBinotify_rm_watch\fP(2)) or automatically (file was deleted, or file system was unmounted) @@ -238,7 +227,6 @@ 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 -.in -0.25i .SS /proc interfaces The following interfaces can be used to limit the amount of kernel memory consumed by inotify: