1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/filters
David Teigland 17a3585cbb pvscan: use alternate device names from DEVLINKS to check filter
pvscan --cache <dev> is called by our udev rule at a time when all
the symlinks for <dev> may not be created yet (by other udev rules.)
The regex filter in lvm.conf may refer to <dev> using a symlink name
that hasn't yet been created, which would cause <dev> to not match
the filter regex.  The DEVLINKS env var, set by udev, contains all
the symlink names for <dev> that have been or will be created.
So, we add all these symlink names to dev->aliases, as if we had
found them in /dev.  This allows <dev> to be recognized by a regex
filter containing a symlink for <dev>.
2023-01-31 15:30:35 -06:00
..
filter-composite.c devices: rework libudev usage 2021-07-13 11:11:23 -05:00
filter-deviceid.c device usage based on devices file 2021-02-23 16:43:32 -06:00
filter-fwraid.c filters: nodata option 2020-10-21 16:24:16 -05:00
filter-md.c filter: remove unused EAGAIN case and flag 2022-04-06 12:51:34 -05:00
filter-mpath.c lvmdevices update: correct multipath entries 2022-04-01 13:38:21 -05:00
filter-partitioned.c filter: remove unused EAGAIN case and flag 2022-04-06 12:51:34 -05:00
filter-persistent.c filter: remove unused EAGAIN case and flag 2022-04-06 12:51:34 -05:00
filter-regex.c pvscan: use alternate device names from DEVLINKS to check filter 2023-01-31 15:30:35 -06:00
filter-signature.c filter: remove unused EAGAIN case and flag 2022-04-06 12:51:34 -05:00
filter-sysfs.c filter-sysfs: support old kernels without sys/dev/block 2021-11-09 11:54:48 -06:00
filter-type.c devices: support printing the filter that rejects a device 2020-10-01 12:00:09 -05:00
filter-usable.c activate: device_is_usable 2021-12-20 16:13:28 +01:00
filter.h filters: remove unused internal filter 2022-04-06 12:51:34 -05:00