From be84817034106a013931a881877406ebda7cc82b Mon Sep 17 00:00:00 2001 From: TsukasaYuki Date: Sat, 3 Jun 2023 09:24:54 +0800 Subject: [PATCH] yabs.sh --- yabs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yabs.sh b/yabs.sh index 9283f48..34c4561 100644 --- a/yabs.sh +++ b/yabs.sh @@ -243,7 +243,7 @@ TOTAL_SWAP_RAW=$(free | grep Swap | awk '{ print $2 }') TOTAL_SWAP=$(format_size $TOTAL_SWAP_RAW) echo -e "Swap : $TOTAL_SWAP" # total disk size is calculated by adding all partitions of the types listed below (after the -t flags) -TOTAL_DISK_RAW=$(df -t simfs -t ext2 -t ext3 -t ext4 -t btrfs -t xfs -t vfat -t ntfs -t swap --total 2>/dev/null | grep total | awk '{ print $2 }') +TOTAL_DISK_RAW=$(df -t simfs -t ext2 -t ext3 -t ext4 -t btrfs -t xfs -t vfat -t ntfs -t swap -t zfs --total 2>/dev/null | grep total | awk '{ print $2 }') TOTAL_DISK=$(format_size $TOTAL_DISK_RAW) echo -e "Disk : $TOTAL_DISK" DISTRO=$(grep 'PRETTY_NAME' /etc/os-release | cut -d '"' -f 2 )