This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: Create new files as sparse on NT systems. (2nd try)
- From: Vaclav Haisman <V dot Haisman at sh dot cvut dot cz>
- To: cygwin-patches at cygwin dot com
- Date: Thu, 13 Feb 2003 22:22:58 +0100 (CET)
- Subject: Re: Create new files as sparse on NT systems. (2nd try)
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