delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/06/04:30:12

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
Message-ID: <002a01c32c05$bf79e040$78d96f83@pomello>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: <cygwin AT cygwin DOT com>
References: <3EDF9E8D DOT AA452A2E AT ieee DOT org> <20030606081225 DOT GD12547 AT cygbert DOT vinschen DOT de>
Subject: Re: Sparse file criteria malfunction - binutils produces sparse .exe & .dll files
Date: Fri, 6 Jun 2003 09:29:28 +0100
MIME-Version: 1.0
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:
> I did the same here and I've added the block count which shows how much
> blocks has been wasted by being a sparse file:
>
>  188 -rwxr-xr-x    1 corinna  root       191765 Jun  6 09:55 ./ftp/ftp.exe
> Sparse bit 200
>  497 -rwxr-xr-x    1 corinna  root       508186 Jun  6 09:55
./ftpd/ftpd.exe
> Sparse bit 200
>  748 -rwxr-xr-x    1 corinna  root       765264 Jun  6 09:55
./inetd/inetd.exe
> Sparse bit 200
...
> So there's no waste of blocks at all.

In my testing of sparse files, I found that the extra disc usage did not
appear to be reported in Explorer File Properties "Size on Disc", but was
visible in the overall Disc Properties, by looking at the change in free
space.

I'm not saying blocks are definitely being wasted in the above case - just
that the data above does not conclusively prove that there is no waste.

I have no time right now, but I will try a test using df to investigate this
later.

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/

- Raw text -


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