Subject: Re: gunzip|dd causes dd to fail w/ new gzip
To: None <tech-userlevel@NetBSD.org>
From: Jukka Salmi <firstname.lastname@example.org>
Date: 07/08/2004 22:38:06
Hubert Feyrer --> tech-userlevel (2004-07-08 22:09:03 +0200):
> I have an application 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 while writing image file to CF disks.
The short answer probably is "use obs=n instead of bs=n".
If fifty million people say a foolish thing,
it is still a foolish thing.