From 43b51b408d6cb5170aaea4556ea278eb1e717094 Mon Sep 17 00:00:00 2001 From: Mattia Basaglia Date: Mon, 21 Feb 2022 07:59:20 +0100 Subject: [PATCH] Better disk output --- systempony | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systempony b/systempony index fc18a98..8916d10 100755 --- a/systempony +++ b/systempony @@ -122,7 +122,7 @@ function ponyget_Disk() { local dfoption=$FSTYPE [ "$dfoption" ] && dfoption="-t $FSTYPE" - local diskusage=$(df -lh $dfoption --total | tail -n 1 | sed -r "s/ +/\t/g" ) + local diskusage=$(df -lh $dfoption -x overlay -x tmpfs -x devtmpfs --total | tail -n 1 | sed -r "s/ +/\t/g" ) local used=$(echo "$diskusage" | cut -f 3) local total=$(echo "$diskusage" | cut -f 2) local percent=$(echo "$diskusage" | cut -f 5 | sed s/%// )