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 1E2Ca6-0006vm-L8 for garchives@archives.gentoo.org; Mon, 08 Aug 2005 18:42:39 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j78IfR2U015299; Mon, 8 Aug 2005 18:41:27 GMT Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.203]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j78IYUZd007248 for ; Mon, 8 Aug 2005 18:37:40 GMT Received: by nproxy.gmail.com with SMTP id l37so248066nfc for ; Mon, 08 Aug 2005 11:34:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=IMe8mDkSz8mm4DK5Vfl+Tk0KP5VD+IdvxH9q7uBbr5TznDl9rDzHWeBAHDZk8hTIEQJmS1laikjwgII/4PcVO3KxKooxyCM3SFClP4tbvXLQ5brO0Xh9KrzMSe3TSkFDMsfnZKjimpHEB9MMpGiPe7l4Geb6kYfrYJOlCQRdRzQ= Received: by 10.48.237.12 with SMTP id k12mr173109nfh; Mon, 08 Aug 2005 11:34:27 -0700 (PDT) Received: by 10.48.142.10 with HTTP; Mon, 8 Aug 2005 11:34:27 -0700 (PDT) Message-ID: Date: Mon, 8 Aug 2005 18:34:27 +0000 From: Fernando Meira To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] how to control portage space usage In-Reply-To: <42F7616D.5010303@asmallpond.org> 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 Content-Type: multipart/alternative; boundary="----=_Part_6023_18517824.1123526067301" References: <62c482fd.82fd62c4@planet.nl> <42F7616D.5010303@asmallpond.org> X-Archives-Salt: c196efdb-4e36-4e53-924b-1b688b5edce6 X-Archives-Hash: fd6ec8808a76ec9e50eaf8efbbb768f6 ------=_Part_6023_18517824.1123526067301 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 8/8/05, Richard Fish wrote: > My preference, since I normally mount with noatime, is: >=20 > 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 {} \; >=20 > The above commands will remove all distfiles not needed anymore, either > due to updates or unmerge packages. This looks to be a very nice way to do it. It works in another way than the= =20 scripts I been looking to. Instead of searching what "should" be deprecated= ,=20 it verifies that after an emerge world.. nice and simple!! However, in this= =20 way you'll erase all other packages that you may need in case you want to= =20 recompile them.. but maybe in this case, it's better to download them again= =20 than keep ALL of them wasting your disk space. Other thing: I was not aware of LVM volumes, what are the advantages of=20 using it to keep distfiles? And, how big is your volume? Cheers, Fernando ------=_Part_6023_18517824.1123526067301 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 8/8/05, Richar= d Fish <bigfish@asmallpond= .org> wrote:
My preferenc= e, 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&nb= sp;     (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.

This looks to be a very nice way to do it. It works in another way than the scripts I been looking to. Instead of searching what "should"= be deprecated, it verifies that after an emerge world.. nice and simple!! However, in this way you'll erase all other packages that you may need in case you want to recompile them.. but maybe in this case, it's better to download them again than keep ALL of them wasting your disk space.

Other thing: I was not aware of LVM volumes, what are the advantages of usi= ng it to keep distfiles? And, how big is your volume?

Cheers,
Fernando

------=_Part_6023_18517824.1123526067301-- -- gentoo-user@gentoo.org mailing list