Harald Hoyer 3610a1
From 12930f30a1b68ed7cd545a55976a5a1f02346bec Mon Sep 17 00:00:00 2001
Harald Hoyer 3610a1
From: Harald Hoyer <harald@hoyer.xyz>
Harald Hoyer 3610a1
Date: Mon, 18 Dec 2017 09:43:57 +0100
Harald Hoyer 3610a1
Subject: [PATCH] Merge pull request #324 from danimo/mdraid-no-delete-part
Harald Hoyer 3610a1
Harald Hoyer 3610a1
90dmraid: do not delete partitions
Harald Hoyer 3610a1
---
Harald Hoyer 3610a1
 modules.d/90dmraid/61-dmraid-imsm.rules | 3 ---
Harald Hoyer 3610a1
 1 file changed, 3 deletions(-)
Harald Hoyer 3610a1
Harald Hoyer 3610a1
diff --git a/modules.d/90dmraid/61-dmraid-imsm.rules b/modules.d/90dmraid/61-dmraid-imsm.rules
Harald Hoyer 3610a1
index 4d4d9391..72267d3c 100644
Harald Hoyer 3610a1
--- a/modules.d/90dmraid/61-dmraid-imsm.rules
Harald Hoyer 3610a1
+++ b/modules.d/90dmraid/61-dmraid-imsm.rules
Harald Hoyer 3610a1
@@ -23,9 +23,6 @@ ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", GOTO="dm_end"
Harald Hoyer 3610a1
 PROGRAM=="/bin/sh -c 'for i in $sys/$devpath/holders/dm-[0-9]*; do [ -e $$i ] && exit 0; done; exit 1;' ", \
Harald Hoyer 3610a1
     GOTO="dm_end"
Harald Hoyer 3610a1
 
Harald Hoyer 3610a1
-ENV{DEVTYPE}!="partition", \
Harald Hoyer 3610a1
-    RUN+="/sbin/partx -d --nr 1-1024 $env{DEVNAME}"
Harald Hoyer 3610a1
-
Harald Hoyer 3610a1
 RUN+="/sbin/initqueue --onetime --unique --settled /sbin/dmraid_scan $env{DEVNAME}"
Harald Hoyer 3610a1
 
Harald Hoyer 3610a1
 LABEL="dm_end"
Harald Hoyer 3610a1