From 2e768b035f835f05f0b0eb9118f90814075c73ea Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sat, 14 Mar 2009 23:22:47 +0000 Subject: [PATCH] Include fuse-ey type filesystems so we ignore weasel's mad symlink tree of doom Signed-off-by: Stephen Gran --- facts/mounts.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/facts/mounts.rb b/facts/mounts.rb index 1ff9cbf8..81974b9d 100644 --- a/facts/mounts.rb +++ b/facts/mounts.rb @@ -4,10 +4,11 @@ begin Facter.add("mounts") do ignorefs = ["NFS", "nfs", "nfs4", "afs", "binfmt_misc", "proc", "smbfs", "autofs", "iso9660", "ncpfs", "coda", "devpts", "ftpfs", "devfs", - "mfs", "shfs", "sysfs", "cifs", "lustre_lite", "tmpfs", "usbfs", "udf"] + "mfs", "shfs", "sysfs", "cifs", "lustre_lite", "tmpfs", "usbfs", "udf", + "fusectl", "fuse.snapshotfs"] mountpoints = [] FileSystem.mounts.each do |m| - if ((not ignorefs.include?(m.fstype)) && (m.options !~ /bind/)) + if ((not ignorefs.include?(m.fstype)) && (m.options !~ /bind/)) mountpoints << m.mount end end -- 2.39.2