xref: /OK3568_Linux_fs/kernel/fs/notify/inotify/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyunconfig INOTIFY_USER
3*4882a593Smuzhiyun	bool "Inotify support for userspace"
4*4882a593Smuzhiyun	select FSNOTIFY
5*4882a593Smuzhiyun	default y
6*4882a593Smuzhiyun	help
7*4882a593Smuzhiyun	  Say Y here to enable inotify support for userspace, including the
8*4882a593Smuzhiyun	  associated system calls.  Inotify allows monitoring of both files and
9*4882a593Smuzhiyun	  directories via a single open fd.  Events are read from the file
10*4882a593Smuzhiyun	  descriptor, which is also select()- and poll()-able.
11*4882a593Smuzhiyun	  Inotify fixes numerous shortcomings in dnotify and introduces several
12*4882a593Smuzhiyun	  new features including multiple file events, one-shot support, and
13*4882a593Smuzhiyun	  unmount notification.
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun	  For more information, see <file:Documentation/filesystems/inotify.rst>
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun	  If unsure, say Y.
18