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 16QJaw-0002cv-00 for ; Mon, 14 Jan 2002 21:45:02 -0500 Received: (from gnowak1@localhost) by linserver.complex (8.11.4/8.10.2) id g0F2ieR00583 for speakup@braille.uwo.ca; Mon, 14 Jan 2002 20:44:40 -0600 Date: Mon, 14 Jan 2002 20:44:40 -0600 From: Gregory Nowak To: speakup@braille.uwo.ca Subject: Re: piping output of dd through bzip2 Message-ID: <20020114204440.A579@uic.edu> References: <20020114201219.A512@uic.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from steve@holmesgrown.com on Mon, Jan 14, 2002 at 07:28:38PM -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: When I tried Tylor's suggestion which worked, I put the '-9' as the last option, and neither program complained. Greg On Mon, Jan 14, 2002 at 07:28:38PM -0700, Steve Holmes wrote: > wonder if that's when one needs to use the -c option? Haven't done > a lot with gzip nor bzip when it comes to unusual practices like pipes and > the like. The man page says that if no arguments are specified that bzip2 > will read from stdin and write to stdout. Tylor's and my tests indicated > that success but the -9 might have thrown the thing off. So if -c is > added, that might work. > > Well, I did my same test again but added the -9 option and got same > results as before - no errors. > > On Mon, 14 Jan 2002, Gregory Nowak wrote: > > > Sure did, got an error too. If you want to see it, I'll run the commands and post it. It was an error from dd stating that bzip2 could not be crated, and that '-9' is an invalid dd option. > > Greg > > > > > > On Mon, Jan 14, 2002 at 06:19:54PM -0700, Jason wrote: > > > did you try it with output the redirection symbol(">" [greater than sign])? > > > On Monday January 14, 2002 06:07 pm, you wrote: > > > > Well, bzip2 doesn't seem to work because it gave me that error. > > > > Greg > > > > > > > > On Mon, Jan 14, 2002 at 05:58:43PM -0700, Jason wrote: > > > > > ok, ok, gzip, bzip, bzip2, > > > > compressor here>, whatever, they'll all work > > > > > > > > > > On Monday January 14, 2002 05:46 pm, you wrote: > > > > > > Why should I use bzip if bzip2 gives better compression? > > > > > > Greg > > > > > > > > > > > > On Mon, Jan 14, 2002 at 03:57:06PM -0700, Jason wrote: > > > > > > > try it with 'bzip > windows.img' > > > > > > > > > > > > > > On Monday January 14, 2002 03:42 pm, you wrote: > > > > > > > > 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 > > > > > > > > > > > > > > _______________________________________________ > > > > > > > Speakup mailing list > > > > > > > Speakup@braille.uwo.ca > > > > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > > > > > > > > _______________________________________________ > > > > > > Speakup mailing list > > > > > > Speakup@braille.uwo.ca > > > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > > > > > > _______________________________________________ > > > > > Speakup mailing list > > > > > Speakup@braille.uwo.ca > > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > > > > _______________________________________________ > > > > Speakup mailing list > > > > Speakup@braille.uwo.ca > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > > _______________________________________________ > > > Speakup mailing list > > > Speakup@braille.uwo.ca > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup