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 A92FA1382C5 for ; Wed, 16 Dec 2020 15:34:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53599E093A; Wed, 16 Dec 2020 15:34:37 +0000 (UTC) Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) (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 020A5E08CE for ; Wed, 16 Dec 2020 15:34:36 +0000 (UTC) Received: by mail-ot1-f51.google.com with SMTP id w3so23280835otp.13 for ; Wed, 16 Dec 2020 07:34:36 -0800 (PST) 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; bh=tqaL9QI9aw5dzIflOHYcfM2wyIq3ZwqnRTPgcFLpTx4=; b=uJ0rFO/bxk3E9x5wLv2TL33/40ld4cd2eqGdfz1CezzRjz2rYjZn1jfyjElsEOrkb+ 6izXjUFsECK1uNNQlHQZ9k1qqoZeMecyFI288zlA4lFnyiwyF0MTKhv2qiKuz8ol37PG PJIjutiJqci7RlUaqcGsx7ZycBRzpqHYJb/DVjwu2y4isy9JgDOA0NqgslCg3cd11o2p iZAc0AMaxe21XGPgNwCOHYxc10j91vJxCCIAulKMv52exZ7kZaCSaL3dYFcL07H9PMrs hbfNViMT5SUvZTQE2PvMcBz5UfzsR5kWXhGljqNVHg2YXjvAySDHAj8YbVv8yGXyAe/9 tWZQ== X-Gm-Message-State: AOAM530HnO5eigTJCCSLK+lrlBWB3Emt8PwB1Ad9kzwsfd6RBLYeyiFX NbJ+NCDIpbawnf/VNEePBUYIqR8s86bzZR5/liNR2WY1 X-Google-Smtp-Source: ABdhPJwUeVEIycakoEmLLU2rD++nUCpmL9ldNBEgswSW2WphjHg4o/9AXE6fwbNf4OZy41CASgPMM8IhYDx38QYftxY= X-Received: by 2002:a05:6830:90f:: with SMTP id v15mr25972191ott.223.1608132876011; Wed, 16 Dec 2020 07:34:36 -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: <769a00cf-3759-016a-816d-d83443faa560@youngman.org.uk> In-Reply-To: <769a00cf-3759-016a-816d-d83443faa560@youngman.org.uk> From: Rich Freeman Date: Wed, 16 Dec 2020 10:34:25 -0500 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" X-Archives-Salt: b844bc9d-7941-42b2-b515-c97a03500cf8 X-Archives-Hash: 27d9e02a3c3f076fde89d64d868f1fc3 On Wed, Dec 16, 2020 at 10:25 AM antlists wrote: > > Here we are storing the data (source files) used to build a gentoo > system. So while it may be a bit tenuous (I find Rich's argument for > "cache" more compelling), I don't think the argument for calling this a > database that strange - portage the system uses portage the data to > build the system called gentoo ... Oh, I would agree that Portage is a database, but if you want to go with that then /var/lib is the correct location. /var/db is not where you would store a database per FHS. In FHS /var/db doesn't exist at all. :) Really the main difference between /var/cache and /var/lib is value/persistance. The point of a cache is that you can toss it at any time and re-create it. That isn't true of the stuff in /var/lib. Which bucket the package repo fits into is somewhat nuanced. -- Rich