delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/21/07:12:00

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: Wed, 21 May 2003 12:03:34 +0100
From: Ljubomir Josifovski <lbj AT cre DOT canon DOT co DOT uk>
To: cygwin AT cygwin DOT com
Subject: Re: SPARSE files considered harmful - please revert
Message-ID: <20030521110334.GA14400@berk.cre.canon.co.uk>
References: <16072 DOT 892 DOT 778395 DOT 24290 AT gargle DOT gargle DOT HOWL>
Mime-Version: 1.0
In-Reply-To: <16072.892.778395.24290@gargle.gargle.HOWL>

For the ignorant folk like me - does...

On Sun, May 18, 2003 at 03:04:44PM -0700, Martin Buchholz wrote:
> This patch is a bad idea.
> 
> 2003-02-18  Vaclav Haisman  <V DOT Haisman AT sh DOT cvut DOT cz>
> 	* fhandler_disk_file.cc: Include winioctl.h for DeviceIoControl.
> 	(fhandler_disk_file::open): Set newly created and truncated files as
> 	sparse on platforms that support it.
> 
> As someone on the mailing list asked, "If making every file sparse is
> such a good idea, why isn't it the default?".
> 
> My experience has been that for me, sparse files take up much more
> disk space than non-sparse files, and are also signicantly slower.

...mean that by default, every file created by a cygwin app takes
at least 16 (NTFS?) clusters? Was this always the case, or is it
a recent thing?

(my cygwin1.dll is

  948k 2003/03/18 C:\cygwin\bin\cygwin1.dll
    Cygwin DLL version info:
        DLL version: 1.3.22
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 78
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix:
        Build date: Tue Mar 18 09:20:11 EST 2003
        CVS tag: dontuse-21
        Shared id: cygwin1S3
)


thanks,

-- 
Ljubomir Josifovski

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