Subject: Re: gunzip|dd causes dd to fail w/ new gzip
To: None <tech-userlevel@NetBSD.org>
From: Jukka Salmi <j+nbsd@2004.salmi.ch>
List: tech-userlevel
Date: 07/08/2004 22:38:06
Hello,

Hubert Feyrer --> tech-userlevel (2004-07-08 22:09:03 +0200):
> 
> I have an application[1] that basically does
> 
> 	ftp -o "|gunzip|dd bs=1m of=/dev/rwd0d" $url
> 
> I got to update if after a while, and find that it constantly gives me:
> 
> 	dd: Invalid argument

I encountered the same problem[1] while writing image file to CF disks.
The short answer probably is "use obs=n instead of bs=n".


HTH, Jukka

[1] http://mail-index.netbsd.org/current-users/2004/06/16/0002.html

-- 
If fifty million people say a foolish thing,
it is still a foolish thing.

	Anatole France