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
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Incrond Monitor NFS mounts?." Watch "Incrond Monitor NFS mounts?." New topic

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?.

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

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:
subject: Incrond Monitor NFS mounts?.
It's not a secret anymore!