Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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.