2016-09-14 11:43:37 +02:00
|
|
|
From 90d6f1d65de4c314af1aab1e0deddcb0d64bbd06 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Neil Brown <neilb@suse.de>
|
|
|
|
Date: Fri, 19 Aug 2016 16:13:09 +0200
|
|
|
|
Subject: [PATCH] Always create /dev/device-mapper link
|
|
|
|
|
|
|
|
Make sure
|
2014-09-25 10:31:10 +02:00
|
|
|
/dev/device-mapper
|
|
|
|
exists as a link to /dev/mapper/control
|
|
|
|
|
|
|
|
Resolves: bnc#724578
|
|
|
|
Signed-off-by: NeilBrown <neilb@suse.de>
|
|
|
|
---
|
2016-09-14 11:43:37 +02:00
|
|
|
udev/10-dm.rules.in | 2 +-
|
2014-09-25 10:31:10 +02:00
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2016-09-14 11:43:37 +02:00
|
|
|
Index: LVM2.2.02.165/udev/10-dm.rules.in
|
2016-05-11 05:42:15 +02:00
|
|
|
===================================================================
|
2016-09-14 11:43:37 +02:00
|
|
|
--- LVM2.2.02.165.orig/udev/10-dm.rules.in
|
|
|
|
+++ LVM2.2.02.165/udev/10-dm.rules.in
|
2016-05-11 05:42:15 +02:00
|
|
|
@@ -28,7 +28,7 @@
|
|
|
|
# Also, keep in mind that recent rules may also require recent
|
|
|
|
# subsystem-specific binaries.
|
2014-09-25 10:31:10 +02:00
|
|
|
|
|
|
|
-KERNEL=="device-mapper", NAME="(DM_DIR)/control"
|
|
|
|
+KERNEL=="device-mapper", NAME="(DM_DIR)/control", SYMLINK+="device-mapper"
|
|
|
|
|
|
|
|
SUBSYSTEM!="block", GOTO="dm_end"
|
|
|
|
KERNEL!="dm-[0-9]*", GOTO="dm_end"
|