added --exclude-types: devfs linprocfs sysfs fdescfs

the debian kfreebsd kernel shows those on -p output
This commit is contained in:
inxi-svn 2010-11-01 20:14:45 +00:00
parent 34876f7f9c
commit 1196043bd7

7
inxi
View file

@ -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'