delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/05/11:52:56

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
From: "Gary R. Van Sickle" <g DOT r DOT vansickle AT worldnet DOT att DOT net>
To: <cygwin AT cygwin DOT com>
Subject: RE: Sparse file criteria malfunction - binutils produces sparse .exe & .dll files
Date: Thu, 5 Jun 2003 10:48:39 -0500
Message-ID: <NCBBIHCHBLCMLBLOBONKKELPEDAA.g.r.vansickle@worldnet.att.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
In-Reply-To: <bbl3cu$ph4$1@main.gmane.org>
Importance: Normal

> "Christopher Faylor" <cgf-rcm AT cygwin DOT com> wrote ...
> >
> > On Mon, Jun 02, 2003 at 01:26:50PM +0100, Max Bowsher wrote:
> > >$ uname -svr
> > >CYGWIN_NT-5.1 1.5.0(0.86/3/2) 2003-06-02 00:41
> > >
> > >The new sparse file heuristic is being triggered by the way binutils writes
> > >.exe and .dll files.
> > >
> > >I'm unsure this could be worked around. Any ideas?
> >
> > Since you are the principal complainer about this particular feature,
>
> IMHO Max is the inofficial spokesman of a suffering but silent majority.

Supermajority actually.  Wait, no, *100%* of Cygwin users on NTFS are negatively
affected by this, even those who have the one instance in which it helps.

Yes, now it'll be only if you write past the end of the file.  Which apparently
binutils does.  Well, that's something I guess.  But again I say, if getting
cygwin to automatically "sparsify" files is such a major requirement, why not
mark all files *compressed*?  Every single cygwin user would gain some *benefit*
from that, and it would do pretty much the same thing as the sparsification
(i.e. all those runs of zeros would compress down to nothing).  But such a patch
wouldn't be considered, would it?  But "all files sparse" sailed right though.
Why?

Linux has a sparse file system that burns sectors like they're going out of
style.  Fine.  NTFS doesn't unless you force it to.  I have yet to see a cogent
argument as to why Cygwin should emulate this defect in that particular
filesystem, nor why the very specific issue this is intended to address cannot
be handled in a different, non-affecting-everybody-negatively way.

Hell, how about this: sparse *mounts*?  If you're one of the two people that
care about sparse files, "mount /whatever c:/whatever --sparse"!  It's even
closer to the filesystem conceptually.  Everybody wins.

Let the not-so-passive-aggressive semi-namecalling begin (I suggest "Assistant
Adjutant General Complainer JG").  But tell me where I'm wrong first.

--
Gary R. Van Sickle
Brewer.  Patriot.


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