From owner-freebsd-stable@FreeBSD.ORG Fri Nov 10 10:16:44 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 7D24716A415 for ; Fri, 10 Nov 2006 10:16:44 +0000 (UTC) (envelope-from aburke@nullplusone.net) Received: from alpha.nullplusone.net (sub25-168.member.dsl-only.net [63.105.25.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id A385443D49 for ; Fri, 10 Nov 2006 10:16:43 +0000 (GMT) (envelope-from aburke@nullplusone.net) Received: from leda (leda.int.nullplusone.net [192.168.10.242]) by alpha.nullplusone.net (8.12.9/8.12.9) with ESMTP id kAAAGc8J051090; Fri, 10 Nov 2006 02:16:42 -0800 (PST) (envelope-from aburke@nullplusone.net) From: "Aaron Burke" To: "martinko" , Date: Fri, 10 Nov 2006 02:16:52 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Importance: Normal 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 10:16:44 -0000 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. gtar supports the same flags that were present on FreeBSD up till 4.x (or as you say, perhaps as late as 5.3). However, the more typical tar now has a completly undesired effect. The main difference is how the 'l' flag is treated. excerpt from tar man page: BUGS POSIX and GNU violently disagree about the meaning of the -l option. Because of the potential for disaster if someone expects one behavior and gets the other, the -l option is deliberately broken in this implementa- tion. another excerpt from the tar man page. (FreeBSD 5.4-Release): -l If POSIXLY_CORRECT is specified in the environment, this is a synonym for the --check-links option. Otherwise, an error will be displayed. Users who desire behavior compatible with GNU tar should use the --one-file-system option instead. excerpt from gtar man page (FreeBSD 5.4-Release): -l --one-file-system Stay in local file system when creating an ar- chive (do not cross mount points). > cheers, > > martin SNIP -- Aaron Burke