bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] change default --format from gnu to posix


From: Paul Eggert
Subject: Re: [PATCH] change default --format from gnu to posix
Date: Mon, 13 Dec 2021 18:51:56 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0

On 12/13/21 12:50, Paul Eggert wrote:
I installed the attached patch to suggest --pax option 'delete=[ac]time' instead; this should work around the issue.

After fooling around with --format=ustar and --format=pax a bit more with tzdb, and discovering the Y2242 problem that I'd forgotten about in ustar format, I installed the attached further patch. It changes the documentation to suggest 'delete=atime,delete=ctime' instead (more robust to shell expansion). And it downgrades its suggestion of delete=mtime because that stops working after 2242. (No time like the present...)

The other two patches bring the doc a bit more up to speed on boilerplate.

If you're curious, the companion patch I installed into tzdb is here:

https://github.com/eggert/tz/commit/7a200f2b3ef4ea71d5091d8f712bc40d8c340381

It uses "--format=pax --pax-option='delete=atime,delete=ctime'" instead of "--format=ustar". Since the tarball contains only files with integer timestamps, the two options are equivalent until the year 2242, when the latter will stop working and the former starts using pax extensions.

Attachment: 0001-Don-t-recommend-delete-mtime.patch
Description: Text Data

Attachment: 0002-Format-and-more-nicely-in-doc.patch
Description: Text Data

Attachment: 0003-Copy-COPYING-and-fdl.texi-from-upstream.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]