diff --git a/inxi b/inxi index 9c5a7a2..4e5e333 100755 --- a/inxi +++ b/inxi @@ -3178,7 +3178,8 @@ print_partition_data() { local a_partition_working='' partition_used='' swap='' partition_data='' local counter=0 line_max=160 i=0 a_partition_data='' line_starter='' - local partitionIdClean='' part_dev='' full_dev='' part_label='' full_label='' part_uuid='' full_uuid='' + local partitionIdClean='' part_dev='' full_dev='' part_label='' full_label='' + local part_uuid='' full_uuid='' dev_remote='' # this handles the different, shorter, irc colors strings embedded in variable data if [[ $B_RUNNING_IN_SHELL != 'true' ]];then @@ -3215,11 +3216,17 @@ print_partition_data() # don't show user names in output if [[ "$B_SHOW_LABELS" == 'true' || "$B_SHOW_UUIDS" == 'true' ]];then if [[ -n "${a_partition_working[5]}" ]];then - part_dev="/dev/${a_partition_working[5]}" + if [[ -z "$( grep '^//' <<< ${a_partition_working[5]} )" ]];then + part_dev="/dev/${a_partition_working[5]}" + dev_remote='dev' + else + part_dev="${a_partition_working[5]}" + dev_remote='remote' + fi else part_dev='N/A' fi - full_dev=" ${C1}dev:${C2} $part_dev" + full_dev=" ${C1}$dev_remote:${C2} $part_dev" if [[ "$B_SHOW_LABELS" == 'true' ]];then if [[ -n "${a_partition_working[6]}" ]];then part_label="${a_partition_working[6]}"