PDA

View Full Version : Which tar does NetBSD ship with?


JMJ_coder
07-11-2008, 03:35 AM
Hello,

Reading the BSD Hacks book, one of the articles claim that NetBSD ships with the GNU version of tar. I went to the tar manpage and it says nothing about it being GNU (which would be odd if it were GNU as they plaster name on all their programs). Does NetBSD ship with GNU tar or another version by someone else?

Carpetsmoker
07-11-2008, 04:03 AM
It looks like NetBSD used to use GNU tar, there are three tar directories in:
http://cvsweb.netbsd.org/bsdweb.cgi/src/gnu/usr.bin/

About a year ago NetBSD switched to bsdtar/libarchive, I believe it's from FreeBSD originally, but it runs on many, many different platforms, see the bsdtar/libarchive homepage:
http://people.freebsd.org/~kientzle/libarchive/

And here is bsdtar/libarchive in the NetBSD source tree:
http://cvsweb.netbsd.org/bsdweb.cgi/src/dist/libarchive/
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libarchive/
http://cvsweb.netbsd.org/bsdweb.cgi/src/bin/tar/Makefile

JMJ_coder
07-12-2008, 02:28 AM
Hello,

Thanks for the info.