trying a bug fix for a special fredforfaen case with basic partition data

This commit is contained in:
inxi-svn 2009-02-11 18:35:08 +00:00
parent c3420457b8
commit 014f99a0b0

4
inxi
View file

@ -2326,8 +2326,12 @@ get_partition_data()
IGNORECASE=1 IGNORECASE=1
} }
/\/$|\/boot$|\/var$|\/home$|\/tmp$|\/usr$/ && ! /aufs/ { /\/$|\/boot$|\/var$|\/home$|\/tmp$|\/usr$/ && ! /aufs/ {
# this handles yet another fredforfaen special case where a mounted drive
# has the search string in its name
if ( $NF ~ /^\/$|^\/boot$|^\/var$|^\/home$|^\/tmp$|^\/usr$/ ) {
print $NF "," $(NF - 4) "," $(NF - 3) "," $(NF - 1) ",main" print $NF "," $(NF - 4) "," $(NF - 3) "," $(NF - 1) ",main"
} }
}
# skip all these, including the first, header line. Use the --exclude-type # skip all these, including the first, header line. Use the --exclude-type
# to handle new filesystems types we do not want listed here # to handle new filesystems types we do not want listed here
! /\/$|\/boot$|\/var$|\/home$|\/tmp$|\/usr$|^filesystem/ { ! /\/$|\/boot$|\/var$|\/home$|\/tmp$|\/usr$|^filesystem/ {