[Pkg-libvirt-commits] [libguestfs] 29/37: Imported Upstream version 1.15.8

Hilko Bengen bengen at moszumanska.debian.org
Sun Dec 22 18:13:45 UTC 2013


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag debian/1%1.15.10-1
in repository libguestfs.

commit 2d922bc73b5910e8bc3b3bf77066c509e01dfde9
Author: Hilko Bengen <bengen at debian.org>
Date:   Fri Dec 2 00:36:15 2011 +0100

    Imported Upstream version 1.15.8
---
 ChangeLog                          |  36 ++++
 configure                          |  26 +--
 configure.ac                       |   2 +-
 debian/changelog                   |   4 +-
 extratests/Makefile.am             |  67 ++++++--
 extratests/Makefile.in             |  67 ++++++--
 generator/generator_ocaml.ml       |   1 +
 generator/generator_perl.ml        |   1 +
 generator/generator_ruby.ml        |   1 +
 libguestfs.pc                      |   2 +-
 ocaml/guestfs_c_actions.c          |   7 +
 ocaml/t/guestfs_005_load.ml        |   2 +
 perl/Guestfs.xs                    |   1 +
 po-docs/ja.po                      | 339 +++++++++++++++++++-----------------
 po-docs/ja/guestfish.1             |   2 +-
 po-docs/ja/guestfs.3               |   2 +-
 po-docs/ja/guestmount.1            |   2 +-
 po-docs/ja/libguestfs-test-tool.1  |   2 +-
 po-docs/ja/virt-alignment-scan.1   |   2 +-
 po-docs/ja/virt-cat.1              |   2 +-
 po-docs/ja/virt-copy-in.1          |   2 +-
 po-docs/ja/virt-copy-out.1         |   2 +-
 po-docs/ja/virt-df.1               |   2 +-
 po-docs/ja/virt-edit.1             |   2 +-
 po-docs/ja/virt-filesystems.1      |   2 +-
 po-docs/ja/virt-inspector.1        |   2 +-
 po-docs/ja/virt-list-filesystems.1 |   2 +-
 po-docs/ja/virt-list-partitions.1  |   2 +-
 po-docs/ja/virt-ls.1               |   2 +-
 po-docs/ja/virt-make-fs.1          |   2 +-
 po-docs/ja/virt-rescue.1           |   2 +-
 po-docs/ja/virt-resize.1           |   6 +-
 po-docs/ja/virt-resize.pod         |   5 +
 po-docs/ja/virt-sparsify.1         |   6 +-
 po-docs/ja/virt-sparsify.pod       |   5 +
 po-docs/ja/virt-sysprep.1          |   2 +-
 po-docs/ja/virt-tar-in.1           |   2 +-
 po-docs/ja/virt-tar-out.1          |   2 +-
 po-docs/ja/virt-tar.1              |   2 +-
 po-docs/ja/virt-win-reg.1          |   2 +-
 po-docs/libguestfs-docs.pot        | 307 +++++++++++++++++----------------
 po-docs/uk.po                      | 341 ++++++++++++++++++++-----------------
 po-docs/uk/guestfish.1             |   2 +-
 po-docs/uk/guestfs.3               |   2 +-
 po-docs/uk/guestmount.1            |   2 +-
 po-docs/uk/libguestfs-test-tool.1  |   2 +-
 po-docs/uk/virt-alignment-scan.1   |   2 +-
 po-docs/uk/virt-cat.1              |   2 +-
 po-docs/uk/virt-copy-in.1          |   2 +-
 po-docs/uk/virt-copy-out.1         |   2 +-
 po-docs/uk/virt-df.1               |   2 +-
 po-docs/uk/virt-edit.1             |   2 +-
 po-docs/uk/virt-filesystems.1      |   2 +-
 po-docs/uk/virt-inspector.1        |   2 +-
 po-docs/uk/virt-list-filesystems.1 |   2 +-
 po-docs/uk/virt-list-partitions.1  |   2 +-
 po-docs/uk/virt-ls.1               |   2 +-
 po-docs/uk/virt-make-fs.1          |   2 +-
 po-docs/uk/virt-rescue.1           |   2 +-
 po-docs/uk/virt-resize.1           |   6 +-
 po-docs/uk/virt-resize.pod         |   5 +
 po-docs/uk/virt-sparsify.1         |   6 +-
 po-docs/uk/virt-sparsify.pod       |   5 +
 po-docs/uk/virt-sysprep.1          |   2 +-
 po-docs/uk/virt-tar-in.1           |   2 +-
 po-docs/uk/virt-tar-out.1          |   2 +-
 po-docs/uk/virt-tar.1              |   2 +-
 po-docs/uk/virt-win-reg.1          |   2 +-
 po/en_GB.gmo                       | Bin 10781 -> 10781 bytes
 po/en_GB.po                        |   2 +-
 po/es.gmo                          | Bin 92709 -> 92709 bytes
 po/es.po                           |   2 +-
 po/gu.gmo                          | Bin 53605 -> 53605 bytes
 po/gu.po                           |   2 +-
 po/hi.gmo                          | Bin 43389 -> 43389 bytes
 po/hi.po                           |   2 +-
 po/kn.gmo                          | Bin 52822 -> 52822 bytes
 po/kn.po                           |   2 +-
 po/libguestfs.pot                  |   4 +-
 po/ml.gmo                          | Bin 56355 -> 56355 bytes
 po/ml.po                           |   2 +-
 po/mr.gmo                          | Bin 104937 -> 104937 bytes
 po/mr.po                           |   2 +-
 po/nl.gmo                          | Bin 90946 -> 90946 bytes
 po/nl.po                           |   2 +-
 po/or.gmo                          | Bin 52173 -> 52173 bytes
 po/or.po                           |   2 +-
 po/pa.gmo                          | Bin 90834 -> 90834 bytes
 po/pa.po                           |   2 +-
 po/pl.gmo                          | Bin 95389 -> 95389 bytes
 po/pl.po                           |   2 +-
 po/ta.gmo                          | Bin 47311 -> 47311 bytes
 po/ta.po                           |   2 +-
 po/te.gmo                          | Bin 49970 -> 49970 bytes
 po/te.po                           |   2 +-
 po/uk.gmo                          | Bin 125123 -> 125123 bytes
 po/uk.po                           |   2 +-
 python/guestfs-py-byhand.c         |   1 +
 resize/resize.ml                   |  12 +-
 resize/test-virt-resize.sh         |   4 +-
 resize/virt-resize.pod             |   6 +
 ruby/ext/guestfs/_guestfs.c        |   1 +
 sparsify/sparsify.ml               |  14 +-
 sparsify/test-virt-sparsify.sh     |   2 +-
 sparsify/virt-sparsify.pod         |   6 +
 105 files changed, 825 insertions(+), 589 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 1cf848f..9d8772b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,41 @@
 2011-11-29  Richard W.M. Jones  <rjones at redhat.com>
 
+	python: Memory leak: Free roots array along handle close path.
+
+	perl: Memory leak: Free roots array along handle close path.
+
+	ruby: Memory leak: Free roots array along handle close path.
+
+	extra tests: Add comments about what is not tested here.
+
+	extra tests: Absolute path for 'run' command.
+
+	extra tests: Split up and reorder tests more logically.
+
+	extra tests: Test virt-sparsify.
+	This adds the virt-sparsify --debug-gc option which causes
+	virt-sparsify to call Gc.compact before exiting, allowing
+	GC and memory problems to be tested.
+
+	Add an extratest which runs virt-sparsify under valgrind.
+
+	extra tests: Test virt-resize.
+	This adds the virt-resize --debug-gc option which causes
+	virt-resize to call Gc.compact before exiting, allowing
+	GC and memory problems to be tested.
+
+	Add an extratest which runs virt-resize under valgrind.
+
+	ocaml: Load test should call Gc.compact to flag memory errors.
+
+	ocaml: Fix memory leak in bindings for functions that return buffers.
+	RBufferOut binding didn't free the buffer after copying it onto
+	the OCaml heap.
+
+	Found by valgrind.
+
+	Version 1.15.7.
+
 	extra tests: Run C API tests under valgrind.
 
 	protocol: Memory leak: Free temporary buffer along recv_discard path.
diff --git a/configure b/configure
index 41099c4..ac6e641 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for libguestfs 1.15.7.
+# Generated by GNU Autoconf 2.68 for libguestfs 1.15.8.
 #
 #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -567,8 +567,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='libguestfs'
 PACKAGE_TARNAME='libguestfs'
-PACKAGE_VERSION='1.15.7'
-PACKAGE_STRING='libguestfs 1.15.7'
+PACKAGE_VERSION='1.15.8'
+PACKAGE_STRING='libguestfs 1.15.8'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -2289,7 +2289,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures libguestfs 1.15.7 to adapt to many kinds of systems.
+\`configure' configures libguestfs 1.15.8 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -2359,7 +2359,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libguestfs 1.15.7:";;
+     short | recursive ) echo "Configuration of libguestfs 1.15.8:";;
    esac
   cat <<\_ACEOF
 
@@ -2529,7 +2529,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libguestfs configure 1.15.7
+libguestfs configure 1.15.8
 generated by GNU Autoconf 2.68
 
 Copyright (C) 2010 Free Software Foundation, Inc.
@@ -3271,7 +3271,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libguestfs $as_me 1.15.7, which was
+It was created by libguestfs $as_me 1.15.8, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   $ $0 $@
@@ -4169,7 +4169,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='libguestfs'
- VERSION='1.15.7'
+ VERSION='1.15.8'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -4266,8 +4266,8 @@ else
 fi
 
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: libguestfs version 1.15.7$libguestfs_extra" >&5
-$as_echo "$as_me: libguestfs version 1.15.7$libguestfs_extra" >&6;}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: libguestfs version 1.15.8$libguestfs_extra" >&5
+$as_echo "$as_me: libguestfs version 1.15.8$libguestfs_extra" >&6;}
 
 
 $as_echo "#define PACKAGE_VERSION_MAJOR 1" >>confdefs.h
@@ -4276,7 +4276,7 @@ $as_echo "#define PACKAGE_VERSION_MAJOR 1" >>confdefs.h
 $as_echo "#define PACKAGE_VERSION_MINOR 15" >>confdefs.h
 
 
-$as_echo "#define PACKAGE_VERSION_RELEASE 7" >>confdefs.h
+$as_echo "#define PACKAGE_VERSION_RELEASE 8" >>confdefs.h
 
 
 cat >>confdefs.h <<_ACEOF
@@ -51845,7 +51845,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libguestfs $as_me 1.15.7, which was
+This file was extended by libguestfs $as_me 1.15.8, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -51915,7 +51915,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-libguestfs config.status 1.15.7
+libguestfs config.status 1.15.8
 configured by $0, generated by GNU Autoconf 2.68,
   with options \\"\$ac_cs_config\\"
 
diff --git a/configure.ac b/configure.ac
index 1718303..9307db1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@
 # freeform string.
 m4_define([libguestfs_major],   [1])
 m4_define([libguestfs_minor],   [15])
-m4_define([libguestfs_release], [7])
+m4_define([libguestfs_release], [8])
 
 AC_INIT([libguestfs],libguestfs_major.libguestfs_minor.libguestfs_release)
 AC_CONFIG_AUX_DIR([build-aux])
diff --git a/debian/changelog b/debian/changelog
index 2630458..eac0e5d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
-libguestfs (1.15.7-1) unstable; urgency=low
+libguestfs (1.15.8-1) unstable; urgency=low
 
-  * release: New upstream version 1.15.7.
+  * release: New upstream version 1.15.8.
 
  -- Richard W.M. Jones <rjones at redhat.com>  Thu,  9 Dec 2010 12:00:00 +0000
 
diff --git a/extratests/Makefile.am b/extratests/Makefile.am
index 3449ca7..bf6b3f9 100644
--- a/extratests/Makefile.am
+++ b/extratests/Makefile.am
@@ -24,6 +24,31 @@
 #   - valgrind
 #
 # These tests may fail for reasons which aren't necessarily real problems.
+#
+# XXX Not tested:
+#
+# ../clone/virt-sysprep
+#   - hard to test because it's a shell script
+#
+# ../edit/virt-edit
+#
+# Perl bindings
+# ../edit/virt-edit -e
+# ../tools/virt-win-reg (Perl)
+# ../tools/virt-make-fs (Perl)
+#   - hard because Perl doesn't cooperate by freeing memory
+#
+# Python bindings
+#   - as for Perl
+#
+# Ruby bindings
+#   - these look feasible to test using valgrind
+#
+# Java bindings
+#
+# ../fuse/guestmount
+#   - hard to test because guestmount forks into the background, and
+#     if valgrind reports errors it doesn't stop the test shell script
 
 EXTRA_DIST = suppressions
 
@@ -32,7 +57,7 @@ VG = valgrind \
 	--leak-check=full \
 	--error-exitcode=119 \
 	--suppressions=$(abs_srcdir)/suppressions
-RUN_VG = ../run $(VG)
+RUN_VG = $(abs_top_builddir)/run $(VG)
 
 export LIBVIRT_DEFAULT_URI = \
 	qemu+unix:///system?socket=/var/run/libvirt/libvirt-sock-ro
@@ -43,11 +68,15 @@ GUESTS = $(shell virsh -c $(LIBVIRT_DEFAULT_URI) list --all | \
 		 awk '{print $$2}')
 
 extra-tests: \
+	test-capitests \
 	test-tools-null \
 	test-tools-internal \
-	test-tools-real \
-	test-capitests \
-	test-ocaml
+	test-df-real \
+	test-filesystems-real \
+	test-inspector-real \
+	test-ocaml \
+	test-resize \
+	test-sparsify
 
 # Null invocations of the basic tools shouldn't leak memory.
 test-tools-null:
@@ -81,31 +110,33 @@ test-tools-internal:
 	$(RUN_VG) ../inspector/virt-inspector -a ../images/windows.img >/dev/null
 
 # Invocations of tools on real images shouldn't leak memory.
-test-tools-real:
+test-df-real:
 	$(RUN_VG) virt-df >/dev/null
 	$(RUN_VG) virt-df -h >/dev/null
+
+test-filesystems-real:
 	@for g in $(GUESTS); do \
-	  echo $(RUN_VG) ../inspector/virt-inspector -d $$g; \
-	  $(RUN_VG) ../inspector/virt-inspector -d $$g > /dev/null; \
+	  echo $(RUN_VG) ../cat/virt-filesystems -d $$g --all --long -h --uuid; \
+	  $(RUN_VG) ../cat/virt-filesystems -d $$g --all --long -h --uuid > /dev/null; \
 	  r=$$?; \
 	  if [ $$r -ne 0 ]; then exit $$r; fi; \
 	done
+
+test-inspector-real:
 	@for g in $(GUESTS); do \
-	  echo $(RUN_VG) ../cat/virt-filesystems -d $$g --all --long -h --uuid; \
-	  $(RUN_VG) ../cat/virt-filesystems -d $$g --all --long -h --uuid > /dev/null; \
+	  echo $(RUN_VG) ../inspector/virt-inspector -d $$g; \
+	  $(RUN_VG) ../inspector/virt-inspector -d $$g > /dev/null; \
 	  r=$$?; \
 	  if [ $$r -ne 0 ]; then exit $$r; fi; \
 	done
 
-# XXX Not tested:
-# ../clone/virt-sysprep
-# ../edit/virt-edit
-# ../edit/virt-edit -e
-# ../fuse/guestmount
-# ../resize/virt-resize (OCaml)
-# ../sparsify/virt-sparsify (OCaml)
-# ../tools/virt-win-reg (Perl)
-# ../tools/virt-make-fs (Perl)
+# Run virt-resize tests under valgrind.
+test-resize:
+	$(MAKE) -C ../resize VG="$(VG)" check
+
+# Run virt-sparsify tests under valgrind.
+test-sparsify:
+	$(MAKE) -C ../sparsify VG="$(VG)" check
 
 # Run capitests under valgrind.
 test-capitests:
diff --git a/extratests/Makefile.in b/extratests/Makefile.in
index 81ba6e2..973bfe7 100644
--- a/extratests/Makefile.in
+++ b/extratests/Makefile.in
@@ -41,6 +41,31 @@
 #   - valgrind
 #
 # These tests may fail for reasons which aren't necessarily real problems.
+#
+# XXX Not tested:
+#
+# ../clone/virt-sysprep
+#   - hard to test because it's a shell script
+#
+# ../edit/virt-edit
+#
+# Perl bindings
+# ../edit/virt-edit -e
+# ../tools/virt-win-reg (Perl)
+# ../tools/virt-make-fs (Perl)
+#   - hard because Perl doesn't cooperate by freeing memory
+#
+# Python bindings
+#   - as for Perl
+#
+# Ruby bindings
+#   - these look feasible to test using valgrind
+#
+# Java bindings
+#
+# ../fuse/guestmount
+#   - hard to test because guestmount forks into the background, and
+#     if valgrind reports errors it doesn't stop the test shell script
 VPATH = @srcdir@
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
@@ -1192,7 +1217,7 @@ VG = valgrind \
 	--error-exitcode=119 \
 	--suppressions=$(abs_srcdir)/suppressions
 
-RUN_VG = ../run $(VG)
+RUN_VG = $(abs_top_builddir)/run $(VG)
 GUESTS = $(shell virsh -c $(LIBVIRT_DEFAULT_URI) list --all | \
 		 head -n -1 | \
 		 tail -n +3 | \
@@ -1387,11 +1412,15 @@ export LIBVIRT_DEFAULT_URI = \
 	qemu+unix:///system?socket=/var/run/libvirt/libvirt-sock-ro
 
 extra-tests: \
+	test-capitests \
 	test-tools-null \
 	test-tools-internal \
-	test-tools-real \
-	test-capitests \
-	test-ocaml
+	test-df-real \
+	test-filesystems-real \
+	test-inspector-real \
+	test-ocaml \
+	test-resize \
+	test-sparsify
 
 # Null invocations of the basic tools shouldn't leak memory.
 test-tools-null:
@@ -1425,31 +1454,33 @@ test-tools-internal:
 	$(RUN_VG) ../inspector/virt-inspector -a ../images/windows.img >/dev/null
 
 # Invocations of tools on real images shouldn't leak memory.
-test-tools-real:
+test-df-real:
 	$(RUN_VG) virt-df >/dev/null
 	$(RUN_VG) virt-df -h >/dev/null
+
+test-filesystems-real:
 	@for g in $(GUESTS); do \
-	  echo $(RUN_VG) ../inspector/virt-inspector -d $$g; \
-	  $(RUN_VG) ../inspector/virt-inspector -d $$g > /dev/null; \
+	  echo $(RUN_VG) ../cat/virt-filesystems -d $$g --all --long -h --uuid; \
+	  $(RUN_VG) ../cat/virt-filesystems -d $$g --all --long -h --uuid > /dev/null; \
 	  r=$$?; \
 	  if [ $$r -ne 0 ]; then exit $$r; fi; \
 	done
+
+test-inspector-real:
 	@for g in $(GUESTS); do \
-	  echo $(RUN_VG) ../cat/virt-filesystems -d $$g --all --long -h --uuid; \
-	  $(RUN_VG) ../cat/virt-filesystems -d $$g --all --long -h --uuid > /dev/null; \
+	  echo $(RUN_VG) ../inspector/virt-inspector -d $$g; \
+	  $(RUN_VG) ../inspector/virt-inspector -d $$g > /dev/null; \
 	  r=$$?; \
 	  if [ $$r -ne 0 ]; then exit $$r; fi; \
 	done
 
-# XXX Not tested:
-# ../clone/virt-sysprep
-# ../edit/virt-edit
-# ../edit/virt-edit -e
-# ../fuse/guestmount
-# ../resize/virt-resize (OCaml)
-# ../sparsify/virt-sparsify (OCaml)
-# ../tools/virt-win-reg (Perl)
-# ../tools/virt-make-fs (Perl)
+# Run virt-resize tests under valgrind.
+test-resize:
+	$(MAKE) -C ../resize VG="$(VG)" check
+
+# Run virt-sparsify tests under valgrind.
+test-sparsify:
+	$(MAKE) -C ../sparsify VG="$(VG)" check
 
 # Run capitests under valgrind.
 test-capitests:
diff --git a/generator/generator_ocaml.ml b/generator/generator_ocaml.ml
index 4f7548c..10c18e3 100644
--- a/generator/generator_ocaml.ml
+++ b/generator/generator_ocaml.ml
@@ -625,6 +625,7 @@ copy_table (char * const * argv)
        | RBufferOut _ ->
            pr "  rv = caml_alloc_string (size);\n";
            pr "  memcpy (String_val (rv), r, size);\n";
+           pr "  free (r);\n"
       );
 
       pr "  CAMLreturn (rv);\n";
diff --git a/generator/generator_perl.ml b/generator/generator_perl.ml
index c9ec4fb..10a2387 100644
--- a/generator/generator_perl.ml
+++ b/generator/generator_perl.ml
@@ -181,6 +181,7 @@ _close_handle (guestfs_h *g)
 
   for (i = 0; i < len; ++i)
     SvREFCNT_dec (cbs[i]);
+  free (cbs);
 }
 
 MODULE = Sys::Guestfs  PACKAGE = Sys::Guestfs
diff --git a/generator/generator_ruby.ml b/generator/generator_ruby.ml
index a8416b4..a43b21f 100644
--- a/generator/generator_ruby.ml
+++ b/generator/generator_ruby.ml
@@ -84,6 +84,7 @@ ruby_guestfs_free (void *gvp)
       rb_gc_unregister_address (roots[i]);
       free (roots[i]);
     }
+    free (roots);
   }
 }
 
diff --git a/libguestfs.pc b/libguestfs.pc
index 3cde477..e0f521c 100644
--- a/libguestfs.pc
+++ b/libguestfs.pc
@@ -4,7 +4,7 @@ libdir=${exec_prefix}/lib
 includedir=${prefix}/include
 
 Name: libguestfs
-Version: 1.15.7
+Version: 1.15.8
 Description: libguestfs library for accessing and modifying VM images
 Requires:
 Cflags:
diff --git a/ocaml/guestfs_c_actions.c b/ocaml/guestfs_c_actions.c
index 83da4f7..041172d 100644
--- a/ocaml/guestfs_c_actions.c
+++ b/ocaml/guestfs_c_actions.c
@@ -4208,6 +4208,7 @@ ocaml_guestfs_getxattr (value gv, value pathv, value namev)
 
   rv = caml_alloc_string (size);
   memcpy (String_val (rv), r, size);
+  free (r);
   CAMLreturn (rv);
 }
 
@@ -4515,6 +4516,7 @@ ocaml_guestfs_initrd_cat (value gv, value initrdpathv, value filenamev)
 
   rv = caml_alloc_string (size);
   memcpy (String_val (rv), r, size);
+  free (r);
   CAMLreturn (rv);
 }
 
@@ -4971,6 +4973,7 @@ ocaml_guestfs_inspect_get_icon (value gv, value faviconv, value highqualityv, va
 
   rv = caml_alloc_string (size);
   memcpy (String_val (rv), r, size);
+  free (r);
   CAMLreturn (rv);
 }
 
@@ -6061,6 +6064,7 @@ ocaml_guestfs_lgetxattr (value gv, value pathv, value namev)
 
   rv = caml_alloc_string (size);
   memcpy (String_val (rv), r, size);
+  free (r);
   CAMLreturn (rv);
 }
 
@@ -9121,6 +9125,7 @@ ocaml_guestfs_pread (value gv, value pathv, value countv, value offsetv)
 
   rv = caml_alloc_string (size);
   memcpy (String_val (rv), r, size);
+  free (r);
   CAMLreturn (rv);
 }
 
@@ -9156,6 +9161,7 @@ ocaml_guestfs_pread_device (value gv, value devicev, value countv, value offsetv
 
   rv = caml_alloc_string (size);
   memcpy (String_val (rv), r, size);
+  free (r);
   CAMLreturn (rv);
 }
 
@@ -9478,6 +9484,7 @@ ocaml_guestfs_read_file (value gv, value pathv)
 
   rv = caml_alloc_string (size);
   memcpy (String_val (rv), r, size);
+  free (r);
   CAMLreturn (rv);
 }
 
diff --git a/ocaml/t/guestfs_005_load.ml b/ocaml/t/guestfs_005_load.ml
index de67091..ace873f 100644
--- a/ocaml/t/guestfs_005_load.ml
+++ b/ocaml/t/guestfs_005_load.ml
@@ -22,3 +22,5 @@ let _ = Guestfs.create
 let _ =
   let g = new Guestfs.guestfs () in
   g#get_verbose ()
+
+let () = Gc.compact ()
diff --git a/perl/Guestfs.xs b/perl/Guestfs.xs
index 4c5ff8e..5b892f0 100644
--- a/perl/Guestfs.xs
+++ b/perl/Guestfs.xs
@@ -166,6 +166,7 @@ _close_handle (guestfs_h *g)
 
   for (i = 0; i < len; ++i)
     SvREFCNT_dec (cbs[i]);
+  free (cbs);
 }
 
 MODULE = Sys::Guestfs  PACKAGE = Sys::Guestfs
diff --git a/po-docs/ja.po b/po-docs/ja.po
index 8e12668..5e951f3 100644
--- a/po-docs/ja.po
+++ b/po-docs/ja.po
@@ -9,7 +9,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: libguestfs\n"
 "Report-Msgid-Bugs-To: libguestfs at redhat.com\n"
-"POT-Creation-Date: 2011-11-29 14:22+0000\n"
+"POT-Creation-Date: 2011-11-29 21:47+0000\n"
 "PO-Revision-Date: 2011-10-27 09:15+0000\n"
 "Last-Translator: rjones <rjones at redhat.com>\n"
 "Language-Team: Japanese <trans-ja at lists.fedoraproject.org>\n"
@@ -488,14 +488,14 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../align/virt-alignment-scan.pod:147 ../resize/virt-resize.pod:491
-#: ../sparsify/virt-sparsify.pod:171
+#: ../align/virt-alignment-scan.pod:147 ../resize/virt-resize.pod:497
+#: ../sparsify/virt-sparsify.pod:177
 msgid "B<-q>"
 msgstr ""
 
 #. type: =item
-#: ../align/virt-alignment-scan.pod:149 ../resize/virt-resize.pod:493
-#: ../sparsify/virt-sparsify.pod:173
+#: ../align/virt-alignment-scan.pod:149 ../resize/virt-resize.pod:499
+#: ../sparsify/virt-sparsify.pod:179
 msgid "B<--quiet>"
 msgstr ""
 
@@ -512,7 +512,7 @@ msgstr ""
 #: ../clone/virt-sysprep.pod:138 ../df/virt-df.pod:173
 #: ../edit/virt-edit.pod:161 ../fish/guestfish.pod:390
 #: ../fuse/guestmount.pod:266 ../inspector/virt-inspector.pod:119
-#: ../rescue/virt-rescue.pod:219 ../sparsify/virt-sparsify.pod:177
+#: ../rescue/virt-rescue.pod:219 ../sparsify/virt-sparsify.pod:183
 msgid "B<-v>"
 msgstr ""
 
@@ -522,7 +522,7 @@ msgstr ""
 #: ../clone/virt-sysprep.pod:140 ../df/virt-df.pod:175
 #: ../edit/virt-edit.pod:163 ../fish/guestfish.pod:392
 #: ../fuse/guestmount.pod:268 ../inspector/virt-inspector.pod:121
-#: ../rescue/virt-rescue.pod:221 ../sparsify/virt-sparsify.pod:179
+#: ../rescue/virt-rescue.pod:221 ../sparsify/virt-sparsify.pod:185
 msgid "B<--verbose>"
 msgstr ""
 
@@ -531,7 +531,7 @@ msgstr ""
 #: ../cat/virt-filesystems.pod:265 ../cat/virt-ls.pod:429
 #: ../clone/virt-sysprep.pod:142 ../df/virt-df.pod:177
 #: ../edit/virt-edit.pod:165 ../inspector/virt-inspector.pod:123
-#: ../rescue/virt-rescue.pod:223 ../sparsify/virt-sparsify.pod:181
+#: ../rescue/virt-rescue.pod:223 ../sparsify/virt-sparsify.pod:187
 msgid "Enable verbose messages for debugging."
 msgstr ""
 
@@ -541,8 +541,8 @@ msgstr ""
 #: ../clone/virt-sysprep.pod:144 ../df/virt-df.pod:179
 #: ../edit/virt-edit.pod:167 ../fish/guestfish.pod:397
 #: ../fuse/guestmount.pod:272 ../inspector/virt-inspector.pod:125
-#: ../rescue/virt-rescue.pod:225 ../resize/virt-resize.pod:561
-#: ../sparsify/virt-sparsify.pod:183
+#: ../rescue/virt-rescue.pod:225 ../resize/virt-resize.pod:567
+#: ../sparsify/virt-sparsify.pod:189
 msgid "B<-V>"
 msgstr ""
 
@@ -552,8 +552,8 @@ msgstr ""
 #: ../clone/virt-sysprep.pod:146 ../df/virt-df.pod:181
 #: ../edit/virt-edit.pod:169 ../fish/guestfish.pod:399
 #: ../fuse/guestmount.pod:274 ../inspector/virt-inspector.pod:127
-#: ../rescue/virt-rescue.pod:227 ../resize/virt-resize.pod:563
-#: ../sparsify/virt-sparsify.pod:185 ../tools/virt-list-filesystems.pl:69
+#: ../rescue/virt-rescue.pod:227 ../resize/virt-resize.pod:569
+#: ../sparsify/virt-sparsify.pod:191 ../tools/virt-list-filesystems.pl:69
 #: ../tools/virt-list-partitions.pl:70 ../tools/virt-make-fs.pl:169
 #: ../tools/virt-tar.pl:119 ../tools/virt-win-reg.pl:112
 msgid "B<--version>"
@@ -564,8 +564,8 @@ msgstr ""
 #: ../cat/virt-filesystems.pod:271 ../cat/virt-ls.pod:435
 #: ../clone/virt-sysprep.pod:148 ../df/virt-df.pod:183
 #: ../edit/virt-edit.pod:171 ../inspector/virt-inspector.pod:129
-#: ../rescue/virt-rescue.pod:229 ../resize/virt-resize.pod:565
-#: ../sparsify/virt-sparsify.pod:187 ../tools/virt-list-filesystems.pl:71
+#: ../rescue/virt-rescue.pod:229 ../resize/virt-resize.pod:571
+#: ../sparsify/virt-sparsify.pod:193 ../tools/virt-list-filesystems.pl:71
 #: ../tools/virt-list-partitions.pl:72 ../tools/virt-make-fs.pl:171
 #: ../tools/virt-tar.pl:121 ../tools/virt-win-reg.pl:114
 msgid "Display version number and exit."
@@ -577,7 +577,7 @@ msgstr ""
 #: ../clone/virt-sysprep.pod:150 ../df/virt-df.pod:185
 #: ../edit/virt-edit.pod:173 ../fish/guestfish.pod:412
 #: ../fuse/guestmount.pod:287 ../inspector/virt-inspector.pod:131
-#: ../rescue/virt-rescue.pod:240 ../sparsify/virt-sparsify.pod:189
+#: ../rescue/virt-rescue.pod:240 ../sparsify/virt-sparsify.pod:195
 #: ../tools/virt-tar.pl:158
 msgid "B<-x>"
 msgstr ""
@@ -587,7 +587,7 @@ msgstr ""
 #: ../cat/virt-filesystems.pod:283 ../cat/virt-ls.pod:439
 #: ../clone/virt-sysprep.pod:152 ../df/virt-df.pod:187
 #: ../edit/virt-edit.pod:175 ../inspector/virt-inspector.pod:133
-#: ../rescue/virt-rescue.pod:242 ../sparsify/virt-sparsify.pod:191
+#: ../rescue/virt-rescue.pod:242 ../sparsify/virt-sparsify.pod:197
 msgid "Enable tracing of libguestfs API calls."
 msgstr ""
 
@@ -863,7 +863,7 @@ msgstr ""
 #: ../cat/virt-filesystems.pod:373 ../cat/virt-ls.pod:483
 #: ../clone/virt-sysprep.pod:475 ../df/virt-df.pod:241
 #: ../edit/virt-edit.pod:342 ../inspector/virt-inspector.pod:367
-#: ../rescue/virt-rescue.pod:303 ../resize/virt-resize.pod:676
+#: ../rescue/virt-rescue.pod:303 ../resize/virt-resize.pod:682
 #: ../tools/virt-list-filesystems.pl:188 ../tools/virt-list-partitions.pl:258
 #: ../tools/virt-make-fs.pl:550 ../tools/virt-tar.pl:289
 #: ../tools/virt-win-reg.pl:744
@@ -875,7 +875,7 @@ msgstr ""
 #: ../cat/virt-filesystems.pod:375 ../cat/virt-ls.pod:485
 #: ../clone/virt-sysprep.pod:477 ../df/virt-df.pod:243
 #: ../edit/virt-edit.pod:344 ../inspector/virt-inspector.pod:369
-#: ../rescue/virt-rescue.pod:305 ../resize/virt-resize.pod:678
+#: ../rescue/virt-rescue.pod:305 ../resize/virt-resize.pod:684
 #: ../tools/virt-list-filesystems.pl:190 ../tools/virt-list-partitions.pl:260
 #: ../tools/virt-make-fs.pl:552 ../tools/virt-tar.pl:291
 #: ../tools/virt-win-reg.pl:752
@@ -892,7 +892,7 @@ msgstr ""
 #: ../clone/virt-sysprep.pod:482 ../df/virt-df.pod:248
 #: ../edit/virt-edit.pod:349 ../fish/guestfish.pod:1114
 #: ../fuse/guestmount.pod:312 ../inspector/virt-inspector.pod:390
-#: ../resize/virt-resize.pod:683 ../sparsify/virt-sparsify.pod:245
+#: ../resize/virt-resize.pod:689 ../sparsify/virt-sparsify.pod:251
 #: ../test-tool/libguestfs-test-tool.pod:90
 msgid "EXIT STATUS"
 msgstr ""
@@ -941,8 +941,8 @@ msgstr ""
 #: ../fish/guestfish.pod:445 ../fish/guestfish.pod:449
 #: ../fish/guestfish.pod:453 ../fish/guestfish.pod:457
 #: ../inspector/virt-inspector.pod:408 ../inspector/virt-inspector.pod:412
-#: ../resize/virt-resize.pod:359 ../resize/virt-resize.pod:363
-#: ../resize/virt-resize.pod:372 ../resize/virt-resize.pod:378
+#: ../resize/virt-resize.pod:365 ../resize/virt-resize.pod:369
+#: ../resize/virt-resize.pod:378 ../resize/virt-resize.pod:384
 #: ../sparsify/virt-sparsify.pod:32 ../sparsify/virt-sparsify.pod:39
 #: ../sparsify/virt-sparsify.pod:43 ../sparsify/virt-sparsify.pod:49
 #: ../sparsify/virt-sparsify.pod:54 ../sparsify/virt-sparsify.pod:58
@@ -1042,8 +1042,8 @@ msgstr ""
 #: ../java/examples/guestfs-java.pod:45 ../ocaml/examples/guestfs-ocaml.pod:78
 #: ../perl/examples/guestfs-perl.pod:39
 #: ../python/examples/guestfs-python.pod:42 ../rescue/virt-rescue.pod:325
-#: ../resize/virt-resize.pod:688 ../ruby/examples/guestfs-ruby.pod:36
-#: ../sparsify/virt-sparsify.pod:269 ../src/guestfs.pod:3275
+#: ../resize/virt-resize.pod:694 ../ruby/examples/guestfs-ruby.pod:36
+#: ../sparsify/virt-sparsify.pod:275 ../src/guestfs.pod:3275
 #: ../test-tool/libguestfs-test-tool.pod:100
 #: ../tools/virt-list-filesystems.pl:195 ../tools/virt-list-partitions.pl:265
 #: ../tools/virt-make-fs.pl:557 ../tools/virt-tar.pl:296
@@ -1063,7 +1063,7 @@ msgstr ""
 #: ../cat/virt-filesystems.pod:396 ../cat/virt-ls.pod:507
 #: ../clone/virt-sysprep.pod:501 ../df/virt-df.pod:261
 #: ../edit/virt-edit.pod:368 ../rescue/virt-rescue.pod:334
-#: ../resize/virt-resize.pod:711 ../sparsify/virt-sparsify.pod:282
+#: ../resize/virt-resize.pod:717 ../sparsify/virt-sparsify.pod:288
 #: ../tools/virt-list-filesystems.pl:208 ../tools/virt-list-partitions.pl:277
 #: ../tools/virt-make-fs.pl:582 ../tools/virt-tar.pl:311
 #: ../tools/virt-win-reg.pl:783
@@ -1075,8 +1075,8 @@ msgstr ""
 #: ../cat/virt-filesystems.pod:398 ../cat/virt-ls.pod:509
 #: ../clone/virt-sysprep.pod:503 ../df/virt-df.pod:263
 #: ../edit/virt-edit.pod:370 ../inspector/virt-inspector.pod:410
-#: ../rescue/virt-rescue.pod:336 ../resize/virt-resize.pod:713
-#: ../sparsify/virt-sparsify.pod:284 ../tools/virt-list-filesystems.pl:210
+#: ../rescue/virt-rescue.pod:336 ../resize/virt-resize.pod:719
+#: ../sparsify/virt-sparsify.pod:290 ../tools/virt-list-filesystems.pl:210
 #: ../tools/virt-list-partitions.pl:279 ../tools/virt-make-fs.pl:584
 #: ../tools/virt-tar.pl:313 ../tools/virt-win-reg.pl:785
 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
@@ -1095,8 +1095,8 @@ msgstr ""
 #: ../java/examples/guestfs-java.pod:62 ../ocaml/examples/guestfs-ocaml.pod:95
 #: ../perl/examples/guestfs-perl.pod:56
 #: ../python/examples/guestfs-python.pod:58 ../rescue/virt-rescue.pod:338
-#: ../resize/virt-resize.pod:715 ../ruby/examples/guestfs-ruby.pod:52
-#: ../sparsify/virt-sparsify.pod:286 ../src/guestfs.pod:3358
+#: ../resize/virt-resize.pod:721 ../ruby/examples/guestfs-ruby.pod:52
+#: ../sparsify/virt-sparsify.pod:292 ../src/guestfs.pod:3358
 #: ../test-tool/libguestfs-test-tool.pod:110
 #: ../tools/virt-list-filesystems.pl:212 ../tools/virt-list-partitions.pl:281
 #: ../tools/virt-make-fs.pl:586 ../tools/virt-tar.pl:315
@@ -1106,7 +1106,7 @@ msgstr ""
 
 #. type: textblock
 #: ../align/virt-alignment-scan.pod:367 ../clone/virt-sysprep.pod:507
-#: ../sparsify/virt-sparsify.pod:288
+#: ../sparsify/virt-sparsify.pod:294
 msgid "Copyright (C) 2011 Red Hat Inc."
 msgstr ""
 
@@ -1118,8 +1118,8 @@ msgstr ""
 #: ../fish/virt-copy-in.pod:69 ../fish/virt-copy-out.pod:58
 #: ../fish/virt-tar-in.pod:67 ../fish/virt-tar-out.pod:60
 #: ../fuse/guestmount.pod:337 ../inspector/virt-inspector.pod:422
-#: ../rescue/virt-rescue.pod:342 ../resize/virt-resize.pod:719
-#: ../sparsify/virt-sparsify.pod:290 ../test-tool/libguestfs-test-tool.pod:115
+#: ../rescue/virt-rescue.pod:342 ../resize/virt-resize.pod:725
+#: ../sparsify/virt-sparsify.pod:296 ../test-tool/libguestfs-test-tool.pod:115
 #: ../tools/virt-list-filesystems.pl:216 ../tools/virt-list-partitions.pl:285
 #: ../tools/virt-make-fs.pl:590 ../tools/virt-tar.pl:319
 #: ../tools/virt-win-reg.pl:791
@@ -1138,8 +1138,8 @@ msgstr ""
 #: ../fish/virt-copy-in.pod:74 ../fish/virt-copy-out.pod:63
 #: ../fish/virt-tar-in.pod:72 ../fish/virt-tar-out.pod:65
 #: ../fuse/guestmount.pod:342 ../inspector/virt-inspector.pod:427
-#: ../rescue/virt-rescue.pod:347 ../resize/virt-resize.pod:724
-#: ../sparsify/virt-sparsify.pod:295 ../test-tool/libguestfs-test-tool.pod:120
+#: ../rescue/virt-rescue.pod:347 ../resize/virt-resize.pod:730
+#: ../sparsify/virt-sparsify.pod:301 ../test-tool/libguestfs-test-tool.pod:120
 #: ../tools/virt-list-filesystems.pl:221 ../tools/virt-list-partitions.pl:290
 #: ../tools/virt-make-fs.pl:595 ../tools/virt-tar.pl:324
 #: ../tools/virt-win-reg.pl:796
@@ -1158,8 +1158,8 @@ msgstr ""
 #: ../fish/virt-copy-in.pod:79 ../fish/virt-copy-out.pod:68
 #: ../fish/virt-tar-in.pod:77 ../fish/virt-tar-out.pod:70
 #: ../fuse/guestmount.pod:347 ../inspector/virt-inspector.pod:432
-#: ../rescue/virt-rescue.pod:352 ../resize/virt-resize.pod:729
-#: ../sparsify/virt-sparsify.pod:300 ../test-tool/libguestfs-test-tool.pod:125
+#: ../rescue/virt-rescue.pod:352 ../resize/virt-resize.pod:735
+#: ../sparsify/virt-sparsify.pod:306 ../test-tool/libguestfs-test-tool.pod:125
 #: ../tools/virt-list-filesystems.pl:226 ../tools/virt-list-partitions.pl:295
 #: ../tools/virt-make-fs.pl:600 ../tools/virt-tar.pl:329
 #: ../tools/virt-win-reg.pl:801
@@ -1546,7 +1546,7 @@ msgstr ""
 #: ../cat/virt-cat.pod:240 ../cat/virt-filesystems.pod:382
 #: ../cat/virt-ls.pod:492 ../df/virt-df.pod:250 ../edit/virt-edit.pod:351
 #: ../fuse/guestmount.pod:314 ../inspector/virt-inspector.pod:392
-#: ../resize/virt-resize.pod:685 ../sparsify/virt-sparsify.pod:247
+#: ../resize/virt-resize.pod:691 ../sparsify/virt-sparsify.pod:253
 msgid ""
 "This program returns 0 if successful, or non-zero if there was an error."
 msgstr ""
@@ -1560,7 +1560,7 @@ msgstr ""
 
 #. type: textblock
 #: ../cat/virt-cat.pod:258 ../inspector/virt-inspector.pod:420
-#: ../resize/virt-resize.pod:717 ../tools/virt-make-fs.pl:588
+#: ../resize/virt-resize.pod:723 ../tools/virt-make-fs.pl:588
 msgid "Copyright (C) 2010-2011 Red Hat Inc."
 msgstr ""
 
@@ -4570,7 +4570,7 @@ msgstr ""
 
 #. type: =head1
 #: ../edit/virt-edit.pod:329 ../fish/guestfish.pod:1119
-#: ../rescue/virt-rescue.pod:298 ../sparsify/virt-sparsify.pod:250
+#: ../rescue/virt-rescue.pod:298 ../sparsify/virt-sparsify.pod:256
 #: ../src/guestfs.pod:3214 ../test-tool/libguestfs-test-tool.pod:95
 msgid "ENVIRONMENT VARIABLES"
 msgstr ""
@@ -19914,7 +19914,7 @@ msgstr ""
 
 #. type: =item
 #: ../fish/guestfish.pod:335 ../fuse/guestmount.pod:202
-#: ../resize/virt-resize.pod:435
+#: ../resize/virt-resize.pod:441
 msgid "B<-n>"
 msgstr ""
 
@@ -21831,7 +21831,7 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../fish/guestfish.pod:1196 ../sparsify/virt-sparsify.pod:254
+#: ../fish/guestfish.pod:1196 ../sparsify/virt-sparsify.pod:260
 #: ../src/guestfs.pod:3262
 msgid "TMPDIR"
 msgstr ""
@@ -22479,7 +22479,7 @@ msgstr ""
 
 #. type: =head1
 #: ../fuse/guestmount.pod:73 ../rescue/virt-rescue.pod:96
-#: ../resize/virt-resize.pod:621
+#: ../resize/virt-resize.pod:627
 msgid "NOTES"
 msgstr ""
 
@@ -22887,8 +22887,8 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../inspector/virt-inspector.pod:111 ../resize/virt-resize.pod:391
-#: ../resize/virt-resize.pod:483 ../sparsify/virt-sparsify.pod:138
+#: ../inspector/virt-inspector.pod:111 ../resize/virt-resize.pod:397
+#: ../resize/virt-resize.pod:489 ../sparsify/virt-sparsify.pod:144
 #: ../tools/virt-list-filesystems.pl:101 ../tools/virt-list-partitions.pl:102
 #: ../tools/virt-tar.pl:151 ../tools/virt-win-reg.pl:152
 msgid ""
@@ -24165,8 +24165,8 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:31 ../resize/virt-resize.pod:597
-#: ../sparsify/virt-sparsify.pod:221 ../src/guestfs.pod:484
+#: ../resize/virt-resize.pod:31 ../resize/virt-resize.pod:603
+#: ../sparsify/virt-sparsify.pod:227 ../src/guestfs.pod:484
 #: ../src/guestfs.pod:1302 ../src/guestfs.pod:1441 ../src/guestfs.pod:2690
 msgid "1."
 msgstr ""
@@ -24205,8 +24205,8 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:44 ../resize/virt-resize.pod:604
-#: ../sparsify/virt-sparsify.pod:228 ../src/guestfs.pod:490
+#: ../resize/virt-resize.pod:44 ../resize/virt-resize.pod:610
+#: ../sparsify/virt-sparsify.pod:234 ../src/guestfs.pod:490
 #: ../src/guestfs.pod:1306 ../src/guestfs.pod:1445 ../src/guestfs.pod:2715
 msgid "2."
 msgstr ""
@@ -24228,8 +24228,8 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:52 ../resize/virt-resize.pod:610
-#: ../sparsify/virt-sparsify.pod:234 ../src/guestfs.pod:501
+#: ../resize/virt-resize.pod:52 ../resize/virt-resize.pod:616
+#: ../sparsify/virt-sparsify.pod:240 ../src/guestfs.pod:501
 #: ../src/guestfs.pod:1451
 msgid "3."
 msgstr ""
@@ -24836,20 +24836,32 @@ msgid "Enable debugging messages."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:332
-msgid "B<--delete part>"
+#: ../resize/virt-resize.pod:332 ../sparsify/virt-sparsify.pod:131
+msgid "B<--debug-gc>"
 msgstr ""
 
 #. type: textblock
 #: ../resize/virt-resize.pod:334
 msgid ""
+"Debug garbage collection and memory allocation.  This is only useful when "
+"debugging memory problems in virt-resize or the OCaml libguestfs bindings."
+msgstr ""
+
+#. type: =item
+#: ../resize/virt-resize.pod:338
+msgid "B<--delete part>"
+msgstr ""
+
+#. type: textblock
+#: ../resize/virt-resize.pod:340
+msgid ""
 "Delete the named partition.  It would be more accurate to describe this as "
 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
 "the original disk image is left intact."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:338
+#: ../resize/virt-resize.pod:344
 msgid ""
 "Note that when you delete a partition, then anything contained in the "
 "partition is also deleted.  Furthermore, this causes any partitions that "
@@ -24857,25 +24869,25 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:343 ../resize/virt-resize.pod:404
-#: ../resize/virt-resize.pod:531 ../sparsify/virt-sparsify.pod:151
+#: ../resize/virt-resize.pod:349 ../resize/virt-resize.pod:410
+#: ../resize/virt-resize.pod:537 ../sparsify/virt-sparsify.pod:157
 msgid "You can give this option multiple times."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:345
+#: ../resize/virt-resize.pod:351
 msgid "B<--expand part>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:347
+#: ../resize/virt-resize.pod:353
 msgid ""
 "Expand the named partition so it uses up all extra space (space left over "
 "after any other resize changes that you request have been done)."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:350
+#: ../resize/virt-resize.pod:356
 msgid ""
 "If virt-resize knows how, it will expand the direct content of the "
 "partition.  For example, if the partition is an LVM PV, it will expand the "
@@ -24884,22 +24896,22 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:355
+#: ../resize/virt-resize.pod:361
 msgid "Currently virt-resize can resize:"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:361
+#: ../resize/virt-resize.pod:367
 msgid "ext2, ext3 and ext4 filesystems."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:365
+#: ../resize/virt-resize.pod:371
 msgid "NTFS filesystems, if libguestfs was compiled with support for NTFS."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:367
+#: ../resize/virt-resize.pod:373
 msgid ""
 "The filesystem must have been shut down consistently last time it was used.  "
 "Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
@@ -24908,7 +24920,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:374
+#: ../resize/virt-resize.pod:380
 msgid ""
 "LVM PVs (physical volumes).  virt-resize does not usually resize anything "
 "inside the PV, but see the I<--LV-expand> option.  The user could also "
@@ -24916,43 +24928,43 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:380
+#: ../resize/virt-resize.pod:386
 msgid "Btrfs filesystems, if libguestfs was compiled with support for btrfs."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:384 ../resize/virt-resize.pod:559
+#: ../resize/virt-resize.pod:390 ../resize/virt-resize.pod:565
 msgid "Note that you cannot use I<--expand> and I<--shrink> together."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:386 ../sparsify/virt-sparsify.pod:131
+#: ../resize/virt-resize.pod:392 ../sparsify/virt-sparsify.pod:137
 #: ../tools/virt-list-filesystems.pl:91 ../tools/virt-list-partitions.pl:92
 #: ../tools/virt-tar.pl:141 ../tools/virt-win-reg.pl:142
 msgid "B<--format> raw"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:388 ../sparsify/virt-sparsify.pod:135
+#: ../resize/virt-resize.pod:394 ../sparsify/virt-sparsify.pod:141
 msgid ""
 "Specify the format of the input disk image.  If this flag is not given then "
 "it is auto-detected from the image itself."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:394
+#: ../resize/virt-resize.pod:400
 msgid ""
 "Note that this option I<does not> affect the output format.  See L</QCOW2 "
 "AND NON-SPARSE RAW FORMATS>."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:397
+#: ../resize/virt-resize.pod:403
 msgid "B<--ignore part>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:399
+#: ../resize/virt-resize.pod:405
 msgid ""
 "Ignore the named partition.  Effectively this means the partition is "
 "allocated on the destination disk, but the content is not copied across from "
@@ -24961,12 +24973,12 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:406
+#: ../resize/virt-resize.pod:412
 msgid "B<--LV-expand logvol>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:408
+#: ../resize/virt-resize.pod:414
 msgid ""
 "This takes the logical volume and, as a final step, expands it to fill all "
 "the space available in its volume group.  A typical usage, assuming a Linux "
@@ -24975,7 +24987,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:413
+#: ../resize/virt-resize.pod:419
 #, no-wrap
 msgid ""
 " virt-resize indisk outdisk \\\n"
@@ -24984,14 +24996,14 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:416
+#: ../resize/virt-resize.pod:422
 msgid ""
 "This would first expand the partition (and PV), and then expand the root "
 "device to fill the extra space in the PV."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:419
+#: ../resize/virt-resize.pod:425
 msgid ""
 "The contents of the LV are also resized if virt-resize knows how to do "
 "that.  You can stop virt-resize from trying to expand the content by using "
@@ -24999,12 +25011,12 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:423
+#: ../resize/virt-resize.pod:429
 msgid "Use L<virt-filesystems(1)> to list the filesystems in the guest."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:425
+#: ../resize/virt-resize.pod:431
 msgid ""
 "You can give this option multiple times, I<but> it doesn't make sense to do "
 "this unless the logical volumes you specify are all in different volume "
@@ -25012,34 +25024,34 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:429 ../sparsify/virt-sparsify.pod:153
+#: ../resize/virt-resize.pod:435 ../sparsify/virt-sparsify.pod:159
 msgid "B<--machine-readable>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:431 ../sparsify/virt-sparsify.pod:155
+#: ../resize/virt-resize.pod:437 ../sparsify/virt-sparsify.pod:161
 msgid ""
 "This option is used to make the output more machine friendly when being "
 "parsed by other programs.  See L</MACHINE READABLE OUTPUT> below."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:437
+#: ../resize/virt-resize.pod:443
 msgid "B<--dryrun>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:439
+#: ../resize/virt-resize.pod:445
 msgid "Print a summary of what would be done, but don't do anything."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:441
+#: ../resize/virt-resize.pod:447
 msgid "B<--no-copy-boot-loader>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:443
+#: ../resize/virt-resize.pod:449
 msgid ""
 "By default, virt-resize copies over some sectors at the start of the disk "
 "(up to the beginning of the first partition).  Commonly these sectors "
@@ -25048,19 +25060,19 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:448
+#: ../resize/virt-resize.pod:454
 msgid ""
 "If you specify this flag, then this initial copy is not done.  You may need "
 "to reinstall the boot loader in this case."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:451
+#: ../resize/virt-resize.pod:457
 msgid "B<--no-extra-partition>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:453
+#: ../resize/virt-resize.pod:459
 msgid ""
 "By default, virt-resize creates an extra partition if there is any extra, "
 "unused space after all resizing has happened.  Use this option to prevent "
@@ -25070,38 +25082,38 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:459
+#: ../resize/virt-resize.pod:465
 msgid ""
 "Note that if the surplus space is smaller than 10 MB, no extra partition "
 "will be created."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:462
+#: ../resize/virt-resize.pod:468
 msgid "B<--no-expand-content>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:464
+#: ../resize/virt-resize.pod:470
 msgid ""
 "By default, virt-resize will try to expand the direct contents of "
 "partitions, if it knows how (see I<--expand> option above)."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:467
+#: ../resize/virt-resize.pod:473
 msgid ""
 "If you give the I<--no-expand-content> option then virt-resize will not "
 "attempt this."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:470
+#: ../resize/virt-resize.pod:476
 msgid "B<--ntfsresize-force>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:472
+#: ../resize/virt-resize.pod:478
 msgid ""
 "Pass the I<--force> option to L<ntfsresize(8)>, allowing resizing even if "
 "the NTFS disk is marked as needing a consistency check.  You have to use "
@@ -25110,19 +25122,19 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:478
+#: ../resize/virt-resize.pod:484
 msgid "B<--output-format> raw"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:480
+#: ../resize/virt-resize.pod:486
 msgid ""
 "Specify the format of the output disk image.  If this flag is not given then "
 "it is auto-detected from the image itself."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:486
+#: ../resize/virt-resize.pod:492
 msgid ""
 "Note that this option I<does not create> the output format.  This option "
 "just tells libguestfs what it is so it doesn't try to guess it.  You still "
@@ -25131,24 +25143,24 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:495
+#: ../resize/virt-resize.pod:501
 msgid "Don't print the summary."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:497
+#: ../resize/virt-resize.pod:503
 msgid "B<--resize part=size>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:499
+#: ../resize/virt-resize.pod:505
 msgid ""
 "Resize the named partition (expanding or shrinking it) so that it has the "
 "given size."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:502
+#: ../resize/virt-resize.pod:508
 msgid ""
 "C<size> can be expressed as an absolute number followed by b/K/M/G to mean "
 "bytes, Kilobytes, Megabytes, or Gigabytes; or as a percentage of the current "
@@ -25156,7 +25168,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:508
+#: ../resize/virt-resize.pod:514
 #, no-wrap
 msgid ""
 " --resize /dev/sda2=10G\n"
@@ -25164,7 +25176,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:510
+#: ../resize/virt-resize.pod:516
 #, no-wrap
 msgid ""
 " --resize /dev/sda4=90%\n"
@@ -25172,7 +25184,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:512
+#: ../resize/virt-resize.pod:518
 #, no-wrap
 msgid ""
 " --resize /dev/sda2=+1G\n"
@@ -25180,7 +25192,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:514
+#: ../resize/virt-resize.pod:520
 #, no-wrap
 msgid ""
 " --resize /dev/sda2=-200M\n"
@@ -25188,7 +25200,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:516
+#: ../resize/virt-resize.pod:522
 #, no-wrap
 msgid ""
 " --resize /dev/sda1=+128K\n"
@@ -25196,7 +25208,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:518
+#: ../resize/virt-resize.pod:524
 #, no-wrap
 msgid ""
 " --resize /dev/sda1=+10%\n"
@@ -25204,7 +25216,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:520
+#: ../resize/virt-resize.pod:526
 #, no-wrap
 msgid ""
 " --resize /dev/sda1=-10%\n"
@@ -25212,14 +25224,14 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:522
+#: ../resize/virt-resize.pod:528
 msgid ""
 "You can increase the size of any partition.  Virt-resize will expand the "
 "direct content of the partition if it knows how (see I<--expand> below)."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:526
+#: ../resize/virt-resize.pod:532
 msgid ""
 "You can only I<decrease> the size of partitions that contain filesystems or "
 "PVs which have already been shrunk.  Virt-resize will check this has been "
@@ -25228,12 +25240,12 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:533
+#: ../resize/virt-resize.pod:539
 msgid "B<--resize-force part=size>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:535
+#: ../resize/virt-resize.pod:541
 msgid ""
 "This is the same as I<--resize> except that it will let you decrease the "
 "size of any partition.  Generally this means you will lose any data which "
@@ -25243,17 +25255,17 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:541
+#: ../resize/virt-resize.pod:547
 msgid "See also the I<--ignore> option."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:543
+#: ../resize/virt-resize.pod:549
 msgid "B<--shrink part>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:545
+#: ../resize/virt-resize.pod:551
 msgid ""
 "Shrink the named partition until the overall disk image fits in the "
 "destination.  The named partition B<must> contain a filesystem or PV which "
@@ -25263,7 +25275,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:551
+#: ../resize/virt-resize.pod:557
 msgid ""
 "The amount by which the overall disk must be shrunk (after carrying out all "
 "other operations requested by the user) is called the \"deficit\".  For "
@@ -25274,12 +25286,12 @@ msgid ""
 msgstr ""
 
 #. type: =head1
-#: ../resize/virt-resize.pod:569 ../sparsify/virt-sparsify.pod:195
+#: ../resize/virt-resize.pod:575 ../sparsify/virt-sparsify.pod:201
 msgid "MACHINE READABLE OUTPUT"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:571
+#: ../resize/virt-resize.pod:577
 msgid ""
 "The I<--machine-readable> option can be used to make the output more machine "
 "friendly, which is useful when calling virt-resize from other programs, GUIs "
@@ -25287,19 +25299,19 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:575 ../sparsify/virt-sparsify.pod:201
+#: ../resize/virt-resize.pod:581 ../sparsify/virt-sparsify.pod:207
 msgid "There are two ways to use this option."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:577
+#: ../resize/virt-resize.pod:583
 msgid ""
 "Firstly use the option on its own to query the capabilities of the virt-"
 "resize binary.  Typical output looks like this:"
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:580
+#: ../resize/virt-resize.pod:586
 #, no-wrap
 msgid ""
 " $ virt-resize --machine-readable\n"
@@ -25312,33 +25324,33 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:587 ../sparsify/virt-sparsify.pod:211
+#: ../resize/virt-resize.pod:593 ../sparsify/virt-sparsify.pod:217
 msgid ""
 "A list of features is printed, one per line, and the program exits with "
 "status 0."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:590 ../sparsify/virt-sparsify.pod:214
+#: ../resize/virt-resize.pod:596 ../sparsify/virt-sparsify.pod:220
 msgid ""
 "Secondly use the option in conjunction with other options to make the "
 "regular program output more machine friendly."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:593 ../sparsify/virt-sparsify.pod:217
+#: ../resize/virt-resize.pod:599 ../sparsify/virt-sparsify.pod:223
 msgid "At the moment this means:"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:599 ../sparsify/virt-sparsify.pod:223
+#: ../resize/virt-resize.pod:605 ../sparsify/virt-sparsify.pod:229
 msgid ""
 "Progress bar messages can be parsed from stdout by looking for this regular "
 "expression:"
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:602 ../sparsify/virt-sparsify.pod:226
+#: ../resize/virt-resize.pod:608 ../sparsify/virt-sparsify.pod:232
 #, no-wrap
 msgid ""
 " ^[0-9]+/[0-9]+$\n"
@@ -25346,7 +25358,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:606 ../sparsify/virt-sparsify.pod:230
+#: ../resize/virt-resize.pod:612 ../sparsify/virt-sparsify.pod:236
 msgid ""
 "The calling program should treat messages sent to stdout (except for "
 "progress bar messages) as status messages.  They can be logged and/or "
@@ -25354,7 +25366,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:612
+#: ../resize/virt-resize.pod:618
 msgid ""
 "The calling program should treat messages sent to stderr as error messages.  "
 "In addition, virt-resize exits with a non-zero status code if there was a "
@@ -25362,19 +25374,19 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:618
+#: ../resize/virt-resize.pod:624
 msgid ""
 "Versions of the program prior to 1.13.9 did not support the I<--machine-"
 "readable> option and will return an error."
 msgstr ""
 
 #. type: =head2
-#: ../resize/virt-resize.pod:623
+#: ../resize/virt-resize.pod:629
 msgid "\"Partition 1 does not end on cylinder boundary.\""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:625
+#: ../resize/virt-resize.pod:631
 msgid ""
 "Virt-resize aligns partitions to multiples of 128 sectors (see the I<--"
 "alignment> parameter).  Usually this means the partitions will not be "
@@ -25385,12 +25397,12 @@ msgid ""
 msgstr ""
 
 #. type: =head2
-#: ../resize/virt-resize.pod:632
+#: ../resize/virt-resize.pod:638
 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:634
+#: ../resize/virt-resize.pod:640
 msgid ""
 "In Windows Vista and later versions, Microsoft switched to using a separate "
 "boot partition.  In these VMs, typically C</dev/sda1> is the boot partition "
@@ -25400,7 +25412,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:641
+#: ../resize/virt-resize.pod:647
 msgid ""
 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
 "NTFS partitions have been expanded.  This is just a safety check and (unless "
@@ -25408,19 +25420,19 @@ msgid ""
 msgstr ""
 
 #. type: =head2
-#: ../resize/virt-resize.pod:645
+#: ../resize/virt-resize.pod:651
 msgid "GUEST BOOT STUCK AT \"GRUB\""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:647
+#: ../resize/virt-resize.pod:653
 msgid ""
 "If a Linux guest does not boot after resizing, and the boot is stuck after "
 "printing C<GRUB> on the console, try reinstalling grub."
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:650
+#: ../resize/virt-resize.pod:656
 #, no-wrap
 msgid ""
 " guestfish -i -a newdisk\n"
@@ -25433,26 +25445,26 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:657
+#: ../resize/virt-resize.pod:663
 msgid ""
 "For more flexible guest reconfiguration, including if you need to specify "
 "other parameters to grub-install, use L<virt-rescue(1)>."
 msgstr ""
 
 #. type: =head1
-#: ../resize/virt-resize.pod:660
+#: ../resize/virt-resize.pod:666
 msgid "ALTERNATIVE TOOLS"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:662
+#: ../resize/virt-resize.pod:668
 msgid ""
 "There are several proprietary tools for resizing partitions.  We won't "
 "mention any here."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:665
+#: ../resize/virt-resize.pod:671
 msgid ""
 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
 "operations on disk images.  They can resize and move partitions, but I don't "
@@ -25461,7 +25473,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:670
+#: ../resize/virt-resize.pod:676
 msgid ""
 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
 "but at a much lower level.  You will probably end up hand-calculating sector "
@@ -25471,7 +25483,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:690
+#: ../resize/virt-resize.pod:696
 msgid ""
 "L<virt-filesystems(1)>, L<virt-df(1)>, L<guestfs(3)>, L<guestfish(1)>, L<lvm"
 "(8)>, L<pvresize(8)>, L<lvresize(8)>, L<resize2fs(8)>, L<ntfsresize(8)>, "
@@ -25739,42 +25751,49 @@ msgstr ""
 msgid "For fine-tuning the output format, see: I<--compress>, I<-o>."
 msgstr ""
 
-#. type: =item
+#. type: textblock
 #: ../sparsify/virt-sparsify.pod:133
+msgid ""
+"Debug garbage collection and memory allocation.  This is only useful when "
+"debugging memory problems in virt-sparsify or the OCaml libguestfs bindings."
+msgstr ""
+
+#. type: =item
+#: ../sparsify/virt-sparsify.pod:139
 msgid "B<--format> qcow2"
 msgstr ""
 
 #. type: =item
-#: ../sparsify/virt-sparsify.pod:141
+#: ../sparsify/virt-sparsify.pod:147
 msgid "B<--ignore> filesystem"
 msgstr ""
 
 #. type: =item
-#: ../sparsify/virt-sparsify.pod:143
+#: ../sparsify/virt-sparsify.pod:149
 msgid "B<--ignore> volgroup"
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:145
+#: ../sparsify/virt-sparsify.pod:151
 msgid ""
 "Ignore the named filesystem.  Free space on the filesystem will not be "
 "zeroed, but existing blocks of zeroes will still be sparsified."
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:148
+#: ../sparsify/virt-sparsify.pod:154
 msgid ""
 "In the second form, this ignores the named volume group.  Use the volume "
 "group name without the C</dev/> prefix, eg. I<--ignore vg_foo>"
 msgstr ""
 
 #. type: =item
-#: ../sparsify/virt-sparsify.pod:159
+#: ../sparsify/virt-sparsify.pod:165
 msgid "B<-o> option[,option,...]"
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:161
+#: ../sparsify/virt-sparsify.pod:167
 msgid ""
 "Pass I<-o> option(s) to the L<qemu-img(1)> command to fine-tune the output "
 "format.  Options available depend on the output format (see I<--convert>) "
@@ -25782,14 +25801,14 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:165
+#: ../sparsify/virt-sparsify.pod:171
 msgid ""
 "You should use I<-o> at most once.  To pass multiple options, separate them "
 "with commas, eg:"
 msgstr ""
 
 #. type: verbatim
-#: ../sparsify/virt-sparsify.pod:168
+#: ../sparsify/virt-sparsify.pod:174
 #, no-wrap
 msgid ""
 " virt-sparsify --convert qcow2 \\\n"
@@ -25798,12 +25817,12 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:175
+#: ../sparsify/virt-sparsify.pod:181
 msgid "This disables progress bars and other unnecessary output."
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:197
+#: ../sparsify/virt-sparsify.pod:203
 msgid ""
 "The I<--machine-readable> option can be used to make the output more machine "
 "friendly, which is useful when calling virt-sparsify from other programs, "
@@ -25811,14 +25830,14 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:203
+#: ../sparsify/virt-sparsify.pod:209
 msgid ""
 "Firstly use the option on its own to query the capabilities of the virt-"
 "sparsify binary.  Typical output looks like this:"
 msgstr ""
 
 #. type: verbatim
-#: ../sparsify/virt-sparsify.pod:206
+#: ../sparsify/virt-sparsify.pod:212
 #, no-wrap
 msgid ""
 " $ virt-sparsify --machine-readable\n"
@@ -25829,7 +25848,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:236
+#: ../sparsify/virt-sparsify.pod:242
 msgid ""
 "The calling program should treat messages sent to stderr as error messages.  "
 "In addition, virt-sparsify exits with a non-zero status code if there was a "
@@ -25837,21 +25856,21 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:242
+#: ../sparsify/virt-sparsify.pod:248
 msgid ""
 "All versions of virt-sparsify have supported the I<--machine-readable> "
 "option."
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:256
+#: ../sparsify/virt-sparsify.pod:262
 msgid ""
 "Location of the temporary directory used for the potentially large temporary "
 "overlay file."
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:259
+#: ../sparsify/virt-sparsify.pod:265
 msgid ""
 "You should ensure there is enough free space in the worst case for a full "
 "copy of the source disk (I<virtual> size), or else set C<$TMPDIR> to point "
@@ -25859,18 +25878,18 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:263
+#: ../sparsify/virt-sparsify.pod:269
 msgid "This defaults to C</tmp>."
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:267
+#: ../sparsify/virt-sparsify.pod:273
 msgid ""
 "For other environment variables, see L<guestfs(3)/ENVIRONMENT VARIABLES>."
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:271
+#: ../sparsify/virt-sparsify.pod:277
 msgid ""
 "L<virt-filesystems(1)>, L<virt-df(1)>, L<virt-resize(1)>, L<virt-rescue(1)>, "
 "L<guestfs(3)>, L<guestfish(1)>, L<truncate(1)>, L<fallocate(1)>, L<qemu-img"
diff --git a/po-docs/ja/guestfish.1 b/po-docs/ja/guestfish.1
index cd4ba14..42b2b4f 100644
--- a/po-docs/ja/guestfish.1
+++ b/po-docs/ja/guestfish.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "guestfish 1"
-.TH guestfish 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH guestfish 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/ja/guestfs.3 b/po-docs/ja/guestfs.3
index 3ca2d40..c63aafe 100644
--- a/po-docs/ja/guestfs.3
+++ b/po-docs/ja/guestfs.3
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "guestfs 3"
-.TH guestfs 3 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH guestfs 3 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/ja/guestmount.1 b/po-docs/ja/guestmount.1
index 97768f9..1b12b2a 100644
--- a/po-docs/ja/guestmount.1
+++ b/po-docs/ja/guestmount.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "guestmount 1"
-.TH guestmount 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH guestmount 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/ja/libguestfs-test-tool.1 b/po-docs/ja/libguestfs-test-tool.1
index 3181f30..7961d2f 100644
--- a/po-docs/ja/libguestfs-test-tool.1
+++ b/po-docs/ja/libguestfs-test-tool.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "libguestfs-test-tool 1"
-.TH libguestfs-test-tool 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH libguestfs-test-tool 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/ja/virt-alignment-scan.1 b/po-docs/ja/virt-alignment-scan.1
index a1af6a5..18a3471 100644
--- a/po-docs/ja/virt-alignment-scan.1
+++ b/po-docs/ja/virt-alignment-scan.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-alignment-scan 1"
-.TH virt-alignment-scan 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-alignment-scan 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/ja/virt-cat.1 b/po-docs/ja/virt-cat.1
index 125ab93..3ae4b32 100644
--- a/po-docs/ja/virt-cat.1
+++ b/po-docs/ja/virt-cat.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-cat 1"
-.TH virt-cat 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-cat 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/ja/virt-copy-in.1 b/po-docs/ja/virt-copy-in.1
index 0dd401f..94a289a 100644
--- a/po-docs/ja/virt-copy-in.1
+++ b/po-docs/ja/virt-copy-in.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-copy-in 1"
-.TH virt-copy-in 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-copy-in 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/ja/virt-copy-out.1 b/po-docs/ja/virt-copy-out.1
index 7ee6480..0ce7852 100644
--- a/po-docs/ja/virt-copy-out.1
+++ b/po-docs/ja/virt-copy-out.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-copy-out 1"
-.TH virt-copy-out 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-copy-out 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/ja/virt-df.1 b/po-docs/ja/virt-df.1
index 76b1cf8..7230df9 100644
--- a/po-docs/ja/virt-df.1
+++ b/po-docs/ja/virt-df.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-df 1"
-.TH virt-df 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-df 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/ja/virt-edit.1 b/po-docs/ja/virt-edit.1
index 20476e7..5fbec8c 100644
--- a/po-docs/ja/virt-edit.1
+++ b/po-docs/ja/virt-edit.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-edit 1"
-.TH virt-edit 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-edit 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/ja/virt-filesystems.1 b/po-docs/ja/virt-filesystems.1
index eff0c5b..5145358 100644
--- a/po-docs/ja/virt-filesystems.1
+++ b/po-docs/ja/virt-filesystems.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-filesystems 1"
-.TH virt-filesystems 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-filesystems 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/ja/virt-inspector.1 b/po-docs/ja/virt-inspector.1
index a97e0c4..af467e1 100644
--- a/po-docs/ja/virt-inspector.1
+++ b/po-docs/ja/virt-inspector.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-inspector 1"
-.TH virt-inspector 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-inspector 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/ja/virt-list-filesystems.1 b/po-docs/ja/virt-list-filesystems.1
index ba68443..ecae3ba 100644
--- a/po-docs/ja/virt-list-filesystems.1
+++ b/po-docs/ja/virt-list-filesystems.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-list-filesystems.pl 1"
-.TH virt-list-filesystems.pl 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-list-filesystems.pl 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/ja/virt-list-partitions.1 b/po-docs/ja/virt-list-partitions.1
index b3b1a38..370316d 100644
--- a/po-docs/ja/virt-list-partitions.1
+++ b/po-docs/ja/virt-list-partitions.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-list-partitions.pl 1"
-.TH virt-list-partitions.pl 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-list-partitions.pl 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/ja/virt-ls.1 b/po-docs/ja/virt-ls.1
index c8d3d66..8f55fc6 100644
--- a/po-docs/ja/virt-ls.1
+++ b/po-docs/ja/virt-ls.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-ls 1"
-.TH virt-ls 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-ls 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/ja/virt-make-fs.1 b/po-docs/ja/virt-make-fs.1
index 97e958c..30077da 100644
--- a/po-docs/ja/virt-make-fs.1
+++ b/po-docs/ja/virt-make-fs.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-make-fs.pl 1"
-.TH virt-make-fs.pl 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-make-fs.pl 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/ja/virt-rescue.1 b/po-docs/ja/virt-rescue.1
index af50bcf..2ebb11f 100644
--- a/po-docs/ja/virt-rescue.1
+++ b/po-docs/ja/virt-rescue.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-rescue 1"
-.TH virt-rescue 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-rescue 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/ja/virt-resize.1 b/po-docs/ja/virt-resize.1
index af4ffee..000a709 100644
--- a/po-docs/ja/virt-resize.1
+++ b/po-docs/ja/virt-resize.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-resize 1"
-.TH virt-resize 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-resize 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
@@ -389,6 +389,10 @@ around 2008.
 .IX Item "--debug"
 .PD
 Enable debugging messages.
+.IP "\fB\-\-debug\-gc\fR" 4
+.IX Item "--debug-gc"
+Debug garbage collection and memory allocation.  This is only useful when
+debugging memory problems in virt-resize or the OCaml libguestfs bindings.
 .IP "\fB\-\-delete part\fR" 4
 .IX Item "--delete part"
 Delete the named partition.  It would be more accurate to describe this as
diff --git a/po-docs/ja/virt-resize.pod b/po-docs/ja/virt-resize.pod
index 0d49430..0fda501 100644
--- a/po-docs/ja/virt-resize.pod
+++ b/po-docs/ja/virt-resize.pod
@@ -321,6 +321,11 @@ around 2008.
 
 Enable debugging messages.
 
+=item B<--debug-gc>
+
+Debug garbage collection and memory allocation.  This is only useful when
+debugging memory problems in virt-resize or the OCaml libguestfs bindings.
+
 =item B<--delete part>
 
 Delete the named partition.  It would be more accurate to describe this as
diff --git a/po-docs/ja/virt-sparsify.1 b/po-docs/ja/virt-sparsify.1
index 03b6274..1ec0d85 100644
--- a/po-docs/ja/virt-sparsify.1
+++ b/po-docs/ja/virt-sparsify.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-sparsify 1"
-.TH virt-sparsify 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-sparsify 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
@@ -174,6 +174,10 @@ Specifying the \fI\-\-convert\fR option is usually a good idea, because then
 virt-sparsify doesn't need to try to guess the input format.
 .Sp
 For fine-tuning the output format, see: \fI\-\-compress\fR, \fI\-o\fR.
+.IP "\fB\-\-debug\-gc\fR" 4
+.IX Item "--debug-gc"
+Debug garbage collection and memory allocation.  This is only useful when
+debugging memory problems in virt-sparsify or the OCaml libguestfs bindings.
 .IP "\fB\-\-format\fR raw" 4
 .IX Item "--format raw"
 .PD 0
diff --git a/po-docs/ja/virt-sparsify.pod b/po-docs/ja/virt-sparsify.pod
index 1559599..f6dfb60 100644
--- a/po-docs/ja/virt-sparsify.pod
+++ b/po-docs/ja/virt-sparsify.pod
@@ -124,6 +124,11 @@ virt-sparsify doesn't need to try to guess the input format.
 
 For fine-tuning the output format, see: I<--compress>, I<-o>.
 
+=item B<--debug-gc>
+
+Debug garbage collection and memory allocation.  This is only useful when
+debugging memory problems in virt-sparsify or the OCaml libguestfs bindings.
+
 =item B<--format> raw
 
 =item B<--format> qcow2
diff --git a/po-docs/ja/virt-sysprep.1 b/po-docs/ja/virt-sysprep.1
index 876cee5..ba32481 100644
--- a/po-docs/ja/virt-sysprep.1
+++ b/po-docs/ja/virt-sysprep.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-sysprep 1"
-.TH virt-sysprep 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-sysprep 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/ja/virt-tar-in.1 b/po-docs/ja/virt-tar-in.1
index 8499ec3..4c33303 100644
--- a/po-docs/ja/virt-tar-in.1
+++ b/po-docs/ja/virt-tar-in.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-tar-in 1"
-.TH virt-tar-in 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-tar-in 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/ja/virt-tar-out.1 b/po-docs/ja/virt-tar-out.1
index 8c6a2c7..2edfa51 100644
--- a/po-docs/ja/virt-tar-out.1
+++ b/po-docs/ja/virt-tar-out.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-tar-out 1"
-.TH virt-tar-out 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-tar-out 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/ja/virt-tar.1 b/po-docs/ja/virt-tar.1
index 0cb6178..f460b38 100644
--- a/po-docs/ja/virt-tar.1
+++ b/po-docs/ja/virt-tar.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-tar.pl 1"
-.TH virt-tar.pl 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-tar.pl 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/ja/virt-win-reg.1 b/po-docs/ja/virt-win-reg.1
index 2f9616d..c830f9b 100644
--- a/po-docs/ja/virt-win-reg.1
+++ b/po-docs/ja/virt-win-reg.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-win-reg.pl 1"
-.TH virt-win-reg.pl 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-win-reg.pl 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/libguestfs-docs.pot b/po-docs/libguestfs-docs.pot
index 98fbe59..7ff3451 100644
--- a/po-docs/libguestfs-docs.pot
+++ b/po-docs/libguestfs-docs.pot
@@ -6,9 +6,9 @@
 #, fuzzy
 msgid ""
 msgstr ""
-"Project-Id-Version: libguestfs 1.15.7\n"
+"Project-Id-Version: libguestfs 1.15.8\n"
 "Report-Msgid-Bugs-To: libguestfs at redhat.com\n"
-"POT-Creation-Date: 2011-11-29 14:22+0000\n"
+"POT-Creation-Date: 2011-11-29 21:47+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -350,12 +350,12 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../align/virt-alignment-scan.pod:147 ../resize/virt-resize.pod:491 ../sparsify/virt-sparsify.pod:171
+#: ../align/virt-alignment-scan.pod:147 ../resize/virt-resize.pod:497 ../sparsify/virt-sparsify.pod:177
 msgid "B<-q>"
 msgstr ""
 
 #. type: =item
-#: ../align/virt-alignment-scan.pod:149 ../resize/virt-resize.pod:493 ../sparsify/virt-sparsify.pod:173
+#: ../align/virt-alignment-scan.pod:149 ../resize/virt-resize.pod:499 ../sparsify/virt-sparsify.pod:179
 msgid "B<--quiet>"
 msgstr ""
 
@@ -367,42 +367,42 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../align/virt-alignment-scan.pod:154 ../cat/virt-cat.pod:134 ../cat/virt-filesystems.pod:261 ../cat/virt-ls.pod:425 ../clone/virt-sysprep.pod:138 ../df/virt-df.pod:173 ../edit/virt-edit.pod:161 ../fish/guestfish.pod:390 ../fuse/guestmount.pod:266 ../inspector/virt-inspector.pod:119 ../rescue/virt-rescue.pod:219 ../sparsify/virt-sparsify.pod:177
+#: ../align/virt-alignment-scan.pod:154 ../cat/virt-cat.pod:134 ../cat/virt-filesystems.pod:261 ../cat/virt-ls.pod:425 ../clone/virt-sysprep.pod:138 ../df/virt-df.pod:173 ../edit/virt-edit.pod:161 ../fish/guestfish.pod:390 ../fuse/guestmount.pod:266 ../inspector/virt-inspector.pod:119 ../rescue/virt-rescue.pod:219 ../sparsify/virt-sparsify.pod:183
 msgid "B<-v>"
 msgstr ""
 
 #. type: =item
-#: ../align/virt-alignment-scan.pod:156 ../cat/virt-cat.pod:136 ../cat/virt-filesystems.pod:263 ../cat/virt-ls.pod:427 ../clone/virt-sysprep.pod:140 ../df/virt-df.pod:175 ../edit/virt-edit.pod:163 ../fish/guestfish.pod:392 ../fuse/guestmount.pod:268 ../inspector/virt-inspector.pod:121 ../rescue/virt-rescue.pod:221 ../sparsify/virt-sparsify.pod:179
+#: ../align/virt-alignment-scan.pod:156 ../cat/virt-cat.pod:136 ../cat/virt-filesystems.pod:263 ../cat/virt-ls.pod:427 ../clone/virt-sysprep.pod:140 ../df/virt-df.pod:175 ../edit/virt-edit.pod:163 ../fish/guestfish.pod:392 ../fuse/guestmount.pod:268 ../inspector/virt-inspector.pod:121 ../rescue/virt-rescue.pod:221 ../sparsify/virt-sparsify.pod:185
 msgid "B<--verbose>"
 msgstr ""
 
 #. type: textblock
-#: ../align/virt-alignment-scan.pod:158 ../cat/virt-cat.pod:138 ../cat/virt-filesystems.pod:265 ../cat/virt-ls.pod:429 ../clone/virt-sysprep.pod:142 ../df/virt-df.pod:177 ../edit/virt-edit.pod:165 ../inspector/virt-inspector.pod:123 ../rescue/virt-rescue.pod:223 ../sparsify/virt-sparsify.pod:181
+#: ../align/virt-alignment-scan.pod:158 ../cat/virt-cat.pod:138 ../cat/virt-filesystems.pod:265 ../cat/virt-ls.pod:429 ../clone/virt-sysprep.pod:142 ../df/virt-df.pod:177 ../edit/virt-edit.pod:165 ../inspector/virt-inspector.pod:123 ../rescue/virt-rescue.pod:223 ../sparsify/virt-sparsify.pod:187
 msgid "Enable verbose messages for debugging."
 msgstr ""
 
 #. type: =item
-#: ../align/virt-alignment-scan.pod:160 ../cat/virt-cat.pod:140 ../cat/virt-filesystems.pod:267 ../cat/virt-ls.pod:431 ../clone/virt-sysprep.pod:144 ../df/virt-df.pod:179 ../edit/virt-edit.pod:167 ../fish/guestfish.pod:397 ../fuse/guestmount.pod:272 ../inspector/virt-inspector.pod:125 ../rescue/virt-rescue.pod:225 ../resize/virt-resize.pod:561 ../sparsify/virt-sparsify.pod:183
+#: ../align/virt-alignment-scan.pod:160 ../cat/virt-cat.pod:140 ../cat/virt-filesystems.pod:267 ../cat/virt-ls.pod:431 ../clone/virt-sysprep.pod:144 ../df/virt-df.pod:179 ../edit/virt-edit.pod:167 ../fish/guestfish.pod:397 ../fuse/guestmount.pod:272 ../inspector/virt-inspector.pod:125 ../rescue/virt-rescue.pod:225 ../resize/virt-resize.pod:567 ../sparsify/virt-sparsify.pod:189
 msgid "B<-V>"
 msgstr ""
 
 #. type: =item
-#: ../align/virt-alignment-scan.pod:162 ../cat/virt-cat.pod:142 ../cat/virt-filesystems.pod:269 ../cat/virt-ls.pod:433 ../clone/virt-sysprep.pod:146 ../df/virt-df.pod:181 ../edit/virt-edit.pod:169 ../fish/guestfish.pod:399 ../fuse/guestmount.pod:274 ../inspector/virt-inspector.pod:127 ../rescue/virt-rescue.pod:227 ../resize/virt-resize.pod:563 ../sparsify/virt-sparsify.pod:185 ../tools/virt-list-filesystems.pl:69 ../tools/virt-list-partitions.pl:70 ../tools/virt-make-fs.pl:169 ../tools/v [...]
+#: ../align/virt-alignment-scan.pod:162 ../cat/virt-cat.pod:142 ../cat/virt-filesystems.pod:269 ../cat/virt-ls.pod:433 ../clone/virt-sysprep.pod:146 ../df/virt-df.pod:181 ../edit/virt-edit.pod:169 ../fish/guestfish.pod:399 ../fuse/guestmount.pod:274 ../inspector/virt-inspector.pod:127 ../rescue/virt-rescue.pod:227 ../resize/virt-resize.pod:569 ../sparsify/virt-sparsify.pod:191 ../tools/virt-list-filesystems.pl:69 ../tools/virt-list-partitions.pl:70 ../tools/virt-make-fs.pl:169 ../tools/v [...]
 msgid "B<--version>"
 msgstr ""
 
 #. type: textblock
-#: ../align/virt-alignment-scan.pod:164 ../cat/virt-cat.pod:144 ../cat/virt-filesystems.pod:271 ../cat/virt-ls.pod:435 ../clone/virt-sysprep.pod:148 ../df/virt-df.pod:183 ../edit/virt-edit.pod:171 ../inspector/virt-inspector.pod:129 ../rescue/virt-rescue.pod:229 ../resize/virt-resize.pod:565 ../sparsify/virt-sparsify.pod:187 ../tools/virt-list-filesystems.pl:71 ../tools/virt-list-partitions.pl:72 ../tools/virt-make-fs.pl:171 ../tools/virt-tar.pl:121 ../tools/virt-win-reg.pl:114
+#: ../align/virt-alignment-scan.pod:164 ../cat/virt-cat.pod:144 ../cat/virt-filesystems.pod:271 ../cat/virt-ls.pod:435 ../clone/virt-sysprep.pod:148 ../df/virt-df.pod:183 ../edit/virt-edit.pod:171 ../inspector/virt-inspector.pod:129 ../rescue/virt-rescue.pod:229 ../resize/virt-resize.pod:571 ../sparsify/virt-sparsify.pod:193 ../tools/virt-list-filesystems.pl:71 ../tools/virt-list-partitions.pl:72 ../tools/virt-make-fs.pl:171 ../tools/virt-tar.pl:121 ../tools/virt-win-reg.pl:114
 msgid "Display version number and exit."
 msgstr ""
 
 #. type: =item
-#: ../align/virt-alignment-scan.pod:166 ../cat/virt-cat.pod:146 ../cat/virt-filesystems.pod:281 ../cat/virt-ls.pod:437 ../clone/virt-sysprep.pod:150 ../df/virt-df.pod:185 ../edit/virt-edit.pod:173 ../fish/guestfish.pod:412 ../fuse/guestmount.pod:287 ../inspector/virt-inspector.pod:131 ../rescue/virt-rescue.pod:240 ../sparsify/virt-sparsify.pod:189 ../tools/virt-tar.pl:158
+#: ../align/virt-alignment-scan.pod:166 ../cat/virt-cat.pod:146 ../cat/virt-filesystems.pod:281 ../cat/virt-ls.pod:437 ../clone/virt-sysprep.pod:150 ../df/virt-df.pod:185 ../edit/virt-edit.pod:173 ../fish/guestfish.pod:412 ../fuse/guestmount.pod:287 ../inspector/virt-inspector.pod:131 ../rescue/virt-rescue.pod:240 ../sparsify/virt-sparsify.pod:195 ../tools/virt-tar.pl:158
 msgid "B<-x>"
 msgstr ""
 
 #. type: textblock
-#: ../align/virt-alignment-scan.pod:168 ../cat/virt-cat.pod:148 ../cat/virt-filesystems.pod:283 ../cat/virt-ls.pod:439 ../clone/virt-sysprep.pod:152 ../df/virt-df.pod:187 ../edit/virt-edit.pod:175 ../inspector/virt-inspector.pod:133 ../rescue/virt-rescue.pod:242 ../sparsify/virt-sparsify.pod:191
+#: ../align/virt-alignment-scan.pod:168 ../cat/virt-cat.pod:148 ../cat/virt-filesystems.pod:283 ../cat/virt-ls.pod:439 ../clone/virt-sysprep.pod:152 ../df/virt-df.pod:187 ../edit/virt-edit.pod:175 ../inspector/virt-inspector.pod:133 ../rescue/virt-rescue.pod:242 ../sparsify/virt-sparsify.pod:197
 msgid "Enable tracing of libguestfs API calls."
 msgstr ""
 
@@ -673,12 +673,12 @@ msgid ""
 msgstr ""
 
 #. type: =head1
-#: ../align/virt-alignment-scan.pod:311 ../cat/virt-cat.pod:231 ../cat/virt-filesystems.pod:373 ../cat/virt-ls.pod:483 ../clone/virt-sysprep.pod:475 ../df/virt-df.pod:241 ../edit/virt-edit.pod:342 ../inspector/virt-inspector.pod:367 ../rescue/virt-rescue.pod:303 ../resize/virt-resize.pod:676 ../tools/virt-list-filesystems.pl:188 ../tools/virt-list-partitions.pl:258 ../tools/virt-make-fs.pl:550 ../tools/virt-tar.pl:289 ../tools/virt-win-reg.pl:744
+#: ../align/virt-alignment-scan.pod:311 ../cat/virt-cat.pod:231 ../cat/virt-filesystems.pod:373 ../cat/virt-ls.pod:483 ../clone/virt-sysprep.pod:475 ../df/virt-df.pod:241 ../edit/virt-edit.pod:342 ../inspector/virt-inspector.pod:367 ../rescue/virt-rescue.pod:303 ../resize/virt-resize.pod:682 ../tools/virt-list-filesystems.pl:188 ../tools/virt-list-partitions.pl:258 ../tools/virt-make-fs.pl:550 ../tools/virt-tar.pl:289 ../tools/virt-win-reg.pl:744
 msgid "SHELL QUOTING"
 msgstr ""
 
 #. type: textblock
-#: ../align/virt-alignment-scan.pod:313 ../cat/virt-cat.pod:233 ../cat/virt-filesystems.pod:375 ../cat/virt-ls.pod:485 ../clone/virt-sysprep.pod:477 ../df/virt-df.pod:243 ../edit/virt-edit.pod:344 ../inspector/virt-inspector.pod:369 ../rescue/virt-rescue.pod:305 ../resize/virt-resize.pod:678 ../tools/virt-list-filesystems.pl:190 ../tools/virt-list-partitions.pl:260 ../tools/virt-make-fs.pl:552 ../tools/virt-tar.pl:291 ../tools/virt-win-reg.pl:752
+#: ../align/virt-alignment-scan.pod:313 ../cat/virt-cat.pod:233 ../cat/virt-filesystems.pod:375 ../cat/virt-ls.pod:485 ../clone/virt-sysprep.pod:477 ../df/virt-df.pod:243 ../edit/virt-edit.pod:344 ../inspector/virt-inspector.pod:369 ../rescue/virt-rescue.pod:305 ../resize/virt-resize.pod:684 ../tools/virt-list-filesystems.pl:190 ../tools/virt-list-partitions.pl:260 ../tools/virt-make-fs.pl:552 ../tools/virt-tar.pl:291 ../tools/virt-win-reg.pl:752
 msgid ""
 "Libvirt guest names can contain arbitrary characters, some of which have "
 "meaning to the shell such as C<#> and space.  You may need to quote or "
@@ -687,7 +687,7 @@ msgid ""
 msgstr ""
 
 #. type: =head1
-#: ../align/virt-alignment-scan.pod:318 ../cat/virt-cat.pod:238 ../cat/virt-filesystems.pod:380 ../cat/virt-ls.pod:490 ../clone/virt-sysprep.pod:482 ../df/virt-df.pod:248 ../edit/virt-edit.pod:349 ../fish/guestfish.pod:1114 ../fuse/guestmount.pod:312 ../inspector/virt-inspector.pod:390 ../resize/virt-resize.pod:683 ../sparsify/virt-sparsify.pod:245 ../test-tool/libguestfs-test-tool.pod:90
+#: ../align/virt-alignment-scan.pod:318 ../cat/virt-cat.pod:238 ../cat/virt-filesystems.pod:380 ../cat/virt-ls.pod:490 ../clone/virt-sysprep.pod:482 ../df/virt-df.pod:248 ../edit/virt-edit.pod:349 ../fish/guestfish.pod:1114 ../fuse/guestmount.pod:312 ../inspector/virt-inspector.pod:390 ../resize/virt-resize.pod:689 ../sparsify/virt-sparsify.pod:251 ../test-tool/libguestfs-test-tool.pod:90
 msgid "EXIT STATUS"
 msgstr ""
 
@@ -697,7 +697,7 @@ msgid "This program returns:"
 msgstr ""
 
 #. type: =item
-#: ../align/virt-alignment-scan.pod:324 ../align/virt-alignment-scan.pod:330 ../align/virt-alignment-scan.pod:336 ../align/virt-alignment-scan.pod:343 ../cat/virt-cat.pod:177 ../cat/virt-cat.pod:182 ../cat/virt-cat.pod:187 ../cat/virt-cat.pod:198 ../cat/virt-cat.pod:202 ../clone/virt-sysprep.pod:283 ../clone/virt-sysprep.pod:287 ../clone/virt-sysprep.pod:291 ../clone/virt-sysprep.pod:295 ../clone/virt-sysprep.pod:310 ../clone/virt-sysprep.pod:314 ../clone/virt-sysprep.pod:318 ../clone/vi [...]
+#: ../align/virt-alignment-scan.pod:324 ../align/virt-alignment-scan.pod:330 ../align/virt-alignment-scan.pod:336 ../align/virt-alignment-scan.pod:343 ../cat/virt-cat.pod:177 ../cat/virt-cat.pod:182 ../cat/virt-cat.pod:187 ../cat/virt-cat.pod:198 ../cat/virt-cat.pod:202 ../clone/virt-sysprep.pod:283 ../clone/virt-sysprep.pod:287 ../clone/virt-sysprep.pod:291 ../clone/virt-sysprep.pod:295 ../clone/virt-sysprep.pod:310 ../clone/virt-sysprep.pod:314 ../clone/virt-sysprep.pod:318 ../clone/vi [...]
 msgid "*"
 msgstr ""
 
@@ -746,7 +746,7 @@ msgid ""
 msgstr ""
 
 #. type: =head1
-#: ../align/virt-alignment-scan.pod:352 ../cat/virt-cat.pod:243 ../cat/virt-filesystems.pod:385 ../cat/virt-ls.pod:495 ../clone/virt-sysprep.pod:486 ../df/virt-df.pod:253 ../edit/virt-edit.pod:354 ../erlang/examples/guestfs-erlang.pod:97 ../examples/guestfs-examples.pod:33 ../examples/guestfs-recipes.pod:384 ../examples/guestfs-testing.pod:291 ../fish/guestfish.pod:1268 ../fish/virt-copy-in.pod:50 ../fish/virt-copy-out.pod:39 ../fish/virt-tar-in.pod:47 ../fish/virt-tar-out.pod:41 ../fuse [...]
+#: ../align/virt-alignment-scan.pod:352 ../cat/virt-cat.pod:243 ../cat/virt-filesystems.pod:385 ../cat/virt-ls.pod:495 ../clone/virt-sysprep.pod:486 ../df/virt-df.pod:253 ../edit/virt-edit.pod:354 ../erlang/examples/guestfs-erlang.pod:97 ../examples/guestfs-examples.pod:33 ../examples/guestfs-recipes.pod:384 ../examples/guestfs-testing.pod:291 ../fish/guestfish.pod:1268 ../fish/virt-copy-in.pod:50 ../fish/virt-copy-out.pod:39 ../fish/virt-tar-in.pod:47 ../fish/virt-tar-out.pod:41 ../fuse [...]
 msgid "SEE ALSO"
 msgstr ""
 
@@ -758,27 +758,27 @@ msgid ""
 msgstr ""
 
 #. type: =head1
-#: ../align/virt-alignment-scan.pod:361 ../cat/virt-cat.pod:252 ../cat/virt-filesystems.pod:396 ../cat/virt-ls.pod:507 ../clone/virt-sysprep.pod:501 ../df/virt-df.pod:261 ../edit/virt-edit.pod:368 ../rescue/virt-rescue.pod:334 ../resize/virt-resize.pod:711 ../sparsify/virt-sparsify.pod:282 ../tools/virt-list-filesystems.pl:208 ../tools/virt-list-partitions.pl:277 ../tools/virt-make-fs.pl:582 ../tools/virt-tar.pl:311 ../tools/virt-win-reg.pl:783
+#: ../align/virt-alignment-scan.pod:361 ../cat/virt-cat.pod:252 ../cat/virt-filesystems.pod:396 ../cat/virt-ls.pod:507 ../clone/virt-sysprep.pod:501 ../df/virt-df.pod:261 ../edit/virt-edit.pod:368 ../rescue/virt-rescue.pod:334 ../resize/virt-resize.pod:717 ../sparsify/virt-sparsify.pod:288 ../tools/virt-list-filesystems.pl:208 ../tools/virt-list-partitions.pl:277 ../tools/virt-make-fs.pl:582 ../tools/virt-tar.pl:311 ../tools/virt-win-reg.pl:783
 msgid "AUTHOR"
 msgstr ""
 
 #. type: textblock
-#: ../align/virt-alignment-scan.pod:363 ../cat/virt-cat.pod:254 ../cat/virt-filesystems.pod:398 ../cat/virt-ls.pod:509 ../clone/virt-sysprep.pod:503 ../df/virt-df.pod:263 ../edit/virt-edit.pod:370 ../inspector/virt-inspector.pod:410 ../rescue/virt-rescue.pod:336 ../resize/virt-resize.pod:713 ../sparsify/virt-sparsify.pod:284 ../tools/virt-list-filesystems.pl:210 ../tools/virt-list-partitions.pl:279 ../tools/virt-make-fs.pl:584 ../tools/virt-tar.pl:313 ../tools/virt-win-reg.pl:785
+#: ../align/virt-alignment-scan.pod:363 ../cat/virt-cat.pod:254 ../cat/virt-filesystems.pod:398 ../cat/virt-ls.pod:509 ../clone/virt-sysprep.pod:503 ../df/virt-df.pod:263 ../edit/virt-edit.pod:370 ../inspector/virt-inspector.pod:410 ../rescue/virt-rescue.pod:336 ../resize/virt-resize.pod:719 ../sparsify/virt-sparsify.pod:290 ../tools/virt-list-filesystems.pl:210 ../tools/virt-list-partitions.pl:279 ../tools/virt-make-fs.pl:584 ../tools/virt-tar.pl:313 ../tools/virt-win-reg.pl:785
 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
 msgstr ""
 
 #. type: =head1
-#: ../align/virt-alignment-scan.pod:365 ../cat/virt-cat.pod:256 ../cat/virt-filesystems.pod:400 ../cat/virt-ls.pod:511 ../clone/virt-sysprep.pod:505 ../df/virt-df.pod:265 ../edit/virt-edit.pod:372 ../erlang/examples/guestfs-erlang.pod:114 ../examples/guestfs-examples.pod:49 ../examples/guestfs-recipes.pod:401 ../examples/guestfs-testing.pod:302 ../fish/guestfish.pod:1300 ../fish/virt-copy-in.pod:64 ../fish/virt-copy-out.pod:53 ../fish/virt-tar-in.pod:62 ../fish/virt-tar-out.pod:55 ../fus [...]
+#: ../align/virt-alignment-scan.pod:365 ../cat/virt-cat.pod:256 ../cat/virt-filesystems.pod:400 ../cat/virt-ls.pod:511 ../clone/virt-sysprep.pod:505 ../df/virt-df.pod:265 ../edit/virt-edit.pod:372 ../erlang/examples/guestfs-erlang.pod:114 ../examples/guestfs-examples.pod:49 ../examples/guestfs-recipes.pod:401 ../examples/guestfs-testing.pod:302 ../fish/guestfish.pod:1300 ../fish/virt-copy-in.pod:64 ../fish/virt-copy-out.pod:53 ../fish/virt-tar-in.pod:62 ../fish/virt-tar-out.pod:55 ../fus [...]
 msgid "COPYRIGHT"
 msgstr ""
 
 #. type: textblock
-#: ../align/virt-alignment-scan.pod:367 ../clone/virt-sysprep.pod:507 ../sparsify/virt-sparsify.pod:288
+#: ../align/virt-alignment-scan.pod:367 ../clone/virt-sysprep.pod:507 ../sparsify/virt-sparsify.pod:294
 msgid "Copyright (C) 2011 Red Hat Inc."
 msgstr ""
 
 #. type: textblock
-#: ../align/virt-alignment-scan.pod:369 ../cat/virt-cat.pod:260 ../cat/virt-filesystems.pod:404 ../cat/virt-ls.pod:515 ../clone/virt-sysprep.pod:509 ../df/virt-df.pod:269 ../edit/virt-edit.pod:376 ../fish/guestfish.pod:1305 ../fish/virt-copy-in.pod:69 ../fish/virt-copy-out.pod:58 ../fish/virt-tar-in.pod:67 ../fish/virt-tar-out.pod:60 ../fuse/guestmount.pod:337 ../inspector/virt-inspector.pod:422 ../rescue/virt-rescue.pod:342 ../resize/virt-resize.pod:719 ../sparsify/virt-sparsify.pod:290 [...]
+#: ../align/virt-alignment-scan.pod:369 ../cat/virt-cat.pod:260 ../cat/virt-filesystems.pod:404 ../cat/virt-ls.pod:515 ../clone/virt-sysprep.pod:509 ../df/virt-df.pod:269 ../edit/virt-edit.pod:376 ../fish/guestfish.pod:1305 ../fish/virt-copy-in.pod:69 ../fish/virt-copy-out.pod:58 ../fish/virt-tar-in.pod:67 ../fish/virt-tar-out.pod:60 ../fuse/guestmount.pod:337 ../inspector/virt-inspector.pod:422 ../rescue/virt-rescue.pod:342 ../resize/virt-resize.pod:725 ../sparsify/virt-sparsify.pod:296 [...]
 msgid ""
 "This program is free software; you can redistribute it and/or modify it "
 "under the terms of the GNU General Public License as published by the Free "
@@ -787,7 +787,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../align/virt-alignment-scan.pod:374 ../cat/virt-cat.pod:265 ../cat/virt-filesystems.pod:409 ../cat/virt-ls.pod:520 ../clone/virt-sysprep.pod:514 ../df/virt-df.pod:274 ../edit/virt-edit.pod:381 ../fish/guestfish.pod:1310 ../fish/virt-copy-in.pod:74 ../fish/virt-copy-out.pod:63 ../fish/virt-tar-in.pod:72 ../fish/virt-tar-out.pod:65 ../fuse/guestmount.pod:342 ../inspector/virt-inspector.pod:427 ../rescue/virt-rescue.pod:347 ../resize/virt-resize.pod:724 ../sparsify/virt-sparsify.pod:295 [...]
+#: ../align/virt-alignment-scan.pod:374 ../cat/virt-cat.pod:265 ../cat/virt-filesystems.pod:409 ../cat/virt-ls.pod:520 ../clone/virt-sysprep.pod:514 ../df/virt-df.pod:274 ../edit/virt-edit.pod:381 ../fish/guestfish.pod:1310 ../fish/virt-copy-in.pod:74 ../fish/virt-copy-out.pod:63 ../fish/virt-tar-in.pod:72 ../fish/virt-tar-out.pod:65 ../fuse/guestmount.pod:342 ../inspector/virt-inspector.pod:427 ../rescue/virt-rescue.pod:347 ../resize/virt-resize.pod:730 ../sparsify/virt-sparsify.pod:301 [...]
 msgid ""
 "This program is distributed in the hope that it will be useful, but WITHOUT "
 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
@@ -796,7 +796,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../align/virt-alignment-scan.pod:379 ../cat/virt-cat.pod:270 ../cat/virt-filesystems.pod:414 ../cat/virt-ls.pod:525 ../clone/virt-sysprep.pod:519 ../df/virt-df.pod:279 ../edit/virt-edit.pod:386 ../fish/guestfish.pod:1315 ../fish/virt-copy-in.pod:79 ../fish/virt-copy-out.pod:68 ../fish/virt-tar-in.pod:77 ../fish/virt-tar-out.pod:70 ../fuse/guestmount.pod:347 ../inspector/virt-inspector.pod:432 ../rescue/virt-rescue.pod:352 ../resize/virt-resize.pod:729 ../sparsify/virt-sparsify.pod:300 [...]
+#: ../align/virt-alignment-scan.pod:379 ../cat/virt-cat.pod:270 ../cat/virt-filesystems.pod:414 ../cat/virt-ls.pod:525 ../clone/virt-sysprep.pod:519 ../df/virt-df.pod:279 ../edit/virt-edit.pod:386 ../fish/guestfish.pod:1315 ../fish/virt-copy-in.pod:79 ../fish/virt-copy-out.pod:68 ../fish/virt-tar-in.pod:77 ../fish/virt-tar-out.pod:70 ../fuse/guestmount.pod:347 ../inspector/virt-inspector.pod:432 ../rescue/virt-rescue.pod:352 ../resize/virt-resize.pod:735 ../sparsify/virt-sparsify.pod:306 [...]
 msgid ""
 "You should have received a copy of the GNU General Public License along with "
 "this program; if not, write to the Free Software Foundation, Inc., 51 "
@@ -1157,7 +1157,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../cat/virt-cat.pod:240 ../cat/virt-filesystems.pod:382 ../cat/virt-ls.pod:492 ../df/virt-df.pod:250 ../edit/virt-edit.pod:351 ../fuse/guestmount.pod:314 ../inspector/virt-inspector.pod:392 ../resize/virt-resize.pod:685 ../sparsify/virt-sparsify.pod:247
+#: ../cat/virt-cat.pod:240 ../cat/virt-filesystems.pod:382 ../cat/virt-ls.pod:492 ../df/virt-df.pod:250 ../edit/virt-edit.pod:351 ../fuse/guestmount.pod:314 ../inspector/virt-inspector.pod:392 ../resize/virt-resize.pod:691 ../sparsify/virt-sparsify.pod:253
 msgid "This program returns 0 if successful, or non-zero if there was an error."
 msgstr ""
 
@@ -1169,7 +1169,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../cat/virt-cat.pod:258 ../inspector/virt-inspector.pod:420 ../resize/virt-resize.pod:717 ../tools/virt-make-fs.pl:588
+#: ../cat/virt-cat.pod:258 ../inspector/virt-inspector.pod:420 ../resize/virt-resize.pod:723 ../tools/virt-make-fs.pl:588
 msgid "Copyright (C) 2010-2011 Red Hat Inc."
 msgstr ""
 
@@ -4149,7 +4149,7 @@ msgid ""
 msgstr ""
 
 #. type: =head1
-#: ../edit/virt-edit.pod:329 ../fish/guestfish.pod:1119 ../rescue/virt-rescue.pod:298 ../sparsify/virt-sparsify.pod:250 ../src/guestfs.pod:3214 ../test-tool/libguestfs-test-tool.pod:95
+#: ../edit/virt-edit.pod:329 ../fish/guestfish.pod:1119 ../rescue/virt-rescue.pod:298 ../sparsify/virt-sparsify.pod:256 ../src/guestfs.pod:3214 ../test-tool/libguestfs-test-tool.pod:95
 msgid "ENVIRONMENT VARIABLES"
 msgstr ""
 
@@ -19222,7 +19222,7 @@ msgid "Using this flag is equivalent to using the C<mount-options> command."
 msgstr ""
 
 #. type: =item
-#: ../fish/guestfish.pod:335 ../fuse/guestmount.pod:202 ../resize/virt-resize.pod:435
+#: ../fish/guestfish.pod:335 ../fuse/guestmount.pod:202 ../resize/virt-resize.pod:441
 msgid "B<-n>"
 msgstr ""
 
@@ -21131,7 +21131,7 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../fish/guestfish.pod:1196 ../sparsify/virt-sparsify.pod:254 ../src/guestfs.pod:3262
+#: ../fish/guestfish.pod:1196 ../sparsify/virt-sparsify.pod:260 ../src/guestfs.pod:3262
 msgid "TMPDIR"
 msgstr ""
 
@@ -21766,7 +21766,7 @@ msgid ""
 msgstr ""
 
 #. type: =head1
-#: ../fuse/guestmount.pod:73 ../rescue/virt-rescue.pod:96 ../resize/virt-resize.pod:621
+#: ../fuse/guestmount.pod:73 ../rescue/virt-rescue.pod:96 ../resize/virt-resize.pod:627
 msgid "NOTES"
 msgstr ""
 
@@ -22169,7 +22169,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../inspector/virt-inspector.pod:111 ../resize/virt-resize.pod:391 ../resize/virt-resize.pod:483 ../sparsify/virt-sparsify.pod:138 ../tools/virt-list-filesystems.pl:101 ../tools/virt-list-partitions.pl:102 ../tools/virt-tar.pl:151 ../tools/virt-win-reg.pl:152
+#: ../inspector/virt-inspector.pod:111 ../resize/virt-resize.pod:397 ../resize/virt-resize.pod:489 ../sparsify/virt-sparsify.pod:144 ../tools/virt-list-filesystems.pl:101 ../tools/virt-list-partitions.pl:102 ../tools/virt-tar.pl:151 ../tools/virt-win-reg.pl:152
 msgid ""
 "If working with untrusted raw-format guest disk images, you should ensure "
 "the format is always specified."
@@ -23446,7 +23446,7 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:31 ../resize/virt-resize.pod:597 ../sparsify/virt-sparsify.pod:221 ../src/guestfs.pod:484 ../src/guestfs.pod:1302 ../src/guestfs.pod:1441 ../src/guestfs.pod:2690
+#: ../resize/virt-resize.pod:31 ../resize/virt-resize.pod:603 ../sparsify/virt-sparsify.pod:227 ../src/guestfs.pod:484 ../src/guestfs.pod:1302 ../src/guestfs.pod:1441 ../src/guestfs.pod:2690
 msgid "1."
 msgstr ""
 
@@ -23484,7 +23484,7 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:44 ../resize/virt-resize.pod:604 ../sparsify/virt-sparsify.pod:228 ../src/guestfs.pod:490 ../src/guestfs.pod:1306 ../src/guestfs.pod:1445 ../src/guestfs.pod:2715
+#: ../resize/virt-resize.pod:44 ../resize/virt-resize.pod:610 ../sparsify/virt-sparsify.pod:234 ../src/guestfs.pod:490 ../src/guestfs.pod:1306 ../src/guestfs.pod:1445 ../src/guestfs.pod:2715
 msgid "2."
 msgstr ""
 
@@ -23505,7 +23505,7 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:52 ../resize/virt-resize.pod:610 ../sparsify/virt-sparsify.pod:234 ../src/guestfs.pod:501 ../src/guestfs.pod:1451
+#: ../resize/virt-resize.pod:52 ../resize/virt-resize.pod:616 ../sparsify/virt-sparsify.pod:240 ../src/guestfs.pod:501 ../src/guestfs.pod:1451
 msgid "3."
 msgstr ""
 
@@ -24109,20 +24109,32 @@ msgid "Enable debugging messages."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:332
-msgid "B<--delete part>"
+#: ../resize/virt-resize.pod:332 ../sparsify/virt-sparsify.pod:131
+msgid "B<--debug-gc>"
 msgstr ""
 
 #. type: textblock
 #: ../resize/virt-resize.pod:334
 msgid ""
+"Debug garbage collection and memory allocation.  This is only useful when "
+"debugging memory problems in virt-resize or the OCaml libguestfs bindings."
+msgstr ""
+
+#. type: =item
+#: ../resize/virt-resize.pod:338
+msgid "B<--delete part>"
+msgstr ""
+
+#. type: textblock
+#: ../resize/virt-resize.pod:340
+msgid ""
 "Delete the named partition.  It would be more accurate to describe this as "
 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
 "the original disk image is left intact."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:338
+#: ../resize/virt-resize.pod:344
 msgid ""
 "Note that when you delete a partition, then anything contained in the "
 "partition is also deleted.  Furthermore, this causes any partitions that "
@@ -24130,24 +24142,24 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:343 ../resize/virt-resize.pod:404 ../resize/virt-resize.pod:531 ../sparsify/virt-sparsify.pod:151
+#: ../resize/virt-resize.pod:349 ../resize/virt-resize.pod:410 ../resize/virt-resize.pod:537 ../sparsify/virt-sparsify.pod:157
 msgid "You can give this option multiple times."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:345
+#: ../resize/virt-resize.pod:351
 msgid "B<--expand part>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:347
+#: ../resize/virt-resize.pod:353
 msgid ""
 "Expand the named partition so it uses up all extra space (space left over "
 "after any other resize changes that you request have been done)."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:350
+#: ../resize/virt-resize.pod:356
 msgid ""
 "If virt-resize knows how, it will expand the direct content of the "
 "partition.  For example, if the partition is an LVM PV, it will expand the "
@@ -24156,22 +24168,22 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:355
+#: ../resize/virt-resize.pod:361
 msgid "Currently virt-resize can resize:"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:361
+#: ../resize/virt-resize.pod:367
 msgid "ext2, ext3 and ext4 filesystems."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:365
+#: ../resize/virt-resize.pod:371
 msgid "NTFS filesystems, if libguestfs was compiled with support for NTFS."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:367
+#: ../resize/virt-resize.pod:373
 msgid ""
 "The filesystem must have been shut down consistently last time it was used.  "
 "Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
@@ -24180,7 +24192,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:374
+#: ../resize/virt-resize.pod:380
 msgid ""
 "LVM PVs (physical volumes).  virt-resize does not usually resize anything "
 "inside the PV, but see the I<--LV-expand> option.  The user could also "
@@ -24188,41 +24200,41 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:380
+#: ../resize/virt-resize.pod:386
 msgid "Btrfs filesystems, if libguestfs was compiled with support for btrfs."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:384 ../resize/virt-resize.pod:559
+#: ../resize/virt-resize.pod:390 ../resize/virt-resize.pod:565
 msgid "Note that you cannot use I<--expand> and I<--shrink> together."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:386 ../sparsify/virt-sparsify.pod:131 ../tools/virt-list-filesystems.pl:91 ../tools/virt-list-partitions.pl:92 ../tools/virt-tar.pl:141 ../tools/virt-win-reg.pl:142
+#: ../resize/virt-resize.pod:392 ../sparsify/virt-sparsify.pod:137 ../tools/virt-list-filesystems.pl:91 ../tools/virt-list-partitions.pl:92 ../tools/virt-tar.pl:141 ../tools/virt-win-reg.pl:142
 msgid "B<--format> raw"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:388 ../sparsify/virt-sparsify.pod:135
+#: ../resize/virt-resize.pod:394 ../sparsify/virt-sparsify.pod:141
 msgid ""
 "Specify the format of the input disk image.  If this flag is not given then "
 "it is auto-detected from the image itself."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:394
+#: ../resize/virt-resize.pod:400
 msgid ""
 "Note that this option I<does not> affect the output format.  See L</QCOW2 "
 "AND NON-SPARSE RAW FORMATS>."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:397
+#: ../resize/virt-resize.pod:403
 msgid "B<--ignore part>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:399
+#: ../resize/virt-resize.pod:405
 msgid ""
 "Ignore the named partition.  Effectively this means the partition is "
 "allocated on the destination disk, but the content is not copied across from "
@@ -24231,12 +24243,12 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:406
+#: ../resize/virt-resize.pod:412
 msgid "B<--LV-expand logvol>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:408
+#: ../resize/virt-resize.pod:414
 msgid ""
 "This takes the logical volume and, as a final step, expands it to fill all "
 "the space available in its volume group.  A typical usage, assuming a Linux "
@@ -24245,7 +24257,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:413
+#: ../resize/virt-resize.pod:419
 #, no-wrap
 msgid ""
 " virt-resize indisk outdisk \\\n"
@@ -24254,14 +24266,14 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:416
+#: ../resize/virt-resize.pod:422
 msgid ""
 "This would first expand the partition (and PV), and then expand the root "
 "device to fill the extra space in the PV."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:419
+#: ../resize/virt-resize.pod:425
 msgid ""
 "The contents of the LV are also resized if virt-resize knows how to do "
 "that.  You can stop virt-resize from trying to expand the content by using "
@@ -24269,12 +24281,12 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:423
+#: ../resize/virt-resize.pod:429
 msgid "Use L<virt-filesystems(1)> to list the filesystems in the guest."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:425
+#: ../resize/virt-resize.pod:431
 msgid ""
 "You can give this option multiple times, I<but> it doesn't make sense to do "
 "this unless the logical volumes you specify are all in different volume "
@@ -24282,34 +24294,34 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:429 ../sparsify/virt-sparsify.pod:153
+#: ../resize/virt-resize.pod:435 ../sparsify/virt-sparsify.pod:159
 msgid "B<--machine-readable>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:431 ../sparsify/virt-sparsify.pod:155
+#: ../resize/virt-resize.pod:437 ../sparsify/virt-sparsify.pod:161
 msgid ""
 "This option is used to make the output more machine friendly when being "
 "parsed by other programs.  See L</MACHINE READABLE OUTPUT> below."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:437
+#: ../resize/virt-resize.pod:443
 msgid "B<--dryrun>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:439
+#: ../resize/virt-resize.pod:445
 msgid "Print a summary of what would be done, but don't do anything."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:441
+#: ../resize/virt-resize.pod:447
 msgid "B<--no-copy-boot-loader>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:443
+#: ../resize/virt-resize.pod:449
 msgid ""
 "By default, virt-resize copies over some sectors at the start of the disk "
 "(up to the beginning of the first partition).  Commonly these sectors "
@@ -24318,19 +24330,19 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:448
+#: ../resize/virt-resize.pod:454
 msgid ""
 "If you specify this flag, then this initial copy is not done.  You may need "
 "to reinstall the boot loader in this case."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:451
+#: ../resize/virt-resize.pod:457
 msgid "B<--no-extra-partition>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:453
+#: ../resize/virt-resize.pod:459
 msgid ""
 "By default, virt-resize creates an extra partition if there is any extra, "
 "unused space after all resizing has happened.  Use this option to prevent "
@@ -24340,38 +24352,38 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:459
+#: ../resize/virt-resize.pod:465
 msgid ""
 "Note that if the surplus space is smaller than 10 MB, no extra partition "
 "will be created."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:462
+#: ../resize/virt-resize.pod:468
 msgid "B<--no-expand-content>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:464
+#: ../resize/virt-resize.pod:470
 msgid ""
 "By default, virt-resize will try to expand the direct contents of "
 "partitions, if it knows how (see I<--expand> option above)."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:467
+#: ../resize/virt-resize.pod:473
 msgid ""
 "If you give the I<--no-expand-content> option then virt-resize will not "
 "attempt this."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:470
+#: ../resize/virt-resize.pod:476
 msgid "B<--ntfsresize-force>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:472
+#: ../resize/virt-resize.pod:478
 msgid ""
 "Pass the I<--force> option to L<ntfsresize(8)>, allowing resizing even if "
 "the NTFS disk is marked as needing a consistency check.  You have to use "
@@ -24380,19 +24392,19 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:478
+#: ../resize/virt-resize.pod:484
 msgid "B<--output-format> raw"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:480
+#: ../resize/virt-resize.pod:486
 msgid ""
 "Specify the format of the output disk image.  If this flag is not given then "
 "it is auto-detected from the image itself."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:486
+#: ../resize/virt-resize.pod:492
 msgid ""
 "Note that this option I<does not create> the output format.  This option "
 "just tells libguestfs what it is so it doesn't try to guess it.  You still "
@@ -24401,24 +24413,24 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:495
+#: ../resize/virt-resize.pod:501
 msgid "Don't print the summary."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:497
+#: ../resize/virt-resize.pod:503
 msgid "B<--resize part=size>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:499
+#: ../resize/virt-resize.pod:505
 msgid ""
 "Resize the named partition (expanding or shrinking it) so that it has the "
 "given size."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:502
+#: ../resize/virt-resize.pod:508
 msgid ""
 "C<size> can be expressed as an absolute number followed by b/K/M/G to mean "
 "bytes, Kilobytes, Megabytes, or Gigabytes; or as a percentage of the current "
@@ -24426,7 +24438,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:508
+#: ../resize/virt-resize.pod:514
 #, no-wrap
 msgid ""
 " --resize /dev/sda2=10G\n"
@@ -24434,7 +24446,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:510
+#: ../resize/virt-resize.pod:516
 #, no-wrap
 msgid ""
 " --resize /dev/sda4=90%\n"
@@ -24442,7 +24454,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:512
+#: ../resize/virt-resize.pod:518
 #, no-wrap
 msgid ""
 " --resize /dev/sda2=+1G\n"
@@ -24450,7 +24462,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:514
+#: ../resize/virt-resize.pod:520
 #, no-wrap
 msgid ""
 " --resize /dev/sda2=-200M\n"
@@ -24458,7 +24470,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:516
+#: ../resize/virt-resize.pod:522
 #, no-wrap
 msgid ""
 " --resize /dev/sda1=+128K\n"
@@ -24466,7 +24478,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:518
+#: ../resize/virt-resize.pod:524
 #, no-wrap
 msgid ""
 " --resize /dev/sda1=+10%\n"
@@ -24474,7 +24486,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:520
+#: ../resize/virt-resize.pod:526
 #, no-wrap
 msgid ""
 " --resize /dev/sda1=-10%\n"
@@ -24482,14 +24494,14 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:522
+#: ../resize/virt-resize.pod:528
 msgid ""
 "You can increase the size of any partition.  Virt-resize will expand the "
 "direct content of the partition if it knows how (see I<--expand> below)."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:526
+#: ../resize/virt-resize.pod:532
 msgid ""
 "You can only I<decrease> the size of partitions that contain filesystems or "
 "PVs which have already been shrunk.  Virt-resize will check this has been "
@@ -24498,12 +24510,12 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:533
+#: ../resize/virt-resize.pod:539
 msgid "B<--resize-force part=size>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:535
+#: ../resize/virt-resize.pod:541
 msgid ""
 "This is the same as I<--resize> except that it will let you decrease the "
 "size of any partition.  Generally this means you will lose any data which "
@@ -24513,17 +24525,17 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:541
+#: ../resize/virt-resize.pod:547
 msgid "See also the I<--ignore> option."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:543
+#: ../resize/virt-resize.pod:549
 msgid "B<--shrink part>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:545
+#: ../resize/virt-resize.pod:551
 msgid ""
 "Shrink the named partition until the overall disk image fits in the "
 "destination.  The named partition B<must> contain a filesystem or PV which "
@@ -24533,7 +24545,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:551
+#: ../resize/virt-resize.pod:557
 msgid ""
 "The amount by which the overall disk must be shrunk (after carrying out all "
 "other operations requested by the user) is called the \"deficit\".  For "
@@ -24544,12 +24556,12 @@ msgid ""
 msgstr ""
 
 #. type: =head1
-#: ../resize/virt-resize.pod:569 ../sparsify/virt-sparsify.pod:195
+#: ../resize/virt-resize.pod:575 ../sparsify/virt-sparsify.pod:201
 msgid "MACHINE READABLE OUTPUT"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:571
+#: ../resize/virt-resize.pod:577
 msgid ""
 "The I<--machine-readable> option can be used to make the output more machine "
 "friendly, which is useful when calling virt-resize from other programs, GUIs "
@@ -24557,19 +24569,19 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:575 ../sparsify/virt-sparsify.pod:201
+#: ../resize/virt-resize.pod:581 ../sparsify/virt-sparsify.pod:207
 msgid "There are two ways to use this option."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:577
+#: ../resize/virt-resize.pod:583
 msgid ""
 "Firstly use the option on its own to query the capabilities of the "
 "virt-resize binary.  Typical output looks like this:"
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:580
+#: ../resize/virt-resize.pod:586
 #, no-wrap
 msgid ""
 " $ virt-resize --machine-readable\n"
@@ -24582,33 +24594,33 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:587 ../sparsify/virt-sparsify.pod:211
+#: ../resize/virt-resize.pod:593 ../sparsify/virt-sparsify.pod:217
 msgid ""
 "A list of features is printed, one per line, and the program exits with "
 "status 0."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:590 ../sparsify/virt-sparsify.pod:214
+#: ../resize/virt-resize.pod:596 ../sparsify/virt-sparsify.pod:220
 msgid ""
 "Secondly use the option in conjunction with other options to make the "
 "regular program output more machine friendly."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:593 ../sparsify/virt-sparsify.pod:217
+#: ../resize/virt-resize.pod:599 ../sparsify/virt-sparsify.pod:223
 msgid "At the moment this means:"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:599 ../sparsify/virt-sparsify.pod:223
+#: ../resize/virt-resize.pod:605 ../sparsify/virt-sparsify.pod:229
 msgid ""
 "Progress bar messages can be parsed from stdout by looking for this regular "
 "expression:"
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:602 ../sparsify/virt-sparsify.pod:226
+#: ../resize/virt-resize.pod:608 ../sparsify/virt-sparsify.pod:232
 #, no-wrap
 msgid ""
 " ^[0-9]+/[0-9]+$\n"
@@ -24616,7 +24628,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:606 ../sparsify/virt-sparsify.pod:230
+#: ../resize/virt-resize.pod:612 ../sparsify/virt-sparsify.pod:236
 msgid ""
 "The calling program should treat messages sent to stdout (except for "
 "progress bar messages) as status messages.  They can be logged and/or "
@@ -24624,7 +24636,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:612
+#: ../resize/virt-resize.pod:618
 msgid ""
 "The calling program should treat messages sent to stderr as error messages.  "
 "In addition, virt-resize exits with a non-zero status code if there was a "
@@ -24632,19 +24644,19 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:618
+#: ../resize/virt-resize.pod:624
 msgid ""
 "Versions of the program prior to 1.13.9 did not support the "
 "I<--machine-readable> option and will return an error."
 msgstr ""
 
 #. type: =head2
-#: ../resize/virt-resize.pod:623
+#: ../resize/virt-resize.pod:629
 msgid "\"Partition 1 does not end on cylinder boundary.\""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:625
+#: ../resize/virt-resize.pod:631
 msgid ""
 "Virt-resize aligns partitions to multiples of 128 sectors (see the "
 "I<--alignment> parameter).  Usually this means the partitions will not be "
@@ -24655,12 +24667,12 @@ msgid ""
 msgstr ""
 
 #. type: =head2
-#: ../resize/virt-resize.pod:632
+#: ../resize/virt-resize.pod:638
 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:634
+#: ../resize/virt-resize.pod:640
 msgid ""
 "In Windows Vista and later versions, Microsoft switched to using a separate "
 "boot partition.  In these VMs, typically C</dev/sda1> is the boot partition "
@@ -24670,7 +24682,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:641
+#: ../resize/virt-resize.pod:647
 msgid ""
 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
 "NTFS partitions have been expanded.  This is just a safety check and (unless "
@@ -24678,19 +24690,19 @@ msgid ""
 msgstr ""
 
 #. type: =head2
-#: ../resize/virt-resize.pod:645
+#: ../resize/virt-resize.pod:651
 msgid "GUEST BOOT STUCK AT \"GRUB\""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:647
+#: ../resize/virt-resize.pod:653
 msgid ""
 "If a Linux guest does not boot after resizing, and the boot is stuck after "
 "printing C<GRUB> on the console, try reinstalling grub."
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:650
+#: ../resize/virt-resize.pod:656
 #, no-wrap
 msgid ""
 " guestfish -i -a newdisk\n"
@@ -24703,26 +24715,26 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:657
+#: ../resize/virt-resize.pod:663
 msgid ""
 "For more flexible guest reconfiguration, including if you need to specify "
 "other parameters to grub-install, use L<virt-rescue(1)>."
 msgstr ""
 
 #. type: =head1
-#: ../resize/virt-resize.pod:660
+#: ../resize/virt-resize.pod:666
 msgid "ALTERNATIVE TOOLS"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:662
+#: ../resize/virt-resize.pod:668
 msgid ""
 "There are several proprietary tools for resizing partitions.  We won't "
 "mention any here."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:665
+#: ../resize/virt-resize.pod:671
 msgid ""
 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
 "operations on disk images.  They can resize and move partitions, but I don't "
@@ -24731,7 +24743,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:670
+#: ../resize/virt-resize.pod:676
 msgid ""
 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
 "but at a much lower level.  You will probably end up hand-calculating sector "
@@ -24741,7 +24753,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:690
+#: ../resize/virt-resize.pod:696
 msgid ""
 "L<virt-filesystems(1)>, L<virt-df(1)>, L<guestfs(3)>, L<guestfish(1)>, "
 "L<lvm(8)>, L<pvresize(8)>, L<lvresize(8)>, L<resize2fs(8)>, "
@@ -25007,42 +25019,49 @@ msgstr ""
 msgid "For fine-tuning the output format, see: I<--compress>, I<-o>."
 msgstr ""
 
-#. type: =item
+#. type: textblock
 #: ../sparsify/virt-sparsify.pod:133
+msgid ""
+"Debug garbage collection and memory allocation.  This is only useful when "
+"debugging memory problems in virt-sparsify or the OCaml libguestfs bindings."
+msgstr ""
+
+#. type: =item
+#: ../sparsify/virt-sparsify.pod:139
 msgid "B<--format> qcow2"
 msgstr ""
 
 #. type: =item
-#: ../sparsify/virt-sparsify.pod:141
+#: ../sparsify/virt-sparsify.pod:147
 msgid "B<--ignore> filesystem"
 msgstr ""
 
 #. type: =item
-#: ../sparsify/virt-sparsify.pod:143
+#: ../sparsify/virt-sparsify.pod:149
 msgid "B<--ignore> volgroup"
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:145
+#: ../sparsify/virt-sparsify.pod:151
 msgid ""
 "Ignore the named filesystem.  Free space on the filesystem will not be "
 "zeroed, but existing blocks of zeroes will still be sparsified."
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:148
+#: ../sparsify/virt-sparsify.pod:154
 msgid ""
 "In the second form, this ignores the named volume group.  Use the volume "
 "group name without the C</dev/> prefix, eg. I<--ignore vg_foo>"
 msgstr ""
 
 #. type: =item
-#: ../sparsify/virt-sparsify.pod:159
+#: ../sparsify/virt-sparsify.pod:165
 msgid "B<-o> option[,option,...]"
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:161
+#: ../sparsify/virt-sparsify.pod:167
 msgid ""
 "Pass I<-o> option(s) to the L<qemu-img(1)> command to fine-tune the output "
 "format.  Options available depend on the output format (see I<--convert>) "
@@ -25050,14 +25069,14 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:165
+#: ../sparsify/virt-sparsify.pod:171
 msgid ""
 "You should use I<-o> at most once.  To pass multiple options, separate them "
 "with commas, eg:"
 msgstr ""
 
 #. type: verbatim
-#: ../sparsify/virt-sparsify.pod:168
+#: ../sparsify/virt-sparsify.pod:174
 #, no-wrap
 msgid ""
 " virt-sparsify --convert qcow2 \\\n"
@@ -25066,12 +25085,12 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:175
+#: ../sparsify/virt-sparsify.pod:181
 msgid "This disables progress bars and other unnecessary output."
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:197
+#: ../sparsify/virt-sparsify.pod:203
 msgid ""
 "The I<--machine-readable> option can be used to make the output more machine "
 "friendly, which is useful when calling virt-sparsify from other programs, "
@@ -25079,14 +25098,14 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:203
+#: ../sparsify/virt-sparsify.pod:209
 msgid ""
 "Firstly use the option on its own to query the capabilities of the "
 "virt-sparsify binary.  Typical output looks like this:"
 msgstr ""
 
 #. type: verbatim
-#: ../sparsify/virt-sparsify.pod:206
+#: ../sparsify/virt-sparsify.pod:212
 #, no-wrap
 msgid ""
 " $ virt-sparsify --machine-readable\n"
@@ -25097,7 +25116,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:236
+#: ../sparsify/virt-sparsify.pod:242
 msgid ""
 "The calling program should treat messages sent to stderr as error messages.  "
 "In addition, virt-sparsify exits with a non-zero status code if there was a "
@@ -25105,21 +25124,21 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:242
+#: ../sparsify/virt-sparsify.pod:248
 msgid ""
 "All versions of virt-sparsify have supported the I<--machine-readable> "
 "option."
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:256
+#: ../sparsify/virt-sparsify.pod:262
 msgid ""
 "Location of the temporary directory used for the potentially large temporary "
 "overlay file."
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:259
+#: ../sparsify/virt-sparsify.pod:265
 msgid ""
 "You should ensure there is enough free space in the worst case for a full "
 "copy of the source disk (I<virtual> size), or else set C<$TMPDIR> to point "
@@ -25127,17 +25146,17 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:263
+#: ../sparsify/virt-sparsify.pod:269
 msgid "This defaults to C</tmp>."
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:267
+#: ../sparsify/virt-sparsify.pod:273
 msgid "For other environment variables, see L<guestfs(3)/ENVIRONMENT VARIABLES>."
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:271
+#: ../sparsify/virt-sparsify.pod:277
 msgid ""
 "L<virt-filesystems(1)>, L<virt-df(1)>, L<virt-resize(1)>, L<virt-rescue(1)>, "
 "L<guestfs(3)>, L<guestfish(1)>, L<truncate(1)>, L<fallocate(1)>, "
diff --git a/po-docs/uk.po b/po-docs/uk.po
index c63c32d..9ccbfb1 100644
--- a/po-docs/uk.po
+++ b/po-docs/uk.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: libguestfs\n"
 "Report-Msgid-Bugs-To: libguestfs at redhat.com\n"
-"POT-Creation-Date: 2011-11-29 14:22+0000\n"
+"POT-Creation-Date: 2011-11-29 21:47+0000\n"
 "PO-Revision-Date: 2011-10-27 09:15+0000\n"
 "Last-Translator: rjones <rjones at redhat.com>\n"
 "Language-Team: Ukrainian <trans-uk at lists.fedoraproject.org>\n"
@@ -488,14 +488,14 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../align/virt-alignment-scan.pod:147 ../resize/virt-resize.pod:491
-#: ../sparsify/virt-sparsify.pod:171
+#: ../align/virt-alignment-scan.pod:147 ../resize/virt-resize.pod:497
+#: ../sparsify/virt-sparsify.pod:177
 msgid "B<-q>"
 msgstr "B<-q>"
 
 #. type: =item
-#: ../align/virt-alignment-scan.pod:149 ../resize/virt-resize.pod:493
-#: ../sparsify/virt-sparsify.pod:173
+#: ../align/virt-alignment-scan.pod:149 ../resize/virt-resize.pod:499
+#: ../sparsify/virt-sparsify.pod:179
 msgid "B<--quiet>"
 msgstr "B<--quiet>"
 
@@ -512,7 +512,7 @@ msgstr ""
 #: ../clone/virt-sysprep.pod:138 ../df/virt-df.pod:173
 #: ../edit/virt-edit.pod:161 ../fish/guestfish.pod:390
 #: ../fuse/guestmount.pod:266 ../inspector/virt-inspector.pod:119
-#: ../rescue/virt-rescue.pod:219 ../sparsify/virt-sparsify.pod:177
+#: ../rescue/virt-rescue.pod:219 ../sparsify/virt-sparsify.pod:183
 msgid "B<-v>"
 msgstr "B<-v>"
 
@@ -522,7 +522,7 @@ msgstr "B<-v>"
 #: ../clone/virt-sysprep.pod:140 ../df/virt-df.pod:175
 #: ../edit/virt-edit.pod:163 ../fish/guestfish.pod:392
 #: ../fuse/guestmount.pod:268 ../inspector/virt-inspector.pod:121
-#: ../rescue/virt-rescue.pod:221 ../sparsify/virt-sparsify.pod:179
+#: ../rescue/virt-rescue.pod:221 ../sparsify/virt-sparsify.pod:185
 msgid "B<--verbose>"
 msgstr "B<--verbose>"
 
@@ -531,7 +531,7 @@ msgstr "B<--verbose>"
 #: ../cat/virt-filesystems.pod:265 ../cat/virt-ls.pod:429
 #: ../clone/virt-sysprep.pod:142 ../df/virt-df.pod:177
 #: ../edit/virt-edit.pod:165 ../inspector/virt-inspector.pod:123
-#: ../rescue/virt-rescue.pod:223 ../sparsify/virt-sparsify.pod:181
+#: ../rescue/virt-rescue.pod:223 ../sparsify/virt-sparsify.pod:187
 msgid "Enable verbose messages for debugging."
 msgstr ""
 
@@ -541,8 +541,8 @@ msgstr ""
 #: ../clone/virt-sysprep.pod:144 ../df/virt-df.pod:179
 #: ../edit/virt-edit.pod:167 ../fish/guestfish.pod:397
 #: ../fuse/guestmount.pod:272 ../inspector/virt-inspector.pod:125
-#: ../rescue/virt-rescue.pod:225 ../resize/virt-resize.pod:561
-#: ../sparsify/virt-sparsify.pod:183
+#: ../rescue/virt-rescue.pod:225 ../resize/virt-resize.pod:567
+#: ../sparsify/virt-sparsify.pod:189
 msgid "B<-V>"
 msgstr "B<-V>"
 
@@ -552,8 +552,8 @@ msgstr "B<-V>"
 #: ../clone/virt-sysprep.pod:146 ../df/virt-df.pod:181
 #: ../edit/virt-edit.pod:169 ../fish/guestfish.pod:399
 #: ../fuse/guestmount.pod:274 ../inspector/virt-inspector.pod:127
-#: ../rescue/virt-rescue.pod:227 ../resize/virt-resize.pod:563
-#: ../sparsify/virt-sparsify.pod:185 ../tools/virt-list-filesystems.pl:69
+#: ../rescue/virt-rescue.pod:227 ../resize/virt-resize.pod:569
+#: ../sparsify/virt-sparsify.pod:191 ../tools/virt-list-filesystems.pl:69
 #: ../tools/virt-list-partitions.pl:70 ../tools/virt-make-fs.pl:169
 #: ../tools/virt-tar.pl:119 ../tools/virt-win-reg.pl:112
 msgid "B<--version>"
@@ -564,8 +564,8 @@ msgstr "B<--version>"
 #: ../cat/virt-filesystems.pod:271 ../cat/virt-ls.pod:435
 #: ../clone/virt-sysprep.pod:148 ../df/virt-df.pod:183
 #: ../edit/virt-edit.pod:171 ../inspector/virt-inspector.pod:129
-#: ../rescue/virt-rescue.pod:229 ../resize/virt-resize.pod:565
-#: ../sparsify/virt-sparsify.pod:187 ../tools/virt-list-filesystems.pl:71
+#: ../rescue/virt-rescue.pod:229 ../resize/virt-resize.pod:571
+#: ../sparsify/virt-sparsify.pod:193 ../tools/virt-list-filesystems.pl:71
 #: ../tools/virt-list-partitions.pl:72 ../tools/virt-make-fs.pl:171
 #: ../tools/virt-tar.pl:121 ../tools/virt-win-reg.pl:114
 msgid "Display version number and exit."
@@ -577,7 +577,7 @@ msgstr "Показати дані щодо версії і завершити р
 #: ../clone/virt-sysprep.pod:150 ../df/virt-df.pod:185
 #: ../edit/virt-edit.pod:173 ../fish/guestfish.pod:412
 #: ../fuse/guestmount.pod:287 ../inspector/virt-inspector.pod:131
-#: ../rescue/virt-rescue.pod:240 ../sparsify/virt-sparsify.pod:189
+#: ../rescue/virt-rescue.pod:240 ../sparsify/virt-sparsify.pod:195
 #: ../tools/virt-tar.pl:158
 msgid "B<-x>"
 msgstr "B<-x>"
@@ -587,7 +587,7 @@ msgstr "B<-x>"
 #: ../cat/virt-filesystems.pod:283 ../cat/virt-ls.pod:439
 #: ../clone/virt-sysprep.pod:152 ../df/virt-df.pod:187
 #: ../edit/virt-edit.pod:175 ../inspector/virt-inspector.pod:133
-#: ../rescue/virt-rescue.pod:242 ../sparsify/virt-sparsify.pod:191
+#: ../rescue/virt-rescue.pod:242 ../sparsify/virt-sparsify.pod:197
 msgid "Enable tracing of libguestfs API calls."
 msgstr ""
 
@@ -863,7 +863,7 @@ msgstr ""
 #: ../cat/virt-filesystems.pod:373 ../cat/virt-ls.pod:483
 #: ../clone/virt-sysprep.pod:475 ../df/virt-df.pod:241
 #: ../edit/virt-edit.pod:342 ../inspector/virt-inspector.pod:367
-#: ../rescue/virt-rescue.pod:303 ../resize/virt-resize.pod:676
+#: ../rescue/virt-rescue.pod:303 ../resize/virt-resize.pod:682
 #: ../tools/virt-list-filesystems.pl:188 ../tools/virt-list-partitions.pl:258
 #: ../tools/virt-make-fs.pl:550 ../tools/virt-tar.pl:289
 #: ../tools/virt-win-reg.pl:744
@@ -875,7 +875,7 @@ msgstr ""
 #: ../cat/virt-filesystems.pod:375 ../cat/virt-ls.pod:485
 #: ../clone/virt-sysprep.pod:477 ../df/virt-df.pod:243
 #: ../edit/virt-edit.pod:344 ../inspector/virt-inspector.pod:369
-#: ../rescue/virt-rescue.pod:305 ../resize/virt-resize.pod:678
+#: ../rescue/virt-rescue.pod:305 ../resize/virt-resize.pod:684
 #: ../tools/virt-list-filesystems.pl:190 ../tools/virt-list-partitions.pl:260
 #: ../tools/virt-make-fs.pl:552 ../tools/virt-tar.pl:291
 #: ../tools/virt-win-reg.pl:752
@@ -892,7 +892,7 @@ msgstr ""
 #: ../clone/virt-sysprep.pod:482 ../df/virt-df.pod:248
 #: ../edit/virt-edit.pod:349 ../fish/guestfish.pod:1114
 #: ../fuse/guestmount.pod:312 ../inspector/virt-inspector.pod:390
-#: ../resize/virt-resize.pod:683 ../sparsify/virt-sparsify.pod:245
+#: ../resize/virt-resize.pod:689 ../sparsify/virt-sparsify.pod:251
 #: ../test-tool/libguestfs-test-tool.pod:90
 msgid "EXIT STATUS"
 msgstr ""
@@ -941,8 +941,8 @@ msgstr ""
 #: ../fish/guestfish.pod:445 ../fish/guestfish.pod:449
 #: ../fish/guestfish.pod:453 ../fish/guestfish.pod:457
 #: ../inspector/virt-inspector.pod:408 ../inspector/virt-inspector.pod:412
-#: ../resize/virt-resize.pod:359 ../resize/virt-resize.pod:363
-#: ../resize/virt-resize.pod:372 ../resize/virt-resize.pod:378
+#: ../resize/virt-resize.pod:365 ../resize/virt-resize.pod:369
+#: ../resize/virt-resize.pod:378 ../resize/virt-resize.pod:384
 #: ../sparsify/virt-sparsify.pod:32 ../sparsify/virt-sparsify.pod:39
 #: ../sparsify/virt-sparsify.pod:43 ../sparsify/virt-sparsify.pod:49
 #: ../sparsify/virt-sparsify.pod:54 ../sparsify/virt-sparsify.pod:58
@@ -1042,8 +1042,8 @@ msgstr ""
 #: ../java/examples/guestfs-java.pod:45 ../ocaml/examples/guestfs-ocaml.pod:78
 #: ../perl/examples/guestfs-perl.pod:39
 #: ../python/examples/guestfs-python.pod:42 ../rescue/virt-rescue.pod:325
-#: ../resize/virt-resize.pod:688 ../ruby/examples/guestfs-ruby.pod:36
-#: ../sparsify/virt-sparsify.pod:269 ../src/guestfs.pod:3275
+#: ../resize/virt-resize.pod:694 ../ruby/examples/guestfs-ruby.pod:36
+#: ../sparsify/virt-sparsify.pod:275 ../src/guestfs.pod:3275
 #: ../test-tool/libguestfs-test-tool.pod:100
 #: ../tools/virt-list-filesystems.pl:195 ../tools/virt-list-partitions.pl:265
 #: ../tools/virt-make-fs.pl:557 ../tools/virt-tar.pl:296
@@ -1063,7 +1063,7 @@ msgstr ""
 #: ../cat/virt-filesystems.pod:396 ../cat/virt-ls.pod:507
 #: ../clone/virt-sysprep.pod:501 ../df/virt-df.pod:261
 #: ../edit/virt-edit.pod:368 ../rescue/virt-rescue.pod:334
-#: ../resize/virt-resize.pod:711 ../sparsify/virt-sparsify.pod:282
+#: ../resize/virt-resize.pod:717 ../sparsify/virt-sparsify.pod:288
 #: ../tools/virt-list-filesystems.pl:208 ../tools/virt-list-partitions.pl:277
 #: ../tools/virt-make-fs.pl:582 ../tools/virt-tar.pl:311
 #: ../tools/virt-win-reg.pl:783
@@ -1075,8 +1075,8 @@ msgstr "АВТОР"
 #: ../cat/virt-filesystems.pod:398 ../cat/virt-ls.pod:509
 #: ../clone/virt-sysprep.pod:503 ../df/virt-df.pod:263
 #: ../edit/virt-edit.pod:370 ../inspector/virt-inspector.pod:410
-#: ../rescue/virt-rescue.pod:336 ../resize/virt-resize.pod:713
-#: ../sparsify/virt-sparsify.pod:284 ../tools/virt-list-filesystems.pl:210
+#: ../rescue/virt-rescue.pod:336 ../resize/virt-resize.pod:719
+#: ../sparsify/virt-sparsify.pod:290 ../tools/virt-list-filesystems.pl:210
 #: ../tools/virt-list-partitions.pl:279 ../tools/virt-make-fs.pl:584
 #: ../tools/virt-tar.pl:313 ../tools/virt-win-reg.pl:785
 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
@@ -1095,8 +1095,8 @@ msgstr "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
 #: ../java/examples/guestfs-java.pod:62 ../ocaml/examples/guestfs-ocaml.pod:95
 #: ../perl/examples/guestfs-perl.pod:56
 #: ../python/examples/guestfs-python.pod:58 ../rescue/virt-rescue.pod:338
-#: ../resize/virt-resize.pod:715 ../ruby/examples/guestfs-ruby.pod:52
-#: ../sparsify/virt-sparsify.pod:286 ../src/guestfs.pod:3358
+#: ../resize/virt-resize.pod:721 ../ruby/examples/guestfs-ruby.pod:52
+#: ../sparsify/virt-sparsify.pod:292 ../src/guestfs.pod:3358
 #: ../test-tool/libguestfs-test-tool.pod:110
 #: ../tools/virt-list-filesystems.pl:212 ../tools/virt-list-partitions.pl:281
 #: ../tools/virt-make-fs.pl:586 ../tools/virt-tar.pl:315
@@ -1106,7 +1106,7 @@ msgstr "АВТОРСЬКІ ПРАВА"
 
 #. type: textblock
 #: ../align/virt-alignment-scan.pod:367 ../clone/virt-sysprep.pod:507
-#: ../sparsify/virt-sparsify.pod:288
+#: ../sparsify/virt-sparsify.pod:294
 msgid "Copyright (C) 2011 Red Hat Inc."
 msgstr ""
 
@@ -1118,8 +1118,8 @@ msgstr ""
 #: ../fish/virt-copy-in.pod:69 ../fish/virt-copy-out.pod:58
 #: ../fish/virt-tar-in.pod:67 ../fish/virt-tar-out.pod:60
 #: ../fuse/guestmount.pod:337 ../inspector/virt-inspector.pod:422
-#: ../rescue/virt-rescue.pod:342 ../resize/virt-resize.pod:719
-#: ../sparsify/virt-sparsify.pod:290 ../test-tool/libguestfs-test-tool.pod:115
+#: ../rescue/virt-rescue.pod:342 ../resize/virt-resize.pod:725
+#: ../sparsify/virt-sparsify.pod:296 ../test-tool/libguestfs-test-tool.pod:115
 #: ../tools/virt-list-filesystems.pl:216 ../tools/virt-list-partitions.pl:285
 #: ../tools/virt-make-fs.pl:590 ../tools/virt-tar.pl:319
 #: ../tools/virt-win-reg.pl:791
@@ -1138,8 +1138,8 @@ msgstr ""
 #: ../fish/virt-copy-in.pod:74 ../fish/virt-copy-out.pod:63
 #: ../fish/virt-tar-in.pod:72 ../fish/virt-tar-out.pod:65
 #: ../fuse/guestmount.pod:342 ../inspector/virt-inspector.pod:427
-#: ../rescue/virt-rescue.pod:347 ../resize/virt-resize.pod:724
-#: ../sparsify/virt-sparsify.pod:295 ../test-tool/libguestfs-test-tool.pod:120
+#: ../rescue/virt-rescue.pod:347 ../resize/virt-resize.pod:730
+#: ../sparsify/virt-sparsify.pod:301 ../test-tool/libguestfs-test-tool.pod:120
 #: ../tools/virt-list-filesystems.pl:221 ../tools/virt-list-partitions.pl:290
 #: ../tools/virt-make-fs.pl:595 ../tools/virt-tar.pl:324
 #: ../tools/virt-win-reg.pl:796
@@ -1162,8 +1162,8 @@ msgstr ""
 #: ../fish/virt-copy-in.pod:79 ../fish/virt-copy-out.pod:68
 #: ../fish/virt-tar-in.pod:77 ../fish/virt-tar-out.pod:70
 #: ../fuse/guestmount.pod:347 ../inspector/virt-inspector.pod:432
-#: ../rescue/virt-rescue.pod:352 ../resize/virt-resize.pod:729
-#: ../sparsify/virt-sparsify.pod:300 ../test-tool/libguestfs-test-tool.pod:125
+#: ../rescue/virt-rescue.pod:352 ../resize/virt-resize.pod:735
+#: ../sparsify/virt-sparsify.pod:306 ../test-tool/libguestfs-test-tool.pod:125
 #: ../tools/virt-list-filesystems.pl:226 ../tools/virt-list-partitions.pl:295
 #: ../tools/virt-make-fs.pl:600 ../tools/virt-tar.pl:329
 #: ../tools/virt-win-reg.pl:801
@@ -1591,7 +1591,7 @@ msgstr ""
 #: ../cat/virt-cat.pod:240 ../cat/virt-filesystems.pod:382
 #: ../cat/virt-ls.pod:492 ../df/virt-df.pod:250 ../edit/virt-edit.pod:351
 #: ../fuse/guestmount.pod:314 ../inspector/virt-inspector.pod:392
-#: ../resize/virt-resize.pod:685 ../sparsify/virt-sparsify.pod:247
+#: ../resize/virt-resize.pod:691 ../sparsify/virt-sparsify.pod:253
 msgid ""
 "This program returns 0 if successful, or non-zero if there was an error."
 msgstr ""
@@ -1607,7 +1607,7 @@ msgstr ""
 
 #. type: textblock
 #: ../cat/virt-cat.pod:258 ../inspector/virt-inspector.pod:420
-#: ../resize/virt-resize.pod:717 ../tools/virt-make-fs.pl:588
+#: ../resize/virt-resize.pod:723 ../tools/virt-make-fs.pl:588
 msgid "Copyright (C) 2010-2011 Red Hat Inc."
 msgstr "©Red Hat Inc., 2010–2011"
 
@@ -4693,7 +4693,7 @@ msgstr ""
 
 #. type: =head1
 #: ../edit/virt-edit.pod:329 ../fish/guestfish.pod:1119
-#: ../rescue/virt-rescue.pod:298 ../sparsify/virt-sparsify.pod:250
+#: ../rescue/virt-rescue.pod:298 ../sparsify/virt-sparsify.pod:256
 #: ../src/guestfs.pod:3214 ../test-tool/libguestfs-test-tool.pod:95
 msgid "ENVIRONMENT VARIABLES"
 msgstr "ЗМІННІ СЕРЕДОВИЩА"
@@ -20644,7 +20644,7 @@ msgstr ""
 
 #. type: =item
 #: ../fish/guestfish.pod:335 ../fuse/guestmount.pod:202
-#: ../resize/virt-resize.pod:435
+#: ../resize/virt-resize.pod:441
 msgid "B<-n>"
 msgstr "B<-n>"
 
@@ -22566,7 +22566,7 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../fish/guestfish.pod:1196 ../sparsify/virt-sparsify.pod:254
+#: ../fish/guestfish.pod:1196 ../sparsify/virt-sparsify.pod:260
 #: ../src/guestfs.pod:3262
 msgid "TMPDIR"
 msgstr ""
@@ -23214,7 +23214,7 @@ msgstr ""
 
 #. type: =head1
 #: ../fuse/guestmount.pod:73 ../rescue/virt-rescue.pod:96
-#: ../resize/virt-resize.pod:621
+#: ../resize/virt-resize.pod:627
 msgid "NOTES"
 msgstr "ПРИМІТКИ"
 
@@ -23625,8 +23625,8 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../inspector/virt-inspector.pod:111 ../resize/virt-resize.pod:391
-#: ../resize/virt-resize.pod:483 ../sparsify/virt-sparsify.pod:138
+#: ../inspector/virt-inspector.pod:111 ../resize/virt-resize.pod:397
+#: ../resize/virt-resize.pod:489 ../sparsify/virt-sparsify.pod:144
 #: ../tools/virt-list-filesystems.pl:101 ../tools/virt-list-partitions.pl:102
 #: ../tools/virt-tar.pl:151 ../tools/virt-win-reg.pl:152
 msgid ""
@@ -24918,8 +24918,8 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:31 ../resize/virt-resize.pod:597
-#: ../sparsify/virt-sparsify.pod:221 ../src/guestfs.pod:484
+#: ../resize/virt-resize.pod:31 ../resize/virt-resize.pod:603
+#: ../sparsify/virt-sparsify.pod:227 ../src/guestfs.pod:484
 #: ../src/guestfs.pod:1302 ../src/guestfs.pod:1441 ../src/guestfs.pod:2690
 msgid "1."
 msgstr "1."
@@ -24958,8 +24958,8 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:44 ../resize/virt-resize.pod:604
-#: ../sparsify/virt-sparsify.pod:228 ../src/guestfs.pod:490
+#: ../resize/virt-resize.pod:44 ../resize/virt-resize.pod:610
+#: ../sparsify/virt-sparsify.pod:234 ../src/guestfs.pod:490
 #: ../src/guestfs.pod:1306 ../src/guestfs.pod:1445 ../src/guestfs.pod:2715
 msgid "2."
 msgstr "2."
@@ -24981,8 +24981,8 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:52 ../resize/virt-resize.pod:610
-#: ../sparsify/virt-sparsify.pod:234 ../src/guestfs.pod:501
+#: ../resize/virt-resize.pod:52 ../resize/virt-resize.pod:616
+#: ../sparsify/virt-sparsify.pod:240 ../src/guestfs.pod:501
 #: ../src/guestfs.pod:1451
 msgid "3."
 msgstr "3."
@@ -25589,12 +25589,26 @@ msgid "Enable debugging messages."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:332
+#: ../resize/virt-resize.pod:332 ../sparsify/virt-sparsify.pod:131
+#, fuzzy
+#| msgid "B<--debug>"
+msgid "B<--debug-gc>"
+msgstr "B<--debug>"
+
+#. type: textblock
+#: ../resize/virt-resize.pod:334
+msgid ""
+"Debug garbage collection and memory allocation.  This is only useful when "
+"debugging memory problems in virt-resize or the OCaml libguestfs bindings."
+msgstr ""
+
+#. type: =item
+#: ../resize/virt-resize.pod:338
 msgid "B<--delete part>"
 msgstr "B<--delete розділ>"
 
 #. type: textblock
-#: ../resize/virt-resize.pod:334
+#: ../resize/virt-resize.pod:340
 msgid ""
 "Delete the named partition.  It would be more accurate to describe this as "
 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
@@ -25602,7 +25616,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:338
+#: ../resize/virt-resize.pod:344
 msgid ""
 "Note that when you delete a partition, then anything contained in the "
 "partition is also deleted.  Furthermore, this causes any partitions that "
@@ -25610,25 +25624,25 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:343 ../resize/virt-resize.pod:404
-#: ../resize/virt-resize.pod:531 ../sparsify/virt-sparsify.pod:151
+#: ../resize/virt-resize.pod:349 ../resize/virt-resize.pod:410
+#: ../resize/virt-resize.pod:537 ../sparsify/virt-sparsify.pod:157
 msgid "You can give this option multiple times."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:345
+#: ../resize/virt-resize.pod:351
 msgid "B<--expand part>"
 msgstr "B<--expand розділ>"
 
 #. type: textblock
-#: ../resize/virt-resize.pod:347
+#: ../resize/virt-resize.pod:353
 msgid ""
 "Expand the named partition so it uses up all extra space (space left over "
 "after any other resize changes that you request have been done)."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:350
+#: ../resize/virt-resize.pod:356
 msgid ""
 "If virt-resize knows how, it will expand the direct content of the "
 "partition.  For example, if the partition is an LVM PV, it will expand the "
@@ -25637,22 +25651,22 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:355
+#: ../resize/virt-resize.pod:361
 msgid "Currently virt-resize can resize:"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:361
+#: ../resize/virt-resize.pod:367
 msgid "ext2, ext3 and ext4 filesystems."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:365
+#: ../resize/virt-resize.pod:371
 msgid "NTFS filesystems, if libguestfs was compiled with support for NTFS."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:367
+#: ../resize/virt-resize.pod:373
 msgid ""
 "The filesystem must have been shut down consistently last time it was used.  "
 "Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
@@ -25661,7 +25675,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:374
+#: ../resize/virt-resize.pod:380
 msgid ""
 "LVM PVs (physical volumes).  virt-resize does not usually resize anything "
 "inside the PV, but see the I<--LV-expand> option.  The user could also "
@@ -25669,43 +25683,43 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:380
+#: ../resize/virt-resize.pod:386
 msgid "Btrfs filesystems, if libguestfs was compiled with support for btrfs."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:384 ../resize/virt-resize.pod:559
+#: ../resize/virt-resize.pod:390 ../resize/virt-resize.pod:565
 msgid "Note that you cannot use I<--expand> and I<--shrink> together."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:386 ../sparsify/virt-sparsify.pod:131
+#: ../resize/virt-resize.pod:392 ../sparsify/virt-sparsify.pod:137
 #: ../tools/virt-list-filesystems.pl:91 ../tools/virt-list-partitions.pl:92
 #: ../tools/virt-tar.pl:141 ../tools/virt-win-reg.pl:142
 msgid "B<--format> raw"
 msgstr "B<--format> raw"
 
 #. type: textblock
-#: ../resize/virt-resize.pod:388 ../sparsify/virt-sparsify.pod:135
+#: ../resize/virt-resize.pod:394 ../sparsify/virt-sparsify.pod:141
 msgid ""
 "Specify the format of the input disk image.  If this flag is not given then "
 "it is auto-detected from the image itself."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:394
+#: ../resize/virt-resize.pod:400
 msgid ""
 "Note that this option I<does not> affect the output format.  See L</QCOW2 "
 "AND NON-SPARSE RAW FORMATS>."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:397
+#: ../resize/virt-resize.pod:403
 msgid "B<--ignore part>"
 msgstr "B<--ignore розділ>"
 
 #. type: textblock
-#: ../resize/virt-resize.pod:399
+#: ../resize/virt-resize.pod:405
 msgid ""
 "Ignore the named partition.  Effectively this means the partition is "
 "allocated on the destination disk, but the content is not copied across from "
@@ -25714,12 +25728,12 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:406
+#: ../resize/virt-resize.pod:412
 msgid "B<--LV-expand logvol>"
 msgstr "B<--LV-expand логічний_том>"
 
 #. type: textblock
-#: ../resize/virt-resize.pod:408
+#: ../resize/virt-resize.pod:414
 msgid ""
 "This takes the logical volume and, as a final step, expands it to fill all "
 "the space available in its volume group.  A typical usage, assuming a Linux "
@@ -25728,7 +25742,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:413
+#: ../resize/virt-resize.pod:419
 #, no-wrap
 msgid ""
 " virt-resize indisk outdisk \\\n"
@@ -25737,14 +25751,14 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:416
+#: ../resize/virt-resize.pod:422
 msgid ""
 "This would first expand the partition (and PV), and then expand the root "
 "device to fill the extra space in the PV."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:419
+#: ../resize/virt-resize.pod:425
 msgid ""
 "The contents of the LV are also resized if virt-resize knows how to do "
 "that.  You can stop virt-resize from trying to expand the content by using "
@@ -25752,12 +25766,12 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:423
+#: ../resize/virt-resize.pod:429
 msgid "Use L<virt-filesystems(1)> to list the filesystems in the guest."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:425
+#: ../resize/virt-resize.pod:431
 msgid ""
 "You can give this option multiple times, I<but> it doesn't make sense to do "
 "this unless the logical volumes you specify are all in different volume "
@@ -25765,34 +25779,34 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:429 ../sparsify/virt-sparsify.pod:153
+#: ../resize/virt-resize.pod:435 ../sparsify/virt-sparsify.pod:159
 msgid "B<--machine-readable>"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:431 ../sparsify/virt-sparsify.pod:155
+#: ../resize/virt-resize.pod:437 ../sparsify/virt-sparsify.pod:161
 msgid ""
 "This option is used to make the output more machine friendly when being "
 "parsed by other programs.  See L</MACHINE READABLE OUTPUT> below."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:437
+#: ../resize/virt-resize.pod:443
 msgid "B<--dryrun>"
 msgstr "B<--dryrun>"
 
 #. type: textblock
-#: ../resize/virt-resize.pod:439
+#: ../resize/virt-resize.pod:445
 msgid "Print a summary of what would be done, but don't do anything."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:441
+#: ../resize/virt-resize.pod:447
 msgid "B<--no-copy-boot-loader>"
 msgstr "B<--no-copy-boot-loader>"
 
 #. type: textblock
-#: ../resize/virt-resize.pod:443
+#: ../resize/virt-resize.pod:449
 msgid ""
 "By default, virt-resize copies over some sectors at the start of the disk "
 "(up to the beginning of the first partition).  Commonly these sectors "
@@ -25801,19 +25815,19 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:448
+#: ../resize/virt-resize.pod:454
 msgid ""
 "If you specify this flag, then this initial copy is not done.  You may need "
 "to reinstall the boot loader in this case."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:451
+#: ../resize/virt-resize.pod:457
 msgid "B<--no-extra-partition>"
 msgstr "B<--no-extra-partition>"
 
 #. type: textblock
-#: ../resize/virt-resize.pod:453
+#: ../resize/virt-resize.pod:459
 msgid ""
 "By default, virt-resize creates an extra partition if there is any extra, "
 "unused space after all resizing has happened.  Use this option to prevent "
@@ -25823,38 +25837,38 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:459
+#: ../resize/virt-resize.pod:465
 msgid ""
 "Note that if the surplus space is smaller than 10 MB, no extra partition "
 "will be created."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:462
+#: ../resize/virt-resize.pod:468
 msgid "B<--no-expand-content>"
 msgstr "B<--no-expand-content>"
 
 #. type: textblock
-#: ../resize/virt-resize.pod:464
+#: ../resize/virt-resize.pod:470
 msgid ""
 "By default, virt-resize will try to expand the direct contents of "
 "partitions, if it knows how (see I<--expand> option above)."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:467
+#: ../resize/virt-resize.pod:473
 msgid ""
 "If you give the I<--no-expand-content> option then virt-resize will not "
 "attempt this."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:470
+#: ../resize/virt-resize.pod:476
 msgid "B<--ntfsresize-force>"
 msgstr "B<--ntfsresize-force>"
 
 #. type: textblock
-#: ../resize/virt-resize.pod:472
+#: ../resize/virt-resize.pod:478
 msgid ""
 "Pass the I<--force> option to L<ntfsresize(8)>, allowing resizing even if "
 "the NTFS disk is marked as needing a consistency check.  You have to use "
@@ -25863,19 +25877,19 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:478
+#: ../resize/virt-resize.pod:484
 msgid "B<--output-format> raw"
 msgstr "B<--output-format> raw"
 
 #. type: textblock
-#: ../resize/virt-resize.pod:480
+#: ../resize/virt-resize.pod:486
 msgid ""
 "Specify the format of the output disk image.  If this flag is not given then "
 "it is auto-detected from the image itself."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:486
+#: ../resize/virt-resize.pod:492
 msgid ""
 "Note that this option I<does not create> the output format.  This option "
 "just tells libguestfs what it is so it doesn't try to guess it.  You still "
@@ -25884,24 +25898,24 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:495
+#: ../resize/virt-resize.pod:501
 msgid "Don't print the summary."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:497
+#: ../resize/virt-resize.pod:503
 msgid "B<--resize part=size>"
 msgstr "B<--resize розділ=розмір>"
 
 #. type: textblock
-#: ../resize/virt-resize.pod:499
+#: ../resize/virt-resize.pod:505
 msgid ""
 "Resize the named partition (expanding or shrinking it) so that it has the "
 "given size."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:502
+#: ../resize/virt-resize.pod:508
 msgid ""
 "C<size> can be expressed as an absolute number followed by b/K/M/G to mean "
 "bytes, Kilobytes, Megabytes, or Gigabytes; or as a percentage of the current "
@@ -25909,7 +25923,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:508
+#: ../resize/virt-resize.pod:514
 #, no-wrap
 msgid ""
 " --resize /dev/sda2=10G\n"
@@ -25917,7 +25931,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:510
+#: ../resize/virt-resize.pod:516
 #, no-wrap
 msgid ""
 " --resize /dev/sda4=90%\n"
@@ -25925,7 +25939,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:512
+#: ../resize/virt-resize.pod:518
 #, no-wrap
 msgid ""
 " --resize /dev/sda2=+1G\n"
@@ -25933,7 +25947,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:514
+#: ../resize/virt-resize.pod:520
 #, no-wrap
 msgid ""
 " --resize /dev/sda2=-200M\n"
@@ -25941,7 +25955,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:516
+#: ../resize/virt-resize.pod:522
 #, no-wrap
 msgid ""
 " --resize /dev/sda1=+128K\n"
@@ -25949,7 +25963,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:518
+#: ../resize/virt-resize.pod:524
 #, no-wrap
 msgid ""
 " --resize /dev/sda1=+10%\n"
@@ -25957,7 +25971,7 @@ msgid ""
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:520
+#: ../resize/virt-resize.pod:526
 #, no-wrap
 msgid ""
 " --resize /dev/sda1=-10%\n"
@@ -25965,14 +25979,14 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:522
+#: ../resize/virt-resize.pod:528
 msgid ""
 "You can increase the size of any partition.  Virt-resize will expand the "
 "direct content of the partition if it knows how (see I<--expand> below)."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:526
+#: ../resize/virt-resize.pod:532
 msgid ""
 "You can only I<decrease> the size of partitions that contain filesystems or "
 "PVs which have already been shrunk.  Virt-resize will check this has been "
@@ -25981,12 +25995,12 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:533
+#: ../resize/virt-resize.pod:539
 msgid "B<--resize-force part=size>"
 msgstr "B<--resize-force розділ=розмір>"
 
 #. type: textblock
-#: ../resize/virt-resize.pod:535
+#: ../resize/virt-resize.pod:541
 msgid ""
 "This is the same as I<--resize> except that it will let you decrease the "
 "size of any partition.  Generally this means you will lose any data which "
@@ -25996,17 +26010,17 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:541
+#: ../resize/virt-resize.pod:547
 msgid "See also the I<--ignore> option."
 msgstr ""
 
 #. type: =item
-#: ../resize/virt-resize.pod:543
+#: ../resize/virt-resize.pod:549
 msgid "B<--shrink part>"
 msgstr "B<--shrink розділ>"
 
 #. type: textblock
-#: ../resize/virt-resize.pod:545
+#: ../resize/virt-resize.pod:551
 msgid ""
 "Shrink the named partition until the overall disk image fits in the "
 "destination.  The named partition B<must> contain a filesystem or PV which "
@@ -26016,7 +26030,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:551
+#: ../resize/virt-resize.pod:557
 msgid ""
 "The amount by which the overall disk must be shrunk (after carrying out all "
 "other operations requested by the user) is called the \"deficit\".  For "
@@ -26027,12 +26041,12 @@ msgid ""
 msgstr ""
 
 #. type: =head1
-#: ../resize/virt-resize.pod:569 ../sparsify/virt-sparsify.pod:195
+#: ../resize/virt-resize.pod:575 ../sparsify/virt-sparsify.pod:201
 msgid "MACHINE READABLE OUTPUT"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:571
+#: ../resize/virt-resize.pod:577
 msgid ""
 "The I<--machine-readable> option can be used to make the output more machine "
 "friendly, which is useful when calling virt-resize from other programs, GUIs "
@@ -26040,19 +26054,19 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:575 ../sparsify/virt-sparsify.pod:201
+#: ../resize/virt-resize.pod:581 ../sparsify/virt-sparsify.pod:207
 msgid "There are two ways to use this option."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:577
+#: ../resize/virt-resize.pod:583
 msgid ""
 "Firstly use the option on its own to query the capabilities of the virt-"
 "resize binary.  Typical output looks like this:"
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:580
+#: ../resize/virt-resize.pod:586
 #, no-wrap
 msgid ""
 " $ virt-resize --machine-readable\n"
@@ -26065,33 +26079,33 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:587 ../sparsify/virt-sparsify.pod:211
+#: ../resize/virt-resize.pod:593 ../sparsify/virt-sparsify.pod:217
 msgid ""
 "A list of features is printed, one per line, and the program exits with "
 "status 0."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:590 ../sparsify/virt-sparsify.pod:214
+#: ../resize/virt-resize.pod:596 ../sparsify/virt-sparsify.pod:220
 msgid ""
 "Secondly use the option in conjunction with other options to make the "
 "regular program output more machine friendly."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:593 ../sparsify/virt-sparsify.pod:217
+#: ../resize/virt-resize.pod:599 ../sparsify/virt-sparsify.pod:223
 msgid "At the moment this means:"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:599 ../sparsify/virt-sparsify.pod:223
+#: ../resize/virt-resize.pod:605 ../sparsify/virt-sparsify.pod:229
 msgid ""
 "Progress bar messages can be parsed from stdout by looking for this regular "
 "expression:"
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:602 ../sparsify/virt-sparsify.pod:226
+#: ../resize/virt-resize.pod:608 ../sparsify/virt-sparsify.pod:232
 #, no-wrap
 msgid ""
 " ^[0-9]+/[0-9]+$\n"
@@ -26099,7 +26113,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:606 ../sparsify/virt-sparsify.pod:230
+#: ../resize/virt-resize.pod:612 ../sparsify/virt-sparsify.pod:236
 msgid ""
 "The calling program should treat messages sent to stdout (except for "
 "progress bar messages) as status messages.  They can be logged and/or "
@@ -26107,7 +26121,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:612
+#: ../resize/virt-resize.pod:618
 msgid ""
 "The calling program should treat messages sent to stderr as error messages.  "
 "In addition, virt-resize exits with a non-zero status code if there was a "
@@ -26115,19 +26129,19 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:618
+#: ../resize/virt-resize.pod:624
 msgid ""
 "Versions of the program prior to 1.13.9 did not support the I<--machine-"
 "readable> option and will return an error."
 msgstr ""
 
 #. type: =head2
-#: ../resize/virt-resize.pod:623
+#: ../resize/virt-resize.pod:629
 msgid "\"Partition 1 does not end on cylinder boundary.\""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:625
+#: ../resize/virt-resize.pod:631
 msgid ""
 "Virt-resize aligns partitions to multiples of 128 sectors (see the I<--"
 "alignment> parameter).  Usually this means the partitions will not be "
@@ -26138,12 +26152,12 @@ msgid ""
 msgstr ""
 
 #. type: =head2
-#: ../resize/virt-resize.pod:632
+#: ../resize/virt-resize.pod:638
 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:634
+#: ../resize/virt-resize.pod:640
 msgid ""
 "In Windows Vista and later versions, Microsoft switched to using a separate "
 "boot partition.  In these VMs, typically C</dev/sda1> is the boot partition "
@@ -26153,7 +26167,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:641
+#: ../resize/virt-resize.pod:647
 msgid ""
 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
 "NTFS partitions have been expanded.  This is just a safety check and (unless "
@@ -26161,19 +26175,19 @@ msgid ""
 msgstr ""
 
 #. type: =head2
-#: ../resize/virt-resize.pod:645
+#: ../resize/virt-resize.pod:651
 msgid "GUEST BOOT STUCK AT \"GRUB\""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:647
+#: ../resize/virt-resize.pod:653
 msgid ""
 "If a Linux guest does not boot after resizing, and the boot is stuck after "
 "printing C<GRUB> on the console, try reinstalling grub."
 msgstr ""
 
 #. type: verbatim
-#: ../resize/virt-resize.pod:650
+#: ../resize/virt-resize.pod:656
 #, no-wrap
 msgid ""
 " guestfish -i -a newdisk\n"
@@ -26186,26 +26200,26 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:657
+#: ../resize/virt-resize.pod:663
 msgid ""
 "For more flexible guest reconfiguration, including if you need to specify "
 "other parameters to grub-install, use L<virt-rescue(1)>."
 msgstr ""
 
 #. type: =head1
-#: ../resize/virt-resize.pod:660
+#: ../resize/virt-resize.pod:666
 msgid "ALTERNATIVE TOOLS"
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:662
+#: ../resize/virt-resize.pod:668
 msgid ""
 "There are several proprietary tools for resizing partitions.  We won't "
 "mention any here."
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:665
+#: ../resize/virt-resize.pod:671
 msgid ""
 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
 "operations on disk images.  They can resize and move partitions, but I don't "
@@ -26214,7 +26228,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:670
+#: ../resize/virt-resize.pod:676
 msgid ""
 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
 "but at a much lower level.  You will probably end up hand-calculating sector "
@@ -26224,7 +26238,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../resize/virt-resize.pod:690
+#: ../resize/virt-resize.pod:696
 msgid ""
 "L<virt-filesystems(1)>, L<virt-df(1)>, L<guestfs(3)>, L<guestfish(1)>, L<lvm"
 "(8)>, L<pvresize(8)>, L<lvresize(8)>, L<resize2fs(8)>, L<ntfsresize(8)>, "
@@ -26494,44 +26508,51 @@ msgstr ""
 msgid "For fine-tuning the output format, see: I<--compress>, I<-o>."
 msgstr ""
 
-#. type: =item
+#. type: textblock
 #: ../sparsify/virt-sparsify.pod:133
+msgid ""
+"Debug garbage collection and memory allocation.  This is only useful when "
+"debugging memory problems in virt-sparsify or the OCaml libguestfs bindings."
+msgstr ""
+
+#. type: =item
+#: ../sparsify/virt-sparsify.pod:139
 msgid "B<--format> qcow2"
 msgstr ""
 
 #. type: =item
-#: ../sparsify/virt-sparsify.pod:141
+#: ../sparsify/virt-sparsify.pod:147
 msgid "B<--ignore> filesystem"
 msgstr ""
 
 #. type: =item
-#: ../sparsify/virt-sparsify.pod:143
+#: ../sparsify/virt-sparsify.pod:149
 msgid "B<--ignore> volgroup"
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:145
+#: ../sparsify/virt-sparsify.pod:151
 msgid ""
 "Ignore the named filesystem.  Free space on the filesystem will not be "
 "zeroed, but existing blocks of zeroes will still be sparsified."
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:148
+#: ../sparsify/virt-sparsify.pod:154
 msgid ""
 "In the second form, this ignores the named volume group.  Use the volume "
 "group name without the C</dev/> prefix, eg. I<--ignore vg_foo>"
 msgstr ""
 
 #. type: =item
-#: ../sparsify/virt-sparsify.pod:159
+#: ../sparsify/virt-sparsify.pod:165
 #, fuzzy
 #| msgid "B<--option option>"
 msgid "B<-o> option[,option,...]"
 msgstr "B<--option параметр>"
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:161
+#: ../sparsify/virt-sparsify.pod:167
 msgid ""
 "Pass I<-o> option(s) to the L<qemu-img(1)> command to fine-tune the output "
 "format.  Options available depend on the output format (see I<--convert>) "
@@ -26539,14 +26560,14 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:165
+#: ../sparsify/virt-sparsify.pod:171
 msgid ""
 "You should use I<-o> at most once.  To pass multiple options, separate them "
 "with commas, eg:"
 msgstr ""
 
 #. type: verbatim
-#: ../sparsify/virt-sparsify.pod:168
+#: ../sparsify/virt-sparsify.pod:174
 #, no-wrap
 msgid ""
 " virt-sparsify --convert qcow2 \\\n"
@@ -26555,12 +26576,12 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:175
+#: ../sparsify/virt-sparsify.pod:181
 msgid "This disables progress bars and other unnecessary output."
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:197
+#: ../sparsify/virt-sparsify.pod:203
 msgid ""
 "The I<--machine-readable> option can be used to make the output more machine "
 "friendly, which is useful when calling virt-sparsify from other programs, "
@@ -26568,14 +26589,14 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:203
+#: ../sparsify/virt-sparsify.pod:209
 msgid ""
 "Firstly use the option on its own to query the capabilities of the virt-"
 "sparsify binary.  Typical output looks like this:"
 msgstr ""
 
 #. type: verbatim
-#: ../sparsify/virt-sparsify.pod:206
+#: ../sparsify/virt-sparsify.pod:212
 #, no-wrap
 msgid ""
 " $ virt-sparsify --machine-readable\n"
@@ -26586,7 +26607,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:236
+#: ../sparsify/virt-sparsify.pod:242
 msgid ""
 "The calling program should treat messages sent to stderr as error messages.  "
 "In addition, virt-sparsify exits with a non-zero status code if there was a "
@@ -26594,21 +26615,21 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:242
+#: ../sparsify/virt-sparsify.pod:248
 msgid ""
 "All versions of virt-sparsify have supported the I<--machine-readable> "
 "option."
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:256
+#: ../sparsify/virt-sparsify.pod:262
 msgid ""
 "Location of the temporary directory used for the potentially large temporary "
 "overlay file."
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:259
+#: ../sparsify/virt-sparsify.pod:265
 msgid ""
 "You should ensure there is enough free space in the worst case for a full "
 "copy of the source disk (I<virtual> size), or else set C<$TMPDIR> to point "
@@ -26616,18 +26637,18 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:263
+#: ../sparsify/virt-sparsify.pod:269
 msgid "This defaults to C</tmp>."
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:267
+#: ../sparsify/virt-sparsify.pod:273
 msgid ""
 "For other environment variables, see L<guestfs(3)/ENVIRONMENT VARIABLES>."
 msgstr ""
 
 #. type: textblock
-#: ../sparsify/virt-sparsify.pod:271
+#: ../sparsify/virt-sparsify.pod:277
 msgid ""
 "L<virt-filesystems(1)>, L<virt-df(1)>, L<virt-resize(1)>, L<virt-rescue(1)>, "
 "L<guestfs(3)>, L<guestfish(1)>, L<truncate(1)>, L<fallocate(1)>, L<qemu-img"
diff --git a/po-docs/uk/guestfish.1 b/po-docs/uk/guestfish.1
index fc74191..977f5d8 100644
--- a/po-docs/uk/guestfish.1
+++ b/po-docs/uk/guestfish.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "guestfish 1"
-.TH guestfish 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH guestfish 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/uk/guestfs.3 b/po-docs/uk/guestfs.3
index 6974b8f..f00f06d 100644
--- a/po-docs/uk/guestfs.3
+++ b/po-docs/uk/guestfs.3
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "guestfs 3"
-.TH guestfs 3 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH guestfs 3 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/uk/guestmount.1 b/po-docs/uk/guestmount.1
index 7caeace..51998fc 100644
--- a/po-docs/uk/guestmount.1
+++ b/po-docs/uk/guestmount.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "guestmount 1"
-.TH guestmount 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH guestmount 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/uk/libguestfs-test-tool.1 b/po-docs/uk/libguestfs-test-tool.1
index 00f7ab5..69765a7 100644
--- a/po-docs/uk/libguestfs-test-tool.1
+++ b/po-docs/uk/libguestfs-test-tool.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "libguestfs-test-tool 1"
-.TH libguestfs-test-tool 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH libguestfs-test-tool 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/uk/virt-alignment-scan.1 b/po-docs/uk/virt-alignment-scan.1
index 3cd3ca8..4d80963 100644
--- a/po-docs/uk/virt-alignment-scan.1
+++ b/po-docs/uk/virt-alignment-scan.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-alignment-scan 1"
-.TH virt-alignment-scan 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-alignment-scan 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/uk/virt-cat.1 b/po-docs/uk/virt-cat.1
index a468c09..86e4adb 100644
--- a/po-docs/uk/virt-cat.1
+++ b/po-docs/uk/virt-cat.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-cat 1"
-.TH virt-cat 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-cat 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/uk/virt-copy-in.1 b/po-docs/uk/virt-copy-in.1
index 754c3d5..239208b 100644
--- a/po-docs/uk/virt-copy-in.1
+++ b/po-docs/uk/virt-copy-in.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-copy-in 1"
-.TH virt-copy-in 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-copy-in 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/uk/virt-copy-out.1 b/po-docs/uk/virt-copy-out.1
index b2d487b..035945f 100644
--- a/po-docs/uk/virt-copy-out.1
+++ b/po-docs/uk/virt-copy-out.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-copy-out 1"
-.TH virt-copy-out 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-copy-out 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/uk/virt-df.1 b/po-docs/uk/virt-df.1
index 9da1ba7..d539438 100644
--- a/po-docs/uk/virt-df.1
+++ b/po-docs/uk/virt-df.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-df 1"
-.TH virt-df 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-df 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/uk/virt-edit.1 b/po-docs/uk/virt-edit.1
index 00d8f08..032b309 100644
--- a/po-docs/uk/virt-edit.1
+++ b/po-docs/uk/virt-edit.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-edit 1"
-.TH virt-edit 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-edit 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/uk/virt-filesystems.1 b/po-docs/uk/virt-filesystems.1
index 02c2955..62c83e3 100644
--- a/po-docs/uk/virt-filesystems.1
+++ b/po-docs/uk/virt-filesystems.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-filesystems 1"
-.TH virt-filesystems 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-filesystems 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/uk/virt-inspector.1 b/po-docs/uk/virt-inspector.1
index b76cc82..9696dee 100644
--- a/po-docs/uk/virt-inspector.1
+++ b/po-docs/uk/virt-inspector.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-inspector 1"
-.TH virt-inspector 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-inspector 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/uk/virt-list-filesystems.1 b/po-docs/uk/virt-list-filesystems.1
index 770b1f7..629f69e 100644
--- a/po-docs/uk/virt-list-filesystems.1
+++ b/po-docs/uk/virt-list-filesystems.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-list-filesystems.pl 1"
-.TH virt-list-filesystems.pl 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-list-filesystems.pl 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/uk/virt-list-partitions.1 b/po-docs/uk/virt-list-partitions.1
index c73e308..42ff7ee 100644
--- a/po-docs/uk/virt-list-partitions.1
+++ b/po-docs/uk/virt-list-partitions.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-list-partitions.pl 1"
-.TH virt-list-partitions.pl 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-list-partitions.pl 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/uk/virt-ls.1 b/po-docs/uk/virt-ls.1
index 14cdf83..d7fd5f3 100644
--- a/po-docs/uk/virt-ls.1
+++ b/po-docs/uk/virt-ls.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-ls 1"
-.TH virt-ls 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-ls 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/uk/virt-make-fs.1 b/po-docs/uk/virt-make-fs.1
index a625bfd..cc930d3 100644
--- a/po-docs/uk/virt-make-fs.1
+++ b/po-docs/uk/virt-make-fs.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-make-fs.pl 1"
-.TH virt-make-fs.pl 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-make-fs.pl 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/uk/virt-rescue.1 b/po-docs/uk/virt-rescue.1
index f0d837c..cbbd9c7 100644
--- a/po-docs/uk/virt-rescue.1
+++ b/po-docs/uk/virt-rescue.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-rescue 1"
-.TH virt-rescue 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-rescue 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/uk/virt-resize.1 b/po-docs/uk/virt-resize.1
index f841961..e11a9a0 100644
--- a/po-docs/uk/virt-resize.1
+++ b/po-docs/uk/virt-resize.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-resize 1"
-.TH virt-resize 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-resize 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
@@ -389,6 +389,10 @@ around 2008.
 .IX Item "--debug"
 .PD
 Enable debugging messages.
+.IP "\fB\-\-debug\-gc\fR" 4
+.IX Item "--debug-gc"
+Debug garbage collection and memory allocation.  This is only useful when
+debugging memory problems in virt-resize or the OCaml libguestfs bindings.
 .IP "\fB\-\-delete розділ\fR" 4
 .IX Item "--delete розділ"
 Delete the named partition.  It would be more accurate to describe this as
diff --git a/po-docs/uk/virt-resize.pod b/po-docs/uk/virt-resize.pod
index edadbc7..c94570e 100644
--- a/po-docs/uk/virt-resize.pod
+++ b/po-docs/uk/virt-resize.pod
@@ -321,6 +321,11 @@ around 2008.
 
 Enable debugging messages.
 
+=item B<--debug-gc>
+
+Debug garbage collection and memory allocation.  This is only useful when
+debugging memory problems in virt-resize or the OCaml libguestfs bindings.
+
 =item B<--delete розділ>
 
 Delete the named partition.  It would be more accurate to describe this as
diff --git a/po-docs/uk/virt-sparsify.1 b/po-docs/uk/virt-sparsify.1
index 1fc39c3..2ecfa97 100644
--- a/po-docs/uk/virt-sparsify.1
+++ b/po-docs/uk/virt-sparsify.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-sparsify 1"
-.TH virt-sparsify 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-sparsify 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
@@ -174,6 +174,10 @@ Specifying the \fI\-\-convert\fR option is usually a good idea, because then
 virt-sparsify doesn't need to try to guess the input format.
 .Sp
 For fine-tuning the output format, see: \fI\-\-compress\fR, \fI\-o\fR.
+.IP "\fB\-\-debug\-gc\fR" 4
+.IX Item "--debug-gc"
+Debug garbage collection and memory allocation.  This is only useful when
+debugging memory problems in virt-sparsify or the OCaml libguestfs bindings.
 .IP "\fB\-\-format\fR raw" 4
 .IX Item "--format raw"
 .PD 0
diff --git a/po-docs/uk/virt-sparsify.pod b/po-docs/uk/virt-sparsify.pod
index 31d6a46..038daf5 100644
--- a/po-docs/uk/virt-sparsify.pod
+++ b/po-docs/uk/virt-sparsify.pod
@@ -124,6 +124,11 @@ virt-sparsify doesn't need to try to guess the input format.
 
 For fine-tuning the output format, see: I<--compress>, I<-o>.
 
+=item B<--debug-gc>
+
+Debug garbage collection and memory allocation.  This is only useful when
+debugging memory problems in virt-sparsify or the OCaml libguestfs bindings.
+
 =item B<--format> raw
 
 =item B<--format> qcow2
diff --git a/po-docs/uk/virt-sysprep.1 b/po-docs/uk/virt-sysprep.1
index 4e16b6b..405c662 100644
--- a/po-docs/uk/virt-sysprep.1
+++ b/po-docs/uk/virt-sysprep.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-sysprep 1"
-.TH virt-sysprep 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-sysprep 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/uk/virt-tar-in.1 b/po-docs/uk/virt-tar-in.1
index 669442f..f8d6718 100644
--- a/po-docs/uk/virt-tar-in.1
+++ b/po-docs/uk/virt-tar-in.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-tar-in 1"
-.TH virt-tar-in 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-tar-in 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/uk/virt-tar-out.1 b/po-docs/uk/virt-tar-out.1
index 45ffcb4..33bce2e 100644
--- a/po-docs/uk/virt-tar-out.1
+++ b/po-docs/uk/virt-tar-out.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-tar-out 1"
-.TH virt-tar-out 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-tar-out 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/uk/virt-tar.1 b/po-docs/uk/virt-tar.1
index 1bfafc6..dd6600b 100644
--- a/po-docs/uk/virt-tar.1
+++ b/po-docs/uk/virt-tar.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-tar.pl 1"
-.TH virt-tar.pl 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-tar.pl 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po-docs/uk/virt-win-reg.1 b/po-docs/uk/virt-win-reg.1
index f02f37d..7d9eee7 100644
--- a/po-docs/uk/virt-win-reg.1
+++ b/po-docs/uk/virt-win-reg.1
@@ -62,7 +62,7 @@
 .\" ========================================================================
 .\"
 .IX Title "virt-win-reg.pl 1"
-.TH virt-win-reg.pl 1 "2011-11-29" "libguestfs-1.15.7" "Virtualization Support"
+.TH virt-win-reg.pl 1 "2011-11-29" "libguestfs-1.15.8" "Virtualization Support"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff --git a/po/en_GB.gmo b/po/en_GB.gmo
index 4b24736..64b4c16 100644
Binary files a/po/en_GB.gmo and b/po/en_GB.gmo differ
diff --git a/po/en_GB.po b/po/en_GB.po
index c255391..9231f3d 100644
--- a/po/en_GB.po
+++ b/po/en_GB.po
@@ -9,7 +9,7 @@ msgstr ""
 "Project-Id-Version: libguestfs\n"
 "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?"
 "component=libguestfs&product=Virtualization+Tools\n"
-"POT-Creation-Date: 2011-11-29 14:22+0000\n"
+"POT-Creation-Date: 2011-11-29 21:47+0000\n"
 "PO-Revision-Date: 2011-10-27 09:11+0000\n"
 "Last-Translator: rjones <rjones at redhat.com>\n"
 "Language-Team: English (United Kingdom) (http://www.transifex.net/projects/p/"
diff --git a/po/es.gmo b/po/es.gmo
index 794c6d2..24830a0 100644
Binary files a/po/es.gmo and b/po/es.gmo differ
diff --git a/po/es.po b/po/es.po
index 561a0b9..f3e0f56 100644
--- a/po/es.po
+++ b/po/es.po
@@ -10,7 +10,7 @@ msgstr ""
 "Project-Id-Version: libguestfs\n"
 "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?"
 "component=libguestfs&product=Virtualization+Tools\n"
-"POT-Creation-Date: 2011-11-29 14:22+0000\n"
+"POT-Creation-Date: 2011-11-29 21:47+0000\n"
 "PO-Revision-Date: 2011-10-27 09:11+0000\n"
 "Last-Translator: rjones <rjones at redhat.com>\n"
 "Language-Team: Spanish (Castilian) <trans-es at lists.fedoraproject.org>\n"
diff --git a/po/gu.gmo b/po/gu.gmo
index 9dc8ea7..616f22f 100644
Binary files a/po/gu.gmo and b/po/gu.gmo differ
diff --git a/po/gu.po b/po/gu.po
index e3d50fb..6927225 100644
--- a/po/gu.po
+++ b/po/gu.po
@@ -10,7 +10,7 @@ msgstr ""
 "Project-Id-Version: libguestfs\n"
 "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?"
 "component=libguestfs&product=Virtualization+Tools\n"
-"POT-Creation-Date: 2011-11-29 14:22+0000\n"
+"POT-Creation-Date: 2011-11-29 21:47+0000\n"
 "PO-Revision-Date: 2011-10-27 09:11+0000\n"
 "Last-Translator: rjones <rjones at redhat.com>\n"
 "Language-Team: Gujarati <trans-gu at lists.fedoraproject.org>\n"
diff --git a/po/hi.gmo b/po/hi.gmo
index fa4e2c5..d30543b 100644
Binary files a/po/hi.gmo and b/po/hi.gmo differ
diff --git a/po/hi.po b/po/hi.po
index 5f3dcee..6248d50 100644
--- a/po/hi.po
+++ b/po/hi.po
@@ -10,7 +10,7 @@ msgstr ""
 "Project-Id-Version: libguestfs\n"
 "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?"
 "component=libguestfs&product=Virtualization+Tools\n"
-"POT-Creation-Date: 2011-11-29 14:22+0000\n"
+"POT-Creation-Date: 2011-11-29 21:47+0000\n"
 "PO-Revision-Date: 2011-10-27 09:11+0000\n"
 "Last-Translator: rjones <rjones at redhat.com>\n"
 "Language-Team: Hindi <indlinux-hindi at lists.sourceforge.net>\n"
diff --git a/po/kn.gmo b/po/kn.gmo
index 24ca34d..2f50c95 100644
Binary files a/po/kn.gmo and b/po/kn.gmo differ
diff --git a/po/kn.po b/po/kn.po
index 15ac5af..54faabb 100644
--- a/po/kn.po
+++ b/po/kn.po
@@ -9,7 +9,7 @@ msgstr ""
 "Project-Id-Version: libguestfs\n"
 "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?"
 "component=libguestfs&product=Virtualization+Tools\n"
-"POT-Creation-Date: 2011-11-29 14:22+0000\n"
+"POT-Creation-Date: 2011-11-29 21:47+0000\n"
 "PO-Revision-Date: 2011-10-27 09:11+0000\n"
 "Last-Translator: rjones <rjones at redhat.com>\n"
 "Language-Team: Kannada (http://www.transifex.net/projects/p/fedora/team/"
diff --git a/po/libguestfs.pot b/po/libguestfs.pot
index 4b22121..b2b8c62 100644
--- a/po/libguestfs.pot
+++ b/po/libguestfs.pot
@@ -6,10 +6,10 @@
 #, fuzzy
 msgid ""
 msgstr ""
-"Project-Id-Version: libguestfs 1.15.7\n"
+"Project-Id-Version: libguestfs 1.15.8\n"
 "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?"
 "component=libguestfs&product=Virtualization+Tools\n"
-"POT-Creation-Date: 2011-11-29 14:22+0000\n"
+"POT-Creation-Date: 2011-11-29 21:47+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
diff --git a/po/ml.gmo b/po/ml.gmo
index 5de2e90..ed0babf 100644
Binary files a/po/ml.gmo and b/po/ml.gmo differ
diff --git a/po/ml.po b/po/ml.po
index 6cf64e9..5526de2 100644
--- a/po/ml.po
+++ b/po/ml.po
@@ -9,7 +9,7 @@ msgstr ""
 "Project-Id-Version: libguestfs\n"
 "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?"
 "component=libguestfs&product=Virtualization+Tools\n"
-"POT-Creation-Date: 2011-11-29 14:22+0000\n"
+"POT-Creation-Date: 2011-11-29 21:47+0000\n"
 "PO-Revision-Date: 2011-10-27 09:11+0000\n"
 "Last-Translator: rjones <rjones at redhat.com>\n"
 "Language-Team: Malayalam <discuss at lists.smc.org.in>\n"
diff --git a/po/mr.gmo b/po/mr.gmo
index bf2f811..76a2b33 100644
Binary files a/po/mr.gmo and b/po/mr.gmo differ
diff --git a/po/mr.po b/po/mr.po
index 5dc229f..1f55fc2 100644
--- a/po/mr.po
+++ b/po/mr.po
@@ -10,7 +10,7 @@ msgstr ""
 "Project-Id-Version: libguestfs\n"
 "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?"
 "component=libguestfs&product=Virtualization+Tools\n"
-"POT-Creation-Date: 2011-11-29 14:22+0000\n"
+"POT-Creation-Date: 2011-11-29 21:47+0000\n"
 "PO-Revision-Date: 2011-10-27 09:11+0000\n"
 "Last-Translator: rjones <rjones at redhat.com>\n"
 "Language-Team: Marathi (http://www.transifex.net/projects/p/fedora/team/"
diff --git a/po/nl.gmo b/po/nl.gmo
index e7d33bc..5250a91 100644
Binary files a/po/nl.gmo and b/po/nl.gmo differ
diff --git a/po/nl.po b/po/nl.po
index 0c3100c..263a1c0 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -11,7 +11,7 @@ msgstr ""
 "Project-Id-Version: libguestfs\n"
 "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?"
 "component=libguestfs&product=Virtualization+Tools\n"
-"POT-Creation-Date: 2011-11-29 14:22+0000\n"
+"POT-Creation-Date: 2011-11-29 21:47+0000\n"
 "PO-Revision-Date: 2011-10-27 09:11+0000\n"
 "Last-Translator: rjones <rjones at redhat.com>\n"
 "Language-Team: Dutch (http://www.transifex.net/projects/p/fedora/team/nl/)\n"
diff --git a/po/or.gmo b/po/or.gmo
index 9b0f85a..98d2cf9 100644
Binary files a/po/or.gmo and b/po/or.gmo differ
diff --git a/po/or.po b/po/or.po
index ef1b71f..35385e0 100644
--- a/po/or.po
+++ b/po/or.po
@@ -9,7 +9,7 @@ msgstr ""
 "Project-Id-Version: libguestfs\n"
 "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?"
 "component=libguestfs&product=Virtualization+Tools\n"
-"POT-Creation-Date: 2011-11-29 14:22+0000\n"
+"POT-Creation-Date: 2011-11-29 21:47+0000\n"
 "PO-Revision-Date: 2011-10-27 09:11+0000\n"
 "Last-Translator: rjones <rjones at redhat.com>\n"
 "Language-Team: Oriya (http://www.transifex.net/projects/p/fedora/team/or/)\n"
diff --git a/po/pa.gmo b/po/pa.gmo
index 22e9cd1..de66508 100644
Binary files a/po/pa.gmo and b/po/pa.gmo differ
diff --git a/po/pa.po b/po/pa.po
index 07b24c5..8c3a7c0 100644
--- a/po/pa.po
+++ b/po/pa.po
@@ -10,7 +10,7 @@ msgstr ""
 "Project-Id-Version: libguestfs\n"
 "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?"
 "component=libguestfs&product=Virtualization+Tools\n"
-"POT-Creation-Date: 2011-11-29 14:22+0000\n"
+"POT-Creation-Date: 2011-11-29 21:47+0000\n"
 "PO-Revision-Date: 2011-10-27 09:11+0000\n"
 "Last-Translator: rjones <rjones at redhat.com>\n"
 "Language-Team: Panjabi (Punjabi) <punjabi-users at lists.sf.net>\n"
diff --git a/po/pl.gmo b/po/pl.gmo
index 4fda349..c8467cf 100644
Binary files a/po/pl.gmo and b/po/pl.gmo differ
diff --git a/po/pl.po b/po/pl.po
index c06e72f..7dd1f1b 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -10,7 +10,7 @@ msgstr ""
 "Project-Id-Version: libguestfs\n"
 "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?"
 "component=libguestfs&product=Virtualization+Tools\n"
-"POT-Creation-Date: 2011-11-29 14:22+0000\n"
+"POT-Creation-Date: 2011-11-29 21:47+0000\n"
 "PO-Revision-Date: 2011-10-27 09:11+0000\n"
 "Last-Translator: rjones <rjones at redhat.com>\n"
 "Language-Team: Polish (http://www.transifex.net/projects/p/fedora/team/pl/)\n"
diff --git a/po/ta.gmo b/po/ta.gmo
index faaf99a..c2af020 100644
Binary files a/po/ta.gmo and b/po/ta.gmo differ
diff --git a/po/ta.po b/po/ta.po
index c884c5c..94340da 100644
--- a/po/ta.po
+++ b/po/ta.po
@@ -9,7 +9,7 @@ msgstr ""
 "Project-Id-Version: libguestfs\n"
 "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?"
 "component=libguestfs&product=Virtualization+Tools\n"
-"POT-Creation-Date: 2011-11-29 14:22+0000\n"
+"POT-Creation-Date: 2011-11-29 21:47+0000\n"
 "PO-Revision-Date: 2011-10-27 09:11+0000\n"
 "Last-Translator: rjones <rjones at redhat.com>\n"
 "Language-Team: Tamil <tamil-users at lists.fedoraproject.org>\n"
diff --git a/po/te.gmo b/po/te.gmo
index 7b33590..56a2966 100644
Binary files a/po/te.gmo and b/po/te.gmo differ
diff --git a/po/te.po b/po/te.po
index 14aafef..1bc3960 100644
--- a/po/te.po
+++ b/po/te.po
@@ -9,7 +9,7 @@ msgstr ""
 "Project-Id-Version: libguestfs\n"
 "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?"
 "component=libguestfs&product=Virtualization+Tools\n"
-"POT-Creation-Date: 2011-11-29 14:22+0000\n"
+"POT-Creation-Date: 2011-11-29 21:47+0000\n"
 "PO-Revision-Date: 2011-10-27 09:11+0000\n"
 "Last-Translator: rjones <rjones at redhat.com>\n"
 "Language-Team: Telugu (http://www.transifex.net/projects/p/fedora/team/te/)\n"
diff --git a/po/uk.gmo b/po/uk.gmo
index efd95ca..6d65056 100644
Binary files a/po/uk.gmo and b/po/uk.gmo differ
diff --git a/po/uk.po b/po/uk.po
index b7ed440..604d079 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -9,7 +9,7 @@ msgstr ""
 "Project-Id-Version: libguestfs\n"
 "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?"
 "component=libguestfs&product=Virtualization+Tools\n"
-"POT-Creation-Date: 2011-11-29 14:22+0000\n"
+"POT-Creation-Date: 2011-11-29 21:47+0000\n"
 "PO-Revision-Date: 2011-10-27 09:11+0000\n"
 "Last-Translator: rjones <rjones at redhat.com>\n"
 "Language-Team: Ukrainian <trans-uk at lists.fedoraproject.org>\n"
diff --git a/python/guestfs-py-byhand.c b/python/guestfs-py-byhand.c
index 1756963..53c2e98 100644
--- a/python/guestfs-py-byhand.c
+++ b/python/guestfs-py-byhand.c
@@ -76,6 +76,7 @@ py_guestfs_close (PyObject *self, PyObject *args)
 
   for (i = 0; i < len; ++i)
     Py_XDECREF (callbacks[i]);
+  free (callbacks);
 
   Py_INCREF (Py_None);
   return Py_None;
diff --git a/resize/resize.ml b/resize/resize.ml
index 3c7a633..6d97553 100644
--- a/resize/resize.ml
+++ b/resize/resize.ml
@@ -30,7 +30,8 @@ let prog = Filename.basename Sys.executable_name
 
 type align_first_t = [ `Never | `Always | `Auto ]
 
-let infile, outfile, align_first, alignment, copy_boot_loader, debug, deletes,
+let infile, outfile, align_first, alignment, copy_boot_loader,
+  debug, debug_gc, deletes,
   dryrun, expand, expand_content, extra_partition, format, ignores,
   lv_expands, machine_readable, ntfsresize_force, output_format,
   quiet, resizes, resizes_force, shrink =
@@ -48,6 +49,7 @@ let infile, outfile, align_first, alignment, copy_boot_loader, debug, deletes,
   let alignment = ref 128 in
   let copy_boot_loader = ref true in
   let debug = ref false in
+  let debug_gc = ref false in
   let deletes = ref [] in
   let dryrun = ref false in
   let expand = ref "" in
@@ -80,6 +82,7 @@ let infile, outfile, align_first, alignment, copy_boot_loader, debug, deletes,
     "--no-copy-boot-loader", Arg.Clear copy_boot_loader, " Don't copy boot loader";
     "-d",        Arg.Set debug,             " Enable debugging messages";
     "--debug",   Arg.Set debug,             " -\"-";
+    "--debug-gc",Arg.Set debug_gc,          " Debug GC and memory allocations";
     "--delete",  Arg.String (add deletes),  "part Delete partition";
     "--expand",  Arg.String set_expand,     "part Expand partition";
     "--no-expand-content", Arg.Clear expand_content, " Don't expand content";
@@ -126,6 +129,7 @@ read the man page virt-resize(1).
   (* Dereference the rest of the args. *)
   let alignment = !alignment in
   let copy_boot_loader = !copy_boot_loader in
+  let debug_gc = !debug_gc in
   let deletes = List.rev !deletes in
   let dryrun = !dryrun in
   let expand = match !expand with "" -> None | str -> Some str in
@@ -183,7 +187,8 @@ read the man page virt-resize(1).
     | _ ->
         error "usage is: %s [--options] indisk outdisk" prog in
 
-  infile, outfile, align_first, alignment, copy_boot_loader, debug, deletes,
+  infile, outfile, align_first, alignment, copy_boot_loader,
+  debug, debug_gc, deletes,
   dryrun, expand, expand_content, extra_partition, format, ignores,
   lv_expands, machine_readable, ntfsresize_force, output_format,
   quiet, resizes, resizes_force, shrink
@@ -1179,4 +1184,7 @@ let () =
     wrap "Resize operation completed with no errors.  Before deleting the old disk, carefully check that the resized disk boots and works correctly.\n";
   );
 
+  if debug_gc then
+    Gc.compact ();
+
   exit 0
diff --git a/resize/test-virt-resize.sh b/resize/test-virt-resize.sh
index 2b76e0b..09e5f61 100755
--- a/resize/test-virt-resize.sh
+++ b/resize/test-virt-resize.sh
@@ -27,7 +27,7 @@ set -e
 ../fish/guestfish -N bootrootlv:/dev/VG/LV:ext2:ext4:400M:32M:gpt </dev/null
 
 qemu-img create -f qcow2 test2.img 500M
-./virt-resize -d --expand /dev/sda2 --lv-expand /dev/VG/LV test1.img test2.img
+$VG ./virt-resize -d --debug-gc --expand /dev/sda2 --lv-expand /dev/VG/LV test1.img test2.img
 
 # Test shrinking in a semi-realistic scenario.  Although the disk
 # image created above contains no data, we will nevertheless use
@@ -42,6 +42,6 @@ fsck ext4 /dev/VG/LV
 EOF
 
 rm -f test2.img; truncate -s 300M test2.img
-./virt-resize -d --shrink /dev/sda2 test1.img test2.img
+$VG ./virt-resize -d --debug-gc --shrink /dev/sda2 test1.img test2.img
 
 rm -f test1.img test2.img
diff --git a/resize/virt-resize.pod b/resize/virt-resize.pod
index abf190e..9ee9c6f 100644
--- a/resize/virt-resize.pod
+++ b/resize/virt-resize.pod
@@ -329,6 +329,12 @@ since around 2008.
 
 Enable debugging messages.
 
+=item B<--debug-gc>
+
+Debug garbage collection and memory allocation.  This is only useful
+when debugging memory problems in virt-resize or the OCaml libguestfs
+bindings.
+
 =item B<--delete part>
 
 Delete the named partition.  It would be more accurate to describe
diff --git a/ruby/ext/guestfs/_guestfs.c b/ruby/ext/guestfs/_guestfs.c
index fda4ddd..ebdedb1 100644
--- a/ruby/ext/guestfs/_guestfs.c
+++ b/ruby/ext/guestfs/_guestfs.c
@@ -69,6 +69,7 @@ ruby_guestfs_free (void *gvp)
       rb_gc_unregister_address (roots[i]);
       free (roots[i]);
     }
+    free (roots);
   }
 }
 
diff --git a/sparsify/sparsify.ml b/sparsify/sparsify.ml
index 4e438ac..dd3e043 100644
--- a/sparsify/sparsify.ml
+++ b/sparsify/sparsify.ml
@@ -28,7 +28,8 @@ let () = Random.self_init ()
 (* Command line argument parsing. *)
 let prog = Filename.basename Sys.executable_name
 
-let indisk, outdisk, compress, convert, format, ignores, machine_readable,
+let indisk, outdisk, compress, convert, debug_gc,
+  format, ignores, machine_readable,
   option, quiet, verbose, trace =
   let display_version () =
     let g = new G.guestfs () in
@@ -42,6 +43,7 @@ let indisk, outdisk, compress, convert, format, ignores, machine_readable,
 
   let compress = ref false in
   let convert = ref "" in
+  let debug_gc = ref false in
   let format = ref "" in
   let ignores = ref [] in
   let machine_readable = ref false in
@@ -53,6 +55,7 @@ let indisk, outdisk, compress, convert, format, ignores, machine_readable,
   let argspec = Arg.align [
     "--compress", Arg.Set compress,         " Compressed output format";
     "--convert", Arg.Set_string convert,    "format Format of output disk (default: same as input)";
+    "--debug-gc", Arg.Set debug_gc,         " Debug GC and memory allocations";
     "--format",  Arg.Set_string format,     "format Format of input disk";
     "--ignore",  Arg.String (add ignores),  "fs Ignore filesystem";
     "--machine-readable", Arg.Set machine_readable, " Make output machine readable";
@@ -82,6 +85,7 @@ read the man page virt-sparsify(1).
   (* Dereference the rest of the args. *)
   let compress = !compress in
   let convert = match !convert with "" -> None | str -> Some str in
+  let debug_gc = !debug_gc in
   let format = match !format with "" -> None | str -> Some str in
   let ignores = List.rev !ignores in
   let machine_readable = !machine_readable in
@@ -128,8 +132,9 @@ read the man page virt-sparsify(1).
   if contains_comma then
     error "input filename '%s' contains a comma; qemu-img command line syntax prevents us from using such an image" indisk;
 
-  indisk, outdisk, compress, convert, format, ignores, machine_readable,
-  option, quiet, verbose, trace
+  indisk, outdisk, compress, convert,
+    debug_gc, format, ignores, machine_readable,
+    option, quiet, verbose, trace
 
 let () =
   if not quiet then
@@ -312,4 +317,7 @@ let () =
     wrap "Sparsify operation completed with no errors.  Before deleting the old disk, carefully check that the target disk boots and works correctly.\n";
   );
 
+  if debug_gc then
+    Gc.compact ();
+
   exit 0
diff --git a/sparsify/test-virt-sparsify.sh b/sparsify/test-virt-sparsify.sh
index 8d38775..4a7a2f6 100755
--- a/sparsify/test-virt-sparsify.sh
+++ b/sparsify/test-virt-sparsify.sh
@@ -37,7 +37,7 @@ rm /boot/big
 umount-all
 EOF
 
-./virt-sparsify --format raw test1.img --convert qcow2 test2.img
+$VG ./virt-sparsify --debug-gc --format raw test1.img --convert qcow2 test2.img
 
 size_before=$(du -s test1.img | awk '{print $1}')
 size_after=$(du -s test2.img | awk '{print $1}')
diff --git a/sparsify/virt-sparsify.pod b/sparsify/virt-sparsify.pod
index 6653787..0894cbc 100644
--- a/sparsify/virt-sparsify.pod
+++ b/sparsify/virt-sparsify.pod
@@ -128,6 +128,12 @@ then virt-sparsify doesn't need to try to guess the input format.
 
 For fine-tuning the output format, see: I<--compress>, I<-o>.
 
+=item B<--debug-gc>
+
+Debug garbage collection and memory allocation.  This is only useful
+when debugging memory problems in virt-sparsify or the OCaml libguestfs
+bindings.
+
 =item B<--format> raw
 
 =item B<--format> qcow2

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list