This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes Incrond Monitor NFS mounts?. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Incrond Monitor NFS mounts?." Watch "Incrond Monitor NFS mounts?." New topic
Author

Incrond Monitor NFS mounts?.

Ifteqar Ald
Ranch Hand

Joined: Dec 26, 2011
Posts: 73
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

Joined: Jun 25, 2001
Posts: 17164
    
  27

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.


An IDE is no substitute for an Intelligent Developer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Incrond Monitor NFS mounts?.
 
It's not a secret anymore!