Gentoo Archives: gentoo-dev

From: Andrew Barchuk <andrew@×××××××.io>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [pre-GLEP] Split distfile mirror directory structure
Date: Mon, 29 Jan 2018 09:22:14
Message-Id: 1517217728.2448722.1251515016.5FBE6661@webmail.messagingengine.com
In Reply to: Re: [gentoo-dev] [pre-GLEP] Split distfile mirror directory structure by "Michał Górny"
1 > I don't really like the idea of having to reshuffle all the mirrors all
2 > of a sudden.
3
4 If keeping invariable directory structure is the goal (even though it
5 should be possible to shuffle files among the directories without having
6 to retransfer the whole tree with hard links) in addition to be able to
7 determine the target directory without knowledge of directory layout as
8 Robin mentioned in another thread[1]:
9
10 > As for the problem you describe, one of the requirements in the
11 > discussion is that given ONLY the file or filename, and NOTHING ELSE, it
12 > should be possible to determine where in a hierarchy it should go. No
13 > prior knowledge about the hierarchy was permitted.
14
15 then hashing is indeed a better option.
16
17 1. https://archives.gentoo.org/gentoo-dev/message/1d69d65b47a18fdbe36f5edac58c7591
18
19 ---
20 Andrew