AW: Problem with busybox tar.

Denys Vlasenko vda.linux at googlemail.com
Fri Mar 13 18:11:57 UTC 2009


On Friday 13 March 2009 03:40:00 pm Emery, Jacques wrote:
> I was so lost in my own problems that I completely forget to mention the problem with 'tar'.
> 
> I get a "tar: short read" while trying to untar the file with 
>   tar -xzvf rec_var.tgz
> 
> But I can see from your comment (you use xvf to untar it...), that the error seems to come from our production process.
> On the embeded system, we expect a tared and zipped file. 
> But obviously it seems that the file is only tared at production time.

No, your .tgz was indeed gzipped, 100% sure.

> As we don't work with autodected but use -xzvf as options, it fails ...

1.10.4 with your .config and your attached rec_var.tgz:

# /root/srcdevel/bbox/fix/busybox-1.10.4/busybox tar xzvf rec_var.tgz
./
./run/
./run/hosts
./log/
./ntp/
./data/
./lib/
./lib/urandom/
./dhcpc/
./config/
./config/hwversion.conf

--
vda


More information about the busybox mailing list