anchor.diff:    def find_megaraid_disks(devices)
       controllers = []
       arrays = []
  +    disks = []
   
       controller = nil
       array = nil
  
positive.code:     controllers.each do |controller|
        if device = Dir.glob("/sys/bus/pci/devices/#{controller[:pci_slot]}/host*/target*:2:0/*/scsi_generic/sg*").first
          controller[:device] = "/dev/#{File.basename(device)}"
        end
      end
    end
  
negative.code:         devices[:disks] << disk
          controller[:disks] << disk[:id]
          array[:disks] << disk[:id]
  
          disks << disk
        elsif disk && line =~ /^Firmware state:\s+(\S.*)$/
          status, state = Regexp.last_match(1).split(/,\s*/)
          case status
  