Skip to content
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

Du command shows incorrect size #2347

Closed
Ycallaer opened this issue Jul 17, 2017 · 1 comment
Closed

Du command shows incorrect size #2347

Ycallaer opened this issue Jul 17, 2017 · 1 comment

Comments

@Ycallaer
Copy link

Ycallaer commented Jul 17, 2017

Hi,
When using the du command (-sh option ) I get some very inaccurate outputs.
My specs:

  • Your Windows build number: Version 10.0.15063

  • What you're doing and what's happening:
    /mnt/d/ebooks$ du -sh *
    149M 000_553_s

  • What's wrong / what should be happening instead:
    000_553_s is a directory which contains a single pdf which is, according to windows explorer, only 293KB
    So the 149MB being displayed is incorrect

@0xbadfca11
Copy link

Fixed in Insider Preview.

Fix incorrect block count in "stat" for DrvFs (and LxFs) https://msdn.microsoft.com/en-us/commandline/wsl/release_notes#build-16237

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants