mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
no new version number, but a bug fix anyway, added in another vm disk drive fix.
Don't want to inflate inxi versions needlessly.
This commit is contained in:
parent
44b0dda0e9
commit
455394f2a8
3
inxi
3
inxi
|
@ -4989,7 +4989,6 @@ get_hdd_data_basic()
|
||||||
fi
|
fi
|
||||||
hdd_data="$( eval $df_string )"
|
hdd_data="$( eval $df_string )"
|
||||||
log_function_data 'raw' "hdd_data:\n$hdd_data"
|
log_function_data 'raw' "hdd_data:\n$hdd_data"
|
||||||
|
|
||||||
hdd_used=$( echo "$hdd_data" | gawk -v bsdType=$BSD_TYPE '
|
hdd_used=$( echo "$hdd_data" | gawk -v bsdType=$BSD_TYPE '
|
||||||
BEGIN {
|
BEGIN {
|
||||||
# this is used for specific cases where bind, or incorrect multiple mounts to same partitions,
|
# this is used for specific cases where bind, or incorrect multiple mounts to same partitions,
|
||||||
|
@ -5077,7 +5076,7 @@ get_hdd_data_basic()
|
||||||
# }
|
# }
|
||||||
# special case from this data: 8 0 156290904 sda
|
# special case from this data: 8 0 156290904 sda
|
||||||
# note: vm has 252/253 known starter, grsec has 202
|
# note: vm has 252/253 known starter, grsec has 202
|
||||||
$1 ~ /^(3|8|22|33|202|252|253)$/ && $NF ~ /[hsv]d[a-z]$/ && ( $2 % 16 == 0 || $2 % 16 == 8 ) {
|
$1 ~ /^(3|8|22|33|202|252|253|254)$/ && $NF ~ /[hsv]d[a-z]$/ && ( $2 % 16 == 0 || $2 % 16 == 8 ) {
|
||||||
size += $3
|
size += $3
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue