[CentOS-mirror] Local mirror question

Vijay Avarachen vavarachen at gmail.com
Fri Jan 6 18:10:54 UTC 2006


Ah!  Thanks Karnbir.  I will make the necessary changes to my script.  Also
now it explains why all those symlinks existed.

On 1/6/06, Karanbir Singh <mail-lists at karan.org> wrote:
>
> Vijay Avarachen wrote:
> > Stephen,
> >         Actually I didn't have to do any of that...it was matter of
> > simply changing the rsync root. Here is my script:
> >
> > #!/bin/sh
> > EXCLUSION="/etc/rsync-exclude.list"
> > RSYNC_HOST="rsync.planetmirror.com <http://rsync.planetmirror.com>"
> > RSYNC_ROOT="centos/4.2/"
> > DESTINATION="/home/ftp/pub/Linux/CentOS/4.2/"
> > /usr/bin/rsync -aqzH --exclude-from=$EXCLUSION --delete
> > $RSYNC_HOST::$RSYNC_ROOT $DESTINATION
> > /bin/chown -R vijay.avarachen:spduslisadmins $DESTINATION
>
> The point that Stephen was trying to make is : with your rsync_root set
> to centos/4.2/ - when the next update is released, you will end up with
> a blank mirror.
>
> by setting it to centos/4/ you stay with the most recently released pkgs.
>
>
> --
> Karanbir Singh : http://www.karan.org/ : 2522219 at icq
> _______________________________________________
> CentOS-mirror mailing list
> CentOS-mirror at centos.org
> http://lists.centos.org/mailman/listinfo/centos-mirror
>



--
"Knowledge is the only wealth that grows as you spend it, and diminishes as
you save it."
-- ancient Sanskrit saying
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos-mirror/attachments/20060106/2fc54d04/attachment.htm


More information about the CentOS-mirror mailing list