Blame 0002-dmraid-61-dmraid-imsm.rules-add-nowatch-option-for-u.patch
|
Harald Hoyer |
e6ca87 |
From 5d8d0ac814e015e4ad35a7e40a92b9f0bb554301 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
e6ca87 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
e6ca87 |
Date: Thu, 26 Nov 2015 17:46:03 +0100
|
|
Harald Hoyer |
e6ca87 |
Subject: [PATCH] dmraid/61-dmraid-imsm.rules: add nowatch option for udev
|
|
Harald Hoyer |
e6ca87 |
|
|
Harald Hoyer |
e6ca87 |
udev rereads partitions, if watch is set for disks
|
|
Harald Hoyer |
e6ca87 |
---
|
|
Harald Hoyer |
e6ca87 |
modules.d/90dmraid/61-dmraid-imsm.rules | 2 ++
|
|
Harald Hoyer |
e6ca87 |
1 file changed, 2 insertions(+)
|
|
Harald Hoyer |
e6ca87 |
|
|
Harald Hoyer |
e6ca87 |
diff --git a/modules.d/90dmraid/61-dmraid-imsm.rules b/modules.d/90dmraid/61-dmraid-imsm.rules
|
|
Harald Hoyer |
e6ca87 |
index 0193fbc..4d4d939 100644
|
|
Harald Hoyer |
e6ca87 |
--- a/modules.d/90dmraid/61-dmraid-imsm.rules
|
|
Harald Hoyer |
e6ca87 |
+++ b/modules.d/90dmraid/61-dmraid-imsm.rules
|
|
Harald Hoyer |
e6ca87 |
@@ -16,6 +16,8 @@ ENV{ID_FS_TYPE}=="ddf_raid_member", ENV{rd_NO_MDDDF}!="?*", GOTO="dm_end"
|
|
Harald Hoyer |
e6ca87 |
|
|
Harald Hoyer |
e6ca87 |
ENV{rd_NO_DM}=="?*", GOTO="dm_end"
|
|
Harald Hoyer |
e6ca87 |
|
|
Harald Hoyer |
e6ca87 |
+OPTIONS:="nowatch"
|
|
Harald Hoyer |
e6ca87 |
+
|
|
Harald Hoyer |
e6ca87 |
ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", GOTO="dm_end"
|
|
Harald Hoyer |
e6ca87 |
|
|
Harald Hoyer |
e6ca87 |
PROGRAM=="/bin/sh -c 'for i in $sys/$devpath/holders/dm-[0-9]*; do [ -e $$i ] && exit 0; done; exit 1;' ", \
|