cvs commit: src/tools/regression/bin/mv

Tim Kientzle kientzle at
Mon Mar 17 08:19:11 PDT 2008

>>>  FreeBSD src repository
>>>  Modified files:
>>>    tools/regression/bin/mv 
>>>  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.

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.


More information about the cvs-src mailing list