X-Spam-Check-By: sourceware.org
Message-ID: <44D1C372.4000509@t-online.de>
Date: Thu, 03 Aug 2006 11:35:46 +0200
From: Christian Franke <Christian.Franke@t-online.de>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5) Gecko/20060721 SeaMonkey/1.0.3
MIME-Version: 1.0
To: cygwin@cygwin.com
CC: Vladimir Dergachev <vdergachev@rcgardis.com>
Subject: Re: NTFS fragmentation
References: <004401c6b688$a2ffd300$020aa8c0@DFW5RB41> <200608021946.07978.vdergachev@rcgardis.com>
In-Reply-To: <200608021946.07978.vdergachev@rcgardis.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-ID: bNXkCyZcYeNROe+oGue8c--eBrwIivVkdr4mrQ51TlZN5pgJ2IjBZp
X-TOI-MSGID: 6e75dc0d-afc8-477c-8ac9-21867a5af4a4
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Vladimir Dergachev wrote:
> ...
> Also, I tried the following experiment - found a 17 MB file in ibiblio.org and 
> downloaded it with FireFox. The file ended up fragmented into more than 200 
> pieces. Tried the same file with IE - no fragmentation.
>   

The difference is probably that IE initially creates the file with full 
size and then overwrites it. This is at least the case if you copy files 
with explorer, copy, xcopy or CopyFileEx().

FireFox, Cygwin's cp and most other programs use regular sequential 
write. This may lead to fragmentation when the disk has less space.

Christian


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

