* Re: [gentoo-dev] rfc: moving default location of portage tree (was: [gentoo-project] Call for agenda items - Council meeting 2018-07-29)
[not found] ` <CACVg971M=+VATAFBwL=i9FDh=1=d-vnqPLkMyV-EnyyBZyWAYg@mail.gmail.com>
@ 2018-07-29 19:49 99% ` Ulrich Mueller
0 siblings, 0 replies; 1+ results
From: Ulrich Mueller @ 2018-07-29 19:49 UTC (permalink / raw
To: gentoo-dev; +Cc: anders thomson
[-- Attachment #1: Type: text/plain, Size: 2584 bytes --]
[Proxying a message from Anders Thomson <andersthomson888@gmail.com>]
Hi Ulrich,
As non-devs aren't allowed to post to gentoo-dev, I was hoping that you would
proxy this question/comment for me.
While on the subject of changing defaults, could we consider changing the
(default) location of the pkg db? Roughly everything in /usr (and /(s)bin) is
managed by the package manager, and it would be handy if the db of installed
bits is close to the bits themselves . Keeping it in /var/ makes /var
opinionated on the current set of installed packages and thus another thing to
backup etc of you want "just the os/system stuff, not the applications'
databases". along the same vein, if you want /var to be on another storage
device (NAS/SAN for large databases), you get the OS's pkg db with it. If for
any reason a boot fails to get /var mounted, you're without the pkg db.
Something along the lines of /usr/lib/pkg ?
Best,
/Anders
On Fri, Jul 27, 2018 at 4:31 PM, Ulrich Mueller <ulm@gentoo.org> wrote:
>>>>> On Fri, 27 Jul 2018, Corentin “Nado” Pazdera wrote:
> July 27, 2018 4:07 PM, "William Hubbs" <williamh@gentoo.org> wrote:
>> Section 5.5.2 describes the directory structure of /var/cache.
>> These paths are all optional [1].
>>
>> /var/cache/fonts
>> /var/cache/man
>> /var/cache/www
>> /var/cache/<package>
>>
>> Gentoo isn't a package, so I don't think /var/cache/gentoo/* is
>> appropriate. Here is my proposal:
>>
>> /usr/portage -> /var/db/repos/gentoo
>> /usr/portage/distfiles -> /var/cache/portage/distfiles
>> /usr/portage/packages -> /var/cache/portage/binpkgs
>>
>> I'm not 100% comfortable with /var/db, but I don't have any better
>> suggestion either.
>>
>> [1] http://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#varcacheApplicationCacheData
> From the same source
> "No other requirements are made on the data format of the cache
> directories."
> And as you have quoted it, everything under /var/cache is optional.
> So anything which doesn't conflict with another package seems fine
> according to FHS.
That's how I would read it, too. We could of course invent a package
name (like "package-manager" for virtual/package-manager) but it seems
cumbersome, and I don't see any benefit of it.
There also is /var/cache/fonts, so the FHS itself lists an example of
a directory that's not named after a specific package.
Ulrich
[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2018-07-27 14:06 [gentoo-dev] rfc: moving default location of portage tree (was: [gentoo-project] Call for agenda items - Council meeting 2018-07-29) William Hubbs
[not found] ` <23368.25818.481969.336756@a1i15.kph.uni-mainz.de>
[not found] ` <20180713065734.63627e6f@professor-x>
[not found] ` <23368.58952.48436.482420@a1i15.kph.uni-mainz.de>
[not found] ` <CAGfcS_=2+uDShmA=RapCnmfMCRJVOa5Z04jZFkVhejX0JrY-ow@mail.gmail.com>
[not found] ` <23368.64354.849449.669215@a1i15.kph.uni-mainz.de>
[not found] ` <CAGfcS_k2JO_MtEK4GRYzJ2Q2+LxVUEa-iKR_D_bH1EzsfNv6vg@mail.gmail.com>
[not found] ` <23369.2669.259722.764432@a1i15.kph.uni-mainz.de>
2018-07-18 9:55 ` Ulrich Mueller
2018-07-19 20:08 ` Chí-Thanh Christopher Nguyễn
2018-07-27 8:32 ` Ulrich Mueller
2018-07-27 14:20 ` Corentin “Nado” Pazdera
2018-07-27 14:31 ` Ulrich Mueller
[not found] ` <CACVg971M=+VATAFBwL=i9FDh=1=d-vnqPLkMyV-EnyyBZyWAYg@mail.gmail.com>
2018-07-29 19:49 99% ` Ulrich Mueller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox