Add -c to df
Here is a patch to add -c to df. -c adds up all the relevant fields
and displays a grand total at the end. It is mostly based on the
changes made in FreeBSD.
#1 Updated by trevorjk about 8 years ago
On 4/1/06, Trevor Kendall <firstname.lastname@example.org> wrote:
> Here is a patch to add -c to df. -c adds up all the relevant fields
> and displays a grand total at the end. It is mostly based on the
> changes made in FreeBSD.
I'm removing my support for this patch. It wont work correctly with
large filesystems. I'll resubmit this patch when statfs uses larger
data types. There were also minor little other details found with the
patch that are not related to large filesystem support.