From: George Shapovalov <georges@its.caltech.edu>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] FHS compliance
Date: Thu, 7 Feb 2002 13:40:43 -0800 [thread overview]
Message-ID: <200202072240.OAA02843@chamber.cco.caltech.edu> (raw)
In-Reply-To: <200202071632.g17GWbe02928@fine1008.math.princeton.edu>
I would feel uneasy having package database sitting in /var (people quite
often allocate separate partition for that one to get some protection for the
rest of the system as this is the one, which changes most often).
Well, in fact I am about /var/db/pkg. To me it was unnatural place to look
for the database of installed packages. I there would be a discussion I would
vote for keeping both portage and db/pkg trees under /usr.
George
On Thursday 07 February 2002 08:32, you wrote:
> 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 +-<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
> > _______________________________________________
> > gentoo-dev mailing list
> > gentoo-dev@gentoo.org
> > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
next prev parent reply other threads:[~2002-02-07 22:42 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
2002-02-07 16:32 ` John Stalker
2002-02-07 21:40 ` George Shapovalov [this message]
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=200202072240.OAA02843@chamber.cco.caltech.edu \
--to=georges@its.caltech.edu \
--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