DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 11th July 2008
JMJ_coder JMJ_coder is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 464
Default Which tar does NetBSD ship with?

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(1) 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?
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)
Reply With Quote
  #2   (View Single Post)  
Old 11th July 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

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/...st/libarchive/
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libarchive/
http://cvsweb.netbsd.org/bsdweb.cgi/...n/tar/Makefile
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 12th July 2008
JMJ_coder JMJ_coder is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 464
Default

Hello,

Thanks for the info.
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:04 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick