[CentOS-mirror] Yum 3.2.8-9 from msync-dvd.centos.org wrong?

Tue Jul 22 01:38:09 UTC 2008
H. Peter Anvin <hpa at zytor.com>

Brandon Davidson wrote:
> 
> AFAICT, hardlink.py checks a number of things to determine whether or 
> not files are eligible for hardlinking:
> 
> * size is the same
> * size is not zero
> * file mode is the same
> * owner user id is the same
> * owner group id is the same
> * modified time is the same (unless date hashing is disabled)
> 
> Depending on how the files were copied, and how the script was run, I 
> could see the script failing to hardlink properly - but not how you 
> could end up with a changed file. It seems like that would have to have 
> happened during the copy or rsync.
> 

Does it actually compare the contents?

	-hpa