Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] how to control portage space usage
Date: Mon, 08 Aug 2005 13:48:31
Message-Id: 42F7616D.5010303@asmallpond.org
In Reply to: Re: [gentoo-user] how to control portage space usage by Fernando Meira
1 Fernando Meira wrote:
2
3 > Ok, so running through that forum I decided to try out some of the
4 > scripts to clean stale distfiles.
5 > The first one (distcleaner-0.0.2) returned a lot of errors. The second
6 > (distmaint.py) was too weird. Finally, (distclean.sh) seemed to be ok,
7 > and freed 255 MB. I could then end my emerge (eclipse). After the
8 > emerge I end-up with 805Mb free.
9 >
10 > As you say Holly, this is far from enough if I want to compile
11 > something big and also maybe for smaller apps. Which means that I have
12 > a problem.
13 > In fact, I have a 38GB disk on my laptop. My mistake was that I
14 > assumed that gentoo was not so space-consuming. Now I'll have to make
15 > some modifications, redo my partitions. What I would like was to clean
16 > once per all my windoz partition (9GB)... but from time to time I need
17 > it.. unless I find a replacement to all the things I need from there.
18 >
19 > Anyway, thanks for the replies.
20 > If someone has a nice script to maintain distfiles under control let
21 > me know. ;)
22
23
24 My preference, since I normally mount with noatime, is:
25
26 mount /u/p/distfiles -o remount,atime (yes, I keep distfiles on a
27 separate LVM volume!)
28 emerge --deep --emptytree --fetchonly world (updates atimes)
29 mount /u/p/distfiles -o remount,noatime
30 find /u/p/distfiles -amin +60 -exec rm -v {} \;
31
32 The above commands will remove all distfiles not needed anymore, either
33 due to updates or unmerge packages.
34
35 -Richard
36
37 --
38 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] how to control portage space usage Fernando Meira <fmeira@×××××.com>