From owner-freebsd-fs@FreeBSD.ORG Tue May 22 13:03:41 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 453A716A468; Tue, 22 May 2007 13:03:41 +0000 (UTC) (envelope-from bv@bilver.wjv.com) Received: from wjv.com (fl-65-40-24-38.sta.embarqhsd.net [65.40.24.38]) by mx1.freebsd.org (Postfix) with ESMTP id EF55613C46E; Tue, 22 May 2007 13:03:40 +0000 (UTC) (envelope-from bv@bilver.wjv.com) Received: from bilver.wjv.com (localhost.wjv.com [127.0.0.1]) by wjv.com (8.13.8/8.13.1) with ESMTP id l4MD3YPS090239; Tue, 22 May 2007 09:03:35 -0400 (EDT) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.13.8/8.13.1/Submit) id l4MD3TZH090238; Tue, 22 May 2007 09:03:29 -0400 (EDT) (envelope-from bv) Date: Tue, 22 May 2007 09:03:24 -0400 From: Bill Vermillion To: Dag-Erling Sm??rgrav Message-ID: <20070522130324.GA89918@wjv.com> References: <475187.33232.qm@web63006.mail.re1.yahoo.com> <86r6p9xf2c.fsf@dwp.des.no> <20070522120627.GB89056@wjv.com> <86iralxc63.fsf@dwp.des.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86iralxc63.fsf@dwp.des.no> User-Agent: Mutt/1.4.2.2i Organization: W.J.Vermillion / Orlando - Winter Park ReplyTo: bv@wjv.com X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00, SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on bilver.wjv.com 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 Reply-To: bv@wjv.com List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2007 13:03:41 -0000 On Tue, May 22, 2007 at 14:42 Dag-Erling Sm??rgrav said 'Who you talkin' to? You talkin' to Dag-Erling Sm??rgrav? I didn't do nuttin'. I said: > 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 > -- > Dag-Erling Sm??rgrav - des@des.no Sorry. I missed the -rl option. I started usind the cpio -pdlm option many years ago and never used the cp -rl. Bill -- Bill Vermillion - bv @ wjv . com