anchor.diff:          end
   
           devices[:arrays] << array
  -      elsif line =~ /^\s+(\d+) blocks/
  +      elsif array && line =~ /^\s+(\d+) blocks/
           array[:size] = format_disk_size(Regexp.last_match(1).to_i)
         end
       end
  
positive.code:           :disks => []
          }
  
          Regexp.last_match(3).scan(/ ([a-z]+)\d+\[\d+\](?:\([A-Z]\))*/).flatten.each do |device|
            if disk = devices[:disks].find { |d| d[:device] == "/dev/#{device}" }
              disk[:arrays] << array[:id]
              array[:disks] << disk[:id]
  
negative.code: require "pathname"
  
  Ohai.plugin(:Hardware) do
    provides "hardware"
  
  