From owner-freebsd-current@FreeBSD.ORG Wed Mar 30 12:58:58 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5251B16A4CE for ; Wed, 30 Mar 2005 12:58:58 +0000 (GMT) Received: from ion.gank.org (ion.gank.org [69.55.238.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1398A43D55 for ; Wed, 30 Mar 2005 12:58:58 +0000 (GMT) (envelope-from craig@xfoil.gank.org) Received: from aldaris.auir.gank.org (arbiter.gank.org [64.81.113.221]) by ion.gank.org (mail) with ESMTP id 7359A2AA3B; Wed, 30 Mar 2005 06:58:57 -0600 (CST) From: Craig Boston To: freebsd-current@freebsd.org Date: Wed, 30 Mar 2005 07:01:09 -0600 User-Agent: KMail/1.8 References: <20050327223238.GA749@polands.org> <20050329062550.GA69824@cirb503493.alcatel.com.au> <200503301139.j2UBdMp5016442@dungeon.home> In-Reply-To: <200503301139.j2UBdMp5016442@dungeon.home> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503300701.09895.craig@xfoil.gank.org> cc: Peter Jeremy cc: "Brian K. White" cc: Stephen McKay Subject: Re: Heads up: gtar gone from base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 12:58:58 -0000 On Wednesday 30 March 2005 5:39 am, Stephen McKay wrote: > Still, if you are using tar, be sure to use it correctly: > > ( cd srcdir && tar cf - . ) | ( cd destdir && tar xpf - ) > > You don't want it going off in the current directory and mangling things > just because of a little typo in a directory name. I wonder, how does this compare to using cpio -p? cd srcdir && find -d . -print0 | cpio -p -0d /absolute/destdir (other than tar's syntax being easier to remember than cpio) gtar used to have problems with truncating device nodes to 16 bits; not that it's as much of an issue in the modern era with devfs. Craig