discover/udev: Handle LVM logical volumes
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Wed, 14 Jun 2017 05:17:21 +0000 (15:17 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 11 Jul 2017 04:50:00 +0000 (14:50 +1000)
commit515d2f03bae8d5617ee3bce5a46287203f7215c2
treeb100e007c43c011eced5c11a50cb84ad446b9dea
parent03fe06fa71f065e918c46a65e6a45e76063a07eb
discover/udev: Handle LVM logical volumes

If logical volumes are active and recognised by udev, no longer ignore
them. We also do some extra handling to use user-friendly device names
and mount the /dev/mapper/foo device rather than the /dev/dm-xx device.

Additionally if we see "LMV2_member" devices start a rescan in case
LVM-formatted disks came up after the LVM initscript.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/udev.c