The by-hash directories not hard linked on the mirrors?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The by-hash directories not hard linked on the mirrors?

Georgi Georgiev
I've been following the instructions for setting up a mirror and noticed that the files in the by-hash directories are not hard-linked, as I would have expected.

Just to demonstrate with a simple example:

> rsync -avPAH --delete rsync://mirror.enzu.com/ubuntu/dists/xenial-proposed/restricted/source/ /tmp/test/

> find /tmp/test/ -type f -exec ls -gG {} +
-rw-r--r-- 1  64 Aug  5 01:05 /tmp/test/by-hash/SHA256/1ecf8ede6a1ae61b641204572f1da419db0786316399292b17e653658e90f36e
-rw-r--r-- 1 112 Apr  7  2016 /tmp/test/by-hash/SHA256/1f882672055325ecc8636d34107a6486744f819e145f62b10798c4745fcd6ddf
-rw-r--r-- 1  40 Aug  5 01:05 /tmp/test/by-hash/SHA256/e7ab72b8f37c7c9c9f6386fb8e3dfa40bf6fe4b67876703c5927e47cb8664ce4
-rw-r--r-- 1 112 Sep 12 17:27 /tmp/test/Release
-rw-r--r-- 1  40 Sep 12 17:27 /tmp/test/Sources.gz
-rw-r--r-- 1  64 Sep 12 17:27 /tmp/test/Sources.xz

Files are identical but timestamps are off. I can verify the files are identical with the following:

$ hardlink -t  /tmp/test/
Mode:     real
Files:    6
Linked:   3 files
Compared: 3 files
Saved:    216 bytes
Duration: 0.00 seconds


--
Georgi

--
ubuntu-mirrors mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mirrors