Open KJ7LNW opened 1 year ago
@amarao, are you open to importing re
?
I could make this PR a bit more robust and readable if re
is acceptable.
Let me know...
Improvements are welcome, but, please, do not break existing scenarios.
And re is in standard, so, yep, it's fine as long as it readable
We cleaned up the commit, and now it will recurse arbitrary block device stacking hierarchies, such as RAID, LVM, etc. Please see the commit message and the diff for details. I believe that everything is compatible in the same way, now with an additional feature.
The second commit is a minor change that default sorting output by enclosure and slot.
Let me know if you have any questions or comments, and thank you for maintaining this!
-Eric
Turn LEDs on or off depending on their RAID membership
For example: