[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: busybox v1.19.4 tar short read, no -i option to ignore the zero blocks
From: Timothy Reinhardt <Timothy.Reinhardt () altech-multimedia ! com>
Date: 2014-05-15 9:23:52
Message-ID: 1D778C99B778FB46B5D092AD599AF40F0F9428E6 () amizaex01 ! uectech ! net
[Download RAW message or body]
Hi
I have encounter a bug on busybox v1.19.4 when utilising tar to extract cer=
tain *.tar files.
The error is potentially valid: tar: short read
but as the tar file is NOT corrupt and extracts 100% correctly in this case=
it is invalid. There is a known issue with tar that occurs when a file do=
es not have a pair of zero blocks at the end of it, as GNU tar expects and =
suspect this is my failing. However I cannot repackage the tars nor want o =
be so strict.
The same tar file on the Ubuntu (tar version: tar (GNU tar) 1.26), I get t=
he error
tar: A lone zero block at xxx
But the GNU tar I can ignore this error via the -i option to ignore the zer=
o blocks. But I cannot do this fix on the busybox version.
Is there a patch or Fix to ignore zero blocks for the busy box tar?
Thanks
Timothy Reinhardt
Cape Town Design Centre
Altech Multimedia International (Pty) Ltd, Registration 1984/003805/07
8th Floor, 1 Thibault Square, Foreshore, Cape Town, 8001
+27 (0) 21 425 5700 (office)
+27 (0) 21 425 5688 (fax)
mailto:timothy.reinhardt@uec.co.za
www.uec.co.za<http://www.uec.co.za/>
Leading Technologies: Touching Lives
[SA Technology Top 100] [SA Technology Top 100]
________________________________
E-Mail Disclaimer: www.altron.co.za/email.asp<http://www.altron.co.za/email=
.asp>
Should you have any questions regarding this e-mail legal notice please con=
tact us on
1. Telephone number : +27315082800
2. Fax number : +2731539 3370
3. E-mail address: info@altech-multimedia.com
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
{font-family:Calibri}
@font-face
{font-family:Tahoma}
@font-face
{font-family:Frutiger}
@font-face
{font-family:"Segoe UI"}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
span.EmailStyle17
{font-family:"Calibri","sans-serif";
color:windowtext}
.MsoChpDefault
{font-family:"Calibri","sans-serif"}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
{}
-->
</style>
</head>
<body lang="EN-ZA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">I have encounter a bug on busybox \
v1.19.4 when utilising tar to extract certain *.tar files.</span></p> <p \
class="MsoNormal"><span style="color:#1F497D">The error is potentially valid: </span> \
<span style="font-size:10.0pt; font-family:"Segoe \
UI","sans-serif"; color:red">tar: short read</span></p> <p \
class="MsoNormal"><span style="color:#1F497D">but as the tar file is NOT corrupt and \
extracts 100% correctly in this case it is invalid. There is a known issue with \
tar that occurs when a file <b>does not have a pair of zero blocks at the end of \
it</b>, as GNU tar expects and suspect this is my failing. However I cannot repackage \
the tars nor want o be so strict.</span></p> <p class="MsoNormal"><span \
style="color:#1F497D">The same tar file on the Ubuntu (</span>tar version: tar \
(GNU tar) 1.26<span style="color:#1F497D">), I get the error</span></p> <p \
class="MsoNormal"><span style="color:red">tar: A lone zero block at xxx</span></p> <p \
class="MsoNormal"><span style="color:#1F497D">But the GNU tar I can ignore this error \
via the </span>-i<span style="color:#1F497D"> option to ignore the zero blocks. But I \
cannot do this fix on the busybox version.</span></p> <p class="MsoNormal"><span \
style="color:#1F497D"> </span></p> <p class="MsoNormal"><span \
style="color:#1F497D">Is there a patch or Fix to ignore zero blocks for the busy box \
tar?</span></p> <p class="MsoNormal"> </p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt; \
font-family:"Segoe UI","sans-serif"">Thanks</span></p> <p \
class="MsoNormal"><span style="color:red"> </span></p> <p \
class="MsoNormal"> </p> <p class="MsoNormal"> </p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:9.0pt; \
font-family:"Arial","sans-serif"">Timothy \
Reinhardt</span></b><span lang="EN-US" style=""></span></p> <p \
class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt; \
font-family:"Arial","sans-serif"">Cape Town Design \
Centre<b></b></span></p> <p class="MsoNormal"><span lang="EN-US" \
style="font-size:9.0pt; font-family:"Arial","sans-serif"">Altech \
Multimedia International (Pty) Ltd, Registration 1984/003805/07</span></p> <p \
class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt; \
font-family:"Arial","sans-serif"">8<sup>th</sup> Floor, 1 \
Thibault Square, Foreshore, Cape Town, 8001</span></p> <p class="MsoNormal"><span \
lang="EN-US" style="font-size:9.0pt; \
font-family:"Arial","sans-serif"">+27 (0) 21 425 5700 \
(office) </span><span lang="EN-US" style=""></span></p>
<p class="MsoNormal"><span lang="FR" style="font-size:9.0pt; \
font-family:"Arial","sans-serif"">+27 (0) 21 425 5688 \
(fax)</span></p> <p class="MsoNormal"><u><span lang="EN-US" style="font-size:9.0pt; \
font-family:"Arial","sans-serif"; color:#1319FD"><a \
href="mailto:timothy.reinhardt@uec.co.za" \
title="mailto:timothy.reinhardt@uec.co.za"><span \
style="color:blue">mailto:timothy.reinhardt@uec.co.za</span></a></span></u></p> <p \
class="MsoNormal"><u><span lang="EN-US" style="font-size:9.0pt; \
font-family:"Arial","sans-serif"; color:#1319FD"><a \
href="http://www.uec.co.za/" title="http://www.uec.co.za/"><span \
style="color:blue">www.uec.co.za</span></a></span></u></p> <p class="MsoNormal"><span \
lang="EN-US" style="font-size:9.0pt; font-family:Frutiger; \
color:#1F497D"> </span></p> <p class="MsoNormal" align="center" \
style="text-align:center"><b><span lang="EN-US" style="font-size:14.0pt; \
font-family:"Tahoma","sans-serif"">Leading Technologies: Touching \
Lives</span></b></p> <p class="MsoNormal"> </p>
</div>
<img src="http://www.altech-multimedia.com/sites/default/multimedia/files/image/Minister%20Large.jpg" \
alt="SA Technology Top 100" width="150" height="150"> <img \
src="http://www.altech-multimedia.com/sites/default/multimedia/files/image/LARGE%20WINNER%20INNOVATION.jpg \
" alt="SA Technology Top 100" width="150" height="150"> <hr>
<p style="font-family:arial; color:black; font-size:10px">E-Mail Disclaimer: <a \
href=" http://www.altron.co.za/email.asp"> www.altron.co.za/email.asp</a> <br>
Should you have any questions regarding this e-mail legal notice please contact us on
<br>
1. Telephone number : +27315082800 <br>
2. Fax number : +2731539 3370 <br>
3. E-mail address: info@altech-multimedia.com<br>
</p>
</body>
</html>
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
--===============6475320507678125453==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic