aspose file tools*
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 Spring in Action this week in the Spring 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: 16145
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
jQuery in Action, 2nd edition
 
subject: Incrond Monitor NFS mounts?.