summaryrefslogtreecommitdiffstats
path: root/format
Commit message (Collapse)AuthorAgeFilesLines
* format: Allow virt-format test to be skipped by setting ↵Richard W.M. Jones2012-11-201-0/+5
| | | | | | SKIP_TEST_VIRT_FORMAT_SH=1. (cherry picked from commit 101fd44fc5ce3055da91a5bf8aa0d89a5d2f3a79)
* syntax: Remove gnulib c-ctype.h in files that don't use it.Richard W.M. Jones2012-09-191-1/+0
| | | | | | | Found by 'make syntax-check'. Cherry picked from commit 9fce75aa13de52561ec0f4ae083c4ab0fa4455d1 and fixed for libguestfs 1.18 branch.
* podwrapper: Add --license parameter, which is required.Richard W.M. Jones2012-08-301-0/+1
| | | | | | | | | | | | This adds standard LICENSE and BUGS sections to all of the man pages that are processed by podwrapper. Modify all the calls to $(PODWRAPPER) to add the right --license parameter according to the content. Note that this relaxes the license on some code example pages, making them effectively BSD-style licensed. (cherry picked from commit 2f97bf873b64384835f257f8916bf1ebb2af62b4)
* man pages: Ensure consistent copyright/author sections, remove licenseRichard W.M. Jones2012-08-301-14/+0
| | | | | | | | | | | | section. Ensure each man page contains consistent COPYRIGHT and AUTHOR sections. Remove the LICENSE section. We will add that back in podwrapper in a later commit. (cherry picked from commit f1d98bbc79496947210ee0305f80440ed8557ec1)
* fish: Rename fish/virt.c to fish/domain.cRichard W.M. Jones2012-08-051-2/+2
| | | | | | This file handles the -d option for guestfish and other C command line utilities. Renaming this file makes it less confusing. (cherry picked from commit 6054051a9d8a5eee4141ca4b12aa5b7d1f36f56d)
* build: Change calls to podwrapper.sh to use $(PODWRAPPER).Richard W.M. Jones2012-08-051-1/+1
| | | | | | This will allow us to easily change the location of this script in future. (cherry picked from commit f2ea617e224cd82496e56a41b5878063d6f02e3d)
* New API: guestfs_shutdown: Cleanly shutdown the backend.Richard W.M. Jones2012-07-061-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The new API splits orderly close into a two-step process: if (guestfs_shutdown (g) == -1) { /* handle the error, eg. qemu error */ } guestfs_close (g); Note that the explicit shutdown step is only necessary in the case where you have made changes to the disk image and want to handle write errors. Read the documentation for further information. This change also: - deprecates guestfs_kill_subprocess - turns guestfs_kill_subprocess into the same as guestfs_shutdown - changes guestfish and other tools to call shutdown + close where necessary (not for read-only tools) - updates documentation - updates examples (cherry picked from commit ffbf1475f7ae7c462db289ad4834391469e72edd)
* virt-format: Don't call wipefs unless API is available.Richard W.M. Jones2012-06-281-1/+25
| | | | | | This API is optional. Don't call it unless it's available in the appliance. (cherry picked from commit 6cb74d46ba5b1c3f1edd3bfb12df9d4da2ec8a8f)
* Use the new lvcreate-free API to create largest possible LVs.Richard W.M. Jones2012-03-151-4/+1
|
* Fix strict-overflow bugs and reenable this warning.Richard W.M. Jones2012-03-121-1/+1
| | | | | | | | In two places, we were counting things in an array using an 'int'. In theory, the int could overflow, so gcc determines this to be undefined behaviour. The fix is to use size_t or ssize_t instead.
* format: Remove unused variables.Richard W.M. Jones2012-03-121-1/+1
|
* dist: Distribute all tests, even when configured with --disable-appliance.Richard W.M. Jones2012-03-071-1/+2
|
* Do not run test-virt-format.sh if appliance has not been builtHilko Bengen2012-02-121-0/+2
|
* virt-format: Add a test.Richard W.M. Jones2012-02-102-7/+40
|
* virt-format: erase the filesystem signatures before erase partitionsWanlong Gao2012-02-101-15/+4
| | | | | | | erase the filesystem signatures on each device, then erase the partitions, avoid to list all the partitions here. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* New tool: virt-format: erase and make blank disks.Richard W.M. Jones2012-01-183-0/+741
This tool allows you to easily reformat a disk, creating a blank disk with optional partition, LVM and empty filesystem.