Re: [dev] [sbase][tar] GNU tar support

From: Hadrien Lacour <hadrien.lacour_AT_posteo.net>
Date: Wed, 25 Nov 2020 19:27:05 +0100

On Wed, Nov 25, 2020 at 05:49:56PM +0100, Laslo Hunhold wrote:
> On Wed, 25 Nov 2020 07:51:22 -0500
> Cág <ca6c_AT_snopyta.org> wrote:
>
> Dear Cág,
>
> > A quick question: for "POSIX tar archive (GNU)" files tar prints
> > tar: unsupported tar-filetype L
> >
> > Is GNU tar support out of scope?
>
> there's probably no way to implement those GNU-extensions in a good and
> suckless way. The FSF has the bad habit for their
> standard-implementations that they tend to add everything including the
> kitchen sink which might as well be easily handled by other standard
> tools (think of "cat -v" for example).
>
> Even if a suckless implementation of GNU tar was possible, would you
> really want it to be included? I'd rather like to encourage people to
> use standard non-proprietary file formats.
>
> With best regards
>
> Laslo
>

This portability report https://mgorny.pl/articles/portability-of-tar-features.html
might help a bit.

The tl;dr is that you either use POSIX ustar with its path length and file size
limits, or use GNU tar when your input doesn't fit; pax was supposed to be the
replacement, but is more or less unused/ignored.

Regards
Received on Wed Nov 25 2020 - 19:27:05 CET

This archive was generated by hypermail 2.3.0 : Wed Nov 25 2020 - 19:36:08 CET