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

Vaclav Haisman
Thu Feb 13 21:22:00 GMT 2003

On Thu, 13 Feb 2003, Christopher Faylor wrote:

> This is YA case where I don't think that a CYGWIN environment variable option is
> justified.
> UNIX has a method for producing sparse files.  If this is desired functionality,
> Cygwin should mimic that not invent a new way of doing things.
> cgf

I am not that much knowledgeable in matters of UNIX standars. What
libary/system call is it? My justificaion of this patch is that with this
option enable it mimics what this FreeBSD 4.7 box does. I don't need any other
syscall than open() and ftruncate() to create 100GB empty sparse file.

Vaclav Haisman

More information about the Cygwin-patches mailing list