diff options
author | Phil Dibowitz <phild@fb.com> | 2015-06-29 10:28:04 -0700 |
---|---|---|
committer | Phil Dibowitz <phild@fb.com> | 2015-06-29 10:28:04 -0700 |
commit | 6d50ebbf4144c94f68acf815367745050ae986ba (patch) | |
tree | f8299798aa13156406c2caa59c8e1bf310dd6fc1 | |
parent | 414c4a6df21073238997dd541c06efd2602bb19d (diff) | |
download | ohai-6d50ebbf4144c94f68acf815367745050ae986ba.tar.gz |
[filesystem2] Minor linux bug
We were dropping 'device' for entries only in /proc/mounts
-rw-r--r-- | lib/ohai/plugins/linux/filesystem2.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ohai/plugins/linux/filesystem2.rb b/lib/ohai/plugins/linux/filesystem2.rb index dfb28c5d..8fe2aa3c 100644 --- a/lib/ohai/plugins/linux/filesystem2.rb +++ b/lib/ohai/plugins/linux/filesystem2.rb @@ -200,6 +200,7 @@ Ohai.plugin(:Filesystem2) do key = "#{$1},#{$2}" next if fs.has_key?(key) fs[key] = Mash.new + fs[key][:device] = $1 fs[key][:mount] = $2 fs[key][:fs_type] = $3 fs[key][:mount_options] = $4.split(",") |