On Feb 24 14:42, Christian Franke wrote:
> Follow up to suggestion from here:
> https://sourceware.org/pipermail/cygwin/2025-February/257354.html
> 
> Possibly too verbose :-)

Can't be verbose enough.

> BTW: The MS documentation says that blocks are also not allocated if zeroes
> are written (instead of skip with seek):
> https://learn.microsoft.com/en-us/windows/win32/fileio/sparse-files
> "When a write operation is attempted where a large amount of the data in the
> buffer is zeros, the zeros are not written to the file"
> 
> I could not reproduce this documented behavior with NTFS on Win11.

I tried that too a couple of months ago and couldn't reproduce this
either.  I wonder if that was wishful thinking on the doc writer's part.

Or maybe there's some fsutil setting, but I can't find it either...

Patch pushed.


Thanks,
Corinna

Reply via email to