> 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. Yes. That way at least people won't accidently destroy a filesystem (like I did) when they're trying to use tar to copy stuff. -DG David G. Lawrence President Download Technologies, Inc. - http://www.downloadtech.com - (866) 399 8500 TeraSolutions, Inc. - http://www.terasolutions.com - (888) 346 7175 The FreeBSD Project - http://www.freebsd.org Pave the road of life with opportunities.Received on Mon Aug 02 2004 - 05:04:52 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC