mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 08:57:57 +00:00
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:
parent
11b7ae3365
commit
ec1a27a66c
3
inxi
3
inxi
|
@ -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 '
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue