From 92628d2f5c50e130026159d6fd6203f525fa962d Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 16 Sep 2010 19:00:57 +0000 Subject: [PATCH] added in another ignore fs, devtempfs --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 331ed88..a39bb17 100755 --- a/inxi +++ b/inxi @@ -2589,7 +2589,7 @@ get_hdd_data_basic() { eval $LOGFS local hdd_used='' - local hdd_data="$( df --exclude-type=aufs --exclude-type=tmpfs --exclude-type=iso9660 )" + local hdd_data="$( df --exclude-type=aufs --exclude-type=squashfs --exclude-type=unionfs --exclude-type=devtmpfs --exclude-type=tmpfs --exclude-type=iso9660 )" log_function_data 'raw' "hdd_data:\n$hdd_data" hdd_used=$( echo "$hdd_data" | gawk ' @@ -3061,7 +3061,7 @@ get_partition_data() eval $LOGFS #local excluded_file_types='--exclude-type=aufs --exclude-type=tmpfs --exclude-type=iso9660' # df doesn't seem to work in script with variables like at the command line - local main_partition_data="$( df -h -T --exclude-type=aufs --exclude-type=squashfs --exclude-type=unionfs --exclude-type=tmpfs --exclude-type=iso9660 )" + local main_partition_data="$( df -h -T --exclude-type=aufs --exclude-type=squashfs --exclude-type=unionfs --exclude-type=devtmpfs --exclude-type=tmpfs --exclude-type=iso9660 )" local swap_data="$( swapon -s )" log_function_data 'raw' "main_partition_data:\n$main_partition_data\n\nswap_data:\n$swap_data"