Date: Tue, 22 May 2007 09:03:24 -0400 From: Bill Vermillion <bv@wjv.com> To: Dag-Erling Sm??rgrav <des@des.no> Cc: freebsd-fs@freebsd.org, Brooks Davis <brooks@freebsd.org>, Gore Jarold <gore_jarold@yahoo.com> Subject: Re: VERY frustrated with FreeBSD/UFS stability - please help or comment... Message-ID: <20070522130324.GA89918@wjv.com> In-Reply-To: <86iralxc63.fsf@dwp.des.no> References: <475187.33232.qm@web63006.mail.re1.yahoo.com> <86r6p9xf2c.fsf@dwp.des.no> <20070522120627.GB89056@wjv.com> <86iralxc63.fsf@dwp.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <bv@wjv.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070522130324.GA89918>