1 |
I would feel uneasy having package database sitting in /var (people quite |
2 |
often allocate separate partition for that one to get some protection for the |
3 |
rest of the system as this is the one, which changes most often). |
4 |
Well, in fact I am about /var/db/pkg. To me it was unnatural place to look |
5 |
for the database of installed packages. I there would be a discussion I would |
6 |
vote for keeping both portage and db/pkg trees under /usr. |
7 |
|
8 |
George |
9 |
|
10 |
|
11 |
On Thursday 07 February 2002 08:32, you wrote: |
12 |
> I assume the reason that portage is in /usr and db/pkg is in |
13 |
> /var is that that is where FreeBSD puts ports and db/pkg. |
14 |
> Of course FreeBSD doesn't have any reason to worry about |
15 |
> FHS compliance. Since I am compulsive about having up to |
16 |
> date versions of everything I mount /usr rw, so this is not |
17 |
> an issue for me personally. |
18 |
> |
19 |
> > Chris Moore wrote: [Sat Feb 2 2002, 3:42:32AM EST] |
20 |
> > |
21 |
> > > Move the portage package ebuild filetree from /usr/portage to |
22 |
> > > /var/lib/portage ( See 5.8.3 +-<pkgtool> and cross reference the |
23 |
> > > purposes of the /usr hierarchy with the purpose of /var which is |
24 |
> > > summarized as follows: /usr's purpose is shareable read-only data |
25 |
> > > (ebuilds are updated!) /var's purpose is sharable/unsharable DYNAMIC |
26 |
> > > application data (such as the ebuild dirtree) and /var/lib has the |
27 |
> > > specific option for the package tool's dynamic data) |
28 |
> > |
29 |
> > I'm not sure that the ebuild dirtree should be considered 'dynamic'. |
30 |
> > The only time it *needs* to be updated (written) is shortly before doing |
31 |
> > a merge. Since the merge is going to be going around writing stuff in |
32 |
> > the /usr tree anyway, updating /usr/portage doesn't seem that bad. I |
33 |
> > haven't settled on a personal opinion yet, so I'm mostly playing devil's |
34 |
> > advocate here. |
35 |
> > |
36 |
> > Consider a normal case where /usr is actually mounted r/o, such as on a |
37 |
> > local network of machines where most of the machines mount /usr |
38 |
> > read-only from a remote file server. In this case, none of these |
39 |
> > subordinate machines would need to update /usr/portage. If you wanted |
40 |
> > to install new software, you would do so on the file server where |
41 |
> > /usr/bin, /usr/lib, /usr/portage, etc. are all mounted r/w, and |
42 |
> > therefore you could do the 'emerge rsync' as well package merges. |
43 |
> > |
44 |
> > Now that I think about it, this same argument would apply to |
45 |
> > /var/db/pkg, though, so I guess to be consistant the two (/usr/portage |
46 |
> > and /var/db/pkg) should be in the same place. Do they both belong in |
47 |
> > /usr? |
48 |
> > |
49 |
> > --Chouser |
50 |
> > _______________________________________________ |
51 |
> > gentoo-dev mailing list |
52 |
> > gentoo-dev@g.o |
53 |
> > http://lists.gentoo.org/mailman/listinfo/gentoo-dev |