GNOME Bugzilla – Bug 539360
/sys vfs block device stat fields have changed
Last modified: 2008-06-22 09:32:22 UTC
Please describe the problem: With recent Linux kernel updates, /sys/block/sd*/sd??/stat returns more fields with changed meaning. Due to this, the *_get_fsusage_read_write function returns bad values. One program that suffers from this is the GNOME system monitor applet. More details in Fedora bugzilla: https://bugzilla.redhat.com/452273 Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
I can't even remember where i found the format of these sysfs entries (maybe in rlove's book). What a nice breakage. I assume it then has the same format than /sys/block/X/stat as described in block/stat.txt
I'll commit the easy fix to stable and head as soon as i find the associated kernel commitid
Sweet irony :) commit 34e8beac92c27d292938065f8375842d2840767c Author: Jerome Marchand <jmarchan@redhat.com> Date: Fri Feb 8 11:04:55 2008 +0100 Enhanced partition statistics: sysfs Reports enhanced partition statistics in sysfs. Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
http://svn.gnome.org/viewvc/libgtop?view=revision&revision=2754 http://svn.gnome.org/viewvc/libgtop?view=revision&revision=2755 This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.