From a7f98d4ea8130fe657ebcca8a66c732c2bfd97ec Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Mon, 5 Jun 2017 22:59:25 -0400 Subject: [PATCH] Support tmpfs in processMounts Helps with the situation in kubernetes where /var/lib/kubelet is mounted using tmpfs. --- fs/fs.go | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/fs.go b/fs/fs.go index d5b7072d..4e7bde7c 100644 --- a/fs/fs.go +++ b/fs/fs.go @@ -125,6 +125,7 @@ func processMounts(mounts []*mount.Info, excludedMountpointPrefixes []string) ma supportedFsType := map[string]bool{ // all ext systems are checked through prefix. "btrfs": true, + "tmpfs": true, "xfs": true, "zfs": true, }