diff options
Diffstat (limited to 'libs/disk.php')
| -rw-r--r-- | libs/disk.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/disk.php b/libs/disk.php index 6367114..d0be8b7 100644 --- a/libs/disk.php +++ b/libs/disk.php @@ -32,6 +32,12 @@ else if (strpos($type, 'tmpfs') !== false && $Config->get('disk:show_tmpfs') === false) continue; + foreach ($Config->get('disk:ignore_mounts') as $to_ignore) + { + if ($mount === $to_ignore) + continue 2; + } + if (!in_array($mount, $mounted_points)) { $mounted_points[] = trim($mount); |
