Subject: Re: Simultaneous builds
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Simon J. Gerraty <sjg@crufty.net>
List: tech-pkg
Date: 01/12/2002 11:13:11
>Ha yes, but this is because shlock tries to ping the process and
>can't do it if it's on another host. It's not because a NFS issue.

>What we could do is have shlock record the name of the host in
>addition to the pid, and skip the pid check if the host name is different
>(just fail).

Yep, I've used that approach in the past with good success.

I've not looked at shlock, but provided you use ln to link a temp file to
the lock desired, it works ok on a working NFS setup.
I'll dig up the script when I get a chance.

--sjg