delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/19/15:26:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Originating-IP: [212.209.126.190]
X-Originating-Email: [jpv50 AT hotmail DOT com]
From: "John Vincent" <jpv50 AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: SPARSE files considered harmful - please revert
Date: Mon, 19 May 2003 19:26:22 +0000
Mime-Version: 1.0
Message-ID: <Law10-F95uUaJ0gmkLG00033be2@hotmail.com>
X-OriginalArrivalTime: 19 May 2003 19:26:22.0425 (UTC) FILETIME=[87F35C90:01C31E3C]

You say that any areas that are seeked over should be sparse as well. That 
is true on many Unix/Linux file systems. I've not seen anything to suggest 
it's true on NTFS though, have you?


From: "Max Bowsher" <maxb at ukf dot net>
To: <cygwin at cygwin dot com>
Date: Mon, 19 May 2003 19:54:19 +0100
Subject: Re: SPARSE files considered harmful - please revert
References: <Law10-F79o4cWScPAA600033a95 AT hotmail DOT com>

--------------------------------------------------------------------------------

John Vincent wrote:
>
>I looked up sparse files on MSDN and found the following link:
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/sparse_file_operations.asp
>
>The most interesting thing is that a sparse file is only sparse if the
zeros
>in the file are written with a special operation. I strongly suspect that
>the patch to support sparse files introduced in cygwin is incorrect (or at
>least incomplete)

Areas that are simply seeked over, and never written to, should be sparse as
well.

Anyway:

Based on the posted numbers, global use of sparse files is a bad idea. Can
we conditionalize sparse files on a $CYGWIN option? (Or something else, I
don't mind, but the important thing is that it should not be on by default.)

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019