From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S5elj-00041O-JC for garchives@archives.gentoo.org; Thu, 08 Mar 2012 14:56:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 938C0E088C; Thu, 8 Mar 2012 14:56:30 +0000 (UTC) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by pigeon.gentoo.org (Postfix) with SMTP id 0906BE0801 for ; Thu, 8 Mar 2012 14:55:27 +0000 (UTC) Received: (qmail invoked by alias); 08 Mar 2012 14:55:27 -0000 Received: from wl-l3-93.rz.tu-ilmenau.de (EHLO localhost) [141.24.17.93] by mail.gmx.net (mp016) with SMTP; 08 Mar 2012 15:55:27 +0100 X-Authenticated: #4040096 X-Provags-ID: V01U2FsdGVkX19StkdlCpdSSkbCFu9dps6ZdHHAxouUjd1AVpwdA4 WQZOMfJk1p8aPP Date: Thu, 8 Mar 2012 15:55:26 +0100 From: Frank Steinmetzger To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Disk usage during emerge Message-ID: <20120308145526.GA3771@eisen.lan> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <20120308025700.GA11477@eisen.lan> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: User-Agent: Mutt 1.5.21 (2010-09-15, Gentoo 1.5.21-r1) X-Y-GMX-Trusted: 0 X-Archives-Salt: f93673bc-331f-4de6-bfef-9e2cdb58bca6 X-Archives-Hash: 8a2936b7c02b6b18ff9d98f6f16a0bd0 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 08, 2012 at 12:50:40PM +0200, Nikos Chantziaras wrote: > On 08/03/12 04:57, Frank Steinmetzger wrote: > > It came to my attention that during (after) an emerge run, df reports > > considerably less space available on my / than before the emerge (every= thing > > except /home sits on the root partition). I was wondering how this come= s to > > be, since I have /var/tmp/portage on tmpfs. > > > > I am in the middle of a KDE upgrade (4.8.0=E2=86=924.8.1) right now and= before I > > started, I downloaded all distfiles and then looked at df /, it showed = 1022 > > blocks, hence about 1 GB of free disk space. I am at package 115 out of= 174 > > right now, and df shows a mere 389k blocks remaining. >=20 > That's because the old files are not being deleted since they are in=20 > use. When you logout of KDE and restart the whole stack=20 > (/etc/init.d/xdm restart) then everything will be back to normal. By jove, that's definitely it. I knew about this fact from other use cases (like deleting a video file which I'm still watching. HA, do that, Windows!= ), but never thought of it regarding emerging. I always assumed for some reason that the files were kept in RAM and the physical file itself was no longer relevant. Just closing all programs before logging out gave back around 350= M. And yes, I had a typo in the original mail; instead of 1000 blocks I meant 1000k Blocks. And also yes, I already knew about eclean-dist. I even wrote a counterpart for Debian which deletes all .debs that aren't installed anymor= e, but keeps all the rest. Anyway, after the reboot I now have 1059k blocks fr= ee. :) --=20 Gru=C3=9F | Greetings | Qapla' I forbid any use of my email addresses with Facebook services. =E2=80=9COh, gravity, thou art a heartless bitch.=E2=80=9D =E2=80=93 Sheldo= n Cooper --AhhlLboLdkugWU4S Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEARECAAYFAk9YyF0ACgkQGafpl66MV0x24wCfcjPG0lSsK08QMjP4oPPNp8If Y+4AoIss6sl6qoObBKRG+gVEN5SOAlpW =tf2Q -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S--