summaryrefslogtreecommitdiffstats
path: root/df/domains.c
Commit message (Collapse)AuthorAgeFilesLines
* virt-df: Don't fail immediately if a disk is not accessible (RHBZ#789504).Richard W.M. Jones2012-05-031-44/+80
|
* virt-alignment-scan, virt-df: Add newlines after error messages.Richard W.M. Jones2012-05-031-6/+6
|
* Remove "convenience header" "gettext.h" and use <libintl.h> instead.Richard W.M. Jones2012-05-011-0/+1
| | | | | | | | | | | | gettextize provides a local file called "gettext.h". Remove this and use <libintl.h> from glibc headers instead. Most of this change is mechanical: #include <libintl.h> in every C file which uses any gettext function. But also we remove the gettext.h file, and adjust the "_" macros. Note that this effectively removes the ./configure --disable-nls option, although we don't know if that ever worked.
* Check library still compiles without libvirt.Richard W.M. Jones2012-04-181-0/+2
|
* df: Avoid a compilation error if libxml2 is not available.Richard W.M. Jones2012-03-251-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.
* 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).