Reputation: 457
I am having issues with incrond IN_CREATE option. I am able to successfully monitor the directory created in a specific folder which are locally created. But incrond is not able to monitor NFS mounted directories.
I have added an cifs NFS mount /mnt/DIR which is added to incrontab. Do you know why it is not able to monitor changes under /mnt/DIR?.
Thanks,
Upvotes: 0
Views: 2111
Reputation: 37188
It doesn't work, because there is no inotify support in NFS.
IOW, there is nothing in the NFS protocol which allows a client to specify some kind of interest in some file/directory, nor does the NFS protocol support the server pushing such notifications back to the client.
Upvotes: 1