1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-26 03:22:12 +03:00
lvm2/udev
David Teigland ee73875ff0 udev: ignore LVs containing PVs
If LVM LVs happen to contain PVs, they are passed to the lvm udev
rule for processing, where they should be ignored.  PVs on LVs
most likely belong to VM images, and don't belong to the host
which sees the LV.  It's unsafe for the host to use these PVs.
Without this change, the LV would be processed by pvscan which
would generally ignore it, either because of the devices file,
or because of the default lvm policy to not consider LVs as
potential PVs.  This change makes the udev rule consistent
with that policy and avoids the unnecessary system messages
produced when pvscan ignores the LV.
2024-02-08 14:51:46 -06:00
..
.gitignore gitignore: update 2022-09-07 15:00:15 +02:00
10-dm.rules.in udev: remove rule for explicit creation of /dev/mapper/control 2023-02-02 15:41:47 +01:00
11-dm-lvm.rules.in udev: remove unsupported OPTIONS+="event_timeout" rule 2019-08-13 15:18:30 +02:00
12-dm-permissions.rules add copyright lines 2009-10-26 22:42:07 +00:00
13-dm-disk.rules.in udev: import previous results of blkid when in suspended state 2023-02-07 09:37:27 +01:00
69-dm-lvm.rules.in udev: ignore LVs containing PVs 2024-02-08 14:51:46 -06:00
95-dm-notify.rules.in udev: udev rules cleanup 2012-06-27 12:11:56 +02:00
Makefile.in makefiles: avoid grep 2023-02-23 16:46:35 +01:00