diff --git a/inxi b/inxi index 6c57d18..8d19aec 100755 --- a/inxi +++ b/inxi @@ -3842,7 +3842,8 @@ get_unmounted_partition_data() } # note that size 1 means it is a logical extended partition container # lvm might have dm-1 type syntax - /[a-z][0-9]+$|dm-[0-9]+$/ && $3 != 1 { + # need to exclude loop type file systems, squashfs for example + /[a-z][0-9]+$|dm-[0-9]+$/ && $3 != 1 && $NF !~ /loop/ { size = sprintf( "%.2f", $3*1024/1000**3 ) print $4 "," size "G" }' ) )