disk_io script doesn't work, strips last digit of device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Fix Released
|
Medium
|
Dustin Kirkland | ||
byobu (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The /usr/lib/
In line 29, the last digit(s) of the device name are stripped.
In normal cases (/dev/sdaX, /dev/hdaX, etc.) this works, but when you try to monitor a MDADM device (/dev/mdX) this fails.
It tries to read /sys/block/md/stat which doesn't exist. It should read /sys/block/md1/stat instead.
Is it possible to change the script, so it doesn't strip the last digits when monitoring a mdadm device?
apt-cache policy byobu
byobu:
Installed: 2.73-0ubuntu1~ppa4
Candidate: 2.73-0ubuntu1~ppa4
Version table:
*** 2.73-0ubuntu1~ppa4 0
500 http://
100 /var/lib/
2.38-0ubuntu3 0
500 http://
Changed in byobu: | |
status: | Triaged → Fix Committed |
Changed in byobu (Ubuntu): | |
status: | New → Fix Committed |
Changed in byobu: | |
status: | Fix Committed → Fix Released |
Thanks for the report!
I'll get this fixed soon.