anchor.diff:      disk[:disks] = []
   
       find_direct_disks(disk)
  +    find_nvme_disks(disk)
   
       find_hp_disks(disk) if File.exist?("/usr/sbin/hpssacli")
       find_megaraid_disks(disk) if File.exist?("/usr/sbin/megacli")
  
positive.code:     end
    end
  
    def find_md_arrays(devices)
      array = nil
  
      File.new("/proc/mdstat", "r").each do |line|
        if line =~ /^(md\d+) : active raid(\d+)((?: [a-z]+\d+\[\d+\](?:\([A-Z]\))*)+)$/
          array = {
            :id => devices[:arrays].count,
            :device => "/dev/#{Regexp.last_match(1)}",
  
negative.code: require "pathname"
  
  Ohai.plugin(:Hardware) do
    provides "hardware"
  
  