[BusyBox] Problems with tar

Michael Sternberg michaels at boscom.com
Tue Oct 15 07:16:03 UTC 2002


BusyBox v0.63.cvs (2002.10.14-14:11+0000)
PPC, jffs2 filesystem.

busybox tar fails while standard HardHat works ok.
Attached two strace files - maybe it will help.

bb_tar is from busybox "tar tvf mishka.tar"
hh_tar is from HardHat tar with same command on same computer.

.config file contain following (relevant) options:

CONFIG_TAR=y
CONFIG_FEATURE_TAR_CREATE=y
CONFIG_FEATURE_TAR_EXCLUDE=y
CONFIG_FEATURE_TAR_GZIP=y
# CONFIG_FEATURE_TAR_OLD_FORMAT is not set
# CONFIG_FEATURE_GNUTAR_LONG_FILENAME is not set
# CONFIG_FEATURE_UNARCHIVE_TAPE is not set

P.S. I found the problem: "tar -tvf mishka.tar" works ok. But
     "tar -xvf mishka.tar" creates an emty file and complains
     about "invalid tar magic".

		Please help.
			Thanks, Michael.
-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bb_tar
Type: application/octet-stream
Size: 5491 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20021015/2417060b/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hh_tar
Type: application/octet-stream
Size: 3453 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20021015/2417060b/attachment-0001.obj 


More information about the busybox mailing list