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?
Asked
Active
Viewed 4,455 times
5
-
2Not 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](http://msdn.microsoft.com/en-us/library/ee441586%28v=prot.13%29.aspx)? – David Schwartz Apr 11 '12 at 09:21
-
Are you referring to the client or server implementation? I'm using a WD MyBook NAS that uses Linux 2.6.24.4 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