[BusyBox] Gunzip/Tar problems

Joshua Jackson busybox at vortech.net
Mon Jan 27 14:05:05 UTC 2003


Just curious if anyone had addressed or figured out what the problem was with 
tar/gunzip. What I am currently seeing is a tar xzf file.tgz will only unpack 
a portion of the tar file.  On very small archives, they simply report being 
corrupt (invalid tar magic) - even though the archives are known good.

The really odd thing is that the command:

tar -tvzf file.tgz 

Will show all of the archive contents OK and report that the archive is 
alright, however:

tar -xvzf file.tgz

Will unpack the first 2 files and then report an "invalid tar magic".

The test system is a 2.2.23 kernel, uClibc 0.9.16, Busybox CVS 20030121.

If anyone would like to see the problem in action, here is 1.44Mb bootable 
floppy image that contains the broken busybox:

http://www.vortech.net/~jjackson/coyote144.img

--
Joshua Jackson
http://www.coyotelinux.com



More information about the busybox mailing list