Tweak to get back all partition data

This commit is contained in:
inxi-svn 2009-02-11 18:45:00 +00:00
parent 9b53145489
commit 9d4a80ba02

2
inxi
View file

@ -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]+\%/ ) {