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