1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-20 18:09:23 +03:00
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
..
2022-12-01 10:03:06 -06:00
2018-06-08 13:40:53 +01:00
2018-06-08 13:40:53 +01:00
2022-07-11 01:18:24 +02:00
2021-09-27 18:56:14 +02:00
2022-08-30 13:56:16 +02:00
2021-03-19 23:21:18 +01:00
2021-02-08 23:53:41 +01:00
2018-06-08 13:40:53 +01:00
2022-08-30 13:54:19 +02:00
2018-06-08 13:40:53 +01:00
2022-02-07 20:02:11 +01:00
2018-06-08 13:40:53 +01:00