Gentoo Archives: gentoo-dev

From: "vivo75@×××××.com" <vivo75@×××××.com>
To: gentoo-dev@l.g.o
Cc: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
Subject: Re: [gentoo-dev] Is /var/cache the right place for repositories?
Date: Mon, 24 Dec 2012 14:48:09
Message-Id: 50D86AF4.6020005@gmail.com
In Reply to: Re: [gentoo-dev] Is /var/cache the right place for repositories? by Ciaran McCreesh
1 Il 24/12/2012 10:11, Ciaran McCreesh ha scritto:
2 > On Mon, 24 Dec 2012 03:17:06 +0100
3 > Sebastian Pipping <sping@g.o> wrote:
4 >> On 20.12.2012 19:14, Ciaran McCreesh wrote:
5 >>> The tree is a database. It belongs in /var/db/.
6 yes and no,
7 yes it contain data and executable needed to update gentoo system, in a
8 hierarchical and relational form
9 no, it's a cache of a remote database generally mantained from others.
10
11 Actually also the difference in importance between /var/db/pkg and
12 /????/ebuild_tree is very high.
13 Loose the pkg db and your best plan is to re-emerge the entire world,
14 provided you still have a copy of /var/lib/portage/world (or
15 equivalent), loose the latter and have a laugh.
16 To put those in the same category seem risky
17
18 Not that I personally care since everything gentoo related is kept in /g
19 on my systems, also this for various reason mainly because it's
20 something used to mantain a system and if maintainaince is not needed
21 it's very easy this way to remove.
22
23 >> I don't see /var/db in the latest release of the Filesystem Hierarchy
24 >> Standard:
25 >>
26 >> http://www.pathname.com/fhs/pub/fhs-2.3.html#THEVARHIERARCHY
27 >>
28 >> I would prefer something that blends with FHS.
29 > That's ok, Gentoo doesn't follow FHS.
30 >
31 And it's ok to "prefere" to stay near a standard and use it as a
32 guideline, for various reason, less difference with others and because a
33 bunch of people has already toughted on it, to name just two.
34 Raising to "MUST blend" would be indeed not beneficial.
35
36 Regards,
37 Francesco Riosa