summaryrefslogtreecommitdiffstats
path: root/resize/virt-resize.pod
Commit message (Collapse)AuthorAgeFilesLines
* extra tests: Test virt-resize.Richard W.M. Jones2011-11-291-0/+6
| | | | | | | | 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.
* Update FSF address.Matthew Booth2011-11-081-1/+1
|
* virt-resize: Handle extended and logical partitions (RHBZ#642821).Richard W.M. Jones2011-10-261-0/+21
|
* resize: Add --align-first auto|never|always option.Richard W.M. Jones2011-10-201-7/+27
| | | | | The first partition can now be aligned. We fix the bootloader correctly for Windows by adjusting the "Hidden Sectors" field.
* resize: Add --alignment flag to allow partition alignment to be picked.Richard W.M. Jones2011-10-201-6/+41
|
* New tool: virt-sparsify to make disk images sparse.Richard W.M. Jones2011-10-041-0/+1
|
* man pages: Add a standard EXIT STATUS section to most pages.Richard W.M. Jones2011-08-271-0/+5
|
* resize: Add --machine-readable option for machine friendly output.Richard W.M. Jones2011-08-261-0/+58
|
* resize: Clarify examples in the man page.Richard W.M. Jones2011-07-141-3/+27
|
* resize: Add btrfs support to virt-resize (RHBZ#721275).Richard W.M. Jones2011-07-141-3/+8
|
* docs: resize: Not just limited to resizing filesystems in partitions.Richard W.M. Jones2011-07-141-4/+2
| | | | If you use --LV-expand then filesystems in LVs can be resized too.
* virt-resize: Arrange options in man page in alphabetical order.Richard W.M. Jones2011-07-131-95/+95
|
* virt-resize: Add --ntfsresize-force option.Richard W.M. Jones2011-07-131-0/+8
| | | | | Use the non-deprecated g#ntfsresize_opts API call, and also add the --ntfsresize-force option for forcing resize.
* doc: Use I<-...> for cross-references to command line options.Richard W.M. Jones2011-05-011-13/+13
| | | | This is now used consistently across all the documentation.
* Rewrite virt-resize in OCaml.Richard W.M. Jones2011-04-091-0/+556
This is a fairly straightforward translation of Perl virt-resize into OCaml. It is bug-for-bug and feature-for-feature identical to the Perl version, except as noted below. The motivation is to have a more solid, high-level, statically safe compiled language to go forwards with fixing some of the harder bugs in virt-resize. In particular contracts between different parts of the program are now handled by statically typed structures checked at compile time, instead of the very ad-hoc unchecked hash tables used by the Perl version. OCaml and the ocaml-pcre library (Perl-Compatible Regular Expressions bindings for OCaml) are required. Extra features in this version: - 32 bit hosts are now supported. - We try hard to handle the case where the target disk is not "clean" (ie. all zeroes). It usually works for this case, whereas the previous version would usually fail. However it is still recommended that the system administrator creates a fresh blank disk for the target before running the program. - User messages are a bit more verbose and helpful. You can turn these off with the -q (--quiet) option. There is one lost feature: - Ability to specify >= T (terabytes) sizes in command line size expressions has been removed. This probably didn't work in the Perl version. Other differences: - The first partition on the target is no longer aligned; instead we place it at the same sector as on the source. I suspect that aligning it was causing the bootloader failures. - Because it's easier, we do more sanity checking on the source disk. This might lead to more failures, but they'd be failures you'd want to know about. - The order in which operations are performed has been changed to make it more logical. The user should not notice any functional difference, but debug messages will be quite a bit different. - virt-resize is a compiled binary, not a script.