Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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

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

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
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 posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.