Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2008 08:19:10 -0700
From:      Tim Kientzle <kientzle@freebsd.org>
To:        Pawel Jakub Dawidek <pjd@freebsd.org>
Cc:        cvs-src@freebsd.org, Alfred Perlstein <alfred@freebsd.org>, src-committers@freebsd.org, Diomidis Spinellis <dds@freebsd.org>, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/tools/regression/bin/mv regress.sh
Message-ID:  <47DE8BEE.7040405@freebsd.org>
In-Reply-To: <20080314223652.GA20470@garage.freebsd.pl>
References:  <200712180849.lBI8nmEi088947@repoman.freebsd.org> <20071218100355.GR16982@elvis.mu.org> <20080314223652.GA20470@garage.freebsd.pl>

index | next in thread | previous in thread | raw e-mail

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

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.

Tim


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47DE8BEE.7040405>