Hi Chris,

The only information that I was able to find that said anything useful about
the difference is found in this page.
http://java.sun.com/products/archive/j2se/1.2.2_017/install-docs.html

Snippet from this page (you'll find it at the bottom of the page) :

"Background: The original tar format supports a maximum path size of 99
characters. If you use Solaris tar, you will not see a problem, because
Solaris tar extends this format beyond 99 characters but in a Solaris-only
way. GNU tar has a different way of extending the format, so is incompatible
with the Solaris tar. WinZip and Cygnus GNU tar 1.11.8 do not support the
Solaris way. We recommended that you use Solaris tar to extract the archive,
or use the jar tool or WinZip to extract the zip version."

>> Note : WinRAR seems to work properly with Solaris tar archives, though..

I am trying to get docs on the tar implementation in Solaris. I will get
back once I get more information.
What's happening is that for files with long path size , they get extracted
as if they were present in the root directory.

I am very much interested in a version that works on Solaris. I dont know if
I'll have time to work right now on a Solaris tar implementation, but if
someone gets around to writing one I'll surely be able to help test it.
You could also try installing Solaris on x86 for testing, since it is free.

Thanks,
Hari.

On 4/6/06, C. Grobmeier <[EMAIL PROTECTED]> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> > Does this work with Solaris tar, since Solaris tar is different from GNU
> tar
> > ?
> > If not , is there a plan to do so ?
> > Won't making TarEntry an interface with Solaris/GNU implementations be a
> > good idea ?
> > This is just an idea off the top of my head.. I've not delved too much
> into
> > the code..
>
> i have just used the old APIs which have been implemented bevor ages.
> In the old testcases [1] i see that there seem to be a difference
> between Posix Tar and GNU Tar. Is this what you meant? It seems there is
> work to do left. I am sorry that i am not to deep into tar yet. If you
> have documents for me to read just send me the urls.
>
> Thanks,
> Christian
>
>
> [1] org.apache.commons.compress.TarTestCase.java
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.1 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFENC85kv8rKBUE/T4RAvepAJ9UhbEJ/L1CfQnz42Z3zyMgBQXFOwCfXDxV
> BHUXlp3lDBNsE4bgTUFOfMU=
> =oVNZ
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to