From 58c9138900f857220f064ff0fd6a066f7fe378ed Mon Sep 17 00:00:00 2001 From: Alban VIDAL Date: Sun, 8 Sep 2019 02:03:23 +0200 Subject: [PATCH] Prise en compte de tous les FS --- root/.profile.d/00_functions.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/root/.profile.d/00_functions.conf b/root/.profile.d/00_functions.conf index 9b6ab39..c8c6174 100644 --- a/root/.profile.d/00_functions.conf +++ b/root/.profile.d/00_functions.conf @@ -1,8 +1,7 @@ # Hard Drive usage function hddtop() { - df -TPh \ - | grep '^/dev' \ - | grep -v squashfs \ + LANG=C df -TPh \ + | grep -vE '(squashfs|tmpfs|devtmpfs|^Filesystem)' \ | sort -k 6,6 -n \ | awk \ -v red="$(tput setaf 1)" \