Re: tar -l versus gtar -l

From: Tim Kientzle <kientzle_at_freebsd.org>
Date: Sun, 01 Aug 2004 18:31:03 -0700
David G. Lawrence wrote:
> 
>    Well...the SUSv2 specification for tar may not have been the best standard
> to adhere to. The change of behavior for the 'l' option on create is going
> to seriously bite a lot of people because it majorly affects what is
> archived.

I'm reluctant to contradict the one serious
attempt to standardize tar simply because gtar
ignored that effort.

I would rather just disable the -l option entirely;
that way, people would get an error message instead
of having the tar program behave unexpectedly.

Would you be happier with this behavior?

   $ tar -cl /foo
   Error: -l is ambiguous
     If you want GNU tar -l, use --one-file-system instead.
     If you want POSIX tar -l, use --link-warn instead.

Tim
Received on Sun Aug 01 2004 - 23:31:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC