I'm trying to use incron or inotifywait on a CIFS share but it seems that inotify does not work with such mounts (cf. http://lists.samba.org/archive/linux-cifs-client/2009-April/004319.html). Is there an alternative to be notified of changes on a CIFS share?

  • 2
    Not with the Linux kernel CIFS implementation, there's not. Is it possible to use a different CIFS implementation -- one that supports NT_TRANSACT_NOTIFY_CHANGE? – David Schwartz Apr 11 '12 at 9:21
  • Are you referring to the client or server implementation? I'm using a WD MyBook NAS that uses Linux according to uname. I am mounting the CIFS shared folder onto an Ubuntu Linux 2.6.38-13-generic-pae. – infojunkie Apr 11 '12 at 14:20
  • If you view a directory on one Windows machine and change it on another, do you see the change immediately? – David Schwartz Apr 11 '12 at 19:35

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.