diff --git a/inxi b/inxi index e118b84..a19dd39 100755 --- a/inxi +++ b/inxi @@ -2404,7 +2404,7 @@ get_partition_data_advanced() # if this works, great, otherwise, just set this to null values partTemp="'$( readlink /dev/root 2>/dev/null )'" if ( partTemp != "" ) { - if ( partTemp ~ /^[hs]d[a-z][0-9]+$/ ) { + if ( partTemp ~ /[hs]d[a-z][0-9]/ ) { partition=gensub( /^(\/dev\/)(.+)$/, "\\2", 1, partTemp ) } else if ( partTemp ~ /by-uuid\/[a-z0-9]+-[a-z0-9]+-[a-z0-9]+/ ) {