Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2007 14:42:12 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        bv@wjv.com
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:  <86iralxc63.fsf@dwp.des.no>
In-Reply-To: <20070522120627.GB89056@wjv.com> (Bill Vermillion's message of "Tue\, 22 May 2007 08\:06\:27 -0400")
References:  <475187.33232.qm@web63006.mail.re1.yahoo.com> <86r6p9xf2c.fsf@dwp.des.no> <20070522120627.GB89056@wjv.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86iralxc63.fsf>