Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: moving default location of portage tree
Date: Mon, 09 Jul 2018 21:14:19
Message-Id: 20180709211410.GA17986@linux1.home
In Reply to: Re: [gentoo-dev] rfc: moving default location of portage tree by Rich Freeman
1 On Mon, Jul 09, 2018 at 04:53:43PM -0400, Rich Freeman wrote:
2 > On Mon, Jul 9, 2018 at 4:13 PM Michał Górny <mgorny@g.o> wrote:
3 > >
4 > > W dniu pon, 09.07.2018 o godzinie 15∶11 -0500, użytkownik William Hubbs
5 > > napisał:
6 > > > On Mon, Jul 09, 2018 at 08:43:31PM +0200, Michał Górny wrote:
7 > > > > sys-apps/portage-mgorny has already done that. The defaults locations
8 > > > > have been changed to:
9 > > > >
10 > > > > DISTDIR="/var/cache/portage/distfiles"
11 > > > > PKGDIR="/var/cache/portage/packages"
12 > > > > RPMDIR="/var/cache/portage/rpm"
13 > > > >
14 > > > > Plus repositories are in /var/db/repos/<name>. This is also the layout
15 > > > > used by eselect-repository.
16 > > >
17 > > > I like this idea, but slightly different; I think we should stay out of
18 > > > /var/db. We don't want folks to go messing around in there and nuke
19 > > > /var/db/pkg by mistake.
20 > > >
21 > >
22 > > Following that reasoning, we shouldn't use /var at all because people
23 > > might 'go messing around in there and nuke /var/* by mistake'. Or any
24 > > directory. Our only hope is Windows where we can create P:\ and not
25 > > worry that people might 'go messing around in there and nuke the system
26 > > by mistake'.
27 > >
28 >
29 > ++
30 >
31 > Though I do prefer /var/lib or /var/cache over /var/db, simply because
32 > /var/lib is actually in FHS.
33
34 Agreed, /var/db I guess is a Gentoo invention of some kind?
35
36 William

Attachments

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

Replies