diff --git a/files/system-monitor-graph@mount/desklet.js b/files/system-monitor-graph@mount/desklet.js index 00d6170..5aa9dee 100644 --- a/files/system-monitor-graph@mount/desklet.js +++ b/files/system-monitor-graph@mount/desklet.js @@ -863,6 +863,11 @@ SystemMonitorGraph.prototype = { // get IO utilization of partition let dev_fs = df_values[0]; let fs = dev_fs.split(/\/+/)[2]; + try { + fs = GLib.file_read_link(dev_fs).split(/\/+/)[1]; + } + catch (e) { + } let re = new RegExp(fs + '.+'); // https://stackoverflow.com/questions/4458183/how-the-util-of-iostat-is-computed this.cpu_file.load_contents_async(null, (file, response) => {