Closed kruton closed 8 years ago
Hello.
About 'if not status' - yes, it looks like a bug.
About writing both locate and fault for 'off' operation - did you ever saw it IRL? As far as I saw on real hardware, locate/fault state files are flags for one internal state - if you change one, you change others.
If you saw different behavior on real hardware, can you look for it name? Thanks.
Oh, I think you're right. The if not status
bug must have been the real culprit in the behavior I was seeing. I'll update the pull request.
I have verified setting fault to 0 also turns off locate on the two different enclosures I tested it on: Rackables SE3016 and Supermicro BPN-SAS-836EL2.
thanks!
When requesting ALL set to a certain status, it will abort after the first drive because of an inverted check.