diff --git a/inxi b/inxi index d147d34..79f1cf1 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 1.0.0 +#### version: 1.0.1 #### Date: 11 February 2009 ######################################################################## #### SPECIAL THANKS @@ -1942,7 +1942,8 @@ get_hdd_data_basic() local hdd_used='' hdd_used=$( df | gawk ' - /^\/dev\/(mapper\/|[hs]d[a-z][0-9]+)/ { + # also handles odd dm-1 type, from lvm + /^\/dev\/(mapper\/|[hs]d[a-z][0-9]+|dm[-]?[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 # it to the next line for that single case @@ -3234,7 +3235,6 @@ print_partition_data() else part_dev="${a_partition_working[5]}" dev_remote='remote' - b_is_remote='true' fi else part_dev='N/A'