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: Tue, 14 Dec 2021 11:39:47 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1

On 12/13/21 22:02, Mike Frysinger wrote:

LC_COLLATE=C tar \
   --format=pax \
   --sort=name \
   --owner=0 --group=0 \
   --pax-option=exthdr.name=%d/PaxHeaders/%f,atime:=0,ctime:=0 \
   -cf foo.tar foo/

use of --mtime=0 is prob debatable.

tzdb uses --pax-option='delete=atime,delete=ctime' instead of the --pax-option you give, as this avoids generating unwanted and useless pax extended headers. It also uses --numeric-owner. You might consider adding these options to your recipe.

This underscores the need for making this sort of thing more convenient.



reply via email to

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