df: Rewrite virt-df in C.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 23 Nov 2010 12:05:04 +0000 (12:05 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 25 Nov 2010 18:58:13 +0000 (18:58 +0000)
commit18374b5b7d3154e0b8b8a07e3590f6eee762b58e
tree13a8254ab4e06a1736761005866fc313182b8e58
parent4838ec3326d2970e6afe3cde6b368aeae840b969
df: Rewrite virt-df in C.

I have diffed the output from the original virt-df with this
new version, and they agree very closely.  Some differences:

 - Old virt-df have a divide-by-zero error in cases where the
   number of used inodes was 0.  New virt-df fixes this.

 - New virt-df uses gnulib human_readable library which displays
   numbers to 3 significant figures for -h output (old version
   used an ad hoc function).
17 files changed:
.gitignore
HACKING
Makefile.am
configure.ac
df/Makefile.am [new file with mode: 0644]
df/README [new file with mode: 0644]
df/df.c [new file with mode: 0644]
df/domains.c [new file with mode: 0644]
df/main.c [new file with mode: 0644]
df/output.c [new file with mode: 0644]
df/run-df-locally [new file with mode: 0755]
df/test-virt-df.sh [moved from tools/test-virt-df.sh with 100% similarity]
df/virt-df.h [new file with mode: 0644]
df/virt-df.pod [new file with mode: 0755]
po/POTFILES.in
tools/Makefile.am
tools/virt-df [deleted file]