From 6fa7b8fb872bb6c83df509f45a8bb7798a2789d8 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Wed, 3 Dec 2008 22:40:46 +0000 Subject: [PATCH] tweaked to filter iso mounts --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 3d121cf..55c75f1 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.7.1-b1-t5 +#### version: 0.7.1-b1-t6 #### Date: December 3 2008 ######################################################################## #### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif @@ -1932,7 +1932,7 @@ get_partition_data() /\/$|\/boot$|\/var$|\/home$|\/tmp$|\/usr$/ && ! /aufs/ { print $NF "," $(NF - 4) "," $(NF - 3) "," $(NF - 1) ",main" } - ! /\/$|\/boot$|\/var$|\/home$|\/tmp$|\/usr$|tmpfs|udev|^filesystem/ && ! /aufs/ { + ! /\/$|\/boot$|\/var$|\/home$|\/tmp$|\/usr$|tmpfs|udev|^filesystem/ && ! /aufs|.iso|9660/ { # cleaning up user name here to avoid showing too much info on irc partitionName=gensub( /^\/home\/(.*)\/(.*)/, "/home//\\2", 1, $NF ) print partitionName "," $(NF - 4) "," $(NF - 3) "," $(NF - 1) ",secondary"