Jump to content

Preallocate files


i4u1

Recommended Posts

Stop, sparse files have nothing to do with "Pre-allocate all files". Preallocation means reserving space - it worked correctly in 1.7 but in 1.8 it doesn't allocate/reserve any amount of data.

I suggest: CreateFile, SetFilePointer with filesize from FILE_BEGIN, then SetEndOfFile

Instead of as i said SetFileValidData.

Or just remove this option cuz it doesn't do what it should - no reserving space.

What the difference in using sparse files and not when no preallocation is done?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...