summaryrefslogtreecommitdiffstats
path: root/df/domains.c
Commit message (Collapse)AuthorAgeFilesLines
* df: Avoid a compilation error if libxml2 is not available.Richard W.M. Jones2012-03-301-1/+1
| | | | | | | | | | | virt_df-domains.o: In function `add_domain': /home/feeliwood/Downloads/libguestfs-1.17.21/df/domains.c:274: undefined reference to `guestfs___for_each_disk' guestfs___for_each_disk is only available when libvirt _and_ libxml2 dependencies are available at compile time. Thanks Tho Huynh. (cherry picked from commit f1d10672c7da94f8983b3b5d434e64b127da1242)
* Update FSF address.Matthew Booth2011-11-081-1/+1
|
* libvirt: Detect if a disk has the <readonly/> flag.Richard W.M. Jones2011-10-261-2/+3
| | | | | | This changes the private function guestfs___for_each_disk so that the <readonly/> flag on libvirt disks is detected and passed through to the callback function.
* df: Rewrite virt-df in C.Richard W.M. Jones2010-11-251-0/+436
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).