Files
libguestfs/df
Richard W.M. Jones e5220b26f5 df: Skip final '/' character when calculating basename.
Previously it was including the final '/' character when calculating
the basename for the -a option eg:

Filesystem                                Size       Used  Available  Use%
/Ubuntu1010x64:/dev/sda1                  9.4G       2.3G       6.6G   25%

With this patch the '/' is not printed.
2011-01-11 13:55:23 +00:00
..
2010-11-25 18:58:13 +00:00
2010-11-25 18:58:13 +00:00
2010-11-25 18:58:13 +00:00
2010-11-25 18:58:13 +00:00
2010-11-25 18:58:13 +00:00
2010-11-25 18:58:13 +00:00

This is the third rewrite of the virt-df program.  It very much
follows the outline of the Perl program which this replaced in
libguestfs 1.7.14.

main.c -    main program

domains.c - dealing with libvirt, only used if libvirt is around
            at compile time

df.c -      getting the stats from libguestfs

output.c -  writing the output, CSV output

virt-df.h - header file

Note this also uses the shared options parsing code in
'fish/options.[ch]'.