[Novalug] RHEL 5 'inotify' question

Jeff Stoner leapfrog at freeshell.org
Thu Jan 14 12:03:27 EST 2010


On Thu, 14 Jan 2010, John Warren wrote:

> I'm trying to get fsniper running on a remote RHEL 5 box, but I'm getting
> 'inotify not enabled' errors.  Does anyone know off hand what to edit to
> enable that?

Are you running a Red Hat kernel or a custom compiled one? inotify was 
enabled in Red Hat's kernel in RHEL 5 (only checked on RHEL 5.4.)

$ grep -i inotify /boot/config-`uname -r`
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y

$ ls -l /proc/sys/fs/inotify/
total 0
-rw-r--r-- 1 root root 0 Jan 14 11:55 max_queued_events
-rw-r--r-- 1 root root 0 Jan 14 11:55 max_user_instances
-rw-r--r-- 1 root root 0 Jan 14 11:55 max_user_watches

$ man 7 inotify

--Jeff

"You cannot unsay a cruel word." - Unknown




More information about the Novalug mailing list