From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [204.233.198.50] (helo=linserver.complex) by speech.braille.uwo.ca with esmtp (Exim 3.32 #1 (Debian)) id 16QFoq-0006yY-00 for ; Mon, 14 Jan 2002 17:43:08 -0500 Received: (from gnowak1@localhost) by linserver.complex (8.11.4/8.10.2) id g0EMghu00297 for speakup@braille.uwo.ca; Mon, 14 Jan 2002 16:42:43 -0600 Date: Mon, 14 Jan 2002 16:42:43 -0600 From: Gregory Nowak To: speakup@braille.uwo.ca Subject: Re: piping output of dd through bzip2 Message-ID: <20020114164243.C254@uic.edu> References: <02011415253001.05800@lightstar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <02011415253001.05800@lightstar>; from unleet@qwest.net on Mon, Jan 14, 2002 at 03:25:30PM -0700 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: Ok, I've just tried the following using the format indicated. "dd if=/dev/hda1 |bzip2 -9 windows.img" The result was: bzip2: Can't open input file windows.img: No such file or directory. 9+0 records in 8+0 records out Greg On Mon, Jan 14, 2002 at 03:25:30PM -0700, Jason wrote: > 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. > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup