From 9d4a80ba02c11975896166cd75fca2f2b926d1a5 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Wed, 11 Feb 2009 18:45:00 +0000 Subject: [PATCH] Tweak to get back all partition data --- inxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]+\%/ ) {