mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
15d1824fac
If obtain_device_list_from_udev=0, LVM can make use of persistent .cache file. This cache file contains only devices which underwent filters in previous LVM command run. But we need to iterate over all block devices to create the VGID/LVID index completely for the device mismatch check to be complete as well. This patch iterates over block devices found in sysfs to generate the VGID/LVID index in dev cache if obtain_device_list_from_udev=0 (if obtain_device_list_from_udev=1, we always read complete list of block devices from udev and we ignore .cache file so we don't need to look in sysfs for the complete list). |
||
---|---|---|
.. | ||
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 |