Repository navigation
dusage 0.2.0
The first public release. dusage gains native Windows backends and accurate
on-disk sizes; fastdel becomes safer and deletes big trees in parallel. All
earlier positional commands keep working.
Added
- Batched enumeration (default backend):
GetFileInformationByHandleEx
returns many directory entries per call, with each file's size on disk and
128-bit file id at no extra cost. dusage --on-disk,--by-ext,--json,--dedup-hardlinks,--streams
(named alternate data streams),--backend auto|batched|readdir|mft.dusage --watch SECS: periodic rescans; in an elevated shell the NTFS USN
journal limits each rescan to the top-level entries that changed.dusage --mft(experimental, admin): reads the raw NTFS$MFT.fastdel --age 7d|2h|30m,--prefix,--log FILE(streamed, survives a
crash),--limit, and a per-category error summary.- Human sizes everywhere (
300M,1.5G,512KiB). - CI on Windows (fmt, clippy, tests, release build) and tagged binary releases.
Changed
fastdeldeletes large subtrees and huge flat directories across all
workers, not one thread per top-level entry.- Deletion is handle-based with POSIX semantics, ignores the read-only
attribute, and works on paths longer than 260 characters. - The work queue uses a condition variable instead of 1 ms polling.
Fixed
fastdelturned an unparsable age (7x,7don 0.1) into 1 day; it is now
an error.- Reparse points other than symlinks and junctions (DFS, dedup, WIM, cloud
placeholders) were followed bydusage; every reparse point is now skipped. fastdelfollowed a top-level junction when checkingis_dir; links are now
unlinked, never descended.- The protected-root guard missed
\?\C:\, UNC and loopback admin shares
(\localhost\C$),..spellings and junctions to protected folders, and only
applied when no filter was given. It now refuses every spelling, always. - A panicking worker could hang the scan; it now propagates.
- A root that is itself a junction or symlink is refused instead of scanning
as empty. - Access-denied and vanished entries are counted and reported instead of
silently missing from totals.