[BusyBox] tar in current cvs is broken
David Whedon
dwhedon at gordian.com
Sat Apr 28 16:22:10 UTC 2001
I'm not sending to either the Debian or Lineo BTS since I don't know if this
problem affects anything other than current cvs. It is probably unsporting to
submit a bug when working form cvs.
To recreate the bug, run these commands inside the busybox _install/bin/ dir.
$ rm -rf temp/ t.tar
$ mkdir temp
$ dd count=8 if=/dev/urandom of=temp/foo
8+0 records in
8+0 records out
$ ./tar -cf t.tar temp/
$ ./tar -xf t.tar
tar: Bad tar header, skipping
tar: Bad tar header, skipping
tar: Bad tar header, skipping
tar: Bad tar header, skipping
tar: Bad tar header, skipping
tar: Bad tar header, skipping
tar: Bad tar header, skipping
tar: Bad tar header, skipping
tar: Error exit delayed from previous errors
$
The error occurs even if the standard 'tar' is used for creating the archive,
so the problem appears related to extraction.
David
More information about the busybox
mailing list