bergware/dynamix — pull request #1 by SlrG (2013-12-30 12:48:30+00:00)
Title: SlrG added feature to include/exclude drives outside of array

Hi bergware,

as mentioned in the dynamix forum thread, here are my changes to the s3sleep plugin. If there are drives outside the array they might stop the s3sleep function. This makes sense for drives that are preclearing, but not quite for drives that are permanently mounted outside the array. If they are ssd drives (like in my case) that always report active as state, they will stop the sleep from working.

My changes enable the user to choose if he/she wants to exclude selected drives or all drives outside of the array from the state checks. Also it is possible to only include selected drives. If there are no drives outside the array the plugin should behave as it always did, though I enhanced the logging a little bit.

regards,

SlrG

PS: I tested it on my system and it works fine. But maybe some kind of beta phase with selected/interested users might be a good idea before an official release.