From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E1sQT-0000pc-Q5 for garchives@archives.gentoo.org; Sun, 07 Aug 2005 21:11:22 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j77LAJnv016840; Sun, 7 Aug 2005 21:10:19 GMT Received: from smtp14.wxs.nl (smtp14.wxs.nl [195.121.6.28]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j77L6HkR013906 for ; Sun, 7 Aug 2005 21:06:17 GMT Received: from po08.wxs.nl (po08-adm.wxs.nl [10.94.14.237]) by smtp14.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0IKV0068EEMR8K@smtp14.wxs.nl> for gentoo-user@lists.gentoo.org; Sun, 07 Aug 2005 23:06:27 +0200 (CEST) Received: from planet.nl ([127.0.0.1]) by po08.wxs.nl (iPlanet Messaging Server 5.2 HotFix 2.02 (built Oct 21 2004)) with ESMTP id <0IKV00MZAEMRZ6@po08.wxs.nl> for gentoo-user@lists.gentoo.org; Sun, 07 Aug 2005 23:06:27 +0200 (MEST) Received: from [195.121.5.13] (Forwarded-For: [62.131.171.82]) by po08.wxs.nl (mshttpd); Sun, 07 Aug 2005 23:06:27 +0200 Date: Sun, 07 Aug 2005 23:06:27 +0200 From: motub@planet.nl Subject: Re: [gentoo-user] how to control portage space usage To: gentoo-user@lists.gentoo.org Message-id: <62c482fd.82fd62c4@planet.nl> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-version: 1.0 X-Mailer: iPlanet Messenger Express 5.2 HotFix 2.05 (built May 27 2005) Content-type: text/plain; charset=us-ascii Content-language: en Content-transfer-encoding: 7BIT Content-disposition: inline X-Accept-Language: en Priority: normal X-Archives-Salt: dfa358ff-288f-40cb-b44d-815db1fc1ddf X-Archives-Hash: 82250accd4b1d7acb51a8796f09fa0f2 ----- Original Message ----- From: Fernando Meira Date: Sunday, August 7, 2005 10:22 pm Subject: [gentoo-user] how to control portage space usage > Hi, > this is probably an old discussion, sorry for bring it up again. > > When I joined Gentoo (a few months ago) I got the idea that I could > control > very well the space that gentoo would require. That would be great > because > of my 4.6G available to it. Then, not so long time ago I got very > surprised > with how much less space available I had when I didn't have > (almost) > anything installed. Now it's completely full and I'm the middle of > an emerge > :( > > Well, tears apart, I would like to know if there's a good way to > control the > space usage of portage, since it is the reason for my problem. > My /usr/portage and /var/tmp/portage/ take 2.2G which is almost > half of the > partition. > > What I have installed: > - some (split) ebuilds of kde 3.4.1 > - e16 > - e17 > - firefox > - gimp > - acrobat reader 7 > - xmms, amsn (and maybe a few more small packages) > > What I've found until now: > - clear /usr/portage/distfiles and /var/tmp/portage after an > emerge, or > regularly (using tmpreaper) > - there are some users-made scripts (still buggy) that look for old > ebuilds > in portage tree and erases them ( > http://forums.gentoo.org/viewtopic-t-3011-highlight- > portage+space+usage.html) > > Any comments/ideas/scripts about this, or everyone has plenty space > to > spare... > > Cheers, > Fernando As far as I know, that's pretty much what you can do (assuming that the cleaning of /var/tmp/portage occurs when you have a failed emerge as well, since failed emerges leave the temporary work files there until the emerge is either correctly completed, or you delete the files yourself). The thing is, it now depends to some degree on just what you are emerging, because as you fill your disk with emerged programs, and assuming that those programs don't reside on another disk (/usr, /var, /tmp, or /opt on another disk or partition than / ), you will lose the ability to compile certain programs that naturally take up more space than you have available during the emerge process. I'm thinking specifically of OpenOffice.org, which takes about 3GB just to emerge, but I suspect Mozilla and its ilk, and certain KDE programs may not be much better. Not to mention X.org or glibc. But from what you've said, even if /usr/portage/distfiles and /var/tmp/portage are empty, you wouldn't have enough space to emerge OO.o at this time, and possibly other high-end programs as well. Of course, you could just use the openoffice-bin package for that case. But not for every case that this might occur, and frankly, it's a losing proposition (either you have to be constantly on the ball as to how much space every program you want needs to emerge, or you have to give up some stuff). Less than 5GB is really not enough for a Gentoo install unless it's going to be *very* minimal. If I was you, I'd look around for an old 5 or 10 GB disk, slap it in the box and move /usr or /var (probably a better choice) to that, and then mount it to the / partition. Just my 0.02 Holly -- gentoo-user@gentoo.org mailing list