projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9452c9
)
mdraid: catch nested md raids
author
Harald Hoyer
<harald@redhat.com>
Wed, 22 Aug 2012 11:01:53 +0000
(13:01 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Wed, 22 Aug 2012 11:01:53 +0000
(13:01 +0200)
Thanks to Ian Dall!
modules.d/90mdraid/65-md-incremental-imsm.rules
patch
|
blob
|
history
diff --git
a/modules.d/90mdraid/65-md-incremental-imsm.rules
b/modules.d/90mdraid/65-md-incremental-imsm.rules
index
6dd696a
..
d66dd01
100644
(file)
--- a/
modules.d/90mdraid/65-md-incremental-imsm.rules
+++ b/
modules.d/90mdraid/65-md-incremental-imsm.rules
@@
-5,7
+5,9
@@
ACTION!="add|change", GOTO="md_end"
SUBSYSTEM!="block", GOTO="md_end"
ENV{rd_NO_MD}=="?*", GOTO="md_end"
-KERNEL=="md*", GOTO="md_end"
+KERNEL=="md*", ENV{ID_FS_TYPE}!="linux_raid_member", GOTO="md_end"
+KERNEL=="md*", ACTION!="change", GOTO="md_end"
+
# Also don't process disks that are slated to be a multipath device
ENV{DM_MULTIPATH_DEVICE_PATH}=="?*", GOTO="md_end"