[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-user
Subject:    Re: [gentoo-user] Re: Disk usage during emerge
From:       Frank Steinmetzger <Warp_7 () gmx ! de>
Date:       2012-03-08 14:55:26
Message-ID: 20120308145526.GA3771 () eisen ! lan
[Download RAW message or body]


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 (everything
> > except /home sits on the root partition). I was wondering how this comes to
> > be, since I have /var/tmp/portage on tmpfs.
> >
> > I am in the middle of a KDE upgrade (4.8.0→4.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.
> 
> That's because the old files are not being deleted since they are in 
> use.  When you logout of KDE and restart the whole stack 
> (/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 anymore,
but keeps all the rest. Anyway, after the reboot I now have 1059k blocks free.
:)
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

"Oh, gravity, thou art a heartless bitch." – Sheldon Cooper

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic