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 1S5jYw-0000PI-7n for garchives@archives.gentoo.org; Thu, 08 Mar 2012 20:03:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96362E0995; Thu, 8 Mar 2012 20:03:31 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 4EA26E0837 for ; Thu, 8 Mar 2012 20:02:34 +0000 (UTC) Received: by wgbfm10 with SMTP id fm10so822981wgb.10 for ; Thu, 08 Mar 2012 12:02:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:organization :x-mailer:mime-version:content-type:content-transfer-encoding; bh=aog5ORh0rsT3aTaK9/tmuRxzyqflOVwBNXLw2BbUp4k=; b=X/98c316sqQpoRG1VJG2rmP8Dl6RAKv1EqPXzZvuWPOCFr46EW8UVhgQz0ltOldwgH FKBtwE4j3wvCnpsttyzN62hVnLvVINvCWOHvr874tYpvjKjNpzXcMldHRrsFFGAupyo9 UsHaemnCx73Q2ubm8VnXOIMFhJLz2nwHwlWk8A1/j9tP4Gu0mWN+CPA7iXJVrWfYQc5f jkj5pOgDo9Duuw33VapNUPk/TUHtcHlKCJ+5iLAaPdVBTL1JtApSOQWnCRWDAwlMhPcI +ZXufEXykFIcp3p4YFCKqUdLT72Edn6N35k/JMM5DLUq1yq8npQ8ZdKd5k9rJ5kW9a2Y P0WQ== Received: by 10.180.85.70 with SMTP id f6mr4991479wiz.5.1331236953587; Thu, 08 Mar 2012 12:02:33 -0800 (PST) Received: from khamul.example.com (196-215-114-182.dynamic.isadsl.co.za. [196.215.114.182]) by mx.google.com with ESMTPS id t20sm13362595wiv.0.2012.03.08.12.02.31 (version=SSLv3 cipher=OTHER); Thu, 08 Mar 2012 12:02:32 -0800 (PST) Date: Thu, 8 Mar 2012 22:01:57 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Disk usage during emerge Message-ID: <20120308220157.64a7d898@khamul.example.com> In-Reply-To: References: <20120308025700.GA11477@eisen.lan> <20120308145526.GA3771@eisen.lan> Organization: Internet Solutions X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) 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: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: bbef4972-82ef-4afe-ae05-6c180db8d408 X-Archives-Hash: f743e770e5dad8aa25e959bcb05a413a On Thu, 08 Mar 2012 17:56:18 +0200 Nikos Chantziaras wrote: > On 08/03/12 16:55, Frank Steinmetzger wrote: > > 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 > >> > >> 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. > > I discovered this nifty little tool recently that tells you if any > deleted files are currently being kept open by running processes: > "app-admin/checkrestart". I usually run it after world updates so I > can tell whether I need a restart or not. > > > Why go to the effor tof emerging another package? Use what you already have: lsof | egrep '(deleted)$' -- Alan McKinnnon alan.mckinnon@gmail.com