anchor.diff:        if line =~ /^\/proc\/mpt\/ioc(\d+)\s+LSI Logic\s+(\S+)\s+/
           controller = {
             :id => devices[:controllers].count,
  +          :type => "mpt1",
             :model => Regexp.last_match(1),
             :arrays => [],
             :disks => []
  
positive.code: 
            devices[:disks] << disk
          end
        elsif disk && line =~ /^Firmware state:\s+(.*\S)\s*$/
          Regexp.last_match(1).split(/,\s*/).each do |state|
            case state
            when "Unconfigured(bad)" then disk[:status] = "unconfigured"
            when "Online" then disk[:status] = "online"
            when "Hotspare" then disk[:status] = "hotspare"
            when "Failed" then disk[:status] = "failed"
            when "Spun Up" then disk[:state] = "spun_up"
            when "Spun down" then disk[:state] = "spun_down"
            end
          end
        elsif disk && line =~ /^(\S.*\S)\s*:\s+(\S.*)$/
          case Regexp.last_match(1)
  
negative.code:           controller[:disks] << disk[:id]
  
            disks << disk
          elsif disk && line =~ /^  State\s+:\s+(.*\S)\s*$/
            Regexp.last_match(1).split(/,\s*/).each do |state|
              case state
              when "Online (ONL)" then disk[:status] = "online"
              when "Hot Spare (HSP)" then disk[:status] = "hotspare"
              when "Ready (RDY)" then disk[:status] = "unconfigured"
              when "Available (AVL)" then disk[:status] = "unconfigured"
              when "Failed (FLD)" then disk[:status] = "failed"
              when "Missing (MIS)" then disk[:status] = "missing"
              when "Standby (SBY)" then disk[:status] = "unconfigured"
              when "Out of Sync (OSY)" then disk[:status] = "degraded"
              when "Degraded (DGD)" then disk[:status] = "degraded"
              when "Rebuilding (RBLD)" then disk[:status] = "rebuilding"
              when "Optimal (OPT)" then disk[:status] = "online"
              else disk[:status] = "unknown"
              end
            end
          elsif disk && line =~ /^  (\S.*\S)\s+:\s+(.*\S)\s*$/
            case Regexp.last_match(1)
            when "Enclosure #" then disk[:location] = Regexp.last_match(2)
  