[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] [PATCH 1/2] tests: new test sparse04 for --sparse --posix
From: |
Kamil Dudka |
Subject: |
Re: [Bug-tar] [PATCH 1/2] tests: new test sparse04 for --sparse --posix and long names |
Date: |
Thu, 25 Nov 2010 11:43:06 +0100 |
User-agent: |
KMail/1.9.10 |
On Thursday 25 November 2010 11:28:00 Sergey Poznyakoff wrote:
> Kamil Dudka <address@hidden> ha escrit:
> > Sergey, wait, what exactly is intended?
>
> Intended is the tar's action during restore, namely: the value of the
> "path" keyword overrides the file name stored in the ustar header. That
> is correct.
>
> Now, what's *not* intended is that the path keyword was set to an incorrect
> value during archive creation. I will see how to fix it.
I see two choices:
1) Store valid file name into "path".
2) Avoid using "path" at all with "GNU PAX sparse file format 1.0".
Either way, we should give users a chance to correctly unpack already
affected archives.
Kamil