From owner-cvs-all@FreeBSD.ORG Mon May 26 18:16:45 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10076106567C for ; Mon, 26 May 2008 18:16:45 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd4mo2so.prod.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id D333E8FC16 for ; Mon, 26 May 2008 18:16:44 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd2mr4so.prod.shaw.ca (pd2mr4so-qfe3.prod.shaw.ca [10.0.141.107]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0K1H00HN5MRW26E0@l-daemon> for cvs-all@FreeBSD.org; Mon, 26 May 2008 12:16:44 -0600 (MDT) Received: from pn2ml9so.prod.shaw.ca ([10.0.121.7]) by pd2mr4so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0K1H008JUMRS7WE0@pd2mr4so.prod.shaw.ca> for cvs-all@FreeBSD.org; Mon, 26 May 2008 12:16:42 -0600 (MDT) Received: from hexahedron.daemonology.net ([24.80.10.198]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with SMTP id <0K1H005QMMRS0F30@l-daemon> for cvs-all@FreeBSD.org; Mon, 26 May 2008 12:16:40 -0600 (MDT) Received: (qmail 3563 invoked from network); Mon, 26 May 2008 18:16:39 +0000 Received: from unknown (HELO hexahedron.daemonology.net) (127.0.0.1) by localhost with SMTP; Mon, 26 May 2008 18:16:39 +0000 Date: Mon, 26 May 2008 11:16:39 -0700 From: Colin Percival In-reply-to: <20080526172717.GA93432@freebsd.org> To: Roman Divacky Message-id: <483AFE87.6020103@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Enigmail-Version: 0.95.5 References: <200805261715.m4QHFZUK070554@repoman.freebsd.org> <20080526172717.GA93432@freebsd.org> User-Agent: Thunderbird 2.0.0.9 (X11/20071117) Cc: cvs-src@FreeBSD.org, Tim Kientzle , cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/cpio Makefile bsdcpio.1 cmdline.c config_freebsd.h cpio.c cpio.h cpio_platform.h err.c matching.c matching.h pathmatch.c pathmatch.h src/usr.bin/cpio/test Makefile main.c test.h test_0.c test_basic.c test_format_newc.c ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2008 18:16:45 -0000 Roman Divacky wrote: >> Initial commit of bsdcpio 0.9.11b. > > great! thnx a lot. > > can you please summarize what are the advantages/differences from gnu-cpio? The BSD license is one advantage; but the fact that this 1766 lines of C code compared to gnu-cpio's 6994 lines of C code is in my opinion far more important (the difference being largely because bsdcpio uses libarchive, of course). Other benefits include bsdcpio being cleaner code (I had to look at the cpio code once for a security advisory... I nearly went blind), being newer code (at least from the perspective of security, pre-2000 code is generally less trustworthy -- people were simply less aware of security in the past), and having an active FreeBSD maintainer. I'm looking forward to when we can remove both GNU cpio and our current pax implementation from the tree, and have libarchive be the One True Archiver which is exposed to userland via three different front-ends. Colin Percival