I have a Linux running with kernel 3.4.11.

I tried to run inotify-tools, but it does not work (in fact it does not detect the file changes).

I checked the .config file of Linux kernel and I found the following lines:

# CONFIG_DNOTIFY is not set

Should I set the:


In order to get the inotifyd working?

  • 1
    Do a strace on the binary that you are running. Is it doing a fcntl to monitor a directory ?
    – cnicutar
    Jul 10, 2014 at 14:54
  • 1
    No, CONFIG_DNOTIFY should not need to be set. Dnotify and Inotify are separate things (Inotify replaced Dnotify if I understand it correctly).
    – BenjiWiebe
    Jul 11, 2014 at 4:07


You must log in to answer this question.

Browse other questions tagged .