cvs commit: src/usr.sbin/pkg_install/lib url.c

Tim Kientzle kientzle at freebsd.org
Wed Mar 7 16:59:17 UTC 2007


Jim Rees wrote:
> I'm not convinced this fix is correct.  I don't think tar ever did this
> before gnu came along,

You're dating yourself here, Jim.  GNU tar is
over 20 years old.  ;-)  I also thought gnu tar
shipped with FreeBSD 1.0 in 1993, though I might
be wrong about that.

>... and I would find it surprising to have this option
> turned on just because I'm root.  And if you enable it automatically for
> root, now you need another option to turn it off.

Sad but true.  The discussion in the Single Unix
Standard rationale about the design of the "-p"
option for pax should be required reading for
anyone interested in the design of archivers.

Unfortunately, an awful lot of build scripts
for various ports rely heavily on arcane details
of gnu tar behavior.  A lot of stuff would break
if bsdtar didn't at least make an effort to
follow GNU tar command-line conventions.

Tim


More information about the cvs-src mailing list