I see that incron works fine with an NFS-mounted file system when a file is
added or edited from the same host that incron is running on. But when the
file is added or edited to an NFS-mounted directory that incron is watching
from a different host also using the NFS mount, then incron doesn't pick it
up. (At least not right away. Not sure if it does or not after some delay.)
Is there a way to get this to work? It would be convenient when a file is
added or edited in a shared NFS space to have multiple hosts act on that
through incron, rather than have that restricted to just the host the file
action was performed through.
I suppose I could have a script on each host that, if triggered through
incron, sends a command through ssh to each of the other hosts and touches
the file from each - which should trigger the local incrons on those hosts
to act. Is there a simpler way?
Received on Tue Jun 05 2012 - 22:14:21 CEST
This archive was generated by hypermail 2.2.0 : Tue Jun 05 2012 - 22:14:21 CEST