bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug: df does not have a --total option


From: Dan Reish
Subject: Bug: df does not have a --total option
Date: Sun, 13 Jul 2003 14:01:39 -0400
User-agent: Mutt/1.4.1i

Everyone needs a --total option.

The patch I've attached has undetected overflow issues.  I'm sure it
needs to be cleaned up a little, but I'm not sure how to do it.  Maybe
by detecting whether the total just summed is less than the thing
added to it.  It works on my system with my sub-terabyte levels of
disk storage, though.

Also, I used -o as the short form.  I'm not sure whether POSIX has a
problem with that.

Attachment: df-patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]