mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
added --exclude-types: devfs linprocfs sysfs fdescfs
the debian kfreebsd kernel shows those on -p output
This commit is contained in:
parent
34876f7f9c
commit
1196043bd7
7
inxi
7
inxi
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 1.4.20
|
#### version: 1.4.21
|
||||||
#### Date: October 7 2010
|
#### Date: November 1 2010
|
||||||
########################################################################
|
########################################################################
|
||||||
#### SPECIAL THANKS
|
#### SPECIAL THANKS
|
||||||
########################################################################
|
########################################################################
|
||||||
|
@ -3100,7 +3100,8 @@ get_partition_data()
|
||||||
local a_partition_working='' dev_item=''
|
local a_partition_working='' dev_item=''
|
||||||
#local excluded_file_types='--exclude-type=aufs --exclude-type=tmpfs --exclude-type=iso9660'
|
#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
|
# 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 )"
|
local swap_data="$( swapon -s )"
|
||||||
# set dev disk label/uuid data globals
|
# set dev disk label/uuid data globals
|
||||||
get_partition_uuid_label_data 'label'
|
get_partition_uuid_label_data 'label'
|
||||||
|
|
Loading…
Reference in a new issue