From owner-freebsd-fs@FreeBSD.ORG Tue May 22 12:42:17 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E1B9316A473; Tue, 22 May 2007 12:42:17 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id A069F13C480; Tue, 22 May 2007 12:42:17 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id AB62F2087; Tue, 22 May 2007 14:42:13 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 386D22086; Tue, 22 May 2007 14:42:13 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 1CA3557B7; Tue, 22 May 2007 14:42:13 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: bv@wjv.com References: <475187.33232.qm@web63006.mail.re1.yahoo.com> <86r6p9xf2c.fsf@dwp.des.no> <20070522120627.GB89056@wjv.com> Date: Tue, 22 May 2007 14:42:12 +0200 In-Reply-To: <20070522120627.GB89056@wjv.com> (Bill Vermillion's message of "Tue\, 22 May 2007 08\:06\:27 -0400") Message-ID: <86iralxc63.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-fs@freebsd.org, Brooks Davis , Gore Jarold Subject: Re: VERY frustrated with FreeBSD/UFS stability - please help or comment... X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2007 12:42:18 -0000 Bill Vermillion writes: > And one other way to 'copy' files/directories >>IF<< they are > on the same file system, is to use cpio with the -pdlm option. > > All that does is build another directory with all files in the > first liked statically to the second. Then you just 'rm' the files > in the first. Since there is NO COPYING - this is quick, won't > scatter files around as they remain where they were originally but > with just a new directory pointing to them. This is exactly what the OP already does (cp -rl) but it is nowhere near as fast as you claim when you have thousands of directories and millions of files. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no