Skip to content

dust: add new package#29661

Open
graysky2 wants to merge 1 commit into
openwrt:masterfrom
graysky2:dust
Open

dust: add new package#29661
graysky2 wants to merge 1 commit into
openwrt:masterfrom
graysky2:dust

Conversation

@graysky2

@graysky2 graysky2 commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

📦 Package Details

Maintainer: me
(You can find this by checking the history of the package Makefile.)

Description:

Dust is the modern equivalent of du, and is much faster returning results particularly on solid-state disks thanks to its utilization of parallel processing. It simply "does the right thing" when handling large numbers of small files and directories by keeping the output simple and only showing large entries.

Beyond the speed benefits, it's worth noting that tools like ncdu or baobab give a view of directory sizes but abstract away where the largest individual files are. Dust remedies this by isolating the largest files explicitly within a visual tree hierarchy. Merging dust allows supplying a highly intuitive, fast alternative to du for users targeting modern storage layouts.


🧪 Run Testing Details

  • OpenWrt Version: SNAPSHOT
  • OpenWrt Target/Subtarget: x86/64-glibc
  • OpenWrt Device: generic PC

✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

If your PR contains a patch:

  • It can be applied using git am
  • It has been refreshed to avoid offsets, fuzzes, etc., using
    make package/<your-package>/refresh V=s
  • It is structured in a way that it is potentially upstreamable
    (e.g., subject line, commit description, etc.)
    We must try to upstream patches to reduce maintenance burden.

Dust is the modern equivalent of du, and is much faster returning
results particularly on solid-state disks thanks to its utilization of
parallel processing. It simply "does the right thing" when handling
large numbers of small files and directories by keeping the output simple
and only showing large entries.

Beyond the speed benefits, it's worth noting that tools like ncdu or baobab
give a view of directory sizes but abstract away where the largest individual
files are. Dust remedies this by isolating the largest files explicitly
within a visual tree hierarchy. Merging dust allows supplying a highly
intuitive, fast alternative to du for users targeting modern storage layouts.

Signed-off-by: John Audia <therealgraysky@proton.me>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@BKPepe

BKPepe commented Jun 7, 2026

Copy link
Copy Markdown
Member

Wait... this is somehow similar to gdu, right?
#29337

Why do we need to have two packages doing the same?

@graysky2

graysky2 commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

They are different tools. This is closest to du whereas gdu is closest to ncdu.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants