mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
widgets: add tmpfs to system disk usage section; #243
This commit is contained in:
parent
5f1c347f53
commit
36177724e5
@ -211,7 +211,7 @@ function get_temp() {
|
||||
function get_mounted_filesystems() {
|
||||
$mout = "";
|
||||
$filesystems = array();
|
||||
exec("/bin/df -Tht ufs,zfs,cd9660 | /usr/bin/awk '{print $1, $2, $3, $4, $6, $7;}'", $mout);
|
||||
exec("/bin/df -Tht ufs,tmpfs,zfs,cd9660 | /usr/bin/awk '{print $1, $2, $3, $4, $6, $7;}'", $mout);
|
||||
|
||||
/* Get rid of the header */
|
||||
array_shift($mout);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user