public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Chris Houser <chouser@gentoo.org>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] FHS compliance
Date: Thu, 7 Feb 2002 11:09:00 -0500	[thread overview]
Message-ID: <20020207110900.A414367@plato.zk3.dec.com> (raw)
In-Reply-To: <3C5BA678.5050802@softhome.net>

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 +-<pkgtool> 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


  parent reply	other threads:[~2002-02-07 16:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-02  8:42 [gentoo-dev] FHS compliance Chris Moore
2002-02-02 19:32 ` Chad M. Huneycutt
2002-02-07 16:09 ` Chris Houser [this message]
2002-02-07 16:32   ` John Stalker
2002-02-07 21:40     ` George Shapovalov
2002-02-07 22:50       ` Sebastian Werner
2002-02-08 16:07         ` gentoo-user

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020207110900.A414367@plato.zk3.dec.com \
    --to=chouser@gentoo.org \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox