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 '14 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 '14 at 4:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.