anchor.diff:              model = Regexp.last_match(2)
             end
   
  -          if size > 1_000_000_000_000
  -            size = format "%d TB", size / 1_000_000_000_000
  -          elsif size > 1000000000
  -            size = format "%d GB", size / 1000000000
  -          end
  -
             devices[:disks] << {
               :id => devices[:disks].count,
               :device => "/dev/#{File.basename(block)}",
               :vendor => vendor,
               :model => model,
               :firmware_version => read_sysctl_file("#{device}/rev"),
  -            :size => size,
  +            :size => format_disk_size(size),
               :arrays => []
             }
           end
  
positive.code:         when "Device Id" then disk[:smart_devlce] = "megaraid,#{Regexp.last_match(2)}"
          when "WWN" then disk[:wwn] = Regexp.last_match(2)
          when "PD Type" then disk[:interface] = Regexp.last_match(2)
          when "Raw Size" then disk[:size] = parse_disk_size(Regexp.last_match(2).sub(/\s*\[.*\]$/, ""))
          when "Inquiry Data" then disk[:vendor], disk[:model], disk[:serial] = Regexp.last_match(2).split
          end
        elsif array && line =~ /^(\S.*\S)\s*:\s+(\S.*)$/
  
negative.code:         when "Device Id" then disk[:smart_devlce] = "megaraid,#{Regexp.last_match(2)}"
          when "WWN" then disk[:wwn] = Regexp.last_match(2)
          when "PD Type" then disk[:interface] = Regexp.last_match(2)
          when "Raw Size" then disk[:size] = memory_to_disk_size(Regexp.last_match(2).sub(/\s*\[.*\]$/, ""))
          when "Inquiry Data" then disk[:vendor], disk[:model], disk[:serial] = Regexp.last_match(2).split
          end
        end
  