This is the mail archive of the cygwin@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: SPARSE files considered harmful - please revert


John Vincent wrote:
>
> I looked up sparse files on MSDN and found the following link:
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/sparse_file_operations.asp
>
> The most interesting thing is that a sparse file is only sparse if the
zeros
> in the file are written with a special operation. I strongly suspect that
> the patch to support sparse files introduced in cygwin is incorrect (or at
> least incomplete)

Areas that are simply seeked over, and never written to, should be sparse as
well.

Anyway:

Based on the posted numbers, global use of sparse files is a bad idea. Can
we conditionalize sparse files on a $CYGWIN option? (Or something else, I
don't mind, but the important thing is that it should not be on by default.)



Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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