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 16QJ8W-0001ZF-00 for ; Mon, 14 Jan 2002 21:15:41 -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 TAA26794 for ; Mon, 14 Jan 2002 19:15:38 -0700 Date: Mon, 14 Jan 2002 19:15:54 -0700 (MST) From: Steve Holmes To: Subject: Re: piping output of dd through bzip2 In-Reply-To: <02011418195405.05800@lightstar> 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: I just did and got it to work here. dd if=/dev/hda1 bs=1024 count=1024 |bzip >windows.img I noticed that dd of a 3.5 gig partition was gonna take a very long time. The output of my little test confirmed equal in and out counts but there was no output messages from bzip2; I suppose that's normal behavior for that program. The bzip2 man page mentions a -c option for standard input and output but not sure when that is actually needed. Perhaps so if a filename is specified but you want the output to go to stdout. I did my tests without the option. On Mon, 14 Jan 2002, 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 >