diff --git a/include/disk.php b/include/disk.php index b5b2277..180f8e4 100644 --- a/include/disk.php +++ b/include/disk.php @@ -47,7 +47,7 @@ else { list($filesystem, $type, $total, $used, $free, $percent, $mount) = explode(',', $mounted); - if (strpos($type, 'tmpfs') !== false ) + if ((strpos($type, 'tmpfs') !== false) && (strpos($mount, '/mnt/ramdisk') === false)) continue;