android fixes, block filters

This commit is contained in:
Harald Hope 2023-11-06 12:00:56 -08:00
parent 662cb80b7c
commit 1b416a21be

4
pinxi
View file

@ -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";
}