From owner-cvs-all@FreeBSD.ORG Wed May 28 10:07:39 2008 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C22D1065671; Wed, 28 May 2008 10:07:39 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello087206046210.chello.pl [87.206.46.210]) by mx1.freebsd.org (Postfix) with ESMTP id C17648FC14; Wed, 28 May 2008 10:07:37 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 7497845C9B; Wed, 28 May 2008 12:07:36 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 5046A45685; Wed, 28 May 2008 12:07:31 +0200 (CEST) Date: Wed, 28 May 2008 12:07:30 +0200 From: Pawel Jakub Dawidek To: Tim Kientzle Message-ID: <20080528100730.GA1354@garage.freebsd.pl> References: <200712180849.lBI8nmEi088947@repoman.freebsd.org> <20071218100355.GR16982@elvis.mu.org> <20080314223652.GA20470@garage.freebsd.pl> <47DE8BEE.7040405@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline In-Reply-To: <47DE8BEE.7040405@freebsd.org> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 8.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: cvs-src@freebsd.org, Alfred Perlstein , src-committers@freebsd.org, Diomidis Spinellis , cvs-all@freebsd.org Subject: Re: cvs commit: src/tools/regression/bin/mv regress.sh X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2008 10:07:39 -0000 --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--