GNOME Bugzilla – Bug 125060
Incorrect disk space values
Last modified: 2011-11-11 10:03:55 UTC
The values that gnome-system-monitor reports for the disk usages are wrong on my laptop because gnome-system-monitor assumes that the disk block size is 512. This is not true in general (I think it is 1024 on my laptop). This is rather confusing. Ideally, the problem would be fixed in libgtop by augmenting the API for fs-usage with the disk block size. I've filed bug #12504 regarding that.
Except that it was bug #125049. Sorry for the incorrect link.
libgtop just *** This bug has been marked as a duplicate of 125049 ***
I posted to bug #125049 that I think you misunderstood my bug report. The incorrect lines are, AFAICS, lines 529-531 and 626-629 in callbacks.c: btotal = (float)usage.blocks * 512; bfree = (float)usage.bfree * 512; bused = (float)(usage.blocks - usage.bfree) * 512;
It seems the bug should not be closed yet, reopening.
This has been fixed now, closing the bug.