[Mageia-dev] Mirror layout, round two
r.h.michel+mageia at gmail.com
Mon Nov 29 19:25:45 CET 2010
On lundi 29 novembre 2010 at 01:45, Olivier Thauvin wrote :
> * Renaud MICHEL (r.h.michel+mageia at gmail.com) wrote:
> > On samedi 27 novembre 2010 at 00:02, Maarten Vanraes wrote :
> > If the files are identical, they can be hard linked, and then the
> > mirrors updates them with rsync -aH.
> > (by the way, the readme already ask for those options
> > http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/mirror.readme )
> > It is quite easy to make a script that will make those hard links "à
> > posteriori" (you only need to compare files with identical names)
> If you compare only the filename you'll probably link different file. To
> do this you need at least to compare also the size.
No, I wrote to compare files *with* identical names, in the sense that there
is no need to compare files whose name differ (because they refer to another
package or another version).
But you must compare them and check they are identical bit by bit (with comp
More information about the Mageia-dev