Release Announcement
The QDirStat project proudly presents its latest release: QDirStat 1.2.
This release is focused on Btrfs improvements, so upgrading to this release is highly recommended for Btrfs users:
If you used QDirStat to scan a Btrfs partition, any subvolumes of that partition were not scanned (see GitHub issue #39).
Btrfs subvolumes were treated just like ordinary mount points (which, to all intents and purposes, they are). So you might have wondered why the df command shows your 40 GB root filesystem as 97% full, yet QDirStat shows only about 7 GB. The rest might be hidden in subvolumes.
QDirStat stops reading at mount points - which only makes sense because normally you want to know what eats up the disk space on that one partition that is filling up, not on any others like /home that are mounted there. Unfortunately, a Btrfs subvolume is also just another mount point, and QDirStat would stop reading there, too - at /var/log, at /var/spool, at /var/lib/libvirt etc.; a typical Btrfs root filesystem has about a dozen subvolumes, and all files in them were disregarded by QDirStat.
This is now fixed: Despite Btrfs doing its best to make this difficult (using one single privileged system call for all its functionality, including simple info calls), QDirStat now detects if a mount point is a Btrfs subvolume and continues reading if it is. QDirStat uses /proc/mounts (or, if this is not available, /etc/mtab) to find this out.
This is fixed in the qdirstat-cache-writer script, too.
Other Changes
-
Bernhard Walle contributed some patches for MacOS X support.
Thanks, Bernhard! -
Fixed GitHub issue #40:
Crash without useful error message when no display availableWhen ssh'ing without -X to a remote machine and starting QDirStat there, it would just dump core and not issue any meaningful message. The fatal error message was only in the log file:
<ERROR> :0 (): QXcbConnection: Could not connect to display
Now this message is also repeated on stderr, and in this particular case ("Could not connect to display"), it does not dump core any more, but just exits with error code 1.
About QDirStat
QDirStat is a graphical application to show where your disk space has gone and to help you to clean it up.
This is a Qt-only port of the old Qt3/KDE3-based KDirStat, now based on the latest Qt 5. It does not need any KDE libs or infrastructure. It runs on every X11-based desktop on Linux, BSD and other Unix-like systems.
QDirStat has a number of new features compared to KDirStat. To name a few:
- Multi-selection in both the tree and the treemap.
- Unlimited number of user-defined cleanup actions.
- Properly show errors of cleanup actions (and their output, if desired).
- File categories (MIME types) and their treemap color are now configurable.
- Exclude rules for directories are easily configurable.
- Desktop-agnostic; no longer relies on KDE or any other specific desktop.
Target Platforms
- Linux
- BSD
- Unix-like systems
Target Audience
- System administrators
- Advanced users
- Interested users who are not afraid of learning new things
Screenshots
Main window screenshot - notice the multi-selection in the tree and the treemap
Screenshot of output during cleanup actions. Of course this window is purely optional.
Screenshot of cleanup configuration.
Screenshot of MIME category configuration where you can set the treemap colors for different file types (MIME types), complete with a real treemap widget as preview.
Screenshot of the exclude rules configuration where you can define rules which directories to exclude when reading directory trees.