hyperdrive
hyperdrive copied to clipboard
Missing NTFS/ReFS sparse support
NTFS requires files to be created with the FILE_ATTRIBUTE_SPARSE_FILE attribute to treat them as sparse. This is different from other modern OSes where you don’t need to do anything special.
I tested with fsutil.exe sparse queryflag hyperdrive_file_name and various calls to check file sizes, and found that Hyperdrives aren’t marked as sparse files on NTFS.
Because of this, Hyperdrives downloaded with Dat or Beaker take up the full size of the archive on disk even though it contains huge sections of zero-bytes.
Excellent find! I’ll try to fix this in the random-access-file module
Sorry about reporting against the wrong repo. Should I close this and reopen an issue there?
If you don’t mind yes. We can keep this one open to track it here also still
https://github.com/random-access-storage/random-access-file/issues/23