On Monday 03 May 2010, Andrew McNabb wrote:
> On Mon, May 03, 2010 at 10:36:30PM -0600, Jacob Albretsen wrote:
> > One day on the island of Sodor, CentOS 5.(x+1) comes out and the server
> > you sync off of updates their repo.  What exactly happens when you do a
> > version update to your repository?  Does essentially /updates get emptied
> > and everything moves to /os (as well as updating metadata) and /updates
> > starts fresh?  Does this work dandy?  Any reason to think about redoing
> > the repository or is it pretty seamless?
>
> Shouldn't there be a separate directory for each version?  I picked a
> centos mirror at random:
>
> http://mirror.atlanticmetro.net/centos/
>
> At this location, there are directories named "5.4", "5.3", "5.2", etc.
>
> To answer your question, if I were doing a version update, I would
> expect to create a new directory.  Then, if I were trying to conserve
> space, I might consider removing the old one after some period of time.

Ah, and if you point your yum config to version 5, and 5 symlinks to the latest 
version, then automagically when you do a yum update after the repo admin 
makes the switch, you get upgraded.  I knew I wasn't thinking about this 
right.  I'm up way too late again.

-- 
Jacob Albretsen
[email protected]
http://blog.knine.net/

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to