OpenWrt Forum Archive

Topic: inotifyd

The content of this topic has been archived on 8 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Do we have the inotify working in latest release (r19011)?

root@OpenWrt:/# uname -a
Linux OpenWrt 2.6.30.10 #1 Wed Jan 6 23:45:17 IST 2010 mips GNU/Linux

root@OpenWrt:/# inotifyd  mjpg-streamer  .:y
inotifyd: no kernel support: Function not implemented

I am trying to use mjpg-streamer with input-file.so plugin.
root@OpenWrt:/# /usr/bin/mjpg_streamer -i "input_file.so -f /pics" -o "output_file.so -f /www"
MJPG Streamer Version.: 2.0
i: folder to watch...: /pics/
i: forced delay......: 0
i: delete file.......: no, do not delete
i: filename must be..: -no filter for certain filename set-
o: output folder.....: /www
o: delay after save..: 0
o: ringbuffer size...: no ringbuffer
o: command...........: disabled
could not initilialize inotify: Function not implemented
can not run input plugin

Thanks for any clues.

Regards
Yaadgiri

Just add the following entry into your kernel config file, you can refer to this URL
https://dev.openwrt.org/browser/trunk/t … ?rev=14392

line 280,281:
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y

I have the same problem and solve it by modify the kernel config this way
good lucky

(Last edited by kickstar on 10 Jan 2010, 04:07)

Can this be done on a running system.  If so where is the file?  Thanks in advance.

(Last edited by pcartwright81 on 1 Nov 2010, 03:01)

The discussion might have continued from here.