Subject: Re: gunzip|dd causes dd to fail w/ new gzip
To: Noriyuki Soda <soda@sra.co.jp>
From: Martin Husemann <martin@duskware.de>
List: tech-userlevel
Date: 07/09/2004 12:28:24
On Fri, Jul 09, 2004 at 07:18:11PM +0900, Noriyuki Soda wrote:
> I don't see what you mean "stream" here.

Basically a synonym for ibs=1 I guess, but maybe with an optimized
implementation.

> If you need a specific block size for input, you can specify it by
> ibs=, or, if you don't need any specific block size for input,
> any input block size must be OK.

How do I remove any input block boundaries and force strict blocking on
the output side? According to the man page "dd obs=XXX of=/dev/rXXXX" 
is not enough, since input blocks need not be multiples of 512 byte.

dd obs=XXX ibs=1 of=/dev/rXXXX

should work, but would be realy inefficient, wouldn't it?

Martin