Gentoo Archives: gentoo-dev

From: "Rick \\\"Zero_Chaos\\\" Farina" <zerochaos@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Is /var/cache the right place for repositories?
Date: Thu, 20 Dec 2012 20:50:50
Message-Id: 50D37A13.4040401@gentoo.org
In Reply to: Re: [gentoo-dev] Is /var/cache the right place for repositories? by Ciaran McCreesh
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On 12/20/2012 01:14 PM, Ciaran McCreesh wrote:
5 > On Thu, 20 Dec 2012 18:27:26 +0100
6 > Ulrich Mueller <ulm@g.o> wrote:
7 >> The FHS says:
8 >>
9 >> /var/cache is intended for cached data from applications. Such data
10 >> is locally generated as a result of time-consuming I/O or
11 >> calculation. The application must be able to regenerate or restore
12 >> the data.
13 >>
14 >> Now I wonder: After removal of e.g. the Portage tree from a system, it
15 >> is generally not possible to restore it. (It can be refetched, but not
16 >> to its previous state.)
17 >>
18 >> Same is true for distfiles, at least to some degree. They may have
19 >> vanished upstream or from mirrors.
20 >>
21 >> Maybe /var/lib would be a better choice? It would also take care of
22 >> the issue with fetch-restricted files.
23 >
24 > The tree is a database. It belongs in /var/db/.
25 >
26 +1
27 and another +1 from my other personality, so +2 from us
28
29 - -ZC
30 -----BEGIN PGP SIGNATURE-----
31 Version: GnuPG v2.0.19 (GNU/Linux)
32 Comment: Using GnuPG with undefined - http://www.enigmail.net/
33
34 iQIcBAEBAgAGBQJQ03oTAAoJEKXdFCfdEflKKLYQAIJRRlt3xnh30rxbVi3T7Iuy
35 tcx853ngIoyhc8fuhygDdsWPaIwa2WqOBuM6SuxiRlj3BDuL3sgSpMX3bWaL2ukK
36 VXRJKZ2zVBOdc/KfbBvkWjN3P9nlOMMV8HGtGgwlniLF6BeeKlI2SqI8tWRX5bBN
37 eUDbb1I0gSV1Tr1F3s9j5GSjd+kq17DloeXD4W0/uOEnN9Q+dvh8zMRA208ZY7qj
38 B0f7TMgkh1ryy1OPSeXDlwgIjJbzgHWoDXN7RPiN/WF/E4msea/oq3tgz6TdTtdN
39 sg+9VqqVXmJwHeMSpiQbR13JJ/I1pt+y9j8KgkUU5SGedyNYrzvaaSsy+ENdmVU2
40 JyEX5U+dFIgEo3uZX55fStGJyMWDoV5PmDkSUzDNyC2t1kgROYRh8JokGukqY3tL
41 VKeFKwqysRmJfeLuFYbgsXezrQQrGD1PWsPt9yLoS5hFER89+A95d8f00tTv8mCe
42 KAihOScCwtxl1PHfkOwB4BZJwdilwXBoKaAgT91Ul43GGabxYOMpCKfq2w9dzDT/
43 oMWPUrwIgJT/kdmBm2+TaLfwEfVHUCOhPaD5vqBeYJ2MJhZWr23VRlR5YUEf7E9W
44 S+yBSiLkr2ZCVv3sZ80tRezN6FVZRKSJjIeZ11u7AWXN3hxtbvidJV+yL416/nJr
45 4rD8jfLJHHOvVaiX36JH
46 =MnSP
47 -----END PGP SIGNATURE-----