[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] Re: AMTAR brokenness
From: |
Sergey Poznyakoff |
Subject: |
Re: [Bug-tar] Re: AMTAR brokenness |
Date: |
Fri, 16 Apr 2004 11:59:37 +0300 |
Alexandre Duret-Lutz <address@hidden> wrote:
> On second though, shouldn't we try to use pax first? tar is no
> longer a POSIX requirement, right?
Right, but I'd say it's too early to relay on pax.
> Also do we really need to try `-o'?
No, we do not.
> Besides GNU tar, is there some tar implementation that does not
> default to the ustar format?
GNU tar 1.14 will be the last release that uses non-portable GNU format
by default. Subsequent versions will default to 'ustar' format.
> How about this scheme:
>
> Use `pax -x ustar' if it works.
>
> Otherwise try `tar --format=ustar'.
This looks OK (though see my comment above).
> Otherwise use `POSIXLY_CORRECT=1 tar'. (I'm assuming that
> POSIXLY_CORRECT=1 will coerce older tar versions into
> producing ustar format. Am I wrong, or is there another
> way?)
No, it will not. Previous versions of GNU tar were not able to produce
correct 'ustar' archives. Whatever options you give to previous versions
of GNU tar, the produced archives will deviate from the standard.
Using -o does not help much, either: if the file list to be archived
contains long filenames or symbolic links, tar will create GNU extension
headers for them, thus hurting the portability of the resulting archive.
Regards,
Sergey
- [Bug-tar] Re: AMTAR brokenness, Alexandre Duret-Lutz, 2004/04/15
- Re: [Bug-tar] Re: AMTAR brokenness, Paul Eggert, 2004/04/16
- Re: [Bug-tar] Re: AMTAR brokenness, Paul Eggert, 2004/04/17
- Re: [Bug-tar] Re: AMTAR brokenness, Alexandre Duret-Lutz, 2004/04/17
- Re: [Bug-tar] Re: AMTAR brokenness, Paul Eggert, 2004/04/18
- Re: [Bug-tar] Re: AMTAR brokenness, Sergey Poznyakoff, 2004/04/18
- Re: [Bug-tar] Re: AMTAR brokenness, Roger Leigh, 2004/04/18
- Re: [Bug-tar] Re: AMTAR brokenness, Alexandre Duret-Lutz, 2004/04/18
- Re: [Bug-tar] Re: AMTAR brokenness, Eric Sunshine, 2004/04/18
- Re: [Bug-tar] Re: AMTAR brokenness, Paul Eggert, 2004/04/19