Date: Wed, 28 May 2008 12:07:30 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Tim Kientzle <kientzle@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: <20080528100730.GA1354@garage.freebsd.pl> In-Reply-To: <47DE8BEE.7040405@freebsd.org> References: <200712180849.lBI8nmEi088947@repoman.freebsd.org> <20071218100355.GR16982@elvis.mu.org> <20080314223652.GA20470@garage.freebsd.pl> <47DE8BEE.7040405@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 17, 2008 at 08:19:10AM -0700, Tim Kientzle wrote: > >>> FreeBSD src repository > >>> > >>> Modified files: > >>> tools/regression/bin/mv regress.sh=20 > >>> Log: > >>> Add more tests. All rename(2)-based tests now succeed. > >>> The performance of the cross-device equivalents is under investigatio= n. > > > >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. >=20 > 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. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --KsGdsel6WgEHnImy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFIPS7iForvXbEpPzQRAnNkAJwLfDvXDtSK7DWzbgqOaVwDIakBwACgwILu vgHX6a9lg0yrt60H1YPNmas= =VcF3 -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080528100730.GA1354>