public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] cleaning:/usr/tmp/portage
@ 2010-09-03 14:55 James
  2010-09-03 15:26 ` Alan McKinnon
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: James @ 2010-09-03 14:55 UTC (permalink / raw
  To: gentoo-user

Hello,

What the usual admin cycle/tools/habits
for pruning /usr/tmp/portage
for a Gentoo workstation
or server?


James






^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] cleaning:/usr/tmp/portage
  2010-09-03 14:55 [gentoo-user] cleaning:/usr/tmp/portage James
@ 2010-09-03 15:26 ` Alan McKinnon
  2010-09-03 16:32 ` Alan McKinnon
  2010-09-03 17:45 ` Volker Armin Hemmann
  2 siblings, 0 replies; 6+ messages in thread
From: Alan McKinnon @ 2010-09-03 15:26 UTC (permalink / raw
  To: gentoo-user

Apparently, though unproven, at 16:55 on Friday 03 September 2010, James did 
opine thusly:

> Hello,
> 
> What the usual admin cycle/tools/habits
> for pruning /usr/tmp/portage
> for a Gentoo workstation
> or server?

at any arb point in time:

if (no instance of emerge running)
then
  rm -rf /var/tmp/portage/*
endif

Keeping that stuff is pointless unless you are working on a failed ebuild. In 
which case you won't run rm just yet. emerge nukes it anyway on the next 
emerge of that package.

ebuild itself doesn't nuke it, but you really shouldn't be running ebuild 
directly unless you are dev'ing something. To no need to ever keep that tmp 
stuff around

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] cleaning:/usr/tmp/portage
  2010-09-03 14:55 [gentoo-user] cleaning:/usr/tmp/portage James
  2010-09-03 15:26 ` Alan McKinnon
@ 2010-09-03 16:32 ` Alan McKinnon
  2010-09-03 17:45 ` Volker Armin Hemmann
  2 siblings, 0 replies; 6+ messages in thread
From: Alan McKinnon @ 2010-09-03 16:32 UTC (permalink / raw
  To: gentoo-user

Apparently, though unproven, at 16:55 on Friday 03 September 2010, James did 
opine thusly:

> Hello,
> 
> What the usual admin cycle/tools/habits
> for pruning /usr/tmp/portage
> for a Gentoo workstation
> or server?

at any arb point in time:

if (no instance of emerge running)
then
  rm -rf /var/tmp/portage/*
endif

Keeping that stuff is pointless unless you are working on a failed ebuild. In 
which case you won't run rm just yet. emerge nukes it anyway on the next 
emerge of that package.

ebuild itself doesn't nuke it, but you really shouldn't be running ebuild 
directly unless you are dev'ing something. To no need to ever keep that tmp 
stuff around

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] cleaning:/usr/tmp/portage
  2010-09-03 14:55 [gentoo-user] cleaning:/usr/tmp/portage James
  2010-09-03 15:26 ` Alan McKinnon
  2010-09-03 16:32 ` Alan McKinnon
@ 2010-09-03 17:45 ` Volker Armin Hemmann
  2 siblings, 0 replies; 6+ messages in thread
From: Volker Armin Hemmann @ 2010-09-03 17:45 UTC (permalink / raw
  To: gentoo-user

On Friday 03 September 2010, James wrote:
> Hello,
> 
> What the usual admin cycle/tools/habits
> for pruning /usr/tmp/portage
> for a Gentoo workstation
> or server?
> 
> 
> James


tmpfs                 8,0G     0  8,0G   0% /var/tmp/portage

thus with every reboot all the garbage is done.

uptime
 19:44:45 up  2:39, 12 users,  load average: 0.31, 0.19, 0.18

there is no need to keep the box running while I am at work...



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] cleaning:/usr/tmp/portage
       [not found] ` <foIyL-4CJ-19@gated-at.bofh.it>
@ 2010-09-03 23:53   ` Gregory Shearman
  2010-09-04  7:43     ` Volker Armin Hemmann
  0 siblings, 1 reply; 6+ messages in thread
From: Gregory Shearman @ 2010-09-03 23:53 UTC (permalink / raw
  To: gentoo-user

In linux.gentoo.user, you wrote:
> On Friday 03 September 2010, James wrote:
>> Hello,
>> 
>> What the usual admin cycle/tools/habits
>> for pruning /usr/tmp/portage
>> for a Gentoo workstation
>> or server?
>> 
>> 
>> James
>
>
> tmpfs                 8,0G     0  8,0G   0% /var/tmp/portage
>
> thus with every reboot all the garbage is done.
>
> uptime
>  19:44:45 up  2:39, 12 users,  load average: 0.31, 0.19, 0.18
>
> there is no need to keep the box running while I am at work...

I'd like to see you emerge openoffice from source with that setup. I
reckon you'd need around 8Gb of memory to do the job.

-- 
Regards,

Gregory.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] cleaning:/usr/tmp/portage
  2010-09-03 23:53   ` Gregory Shearman
@ 2010-09-04  7:43     ` Volker Armin Hemmann
  0 siblings, 0 replies; 6+ messages in thread
From: Volker Armin Hemmann @ 2010-09-04  7:43 UTC (permalink / raw
  To: gentoo-user

On Saturday 04 September 2010, Gregory Shearman wrote:
> In linux.gentoo.user, you wrote:
> > On Friday 03 September 2010, James wrote:
> >> Hello,
> >> 
> >> What the usual admin cycle/tools/habits
> >> for pruning /usr/tmp/portage
> >> for a Gentoo workstation
> >> or server?
> >> 
> >> 
> >> James
> > 
> > tmpfs                 8,0G     0  8,0G   0% /var/tmp/portage
> > 
> > thus with every reboot all the garbage is done.
> > 
> > uptime
> > 
> >  19:44:45 up  2:39, 12 users,  load average: 0.31, 0.19, 0.18
> > 
> > there is no need to keep the box running while I am at work...
> 
> I'd like to see you emerge openoffice from source with that setup. I
> reckon you'd need around 8Gb of memory to do the job.

1) I have 8GB ram
2) I have 24GB swap
3) tmpfs can be swapped out.

eix openoffice
[I] app-office/openoffice
     Available versions:  3.2.0{tbz2} (~)3.2.1{tbz2}    
     Installed versions:  3.2.1{tbz2}(15:41:02 31.07.2010)

genlop -i app-office/openoffice
 * app-office/openoffice
                                                                                                                                                          
                                                                                                                                                          
   Total builds: 8
   Global build time: 7 hours, 38 minutes and 30 seconds.
   Average merge time: 57 minutes and 18 seconds.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-09-04  7:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-03 14:55 [gentoo-user] cleaning:/usr/tmp/portage James
2010-09-03 15:26 ` Alan McKinnon
2010-09-03 16:32 ` Alan McKinnon
2010-09-03 17:45 ` Volker Armin Hemmann
     [not found] <foFUe-8rW-17@gated-at.bofh.it>
     [not found] ` <foIyL-4CJ-19@gated-at.bofh.it>
2010-09-03 23:53   ` Gregory Shearman
2010-09-04  7:43     ` Volker Armin Hemmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox