I am not a C coder, but I think adding a line to the validdisk[] array in photosyst.c should solve the problem. It is now
validdisk[] = { { "^ram[0-9][0-9]*$", {0}, (void *)0, NONTYPE, }, { "^loop[0-9][0-9]*$", {0}, (void *)0, NONTYPE, }, { "^sd[a-z][a-z]*$", {0}, nullmodname, DSKTYPE, }, { "^dm-[0-9][0-9]*$", {0}, lvmmapname, LVMTYPE, }, { "^md[0-9][0-9]*$", {0}, nullmodname, MDDTYPE, }, { "^hd[a-z]$", {0}, nullmodname, DSKTYPE, }, { "^rd/c[0-9][0-9]*d[0-9][0-9]*$", {0}, nullmodname, DSKTYPE, }, { "^cciss/c[0-9][0-9]*d[0-9][0-9]*$", {0}, nullmodname, DSKTYPE, }, { "^fio[a-z][a-z]*$", {0}, nullmodname, DSKTYPE, }, { "/host.*/bus.*/target.*/lun.*/disc", {0}, abbrevname1, DSKTYPE, }, { "^xvd[a-z][a-z]*$", {0}, nullmodname, DSKTYPE, }, { "^dasd[a-z][a-z]*$", {0}, nullmodname, DSKTYPE, }, { "^mmcblk[0-9][0-9]*$", {0}, nullmodname, DSKTYPE, }, }; As you can see there is no line for ^vd[a-z] block devices. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1010564 Title: atop doesn't show virtio disks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/atop/+bug/1010564/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs