Dut

Dev tools

disk usage calculator

SHOW HN2024

396points
148comments
#117of 3,515 in 2024
Top 4%of 2024 by points

How HN took it

CuriousMostly questions and neutral comments

9 positive, 33 neutral or asking, 0 mixed, 9 critical, out of 51 comments about the project. Thread score +0.04.

Design: 1 for, 4 againstExecution: 1 for, 3 againstPerformance: 1 for, 1 againstDocs: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Fast performance and useful tree output

    From 2 comments
    • great app. very fast at scanning nested dirs. I often need recursive disk usage when I suddenly run out of space and scramble to clean up while everything is crashing.
      tonymet on HN
    • Nice job. I've been using dua[0] and have found it to be quite fast on my MacBook Pro. I'm interested to see how this compares. [0] https://github.com/Byron/dua-cli
      teamspirit on HN
  • GPLv3 license and C codebase appreciated

    From 2 comments
    • GPLv3, you love to see it. Great work.
      chomp on HN
    • Neat, a new C program! I get a little frisson of good vibes whenever someone announces a new project in C, as opposed to Rust or Python or Go. Even though C is pretty much a lost…
      bitwize on HN

Objections

  • Tree output is hard to read and sorting looks wrong

    From 1 comment
    • I've been using my own function with `du` for ages now, similar to others here, but I appreciate new tools in this space. I gave `dut` a try, but I'm confused by its output. For…
      imiric on HN
  • Does not follow symlinks given with trailing slash

    From 1 comment
    • dut looks very nice. One small surprise I found came when I have a symlink to a directory and refer to that with a trailing "/". dut doesn't follow the link in order to scan the…
      frumiousirc on HN
  • Linux-only, does not run on macOS

    From 1 comment
    • I benchmarked against dua while developing, and the results are in the README. Note that dut uses Linux-specific syscalls, so it won't run on MacOS. TL;DR: dut is 3x faster with…
      201984 on HN

Requests

  • Interactive TUI browser like ncdu

    From 2 comments
    • Would be great to have a TUI interface for browsing like ncdu.
      jmakov on HN
    • Looks nice, although a feature I like in ncdu is the 'd' key to delete the currently highlighted file or directory.
      timrichard on HN
  • Graphical or treemap style output

    From 3 comments
    • > but I don't like how unintuitive the readout is The best disk usage UI I ever saw was this one: https://www.trishtech.com/2013/10/scanner-display-hard-disk-usage-in-chart-form/…
      robocat on HN
    • Someone, please create a Gdut, a fork that will produce graphs for a quick and easy way to read, it’s almost impossible to read in small vertical screens.
      tamimio on HN
    • I always want treemaps. console: rust: cargo install diskonaut python: pip install ohmu GUI: gdmap windows: windirstat mac: grand perspective (I seem to r call)
      jbaber on HN
  • Diff against previous runs or caching

    From 2 comments
    • I often want to know who there is a sudden growth disk usage over the last month/week/etc, what suddenly take space. In those cases I find myself wishing that du and friends…
      inbetween on HN
    • What I need is a du that caches the results somewhere and then does not rescan the 90% of dirs that have not changed when I run it again a month later...
      shellfishgene on HN

Questions

  • How are reflinks counted

    From 1 comment
    • I'm away from my Linux machine now but I'm curious whether/how you handle reflinks. On a supported file system such as Btrfs which I use, how does `cp --reflink` gets counted?…
      kccqzy on HN
  • Why C instead of Rust or Zig

    From 1 comment

Alternatives named

  • ncdu

    From 2 comments
    • Looks nice, although a feature I like in ncdu is the 'd' key to delete the currently highlighted file or directory.
      timrichard on HN
    • Ncdu is easy to remember and use, clicking through etc. would be cool to find a faster replacement, same usage instead of a new tool with parameters to remember..
      tiku on HN
  • dua

    From 1 comment
    • Nice job. I've been using dua[0] and have found it to be quite fast on my MacBook Pro. I'm interested to see how this compares. [0] https://github.com/Byron/dua-cli
      teamspirit on HN
  • gdu

    From 1 comment
    • Nice work! There is also gdu[1], where the UI is heavily inspired by ncdu and somehow feels way faster... 1: https://github.com/dundee/gdu
      sandreas on HN
  • diskonaut

    From 1 comment
    • I have been using diskonaut, its fast enough given that it also produces a nice visual output.
      anon-3988 on HN
  • WizTree and WinDirStat

    From 1 comment
    • On Windows I always used to use Windirstat but it was slow, then I found Wiztree which is many orders of magnitude faster. I understand it works by directly reading the NTFS…
      Neil44 on HN
  • btdu

    From 1 comment
    • Something like that exists for btrfs; it's called bdtu. It has the accuracy/time trade-off you're interested in, but the implementation is quite different. It samples random…
      mos_basik on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/40932492)