1 |
On Monday 04 May 2009, John covici wrote: |
2 |
> on Monday 05/04/2009 Philipp Riegger(lists@××××××××××××.de) wrote |
3 |
|
4 |
> > > You'd be amazed how much junk collects in /var/log/portage over time |
5 |
> > |
6 |
> > Or in /var/log. Logrotate helps there and /var/log/portage can be |
7 |
> > cleaned up by a script that compresses everything older than 1 day (the |
8 |
> > test helps not to "disturb" a running portage or get ugly split logs). |
9 |
> |
10 |
> What I would really like to do is get rid of everything except the |
11 |
> most recent compile of each program in /var/log/portage -- anyone have a |
12 |
> script to do that? |
13 |
|
14 |
Check man emerge and read (carefully) --clean --depclean and --prune options. |
15 |
Use any of these judiciously because you can easily hose your box (if you get |
16 |
rid of your compiler for example). |
17 |
-- |
18 |
Regards, |
19 |
Mick |