From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DMARC_NONE,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from Mail.Math.Princeton.EDU (mail.math.Princeton.EDU [128.112.18.14]) by chiba.3jane.net (Postfix) with ESMTP id E89FD200A98F for ; Thu, 7 Feb 2002 10:33:44 -0600 (CST) Received: from fine1008.math.princeton.edu (IDENT:root@fine1008.math.princeton.edu [128.112.16.123]) by Mail.Math.Princeton.EDU (8.11.6/8.11.6) with ESMTP id g17GWbF15313 for ; Thu, 7 Feb 2002 11:32:37 -0500 Received: from fine1008.math.princeton.edu (stalker@localhost) by fine1008.math.princeton.edu (8.11.6/8.11.6) with ESMTP id g17GWbe02928 for ; Thu, 7 Feb 2002 11:32:37 -0500 Message-Id: <200202071632.g17GWbe02928@fine1008.math.princeton.edu> To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] FHS compliance In-reply-to: <20020207110900.A414367@plato.zk3.dec.com> References: <3C5BA678.5050802@softhome.net> <20020207110900.A414367@plato.zk3.dec.com> Comments: In-reply-to Chris Houser message dated "Thu, 07 Feb 2002 11:09:00 -0500." Date: Thu, 07 Feb 2002 11:32:37 -0500 From: John Stalker Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 145d1a94-ff6c-44ba-bca2-01308f0dcafb X-Archives-Hash: a3fc88d6899004b799f8367908f2629f I assume the reason that portage is in /usr and db/pkg is in /var is that that is where FreeBSD puts ports and db/pkg. Of course FreeBSD doesn't have any reason to worry about FHS compliance. Since I am compulsive about having up to date versions of everything I mount /usr rw, so this is not an issue for me personally. > Chris Moore wrote: [Sat Feb 2 2002, 3:42:32AM EST] > > Move the portage package ebuild filetree from /usr/portage to > > /var/lib/portage ( See 5.8.3 +- and cross reference the > > purposes of the /usr hierarchy with the purpose of /var which is > > summarized as follows: /usr's purpose is shareable read-only data > > (ebuilds are updated!) /var's purpose is sharable/unsharable DYNAMIC > > application data (such as the ebuild dirtree) and /var/lib has the > > specific option for the package tool's dynamic data) > > I'm not sure that the ebuild dirtree should be considered 'dynamic'. > The only time it *needs* to be updated (written) is shortly before doing > a merge. Since the merge is going to be going around writing stuff in > the /usr tree anyway, updating /usr/portage doesn't seem that bad. I > haven't settled on a personal opinion yet, so I'm mostly playing devil's > advocate here. > > Consider a normal case where /usr is actually mounted r/o, such as on a > local network of machines where most of the machines mount /usr > read-only from a remote file server. In this case, none of these > subordinate machines would need to update /usr/portage. If you wanted > to install new software, you would do so on the file server where > /usr/bin, /usr/lib, /usr/portage, etc. are all mounted r/w, and > therefore you could do the 'emerge rsync' as well package merges. > > Now that I think about it, this same argument would apply to > /var/db/pkg, though, so I guess to be consistant the two (/usr/portage > and /var/db/pkg) should be in the same place. Do they both belong in > /usr? > > --Chouser > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@gentoo.org > http://lists.gentoo.org/mailman/listinfo/gentoo-dev -- John Stalker Department of Mathematics Princeton University (609)258-6469