[Mageia-sysadm] changing binrepos
nicolas vigier
boklm at mars-attacks.org
Thu Jul 28 15:48:12 CEST 2011
On Fri, 15 Jul 2011, Pascal Terjan wrote:
>
> I think <original filename>-<sha1> would be good to avoid both
> filename collision and sha1 collision while still sharing files
> between packages
I think probability of sha1 collision is very low, so we can ignore it.
According to this page :
http://bitcache.org/faq/hash-collision-probabilities
If we have 50000 different files, probability of collision with 160 bit
hash would be something like 10^-39.
So I don't think adding original filename is needed.
More information about the Mageia-sysadm
mailing list