restore: support sparse restores also on windows

This commit is contained in:
Michael Eischer committed 2022-09-24 21:39:39 +02:00
1 parent 0f89f443c7
commit 19afad8a09
8 files changed
+129 -63

No files matched your search

+3 -3
View File
@@ -1,8 +1,8 @@
Enhancement: Restore files with many zeros as sparse files
On all platforms except Windows, the restorer may now write files containing
long runs of zeros as sparse files (also called files with holes): the zeros
are not actually written to disk.
When using `restore --sparse`, the restorer may now write files containing long
runs of zeros as sparse files (also called files with holes): the zeros are not
actually written to disk.
How much space is saved by writing sparse files depends on the operating
system, file system and the distribution of zeros in the file.