From 1196043bd726fdaf151a621e520f9bfe72cb51cc Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Mon, 1 Nov 2010 20:14:45 +0000 Subject: [PATCH] added --exclude-types: devfs linprocfs sysfs fdescfs the debian kfreebsd kernel shows those on -p output --- inxi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/inxi b/inxi index 06f7577..8f67733 100755 --- a/inxi +++ b/inxi @@ -1,8 +1,8 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 1.4.20 -#### Date: October 7 2010 +#### version: 1.4.21 +#### Date: November 1 2010 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -3100,7 +3100,8 @@ get_partition_data() local a_partition_working='' dev_item='' #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=devtmpfs --exclude-type=tmpfs --exclude-type=iso9660 )" + # added devfs linprocfs sysfs fdescfs which show on debian kfreebsd kernel output + 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 --exclude-type=devfs --exclude-type=linprocfs --exclude-type=sysfs --exclude-type=fdescfs )" local swap_data="$( swapon -s )" # set dev disk label/uuid data globals get_partition_uuid_label_data 'label'