This makes the LSHW parser and hw models grab the logicalname (i.e. /dev/sda, /dev/sdb and so on) of each disk from the lshw output.
This is because lshw doesn't always report them in order, and collins doesn't do a very good job at returning them in order. This makes it tricky to automate things without making a lot of assumptions, and we've had some hardware break those assumptions recently :) Having the logical name attached to each disk should help with automating the disk setup.
If lshw doesn't have the logicalname key for some reason it'lll just be an empty string.
I'm also updating the URL to the restlet repo which has apparently moved.
This makes the LSHW parser and hw models grab the
logicalname
(i.e./dev/sda
,/dev/sdb
and so on) of each disk from the lshw output.This is because lshw doesn't always report them in order, and collins doesn't do a very good job at returning them in order. This makes it tricky to automate things without making a lot of assumptions, and we've had some hardware break those assumptions recently :) Having the logical name attached to each disk should help with automating the disk setup.
If lshw doesn't have the
logicalname
key for some reason it'lll just be an empty string.I'm also updating the URL to the restlet repo which has apparently moved.
@tumblr/collins