This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SPARSE files considered harmful - please revert

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


Ljubomir Josifovski

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]