From: Jamie Lokier <jamie@shareable.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu-img
Date: Fri, 13 Feb 2009 15:52:27 +0000 [thread overview]
Message-ID: <20090213155227.GE18471@shareable.org> (raw)
In-Reply-To: <20090213142724.GK15807@csclub.uwaterloo.ca>
Lennart Sorensen wrote:
> On Thu, Feb 12, 2009 at 06:15:57PM +0100, D. Schreiber wrote:
> > is it possible to add "pipe"-Mode like this?
> >
> > dd if=/dev/sda | qemu-img convert -f raw - -O qcow2 newImage.img
>
> Does this work:
>
> dd if=/dev/sda | qemu-img convert -f raw <(dd if=/dev/sda) -O qcow2 newImage.img
No point running dd twice at the same time :-)
I suspect you meant one of these:
dd if=/dev/sda | qemu-img convert -f raw /dev/stdin -O qcow2 newImage.img
qemu-img convert -f raw <(dd if=/dev/sda) -O qcow2 newImage.img
-- Jamie
next prev parent reply other threads:[~2009-02-13 15:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-12 17:15 [Qemu-devel] qemu-img D. Schreiber
2009-02-13 10:03 ` Kevin Wolf
2009-02-13 14:27 ` Lennart Sorensen
2009-02-13 15:52 ` Jamie Lokier [this message]
2009-02-13 16:42 ` Lennart Sorensen
2009-02-13 19:09 ` [Qemu-devel] qemu-img D. Schreiber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090213155227.GE18471@shareable.org \
--to=jamie@shareable.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.