added nvme0n1 disks support, issue #119
Costa Tsaousis (ktsaou) committed
Apr 4, 2016 at 01:05 UTC
d3d8d3f37b79811b89486fc8481dbf5b605a3b0d
1 file changed
+1
src/proc_diskstats.c
+1
@@ -198,6 +198,7 @@ int do_proc_diskstats(int update_every, unsigned long long dt) {
198
case 253: // virtio
199
case 256: // flash
200
case 257: // flash
201
+ case 259: // nvme0n1 issue #119
202
if(minor % 16) def_enabled = 0; // partitions
203
else def_enabled = enable_new_disks;
204
break;