This commit is contained in:
inxi-svn 2009-01-09 01:57:07 +00:00
parent a81e8e5f0c
commit 5b246b5dd7

7
inxi
View file

@ -1,7 +1,7 @@
#!/bin/bash
########################################################################
#### Script Name: inxi
#### version: 0.9.3-b1-t1
#### version: 0.9.3-b1-t2
#### Date: January 8, 2009
########################################################################
#### SPECIAL THANKS
@ -1870,9 +1870,8 @@ get_hdd_data_basic()
# /dev/hdc5 32981408 20955204 12026204 64% /media/hd2
# /dev/sdb1 390700768 188926868 201773900 49% /media/Snusmumrikken
# /dev/sda1 732572000 248156936 484415064 34% /media/Mr. Big"
# hdd_used=$( df | gawk '
hdd_used=$( echo "$dfdata" | gawk '
# hdd_used=$( echo "$dfdata" | gawk '
hdd_used=$( df | gawk '
/^\/dev\/(mapper\/|[hs]d[a-z][0-9]+)/ {
# this handles the case where the first item is too long
# and makes df wrap output to next line, so here we advance