From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LY0L9-0002CK-Re for qemu-devel@nongnu.org; Fri, 13 Feb 2009 10:52:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LY0L8-0002C8-Cp for qemu-devel@nongnu.org; Fri, 13 Feb 2009 10:52:31 -0500 Received: from [199.232.76.173] (port=49048 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LY0L8-0002C5-9n for qemu-devel@nongnu.org; Fri, 13 Feb 2009 10:52:30 -0500 Received: from mail2.shareable.org ([80.68.89.115]:41456) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LY0L7-0004ZV-RB for qemu-devel@nongnu.org; Fri, 13 Feb 2009 10:52:30 -0500 Received: from jamie by mail2.shareable.org with local (Exim 4.63) (envelope-from ) id 1LY0L5-0004zg-JU for qemu-devel@nongnu.org; Fri, 13 Feb 2009 15:52:27 +0000 Date: Fri, 13 Feb 2009 15:52:27 +0000 From: Jamie Lokier Subject: Re: [Qemu-devel] qemu-img Message-ID: <20090213155227.GE18471@shareable.org> References: <1234458957.3827.9.camel@TuxBox.mobab> <20090213142724.GK15807@csclub.uwaterloo.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090213142724.GK15807@csclub.uwaterloo.ca> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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