[CentOS-mirror] Rsync on Windows & Mirroring Best Practices
William Dunn
wdunn at cs.vt.edu
Fri Sep 15 00:56:15 UTC 2006
I made my own lockfiles, and I know they're not as robust as they should
be, but I did it in a hurry, and so far they've worked.
#!/bin/bash
if [ -f /root/rsync-scripts/centos.lockfile ]
then
echo "lock file exists, exiting..."
exit
fi
#echo "creating lock file..."
touch /root/rsync-scripts/centos.lockfile
rsync -aqzH --partial --delete us-msync.centos.org::CentOS
/home/ftp/pub/CentOS
rm -f /root/rsync-scripts/centos.lockfile
~Will
Karanbir Singh wrote:
> Mote, Ty R. wrote:
>> Greetings,
>>
>> I am new to the idea of mirroring, but I want to support CentOS by
>> sharing some of my bandwidth. I have read over the CentOS Mirroring
>> HowTo and set everything up as it states. However, the instructions
>> suggest that the reader contacts the mailing list for additional
>> instructions for using "lock files", etc.
>>
>
> why not use a CentOS machine ?
>
--
William Dunn
Unix / Linux Administrator
Virginia Tech Computer Science Department
wdunn at cs.vt.edu / 540-231-3167
More information about the CentOS-mirror
mailing list