Automic VaultAutomic Vault

brew

btdu mit Homebrew, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für btdu in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install btdu

local Homebrew formula metadata

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#btdu

nixpkgs package indexes · pkgs/by-name/bt/btdu/package.nix · Quelle: api.github.com

Überblick

Paketzusammenfassung

Sampling disk usage profiler for btrfs

Befehle und Aliase

  • btdu

Verlauf

Projektgeschichte und Nutzung

btdu is a sampling disk-usage profiler for btrfs. It exists because copy-on-write snapshots, reflinks, extent sharing, and compression make classic directory walkers like du and ncdu poor explanations of real btrfs space usage.

Projektgeschichte

CyberShadow started btdu in November 2020, with the first public release tag v0.1.0 shortly afterward. The project is written for the btrfs filesystem and uses sampling over filesystem space rather than a conventional recursive directory traversal.

The README explains that btdu samples random points in the disk space, asks btrfs what is stored there, records a representative path, and repeats indefinitely. The result is initially approximate but becomes progressively more accurate as sampling continues.

Adoptionsgeschichte

btdu has a narrower audience than general disk analyzers, but the README documents several distribution paths: native distro packages where available, static binaries from GitHub releases, latest CI builds, Nix flakes, and source builds using the D compiler and Dub.

The Homebrew and Nix packaging in the input reflects that btrfs users often still want btdu available from cross-platform package managers even though its runtime target is btrfs rather than generic macOS storage.

Wie es verwendet wird

Users run btdu with root privileges against the top-level subvolume of a btrfs filesystem. It can launch an interactive terminal UI, run headless for scripts, export and import sampling results, compare baselines, and use expert or physical-space modes for deeper analysis.

Warum Paket-Nerds sich dafür interessieren

btdu is significant because it packages filesystem theory into a small terminal tool. It is not another ncdu clone; it is a btrfs-specific answer to shared extents, compression, snapshots, unreachable extent fragments, and logical-versus-physical allocation.

Zeitleiste

  • 2020: First git commit and v0.1.0 release.
  • 2025: v0.6.0 release appears in git history.
  • 2026: v0.7.2 release appears in git history.

Related projects

  • The README contrasts btdu with ncdu for classic disk-usage analysis.
  • The README links compsize as a special-purpose btrfs compression-space tool.
  • The README names btsdu, the Btrfs Snapshot Disk Usage Analyzer, in its See Also section.

Quellen

  • Local git history from https://github.com/CyberShadow/btdu shows first commit in 2020 and release tags v0.1.0, v0.6.0, and v0.7.2.
  • Official CONCEPTS.md explains logical versus physical space and btdu size metrics: https://raw.githubusercontent.com/CyberShadow/btdu/master/CONCEPTS.md
  • Official README describes btdu as a sampling disk usage profiler for btrfs and explains the random sampling algorithm: https://raw.githubusercontent.com/CyberShadow/btdu/master/README.md
  • Official README documents use cases, install paths, root/top-level-subvolume usage, headless mode, import/export, compare mode, and See Also: https://raw.githubusercontent.com/CyberShadow/btdu/master/README.md

Sicherheitslage

Noch keine Protected-Tool-Abdeckung gefunden

Für btdu wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 2 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.
  • Build-Metadaten listen 3 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
btducliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-08
Manager-Version0.7.2
Manager aktualisiert2026-07-03
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv0.7.2

https://github.com/CyberShadow/btdu

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:btdu
Version0.7.2
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/btdu
Homepagehttps://github.com/CyberShadow/btdu
Repositoryhttps://github.com/CyberShadow/btdu
Upstream-Dokumentationhttps://github.com/CyberShadow/btdu#readme
LizenzGPL-2.0-only
Quellarchivhttps://github.com/CyberShadow/btdu/archive/refs/tags/v0.7.2.tar.gz
Zuletzt aktualisiert2026-07-03T15:25:04-04:00
Pulseupdated
Abhängigkeitenncurses
Build-Abhängigkeitenbtrfs-progs, dub, ldc
Bottleverfügbar (auf arm64_linux, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebtdu
Version Scheme0
Revision0
Requirements
  • linux
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

btdu

nix profile install nixpkgs#btdu
  • normalized package name match
  • Abgeglichen nach: Btdu
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/bt/btdu/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Nucleus package database
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment