From 02c548a0610907ef7ae885e8cbb06d663c48f8ea Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Wed, 3 Dec 2008 21:27:46 +0000 Subject: [PATCH] second round --- inxi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inxi b/inxi index 2e55225..541f50e 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.7.1-b1-t1 +#### version: 0.7.1-b1-t2 #### Date: December 3 2008 ######################################################################## #### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif @@ -1929,10 +1929,10 @@ get_partition_data() ## the first field is too long, it will occupy its own line, this way we are getting only the needed data A_PARTITION_DATA=( $( df -h -T | gawk ' BEGIN { IGNORECASE=1 } - /\/$|\/boot$|\/var$|\/home$/ && ! /aufs/ { + /\/$|\/boot$|\/var$|\/home$|\/tmp$|\/usr$/ && ! /aufs/ { print $NF "," $(NF - 4) "," $(NF - 3) "," $(NF - 1) ",main" } - ! /\/$|\/boot$|\/var$|\/home$|tmpfs|udev|^filesystem/ && ! /aufs/ { + ! /\/$|\/boot$|\/var$|\/home$|\/tmp$|\/usr$|tmpfs|udev|^filesystem/ && ! /aufs/ { print $NF "," $(NF - 4) "," $(NF - 3) "," $(NF - 1) ",secondary" } ' )