Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jul 2000 18:09:54 +0200 (CEST)
From:      Paul Herman <pherman@frenchfries.net>
To:        Sheldon Hearn <sheldonh@uunet.co.za>
Cc:        freebsd-bugs@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: bin/19635: add -c for grand total to df(1), like du(1) does 
Message-ID:  <Pine.BSF.4.21.0007061721070.4627-100000@bagabeedaboo.security.at12.de>
In-Reply-To: <200007061450.HAA01348@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007061721070.4627-100000>