Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function resources.parse_disk_usage()
if line:sub(1, 10) ~= 'Filesystem' then
local filesystem, size, used, available, percent, location = line:match(
'(%S+)%s+(%S+)%s+(%S+)%s+(%S+)%s+(%S+)%s+(%S+)')
if filesystem ~= 'tmpfs' and not string.match(filesystem, 'overlayfs') then
if filesystem ~= 'tmpfs' and not string.match(filesystem, 'overlayfs') and not string.match(location, '/rom') then
percent = percent:gsub('%W', '')
-- available, size and used are in KiB
table.insert(disk_usage_info, {
Expand Down
Loading