[CentOS-mirror] I see all your new mirrors ...

Coreix Mirrors mirrors at coreix.net
Tue Jul 12 12:41:00 EDT 2011


On 12/07/11 16:29, João Carlos Mendes Luís wrote:
> Using "touch" and "test -e" as a lock test is not safe.  If the shell 
> dies for any reason, the lock file will get stale.
>
> If you sync station is linux, a safer option is to use the flock(1) 
> program:
>

+1
Or withlock.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos-mirror/attachments/20110712/6d90e3ae/attachment.html 


More information about the CentOS-mirror mailing list