From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C29A01382C5 for ; Wed, 16 Dec 2020 15:44:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8B662E0930; Wed, 16 Dec 2020 15:44:28 +0000 (UTC) Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 43FAFE08F6 for ; Wed, 16 Dec 2020 15:44:28 +0000 (UTC) Received: by mail-lf1-x12a.google.com with SMTP id h205so5957653lfd.5 for ; Wed, 16 Dec 2020 07:44:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=fnDIKHY4sapW8DZC33iRWCwb1sktEKNDkHAdGl4bOTo=; b=nM9Ub7mHKHE3fHGbnUUwtyP9naoFnkbP5xaj2cqS3SKgLbSwhgp/zLJb5FYI4Jnh7c A+T9y8kHeMl4jVhTvKQ4CAehf4WDby2tK+jQXCBQqgD2+LF/LlEOvoprrG5i2tsgV3Xh VGxn+NEZxI4ja6A/XdNTvI1YbkI1Pl9SmMqdb04oX07qkOZsbF5tIcaQvsveokYDP2L8 h9A7w/HVNfdPW3zmfxbV3tih4DAZhQozAzq3NCmRPu1FVWLtBYaHhsIDrGFdlaYNvu2j HIhJYixMUpofI53WDyQVrlO0F1BfhqpJFF+C+zMya8iHGkML12or0GSNgvgVl5fZwdfU wqPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=fnDIKHY4sapW8DZC33iRWCwb1sktEKNDkHAdGl4bOTo=; b=WhW18LIlPKn+GVRHBhQ3hdtZEy4VfXNRkTYzFtfOaTfTMoWj9ZB2n7p92/i8ox/5a5 iUizKj9meVz3ajuS/cBI0IvJOcmmcyBcIIbvGHd/jxxFFttAYaPAG3IYNhg7DQkP6qLG JpcigX9kkDH/7YST4ZVqKEB9XwPR646XogDRcPNIx55mQmvyPREmn5/2ktgqV63r79+j ORxXrHvBprpgsYNfpHlxDJfiqxBLRu2hBJCKSpueVHWRc6eIdo40v2Kni+rMOgwLFWpx O1cFmLQmY/y4Zf1smx43516y2v9Op3BJjy2M/AiGCBfT857cJiqEqH1igUCOsIWgQF3U 5H2w== X-Gm-Message-State: AOAM530GN/cVNXHS5Nejff1QET38PxiW0c1l2ca7frPfCU+ynIgq7Tp7 HYJpk+WHc+G1eQjmD0FFgkGKnQcFC53TplZf+MV/am1vfBM= X-Google-Smtp-Source: ABdhPJzc7H7Ki+KIYtlm4C+7nKDhpuu0S9ep4AiIeqwuRwDTgl08zcmMKzuslxfjxUPkbU5QsIS+wIB4nXww39yv37M= X-Received: by 2002:a19:488:: with SMTP id 130mr12757463lfe.124.1608133465405; Wed, 16 Dec 2020 07:44:25 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: In-Reply-To: From: gevisz Date: Wed, 16 Dec 2020 17:44:00 +0200 Message-ID: Subject: Re: [gentoo-user] Recommended location of the Gentoo ebuild repository To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 7ffd0093-0a1d-4276-93d6-38654b471fd6 X-Archives-Hash: 522cdeb8a699356c9c357b56b7aed223 =D1=81=D1=80, 16 =D0=B4=D0=B5=D0=BA. 2020 =D0=B3. =D0=B2 16:55, Rich Freema= n : > > On Wed, Dec 16, 2020 at 9:45 AM gevisz wrote: > > > > Nevertheless, the explanation why /var/db/repos/gentoo is better than > > /usr/portage is still welcomed. :) > > > > There is a lengthy discussion on gentoo-dev on this, and my personal > first choice didn't win. :) > > There is little dispute that /var makes more sense than /usr other > than legacy reasons. /usr is generally used for static data - on some > distros it might even be read-only, a squashfs, signed using crypto, > and so on. On a rolling release distro like Gentoo it might get > changed often by updates, but other than system updates nothing in it > should change. On a more release-based distro only security updates > or major releases would touch it. > > /var on the other hand is used for application data and other things > that change all the time. That includes things like databases, which > the Gentoo repo basically is. Mail spools, print spools, caches, and > so on all go on there. > > FHS formalizes all this stuff. > > Now, where exactly in /var it goes is more a matter of debate. > /var/db is not specified in FHS, but it is used by FreeBSD which I > think was one of the selling points. Personally I stick it in > /var/cache as (IMO) it just contains a local copy of a repository that > is entirely stored elsewhere. Some would certainly disagree with > that. I think /var/lib would be an alternative place that keeps more > to FHS. > > However, moving it out of /usr was a move with near-universal support. > And you can really put it anywhere you want by editing one line in > your portage config. I don't think the directory even exists in the > base install - it gets created the first time you sync so it is > entirely user-configurable. Ok, thank you for the explanation.