VERY frustrated with FreeBSD/UFS stability - please help or comment...

Bill Vermillion bv at wjv.com
Tue May 22 13:03:41 UTC 2007


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 at 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 at 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


More information about the freebsd-fs mailing list