[CentOS-mirror] I see all your new mirrors ...
Adam
aring at gmavt.netTue Jul 12 17:37:21 UTC 2011
- Previous message: [CentOS-mirror] I see all your new mirrors ...
- Next message: [CentOS-mirror] I see all your new mirrors ...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Coreix Mirrors wrote: > 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. Thanks for the heads up and example it does make much more sense. Here is an updated script using flock. Adam -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: RepoRsync.txt URL: <http://lists.centos.org/pipermail/centos-mirror/attachments/20110712/9b802a91/attachment-0002.txt>
- Previous message: [CentOS-mirror] I see all your new mirrors ...
- Next message: [CentOS-mirror] I see all your new mirrors ...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS-mirror mailing list