File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 15952

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.
I agree. Here's the link:
subject: Incrond Monitor NFS mounts?.
Similar Threads
mount one linux drive to another linux machine.
Java app server intermittently throws FileNotFoundException on files found on NFS...
need help sharing a file in redhat linux
Problems reading CDs with Linux
Access CD-ROM drive on Linux's bash