[BusyBox] tar problem

Brad Campbell brad at seme.com.au
Thu Sep 5 20:48:03 UTC 2002


G'day all,

After a frustrating night trying to use busybox to clone a laptop
hard disk over the network, I have found an incompatibility with
GNU tar 1.13.25 (Debian Woody) and busybox CVS tar.

I used GNU tar to archive a complete partition (-cvzf).
In my /var/lib/apt/lists dir I have some very long filenames.
On un-archiving (-xvzf) with Busybox tar, it exits with no error message, 
just an odd dir entry (Actually tested with last nights CVS and it does
give an error "tar: Invalid tar header checksum")


0--------- 0/0    107 Jan 1 1970 ././@LongLink

This causes busybox to exit and of course I can't unarchive the partition.

I have a 160k archive that contains the contents of my /var/lib/apt/lists
and also one file at /tracks/cvs/busybox/INSTALL.

GNU tar will extract the whole thing, but busybox will abort before it reaches
the final file (INSTALL)

File can be found at http://www.wasp.net.au/~brad/bbtest2.tgz
If it's of interest to anyone.

I ended up static compiling GNU tar with uClibc.. 

-- 
Brad....
                   /"\
Save the Forests   \ /     ASCII RIBBON CAMPAIGN
Burn a Greenie.     X      AGAINST HTML MAIL
                   / \



More information about the busybox mailing list