Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Is /var/cache the right place for repositories?
Date: Thu, 20 Dec 2012 18:16:49
Message-Id: 20121220181431.5907302b@googlemail.com
In Reply to: [gentoo-dev] Is /var/cache the right place for repositories? by Ulrich Mueller
1 On Thu, 20 Dec 2012 18:27:26 +0100
2 Ulrich Mueller <ulm@g.o> wrote:
3 > The FHS says:
4 >
5 > /var/cache is intended for cached data from applications. Such data
6 > is locally generated as a result of time-consuming I/O or
7 > calculation. The application must be able to regenerate or restore
8 > the data.
9 >
10 > Now I wonder: After removal of e.g. the Portage tree from a system, it
11 > is generally not possible to restore it. (It can be refetched, but not
12 > to its previous state.)
13 >
14 > Same is true for distfiles, at least to some degree. They may have
15 > vanished upstream or from mirrors.
16 >
17 > Maybe /var/lib would be a better choice? It would also take care of
18 > the issue with fetch-restricted files.
19
20 The tree is a database. It belongs in /var/db/.
21
22 --
23 Ciaran McCreesh

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies