diff --git a/lib/filesystem.js b/lib/filesystem.js index 3e9ec84..f09bcd4 100644 --- a/lib/filesystem.js +++ b/lib/filesystem.js @@ -50,8 +50,12 @@ function fsSize(callback) { } function isLinuxTmpFs(fs) { - const linuxTmpFileSystems = ['rootfs', 'unionfs', 'squashfs', 'cramfs', 'initrd', 'initramfs', 'devtmpfs', 'tmpfs', 'udev', 'devfs', 'specfs', 'type']; - return (linuxTmpFileSystems.includes(fs.toLowerCase())); + const linuxTmpFileSystems = ['rootfs', 'unionfs', 'squashfs', 'cramfs', 'initrd', 'initramfs', 'devtmpfs', 'tmpfs', 'udev', 'devfs', 'specfs', 'type', 'appimaged', 'fuse.']; + let result = false; + linuxTmpFileSystems.forEach(linuxFs => { + if (fs.toLowerCase().indexOf(linuxFs) >= 0) result = true; + }); + return result; } function filterLines(stdout) {