inotify.7: Fix description of max_user_watches

It seems that inotify(7) is wrong here:

"/proc/sys/fs/inotify/max_user_watches
    This specifies a limit on the number of watches that can be
    associated with each inotify instance."

On my system, the default value for this variable is 8192. But I
cannot create more than 8192 watches in total for the same UID
even when they are on different inotify instances. So I suggest
to rephrase this as: "This specifies an upper limit on the
number of watches that can be created per real user ID."

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Vegard Nossum 2008-11-18 10:44:09 -05:00 committed by Michael Kerrisk
parent e6205b0c24
commit 31546b461b
1 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.TH INOTIFY 7 2008-10-10 "Linux" "Linux Programmer's Manual"
.TH INOTIFY 7 2008-11-18 "Linux" "Linux Programmer's Manual"
.SH NAME
inotify \- monitoring file system events
.SH DESCRIPTION
@ -303,8 +303,8 @@ This specifies an upper limit on the number of inotify instances
that can be created per real user ID.
.TP
.I /proc/sys/fs/inotify/max_user_watches
This specifies a limit on the number of watches that can be associated
with each inotify instance.
This specifies an upper limit on the number of watches
that can be created per real user ID.
.SH "VERSIONS"
Inotify was merged into the 2.6.13 Linux kernel.
The required library interfaces were added to glibc in version 2.4.