summaryrefslogtreecommitdiffstats
path: root/sparsify
Commit message (Collapse)AuthorAgeFilesLines
* sparsify: Add a note about sparsify on tmpfs.Richard W.M. Jones2012-04-241-0/+8
| | | | (cherry picked from commit b0b5fdc69f6ee831f325760f95a164627b499f77)
* resize, sparsify: Add a simple-minded check to stop indisk = outdisk.Richard W.M. Jones2012-04-171-0/+6
| | | | (cherry picked from commit 84d450210b3ea01de3fe26b2cf1db2b492d77aec)
* sparsify: Fix comma/colon and quoting in qemu-img command.Richard W.M. Jones2012-04-172-12/+27
| | | | | | | | | | | Colon characters are not allowed in qemu/qemu-img filenames. There's no way to quote them. Comma characters CAN be used. However they must be quoted (by doubling) when used in the '-o' option. Fix general quoting problems in the external command. (cherry picked from commit 8d3d5a52d2746af91f770608cce5f47462f33aba)
* Ensure that SOURCES are always in EXTRA_DIST, even if OCaml not available.Richard W.M. Jones2012-04-021-5/+3
| | | | (cherry picked from commit 6e3de762782b050fe7ad675297089a42026f05c4)
* sparsify: Add a note about encrypted disks to the man page.Richard W.M. Jones2012-03-161-1/+2
| | | | (cherry picked from commit 1c1ecb2c419382f1677501b22cb98a06c7abe9a9)
* sparsify: Unlink temporary overlay file if user presses ^C.Richard W.M. Jones2012-03-161-1/+5
| | | | | | Add a signal handler so this potentially large temporary file is removed when the user hits ^C. (cherry picked from commit 7283a5a2765c0670e9dceec70e626a49a30d269c)
* sparsify: Use zero-device instead of dd if=/dev/zero to zero device.Richard W.M. Jones2012-03-161-5/+3
| | | | | | zero-device is more efficient in general, and avoids writing to blocks which are already zero. (cherry picked from commit 8c9f6a64be9840a955e481e932f13d005c0de0de)
* sparsify: Only print qemu-img command if verbose.Richard W.M. Jones2012-03-161-1/+1
| | | | (cherry picked from commit 7934ea2395d2a417fbc20efc22573113f7ae9d7a)
* resize, sparsify: find progress mini-library in out-of-tree builds (2)Hilko Bengen2012-01-241-2/+2
| | | | (cherry picked from commit b7122eaa58ccd153a8c39bc3b6f890755c5df089)
* Do not run appliance-related checks if not building applianceHilko Bengen2012-01-231-0/+2
|
* Replace setting of environment variables with usage of local run scriptHilko Bengen2012-01-231-3/+1
| | | | (Includes fix by RWMJ)
* resize, sparsify: find progress mini-library in out-of-tree buildsHilko Bengen2012-01-201-1/+1
|
* Fixed out-of-tree compilation of OCaml code after .depend files removalHilko Bengen2012-01-201-2/+3
|
* Tempus fugit.Richard W.M. Jones2012-01-183-3/+3
| | | | Update all copyright dates to 2012.
* build: Remove .depend files from gitMatthew Booth2012-01-112-8/+1
| | | | | Remove generated .depend files from source control, and don't barf when they don't exist while bootstrapping.
* build: Fix automake warningsMatthew Booth2012-01-041-3/+5
|
* extra tests: Test virt-sparsify.Richard W.M. Jones2011-11-293-4/+18
| | | | | | | | 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.
* sparsify: Add -o option for passing qemu-img output format options.Richard W.M. Jones2011-11-222-5/+23
|
* sparsify: Add --compress option.Richard W.M. Jones2011-11-222-5/+16
| | | | This adds the -c option to the final qemu-img command.
* sparsify: Add auto-detection of .vdi files.Richard W.M. Jones2011-11-223-3/+23
| | | | | | Note that for this to work properly, it requires a patch to the 'file' command. See: https://www.redhat.com/archives/libguestfs/2011-November/msg00120.html
* Update FSF address.Matthew Booth2011-11-084-4/+4
|
* test-virt-sparsify: Relax size_after constraint (for Debian).Richard W.M. Jones2011-10-271-1/+1
| | | | | | | size_after on Debian was 10136K. The host filesystem was ext3 (vs ext4 for Fedora where we did the original testing). Probably indirect blocks (vs more efficient extents on ext4) causes the difference, although I did not look at it in detail.
* ocaml: Make sure virt-resize, virt-sparsify are rebuilt if Guestfs API changes.Richard W.M. Jones2011-10-252-8/+8
| | | | | | | | Add a dependency so these tools are rebuilt from scratch if the Guestfs API changes. This prevents the error: "[...] make inconsistent assumptions over interface Guestfs". This commit includes the generated changes to .depend files.
* sparsify: Fix --ignore option to work on canonical device names.Richard W.M. Jones2011-10-041-2/+7
|
* docs: Clearer language in virt-sparsify man page.Richard W.M. Jones2011-10-041-2/+2
|
* New tool: virt-sparsify to make disk images sparse.Richard W.M. Jones2011-10-049-0/+1070