# File lib/ohai/plugins/linux/filesystem.rb, line 23 def find_device(name) %w{/dev /dev/mapper}.each do |dir| path = File.join(dir, name) return path if File.exist?(path) end name end