mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
android fixes, block filters
This commit is contained in:
parent
662cb80b7c
commit
1b416a21be
4
pinxi
4
pinxi
|
@ -21944,7 +21944,7 @@ sub set_filters {
|
|||
# System fs: cgmfs, configfs, debugfs, devfs, devtmpfs, efivarfs, fdescfs,
|
||||
# hugetlbfs, kernfs, linprocfs, linsysfs, lxcfs, procfs, ptyfs, run,
|
||||
# securityfs, shm, swap, sys, sysfs, tmpfs, tracefs, type, udev, vartmp
|
||||
# System dir: /dev, /dev/loop[0-9]+, /run(/.*)?, /sys/.*
|
||||
# System dir: /dev, /dev/(block/)?loop[0-9]+, /run(/.*)?, /sys/.*
|
||||
|
||||
## These are global, all filters use these. ISO, encrypted/stacked
|
||||
my @all = qw%au av e?crypt enc ero gocrypt i (fuse-?)?iso iso9660 lo merger
|
||||
|
@ -21966,7 +21966,7 @@ sub set_filters {
|
|||
$fs_exclude = $start . join('|',@exclude) . $end;
|
||||
$fs_skip = $start . join('|',@exclude,'f') . $end; # apfs?; BSD ffs has no u/l
|
||||
$part_filter = '((' . join('|',@partition) . ')(fs)?|';
|
||||
$part_filter .= '\/dev|\/dev\/loop[0-9]+|\/run(\/.*)?|\/sys\/.*)';
|
||||
$part_filter .= '\/dev|\/dev\/(block\/)?loop[0-9]+|\/run(\/.*)?|\/sys\/.*)';
|
||||
# print "$part_filter\n";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue