I'm submitting a ... (check one with "x")
[x] bug report
[ ] new distro request
Bug report
As the title says, when running this script and in the presence of an Ecryptfs volume, the Disk shows double the space (available and total). Percentage obviously is right.
I have a solution: define the function
df () {
os_type=$(uname -a | cut -d' ' -f1)
if [ "$os_type" == "Linux" ]
then
$(which df) -x ecryptfs $@
else
$(which df) -t noecryptfs $@
fi
}
I defined it just before the detectdisk funciton. I've tested it on Debian Testing and on FreeBSD 14.1.
=> cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
I'm submitting a ... (check one with "x")
Bug report
As the title says, when running this script and in the presence of an Ecryptfs volume, the Disk shows double the space (available and total). Percentage obviously is right.
I have a solution: define the function
I defined it just before the
detectdiskfunciton. I've tested it on Debian Testing and on FreeBSD 14.1.