From owner-freebsd-stable@FreeBSD.ORG Fri Nov 10 17:41:01 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E14F916A403 for ; Fri, 10 Nov 2006 17:41:01 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41D1E43D7E for ; Fri, 10 Nov 2006 17:40:52 +0000 (GMT) (envelope-from avg@icyb.net.ua) Received: from [212.40.38.87] (oddity-e.topspin.kiev.ua [212.40.38.87]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id TAA26661; Fri, 10 Nov 2006 19:37:39 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4554B8E3.1050604@icyb.net.ua> Date: Fri, 10 Nov 2006 19:37:39 +0200 From: Andriy Gapon User-Agent: Thunderbird 1.5.0.7 (X11/20061017) MIME-Version: 1.0 To: freebsd-stable@freebsd.org, aburke@nullplusone.net, gamato@users.sourceforge.net References: <1163175782.00634431.1163163003@10.7.7.3> In-Reply-To: <1163175782.00634431.1163163003@10.7.7.3> Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 7bit Cc: Subject: Re: adding an extra hard disk and adding space to /usr X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2006 17:41:02 -0000 on 10/11/2006 14:32 Oliver Fromme said the following: > Aaron Burke wrote: > > SNIP > > > > (FreeBSD 4.x) : cd /usr; tar clpf - . | (cd /mnt; tar xvf -) > > > > (FreeBSD 5.x+) : cd /usr; gtar clpf - . | (cd /mnt; gtar xvf -) > > > iirc tar(1) has changed in 5.3. why do you use gtar please? is new tar > > > missing something? > > Well, technically no, but it requires more typing. > > That's why I prefer to use cpio: > > cd /usr; find -dx . | cpio -dump /mnt > > which works on _any_ version of FreeBSD out of the box. $ pax rw /usr /mnt is even less typing and works on any system with POSIX-compliant utilities :-) Not to mention all other goodies that pax provides (I especially like -s option). -- Andriy Gapon