1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-09 12:58:41 +03:00
Zdenek Kabelac fe65a86cbc devcache: do not insert devices without device node
When not obtaining device from udev, we are doing deep devdir scan,
and at the same time we try to insert everything what /sys/dev/block
knows about. However in case  lvm2 is configured to use nonstardard
devdir this way it will see (and scan) devices from a real system.

lvm2 test suite is using its own test devdir with its
own device nodes. To avoid touching real /dev  devices, validate
the device node exist in give dir and do not insert such device
into a cache.

With obtain list from udev this patch has no effect
(the normal user path).
2016-04-11 10:33:14 +02:00
..
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-03-21 11:06:05 +01:00
2016-01-21 12:11:37 +01:00
2016-02-23 14:41:24 +01:00
2016-01-21 12:11:37 +01:00
2016-03-11 00:19:16 +00:00
2016-01-21 12:11:37 +01:00