diff --git a/inxi b/inxi index de17681..6817b42 100755 --- a/inxi +++ b/inxi @@ -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