thingsiplay,

He is wrong, as I explained it multiple times that this is not the issue here. Install eza and compare to du and possibly some other application that reports the directory size. The difference in filesize cannot be explained by 1000 vs 1024 base. Do the math if you don’t believe me.

eza is reporting false directory size for me, unless there is an explanation.


<span style="color:#323232;">[Desktop]$ du --human-readable --apparent-size --all --max-depth 1 ./trampoline
</span><span style="color:#323232;">518     ./trampoline/src
</span><span style="color:#323232;">148M    ./trampoline/target
</span><span style="color:#323232;">1,1M    ./trampoline/doc
</span><span style="color:#323232;">8       ./trampoline/.gitignore
</span><span style="color:#323232;">26K     ./trampoline/.git
</span><span style="color:#323232;">330     ./trampoline/Cargo.toml
</span><span style="color:#323232;">2,1K    ./trampoline/Cargo.lock
</span><span style="color:#323232;">149M    ./trampoline
</span><span style="color:#323232;">[Desktop]$ du --human-readable --apparent-size --all --max-depth 1 --si ./trampoline
</span><span style="color:#323232;">518     ./trampoline/src
</span><span style="color:#323232;">155M    ./trampoline/target
</span><span style="color:#323232;">1,2M    ./trampoline/doc
</span><span style="color:#323232;">8       ./trampoline/.gitignore
</span><span style="color:#323232;">27k     ./trampoline/.git
</span><span style="color:#323232;">330     ./trampoline/Cargo.toml
</span><span style="color:#323232;">2,2k    ./trampoline/Cargo.lock
</span><span style="color:#323232;">157M    ./trampoline
</span><span style="color:#323232;">[Desktop]$ eza -l --total-size --no-permissions --no-user ./trampoline
</span><span style="color:#323232;">2,1k 25 Feb 21:36 Cargo.lock
</span><span style="color:#323232;">330  4 Mär 09:21 Cargo.toml
</span><span style="color:#323232;">1,1M  5 Apr 12:34 doc
</span><span style="color:#323232;">518  5 Apr 12:49 src
</span><span style="color:#323232;">183M  4 Apr 20:26 target
</span>

And for reference Dolphin the filemanager of KDE Plasma reports 149,1 MiB (156.366.443) , which aligns with du without using –si option. Even the one folder “target” is at 183M with eza (which is the biggest folder in that directory anyway).

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • fightinggames
  • All magazines