diff --git a/inxi b/inxi index 043c6ca..4bcf433 100755 --- a/inxi +++ b/inxi @@ -2332,7 +2332,7 @@ get_partition_data() } # skip all these, including the first, header line. Use the --exclude-type # to handle new filesystems types we do not want listed here - ! /\/$|\/boot$|\/var$|\/home$|\/tmp$|\/usr$|^filesystem/ { + $NF !~ /^\/$|^\/boot$|^\/var$|^\/home$|^\/tmp$|^\/usr$|^filesystem/ { # this is to avoid file systems with spaces in their names, that will make # the test show the wrong data in each of the fields, if no x%, then do not use if ( $(NF - 1) ~ /[0-9]+\%/ ) {