'System Monitor - Hard Disk' plasmoid shows free disk space which is different from the one shown in 'df'

Bug #332734 reported by ChrisR
2
Affects Status Importance Assigned to Milestone
KDE Plasma Addons
Fix Released
Medium
kdebase-workspace (Ubuntu)
Fix Released
Low
Jonathan Thomas

Bug Description

Description: Ubuntu 8.10
kdeplasma-addons:
  Installed: 4:4.2.0-0ubuntu1~intrepid1

The 'System Monitor - Hard Disk' plasmoid shows free disk space for each mounted volume to be approximately 5% bigger than what 'df' shows in a shell. This number (5%) seems to be consistent for all volumes.
Somebody in #kde has suggested, this might be due to the disk space reserved for root, which is not shown in 'df'.
It could also be that the multiplier for the conversion of Bytes into Gibibytes is wrong, being 1000 instead of 1024. (Unlikely, but hey...)

However, even if it is the reserved space for root, wouldn't it make sense to subtract this from the values displayed in the plasmoid as it is non-usable disk space (D3lphin shows the same values as 'df', so I assume this disk space in question not to be usable).

The problem becomes quite significant with larger volumes, causing a difference of 10 GiB in my case when 43.5 GiB of 202 GiB are free, for example.

Revision history for this message
ChrisR (y-augmented-reality) wrote :
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

I can confirm this. Dolphin says I have 10 GB free while the plasmoid suggests I have 12 free.

Changed in kdeplasma-addons:
importance: Undecided → Low
status: New → Confirmed
Changed in kdeplasma-addons:
status: Confirmed → Triaged
Changed in kdeplasma-addons:
status: Unknown → New
Changed in kdeplasma-addons:
status: New → Fix Released
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

I have tested this. It seems to work fine.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Oops, wrong bug. There is a patch committed upstream for this bug though. I'll look in to backporting it to our packages.

Changed in kdeplasma-addons:
assignee: nobody → echidnaman
status: Triaged → In Progress
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

I've committed the patch to our packaging. The next packaging release in Kubuntu 9.04 will fix this.

Changed in kdebase-workspace:
milestone: none → jaunty-alpha-5
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kdebase-workspace - 4:4.2.1a-0ubuntu1

---------------
kdebase-workspace (4:4.2.1a-0ubuntu1) jaunty; urgency=low

  [ Jonathan Riddell]
  * New upstream release
  * Fix .install files
  * Fix docs path for powerdevil

  [ Jonathan Thomas ]
  * Add kubuntu_65_solid_dataengine_diskspace_fix.diff to fix free diskspace
   reported by the dataengine. Backported from trunk (LP: #332734)
  * Make kdebase-workspace-dev replace and conflict with the powerdevil package
   from Intrepid (LP: #334094)
  * Compress binary packages with lzma compression

 -- Nathan Handler <email address hidden> Tue, 03 Mar 2009 22:25:55 +0000

Changed in kdebase-workspace:
status: Fix Committed → Fix Released
Changed in kdeplasma-addons:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.