From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from cpe-24-221-98-238.az.sprintbbd.net ([24.221.98.238] helo=lnx1.holmesgrown.com ident=root) by speech.braille.uwo.ca with esmtp (Exim 3.32 #1 (Debian)) id 16QBPo-0005fA-00 for ; Mon, 14 Jan 2002 13:01:00 -0500 Received: from lnx3.holmesgrown.com (steve@lnx3.holmesgrown.com [192.168.1.5]) by lnx1.holmesgrown.com (8.9.3/8.9.3) with ESMTP id LAA25771 for ; Mon, 14 Jan 2002 11:00:55 -0700 Date: Mon, 14 Jan 2002 11:01:09 -0700 (MST) From: Steve Holmes To: Subject: Re: piping output of dd through bzip2 In-Reply-To: <20020113163110.A287@uic.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.7 Precedence: bulk Reply-To: speakup@braille.uwo.ca List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: The output of dd always goes to the device or file specified for of= Example: dd if=/dev/hda of=something My problem here is I don't know how you can specify that of is to be piped into bzip2. Some programs use the `-' to represent the standard pipe. in which case, you might be able to say: dd if=/dev/hda of=-; bzipz - Sorry, don't have experience with bzip2's command parms but hopefully this makes sense in concept. On Sun, 13 Jan 2002, Gregory Nowak wrote: > Hi all, > > I'm trying to image a partition with dd, and pass the output to bzip2. However, bzip2 tells me that input file file.img cannot be found. Can someone tell me the correct cyntax please? > I'm doing the following: "dd if=/dev/hda1 |bzip2 -9 file.img" > Thanks in advance for any help. > Greg > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup >