File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Incrond Monitor NFS mounts?.

 
Ifteqar Ald
Ranch Hand
Posts: 73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Experts,

I am having issues with incrond IN_CREATE option. I am able to successfully monitor the directory created in a specific folder.

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,
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17620
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think that you can use incrond to trigger on NFS or CIFS network shares. I believe that the events that are fired come from the local filesystem operations and in the case of a shared resource, there's no mechanism to trigger them when someone changes shared files on the server.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic