tar: corrupted octal value in tar header
Denys Vlasenko
vda.linux at googlemail.com
Sun Sep 20 12:05:48 UTC 2009
On Sunday 20 September 2009 11:02, Peter Renzland wrote:
> On 09 Sep 19, at 20:32 , Denys Vlasenko wrote:
>
> > On Sunday 20 September 2009 01:04, Peter Renzland wrote:
> >> I am attaching a file: snow.tar
>
> The closest thing appears to be scripts/defconfig:
> defconfig
> which appears to have the identical tar configs, i.e. all turned on.
It would be much easier if you would actually send your .config -
with defconfig it works.
If you switch off FEATURE_TAR_OLDGNU_COMPATIBILITY, then it will fail:
# ./busybox tar tf /tmp/snow.tar
tar: corrupted octal value in tar header
> Can someone please explain what is meant by "corrupted octal value",
> in this context?
> What is this message trying to say?
The message is saying that "000644 " is not a valid octal number -
it has trailing space.
00000000 73 6e 6f 77 00 00 00 00 00 00 00 00 00 00 00 00 |snow............|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000060 00 00 00 00 30 30 30 36 34 34 20 00 30 30 30 37 |....000644 .0007|
00000070 36 35 20 00 30 30 30 30 32 34 20 00 30 30 30 30 |65 .000024 .0000|
00000080 30 30 30 30 30 31 35 20 31 31 32 35 35 31 36 34 |0000015 11255164|
00000090 30 34 34 20 30 31 32 32 34 37 00 20 30 00 00 00 |044 012247. 0...|
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000100 00 75 73 74 61 72 00 30 30 70 65 74 65 72 00 00 |.ustar.00peter..|
00000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000120 00 00 00 00 00 00 00 00 00 73 74 61 66 66 00 00 |.........staff..|
00000130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000140 00 00 00 00 00 00 00 00 00 30 30 30 30 30 30 20 |.........000000 |
00000150 00 30 30 30 30 30 30 20 00 00 00 00 00 00 00 00 |.000000 ........|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000200 48 65 6c 6c 6f 20 57 6f 72 6c 64 21 0a 00 00 00 |Hello World!....|
...
--
vda
More information about the busybox
mailing list