From owner-freebsd-current Thu Jul 6 9:10:21 2000 Delivered-To: freebsd-current@freebsd.org Received: from mail2.netcologne.de (mail2.netcologne.de [194.8.194.103]) by hub.freebsd.org (Postfix) with ESMTP id 3F6DD37BA6C; Thu, 6 Jul 2000 09:10:11 -0700 (PDT) (envelope-from pherman@frenchfries.net) Received: from bagabeedaboo.security.at12.de (dial-195-14-235-163.netcologne.de [195.14.235.163]) by mail2.netcologne.de (8.9.3/8.9.3) with ESMTP id SAA28647; Thu, 6 Jul 2000 18:10:07 +0200 (MET DST) Received: from localhost (localhost.security.at12.de [127.0.0.1]) by bagabeedaboo.security.at12.de (8.10.2/8.10.2) with ESMTP id e66G9sJ06714; Thu, 6 Jul 2000 18:09:54 +0200 (CEST) Date: Thu, 6 Jul 2000 18:09:54 +0200 (CEST) From: Paul Herman To: Sheldon Hearn Cc: freebsd-bugs@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: bin/19635: add -c for grand total to df(1), like du(1) does In-Reply-To: <200007061450.HAA01348@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 6 Jul 2000, Sheldon Hearn wrote: > On Thu, 06 Jul 2000 10:26:00 -0400, Brian Hechinger wrote: > > > beancounters don't understand that computers can have more than one disk let > > alone multiple slices. so it gives a nice total number to slap into a pie > > chart so that you can requisition more hard drives for your machines. > > This argument from Bill Fumerola is what swayed me enough to bring me > back to being neutral. ;-) First of all I'll state, I (just some FreeBSD user) am neutral on this as well -- which means, I wouldn't complain if it gets commited. :) There's just one thing nagging me: I still can't get past the fact that this can all be done very simply and much better with available tools. I see this option similar to, for example, "why not have an option to print only the 'Used' column." If this were to be commited, there would be no net gain. (No net loss, either.) Naturally, "no reason not to put it in" is most certainly *not* a reason to put it in. I would like to hear some to sway me one way or the other. Spoiler: df /disk1 /disk2 | \ awk '/^\// {t+=$2;u+=$3;} END { print "Total:", t,u,t-u,u*100/t; }' ...and "slaping 'df -c' into a pie chart" usually intails running it through some parser like this, anyway... or? -Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message