From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YNK3K-0006ug-9u for ptxdist@pengutronix.de; Mon, 16 Feb 2015 12:41:26 +0100 Received: from rsc by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1YNK3K-0002Dl-89 for ptxdist@pengutronix.de; Mon, 16 Feb 2015 12:41:26 +0100 Date: Mon, 16 Feb 2015 12:41:26 +0100 From: Robert Schwebel Message-ID: <20150216114126.GG15673@pengutronix.de> References: <1423672490-5598-1-git-send-email-r.schwebel@pengutronix.de> <20150216104953.GB30223@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20150216104953.GB30223@pengutronix.de> Subject: Re: [ptxdist] [PATCH] [RfC] ptxdist: add rootstat command Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Mon, Feb 16, 2015 at 11:49:53AM +0100, Michael Olbrich wrote: > On Wed, Feb 11, 2015 at 05:34:50PM +0100, Robert Schwebel wrote: > > Since we have our debug root components in .debug directories, it became > > complicated to find out about the size of the root directory. Add an > > option for it. > > 'du' can do that for you easily: > > $ du -sh --exclude=.debug platform-/root > > No need for an extra command. Hmm, I suppose I can't remember that for the next time I need it, and after I went through several methods to include and exclude that, I think it's also not intuitive that exactly *this* variant does the right thing (instead of for example excluding things which have .debug in different parts of the filenames). I'll change the command to use that and play around with it for a while, let's see if we find it useful then or not. rsc -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de