mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
4cc5c689b8
Even though we make pool volume as a public visible LV, we still do not want tools to look at this volume. While we do not create /dev/vg/lv link, device is still accessible via /dev/mapper/vg-lv and there is no easy way to recognize it's private without lvm2 metadata. Enhance UUID with -pool suffix and directly skip any LV with a suffix in device_is_usable() call. TODO: enhance other targets with this logic. blkid may probably use same simple logic.