This is the mail archive of the cygwin-patches@cygwin.com 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: 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


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