From 56c445a23de410d17c89bd6a1c5d06f452c69663 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Wed, 12 May 2021 12:54:58 -0400 Subject: [PATCH] ADD tmpfs to filesystem monitor --- drawing/FileSystem.lua | 3 ++- drawing/Power.lua | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drawing/FileSystem.lua b/drawing/FileSystem.lua index cd6e218..aceb868 100644 --- a/drawing/FileSystem.lua +++ b/drawing/FileSystem.lua @@ -9,7 +9,7 @@ local Util = require 'Util' local __string_match = string.match -local _FS_PATHS_ = {'/', '/boot', '/home', '/mnt/data', '/mnt/dcache'} +local _FS_PATHS_ = {'/', '/boot', '/home', '/mnt/data', '/mnt/dcache', "/tmp"} local _MODULE_Y_ = 170 local _SPACING_ = 20 local _BAR_PAD_ = 100 @@ -79,6 +79,7 @@ local labels = _G_Widget_.TextColumn{ 'home', 'data', 'dcache', + 'tmpfs', } _SPACING_ = nil diff --git a/drawing/Power.lua b/drawing/Power.lua index 09690bf..472f070 100644 --- a/drawing/Power.lua +++ b/drawing/Power.lua @@ -7,7 +7,7 @@ local Line = require 'Line' local ScalePlot = require 'ScalePlot' local Util = require 'Util' -local _MODULE_Y_ = 364 +local _MODULE_Y_ = 380 local _TEXT_SPACING_ = 20 local _PLOT_SEC_BREAK_ = 20 local _PLOT_HEIGHT_ = 56