[BusyBox] pb with dd and gzip

Vladimir N. Oleynik dzo at simtreas.ru
Sun Dec 22 21:39:03 UTC 2002


Alex,

> i don't understand why but with 'dd' and 'gzip' binaries from busybox-0.60.3
> or higher there is a bug with this commande line:
> 
> #dd if=/dev/fd0 | gzip | dd of=fd.img
> 0+0 records in
> 0+0 records out
> 
> and with 'dd' and 'gzip' binaries from busybox-0.60.2 :
> 
> #dd if=/dev/fd0 | gzip | dd of=fd.img
>   2880+2880 records in
>   2740+2740 records out
> .. it's ok!
> 
> why ? i tried busybox versions 0.60.2 to 0.60.5 and kernel 2.4.17 to 19 in one
> floppy ramdisk linux.

This is gzip problem: not full compatibily.
You can use:
dd if=/dev/fd0 | gzip - | dd of=fd.img
or busybox-0.61 version gzip
or apply patch from attach.


--w
vodz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: last_patch74.gz
Type: application/x-gzip
Size: 1251 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20021222/d101a163/attachment.bin 


More information about the busybox mailing list