Create new files as sparse on NT systems. (2nd try)

Christopher Faylor
Tue Feb 18 22:12:00 GMT 2003

On Tue, Feb 18, 2003 at 10:08:56PM -0000, Max Bowsher wrote:
>Two things - First:
>Please, please don't make this the default! Once a file is sparsified, it
>cannot be unsparsified except by copying the contents to a new file! This
>seems like an optimization for a corner case is trying to cause a global

Why is it a big deal if a file is sparse?  I don't get it.  In 99% of the
cases this won't be a big deal.  In the cases where it is a big deal, cygwin
will be operating more like UNIX.

>FSCTL_SET_SPARSE, used in the patch, is *not defined* in current w32api !!!

Calm down:

2003-02-17 Vaclav Haisman <>

        * include/winioctl.h (FSCTL_SET_SPARSE): Define.


More information about the Cygwin-patches mailing list