Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Message-ID: <0b4e01c17533$88d11430$0200a8c0@lifelesswks> From: "Robert Collins" To: Subject: Fw: fileutils: speeding up cp. Date: Sun, 25 Nov 2001 09:01:13 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-OriginalArrivalTime: 24 Nov 2001 22:01:01.0951 (UTC) FILETIME=[817FE8F0:01C17533] === ----- Original Message ----- From: "Earnie Boyd" To: Sent: Thursday, November 22, 2001 12:18 PM Subject: fileutils: speeding up cp. > I've noticed that the mv command preextends the file so that all > required bytes are preallocated. This happens even when the mv command > must cp the file from one drive to another. This doesn't happen with cp > itself. I'm trying to find where in the source this happens so that I > can supply a patch that'll cause cp to preallocate the space always. I > won't have much time in the next few days so if someone wants to beat me > to it, have at it. > > If you wish to test the behavior yourself, then use the floppy drive > because of it's slowness. > > Earnie. >