mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
fe65a86cbc
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). |
||
---|---|---|
.. | ||
dev-cache.c | ||
dev-cache.h | ||
dev-dasd.c | ||
dev-ext-udev-constants.h | ||
dev-ext.c | ||
dev-io.c | ||
dev-luks.c | ||
dev-md.c | ||
dev-swap.c | ||
dev-type.c | ||
dev-type.h | ||
device-types.h | ||
device.h |