Fernando Meira wrote:

Ok, so running through that forum I decided to try out some of the scripts to clean stale distfiles. The first one (distcleaner-0.0.2) returned a lot of errors. The second (distmaint.py) was too weird. Finally, (distclean.sh) seemed to be ok, and freed 255 MB. I could then end my emerge (eclipse). After the emerge I end-up with 805Mb free.

As you say Holly, this is far from enough if I want to compile something big and also maybe for smaller apps. Which means that I have a problem. In fact, I have a 38GB disk on my laptop. My mistake was that I assumed that gentoo was not so space-consuming. Now I'll have to make some modifications, redo my partitions. What I would like was to clean once per all my windoz partition (9GB)... but from time to time I need it.. unless I find a replacement to all the things I need from there.

Anyway, thanks for the replies.
If someone has a nice script to maintain distfiles under control let me know. ;)


My preference, since I normally mount with noatime, is:

mount /u/p/distfiles -o remount,atime (yes, I keep distfiles on a separate LVM volume!)
emerge --deep --emptytree --fetchonly world      (updates atimes)
mount /u/p/distfiles -o remount,noatime
find /u/p/distfiles -amin +60 -exec rm -v {} \;

The above commands will remove all distfiles not needed anymore, either due to updates or unmerge packages.

-Richard

--
gentoo-user@gentoo.org mailing list

Reply via email to