Quick fix, new tarball, no new version. This fixes a -D size used error, if nfs, nfs4, smbfs

are mounted, inxi included those in the disk space used, creating insane used errors.
This commit is contained in:
inxi-svn 2014-04-28 21:14:08 +00:00
parent 11b7ae3365
commit ec1a27a66c
2 changed files with 15 additions and 1 deletions

3
inxi
View file

@ -5424,7 +5424,8 @@ get_hdd_data_basic()
df_total=' --total' df_total=' --total'
fi fi
df_string="df -P -T --exclude-type=aufs --exclude-type=devfs --exclude-type=devtmpfs df_string="df -P -T --exclude-type=aufs --exclude-type=devfs --exclude-type=devtmpfs
--exclude-type=fdescfs --exclude-type=iso9660 --exclude-type=linprocfs --exclude-type=procfs --exclude-type=fdescfs --exclude-type=iso9660 --exclude-type=linprocfs --exclude-type=nfs
--exclude-type=nfs3 --exclude-type=nfs4 --exclude-type=nfs5 --exclude-type=procfs --exclude-type=smbfs
--exclude-type=squashfs --exclude-type=sysfs --exclude-type=tmpfs --exclude-type=unionfs $df_total" --exclude-type=squashfs --exclude-type=sysfs --exclude-type=tmpfs --exclude-type=unionfs $df_total"
if swapon -s &>/dev/null;then if swapon -s &>/dev/null;then
swap_size=$( swapon -s 2>/dev/null | gawk ' swap_size=$( swapon -s 2>/dev/null | gawk '

View file

@ -1,3 +1,16 @@
=====================================================================================
Version: 2.1.24
Patch Version: 00
Script Date: 2014-04-28
-----------------------------------
Changes:
-----------------------------------
Quick fix, new tarball, no new version. This fixes a -D size used error, if nfs, nfs4, smbfs
are mounted, inxi included those in the disk space used, creating insane used errors.
-----------------------------------
-- Harald Hope - Mon, 28 Apr 2014 14:12:50 -0700
===================================================================================== =====================================================================================
Version: 2.1.24 Version: 2.1.24
Patch Version: 00 Patch Version: 00