cvs commit: src/tools/regression/bin/mv regress.sh

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed May 28 10:07:39 UTC 2008


On Mon, Mar 17, 2008 at 08:19:10AM -0700, Tim Kientzle wrote:
> >>> FreeBSD src repository
> >>>
> >>> Modified files:
> >>>   tools/regression/bin/mv regress.sh 
> >>> Log:
> >>> Add more tests.  All rename(2)-based tests now succeed.
> >>> The performance of the cross-device equivalents is under investigation.
> >
> >I was thinking about adding two options to cp(1) (-1 and -2) to give
> >cp(1) a hint if the copy is done inside one disk or between separate
> >disks.
> 
> Will anyone ever use such a flag?  I'm skeptical.

I would... sometimes:) That's probably why I never did it.

> If there were a way to determine this programmatically,
> it would be a big win.  You'd need to look at the first
> file copied to determine if the destination was on the
> same (physical) disk or not.

This is how I started to think about that, but this is not possible.
Moreover you may still want to use -2 option even if this looks like one
physical disk, but it represents a RAID5 array.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20080528/3dd1d867/attachment.pgp


More information about the cvs-all mailing list