-
Notifications
You must be signed in to change notification settings - Fork 25
Missing NTFS/ReFS sparse support #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Is there a way to set this flag in the node.js FS module? I can't find any docs for it. |
Closed
In latest (sparse: true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 supposedly_sparse.file
and various calls to check file sizes, and found that the files aren’t marked as sparse files on NTFS.The text was updated successfully, but these errors were encountered: