Re: [vserver] hashify and memory saving

From: Tor Rune Skoglund <>
Date: Fri 29 Jan 2016 - 16:39:45 GMT
Message-ID: <>

One further question relating to hashify:

How is the hash value created ? What is it based on? - Just the file
contents, or (some of - which?) file metadata also?

I have a strange test case here where two binary equal files in the same
file system, same name, same locations but in two guest did not get
hashified to the same hash value, and I an trying to understand why?

amd64 part4 # ls -il vservers/machine95/usr/bin/bc
2205290 -rwxr-xr-x 2 root root 84952 jan. 26 18:36

amd64 part4 # ls -il vservers/machine96/usr/bin/bc
2525495 -rwxr-xr-x 2 root root 84952 jan. 26 18:36

amd64 part4 # find . -inum 2205290

amd64 part4 # find . -inum 2525495

amd64 part4 # md5sum ./vservers/machine96/usr/bin/bc
29ad08e28e17cb179328103c9835d495 ./vservers/machine96/usr/bin/bc

amd64 part4 # md5sum ./vservers/machine95/usr/bin/bc
29ad08e28e17cb179328103c9835d495 ./vservers/machine95/usr/bin/bc

Tor Rune Skoglund,
Received on Fri Jan 29 17:17:09 2016

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 29 Jan 2016 - 17:17:09 GMT by hypermail 2.1.8