tags 593547 -patch thanks On Thu, Aug 19, 2010 at 09:32:06AM +0200, Philipp Marek wrote: > The man page doesn't mention the backing file for the "create" subcommand.
> diff -u qemu-img.1.orig qemu-img.1 > --- qemu-img.1.orig 2010-08-19 08:49:56.526050535 +0200 > +++ qemu-img.1 2010-08-19 08:51:35.742039573 +0200 > @@ -140,8 +140,8 @@ > .IP "\fBcheck [\-f\fR \fIfmt\fR\fB]\fR \fIfilename\fR" 4 > .IX Item "check [-f fmt] filename" > .PD 0 > -.IP "\fBcreate [\-f\fR \fIfmt\fR\fB] [\-o\fR \fIoptions\fR\fB]\fR > \fIfilename\fR \fB[\fR\fIsize\fR\fB]\fR" 4 > -.IX Item "create [-f fmt] [-o options] filename [size]" > +.IP "\fBcreate [\-f\fR \fIfmt\fR\fB] [\-b\fR \fIbacking_file\fR\fB] [\-o\fR > \fIoptions\fR\fB]\fR \fIfilename\fR \fB[\fR\fIsize\fR\fB]\fR" 4 > +.IX Item "create [-f fmt] [-b backing_file] [-o options] filename [size]" > .IP "\fBcommit [\-f\fR \fIfmt\fR\fB]\fR \fIfilename\fR" 4 > .IX Item "commit [-f fmt] filename" > .IP "\fBconvert [\-c] [\-f\fR \fIfmt\fR\fB] [\-O\fR \fIoutput_fmt\fR\fB] > [\-o\fR \fIoptions\fR\fB]\fR \fIfilename\fR \fB[\fR\fIfilename2\fR > \fB[...]]\fR > \fIoutput_filename\fR" 4 > @@ -205,8 +205,8 @@ > lists all snapshots in the given image > .PP > Command description: > -.IP "\fBcreate [\-f\fR \fIfmt\fR\fB] [\-o\fR \fIoptions\fR\fB]\fR > \fIfilename\fR \fB[\fR\fIsize\fR\fB]\fR" 4 > -.IX Item "create [-f fmt] [-o options] filename [size]" > +.IP "\fBcreate [\-f\fR \fIfmt\fR\fB] [\-b\fR \fIbacking_file\fR\fB] [\-o\fR > \fIoptions\fR\fB]\fR \fIfilename\fR \fB[\fR\fIsize\fR\fB]\fR" 4 > +.IX Item "create [-f fmt] [-b backing_file] [-o options] filename [size]" > Create the new disk image \fIfilename\fR of size \fIsize\fR and format > \&\fIfmt\fR. Depending on the file format, you can add one or more > \fIoptions\fR > that enable additional features of this format. the patch doesn't apply, as qemu-img.1 is generated from qemu-img.texi... though it still illuminates what needs to be changed. do you think you could re-work your patch to the source qemu-img.texi file, against a more recent version (0.14.x)? live well, vagrant -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

