Added /mnt/ramdisk to disk-list
This commit is contained in:
parent
ac06e016ba
commit
d30b475126
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ else
|
||||||
{
|
{
|
||||||
list($filesystem, $type, $total, $used, $free, $percent, $mount) = explode(',', $mounted);
|
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;
|
continue;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue