Re: [gentoo-dev] portage locations

2011-08-01 Thread Marc Schiffbauer
* William Hubbs schrieb am 01.08.11 um 19:49 Uhr:
> On Mon, Aug 01, 2011 at 07:22:15PM +0200, Francesco Riosa wrote:
> > everything about portage is very specific and should be separated, I
> > would like to see an addition of one root directory "gentoo" where
> > ${PKGMANAGER} keep all it's stuff.
> > Some of these are already moveable with ${*DIR} variables in
> > make.conf, others are not
>  
> I don't agree that we should create a "gentoo" root directory; however,
> to be technical, /usr/portage is wrong.

That was exactly my point in one of my mails in the /usr-Thread.

I disagree with introducing a non-FHS dir on the rootfs,

> 
> I will list what My thoughts would be below your suggestions. Keep in
> mind that this is just being thrown out there without thinking about the
> details all that much.
> 
> > 20K /gentoo/tmp
> 
> Maybe /tmp?

Depends on which "kind" of tmp data this is. Should it survive a
system reboot? If yes /var/tmp is better.

I agree with the rest.

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134


pgprwsugoDw98.pgp
Description: PGP signature


Re: [gentoo-dev] portage locations

2011-08-01 Thread Michał Górny
On Mon, 1 Aug 2011 12:49:41 -0500
William Hubbs  wrote:

> > 20K /gentoo/tmp
> 
> Maybe /tmp?

/var/tmp was there for a reason. On all my systems /tmp is tmpfs, and
it is not suitable for larger builds.

> > 20K /gentoo/overlays
> 
> This isn't on everyones system, so I think it is up to the user and
> what you are putting in it. Maybe /var/cache/portage/overlays?

I personally use ${PORTDIR}/local, to keep it in the same fs as
portdir (same file formats).

> > 639M/gentoo/portage
> 
> /var/cache/portage/gentoo-portage

Doesn't fit in the definition nicely. It's more like read-only dir,
fitting /usr well.

> > 3.1G/gentoo/distfiles
> 
> /var/cache/portage/distfiles?

+1.

> > 4.1M/gentoo/var/log
> 
> /var/log/portage? They are logs so they should go where all other logs
> are.

And that's where they go. I don't see why are you referring to a random
stupid idea instead of the current state.

> > 2.7M/gentoo/packages
> 
> /var/cache/portage/packages?

This one depends on a particular config, I guess. Sometimes people just
'cache' binpkgs, sometimes they serve 'em.

-- 
Best regards,
Michał Górny


signature.asc
Description: PGP signature


[gentoo-dev] portage locations

2011-08-01 Thread William Hubbs
On Mon, Aug 01, 2011 at 07:22:15PM +0200, Francesco Riosa wrote:
> everything about portage is very specific and should be separated, I
> would like to see an addition of one root directory "gentoo" where
> ${PKGMANAGER} keep all it's stuff.
> Some of these are already moveable with ${*DIR} variables in
> make.conf, others are not
 
I don't agree that we should create a "gentoo" root directory; however,
to be technical, /usr/portage is wrong.

I will list what My thoughts would be below your suggestions. Keep in
mind that this is just being thrown out there without thinking about the
details all that much.

> 20K /gentoo/tmp

Maybe /tmp?

> 20K /gentoo/overlays

This isn't on everyones system, so I think it is up to the user and what
you are putting in it. Maybe /var/cache/portage/overlays?

> 639M/gentoo/portage

/var/cache/portage/gentoo-portage

> 3.1G/gentoo/distfiles

/var/cache/portage/distfiles?

> 4.1M/gentoo/var/log

/var/log/portage? They are logs so they should go where all other logs
are.

> 36K /gentoo/var/lib/portage

/var/lib/portage is ok for this I think.

> 43M /gentoo/var/db/pkg

/var/db/pkg is fine for this I think.

> 940K/gentoo/var/cache/edb

Maybe /var/cache/portage/edb?

> 2.7M/gentoo/packages

/var/cache/portage/packages?

 What do you think?

 William



pgpvKpMP608O3.pgp
Description: PGP signature