kpartx: create correct symlinks for PATH_FAILED events
authorHannes Reinecke <hare@suse.de>
Tue, 16 Jul 2013 07:12:59 +0000 (09:12 +0200)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Tue, 16 Jul 2013 19:49:17 +0000 (21:49 +0200)
commitdbbf30e188d7ec7406d83cbf3c282095c0d5a00a
tree0811a558ccf67270fd63b0d5de3f7c1f15220fae
parentb124e9bdf6648a79cde5b4c13983e037cce76c15
kpartx: create correct symlinks for PATH_FAILED events

The kernel is sending out PATH_FAILED/PATH_REINSTATED events,
upon each of which we need to regenerate the existing symlinks.
However, for an all-paths-down scenario we cannot read from
the disk, so we cannot execute blkid or kpartx.
For these cases we need to import the existing data from the
udev database.

Signed-off-by: Hannes Reinecke <hare@suse.de>
kpartx/kpartx.rules