Files
libguestfs/df
Pino Toscano a26a9e6881 df: unlock retire_mutex on early exit
If pthread_cond_wait fails and the thread worker ends, make sure to
unlock retire_mutex, which has been locked for the condition.

The return value of pthread_mutex_unlock is ignored, as there's nothing
that can be done with it at that point.
2014-08-08 17:13:02 +02:00
..
2014-01-02 16:53:34 +00:00
2010-11-25 18:58:13 +00:00
2014-01-02 16:53:34 +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]'.