Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/usr/portage?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
smurfd
Apprentice
Apprentice


Joined: 04 May 2005
Posts: 176

PostPosted: Mon Aug 28, 2006 6:44 pm    Post subject: /usr/portage? Reply with quote

Hey, so im about to install a fresh gentoo box and im thinking about the partitioning scheme...

is it possible to have ALL the stuff that portage uses in /usr/portage?

i know that you get portage and distfiles there as default.. but i was thinking about the tmp folder where the ebuilds are building ...
(i know its prossible for this setting PORTAGE_TMP or something liek it in make.conf)
But is it possible, or would it delete say a /usr/portage/tmp when i do "emerge --sync"?

i was also intrested in having the /var/db thing in say /usr/portage/db or something similar.. also possible from make.conf??

im not on gentoo now, so i cant really look.

just had that idea....

any takers?
Back to top
View user's profile Send private message
Moorenkopf
Apprentice
Apprentice


Joined: 18 Apr 2004
Posts: 189
Location: NRW

PostPosted: Mon Aug 28, 2006 6:49 pm    Post subject: Reply with quote

don't know about that, but you could try symlinks as a workaround
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9013
Location: beyond the rim

PostPosted: Mon Aug 28, 2006 8:22 pm    Post subject: Reply with quote

I'd recommend to not store the /var locations under /usr/portage. By default emerge --sync wipes everything there except some hardcoded dirs (like distfiles). There are ways to work around that, but this is going to result in hacks on top of hacks.
Back to top
View user's profile Send private message
smurfd
Apprentice
Apprentice


Joined: 04 May 2005
Posts: 176

PostPosted: Wed Aug 30, 2006 9:54 am    Post subject: Reply with quote

OK cool, i wont.

ill think i do a partition and mount it like /usr/portage and then have each folder in it like
/usr/portage/portage
/usr/portage/tmp
/usr/portage/var

or something..

another question, how large a partition would be enough for this..
like ~2gb for the partition, where portage would use ~500mb and another 1500mb for compilation-temp-files.. roughly.

that would be enough, right?

like mozilla i know takes roughly 1gb in tmp when compiling... and this way i may even remmeber to clear distfiles somewhat often ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum