delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/05/12:42:24

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
Date: Thu, 5 Jun 2003 18:41:23 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Sparse file criteria malfunction - binutils produces sparse .exe & .dll files
Message-ID: <20030605164123.GB875@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <bbl3cu$ph4$1 AT main DOT gmane DOT org> <NCBBIHCHBLCMLBLOBONKKELPEDAA DOT g DOT r DOT vansickle AT worldnet DOT att DOT net> <20030605160847 DOT GZ875 AT cygbert DOT vinschen DOT de> <006901c32b7f$0d7cceb0$78d96f83 AT pomello>
Mime-Version: 1.0
In-Reply-To: <006901c32b7f$0d7cceb0$78d96f83@pomello>
User-Agent: Mutt/1.4.1i

On Thu, Jun 05, 2003 at 05:25:18PM +0100, Max Bowsher wrote:
> I threw together a horrible C program to ask Windows whether a file was
> sparse. .exe and .dll files made with a 1.5.0 Cygwin are. I haven't posted
> the test program, because it is too messy.
> [...]
> I give proof that dll/exe files are being created sparse above.

Uhm...

> Do you mean proof that sparseness of .exe files is harmful?
> Data has already been posted by me and others showing that sparse files
> consume excess disc space.

It does if it's used for files smaller than 128K.  That's probably
an argument to sparsify a file only if the lseek hole is >= 128K
but it's not an argument against sparse files at all.  I'm perfectly
happy with changing this from 64K to 128K, ok?

> a sparse file - I have no test data, but since sparseness gains me nothing,
> and might lose me something, I dont like it._

That's a good argument. I'm speechless.

> So, the point is, for the majority of users, sparseness gains nothing, and
> can have undesirable effects.
> Therefore, I really think it should be off by default.

We're now on the path of opinion.  My opinion is to drop 9x/Me
support entirely from Cygwin since it just requires ugly hacks
in the code.  But that's not actually an argument to do it in
reality.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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