Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <006901c32b7f$0d7cceb0$78d96f83@pomello> From: "Max Bowsher" To: References: <20030605160847 DOT GZ875 AT cygbert DOT vinschen DOT de> Subject: Re: Sparse file criteria malfunction - binutils produces sparse .exe & .dll files Date: Thu, 5 Jun 2003 17:25:18 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Cam-ScannerAdmin: mail-scanner-support AT ucs DOT cam DOT ac DOT uk X-Cam-AntiVirus: Not scanned X-Cam-SpamDetails: Corinna Vinschen wrote: > On Thu, Jun 05, 2003 at 10:48:39AM -0500, Gary R. Van Sickle wrote: >> Wait, no, *100%* of Cygwin users on NTFS are negatively > ^^^^^^^^^^ > ?????????? > > I'm also on NTFS and I don't suffer, especially after the latest change. > >> 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. > > Why does everybody fail to evidence? > > I'm having a lot of projects on my XP/NTFS system since I'm a developer > developing for Cygwin. I'm running the latest DLL from CVS. > > Guess what? > > I didn't see any proof that ld or strip create sparse files. All *.a, *.o > and *.exe files take as much blocks as to be expected by non-sparse files. 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. >> Let the not-so-passive-aggressive semi-namecalling begin (I suggest "Assistant >> Adjutant General Complainer JG"). But tell me where I'm wrong first. > > You're argumenting without proof. I give proof that dll/exe files are being created sparse above. 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. That alone is enough for me to not want files unnecessarily sparse. (There is also the plausible conjecture that NTFS must do more work reading a sparse file - I have no test data, but since sparseness gains me nothing, and might lose me something, I dont like it._ 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. Max. -- 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/