0

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_FSNOTIFY=y
# CONFIG_DNOTIFY is not set
CONFIG_INOTIFY_USER=y

Should I set the:

CONFIG_DNOTIFY=y

In order to get the inotifyd working?

migrated from stackoverflow.com Jul 10 '14 at 14:58

This question came from our site for professional and enthusiast programmers.

  • 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.