From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tcsnpop1.tcsn.uswest.net ([207.108.112.1]) by speech.braille.uwo.ca with smtp (Exim 3.32 #1 (Debian)) id 16QFVs-0002bK-00 for ; Mon, 14 Jan 2002 17:23:32 -0500 Received: (qmail 20660 invoked by uid 50); 14 Jan 2002 22:23:35 -0000 Received: (qmail 20641 invoked by uid 0); 14 Jan 2002 22:23:35 -0000 Received: from tcsndslgw4poola158.tcsn.uswest.net (HELO lightstar) (63.227.85.158) by tcsnpop1.tcsn.uswest.net with SMTP; 14 Jan 2002 22:23:35 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Jason To: speakup@braille.uwo.ca Subject: Re: piping output of dd through bzip2 Date: Mon, 14 Jan 2002 15:25:30 -0700 X-Mailer: KMail [version 1.2] References: In-Reply-To: MIME-Version: 1.0 Message-Id: <02011415253001.05800@lightstar> Content-Transfer-Encoding: 8bit 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: no need to even do that, dd's output only goes to 'of' if the of= parameter is specified, otehrwise it copies to standard output. all you would need is: dd if=/dev/hda | bzip replace with the command line parameters needed for bzip to output to a file (refer to 'man bzip' for details). > 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.