xdiskusage not showing disk space properly in some cases
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xdiskusage (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Using this command shows lots of disk space used in the /snap directory, and subdirectories:
$ du /snap | xdiskusage
Using this command shows nearly 0 disk space (only 4 KiB):
$ xdiskusage /snap
This is not unique to the /snap directory -- it occurs for most directories, maybe all?
$ lsb_release -rd
Description: Ubuntu 18.04.3 LTS
Release: 18.04
$ apt-cache policy xdiskusage
xdiskusage:
Installed: 1.48-10.1build1
Candidate: 1.48-10.1build1
Version table:
*** 1.48-10.1build1 500
500 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xdiskusage 1.48-10.1build1
ProcVersionSign
Uname: Linux 4.15.0-62-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Sep 14 12:39:09 2019
InstallationDate: Installed on 2018-09-24 (355 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: xdiskusage
UpgradeStatus: No upgrade log present (probably fresh install)
It is definitely not most directories that cause this behavior -- only a few. Another example I have found is /mnt