5fca48bd6d
Resolves bz#869930 Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
33 lines
1.3 KiB
Diff
33 lines
1.3 KiB
Diff
--- mdadm-3.2.3/udev-md-raid.rules.udev 2011-12-15 05:13:08.000000000 +0100
|
|
+++ mdadm-3.2.3/udev-md-raid.rules 2011-12-28 17:18:02.753053345 +0100
|
|
@@ -2,19 +2,21 @@
|
|
|
|
SUBSYSTEM!="block", GOTO="md_end"
|
|
|
|
+# In Fedora we handle the raid components in 65-md-incremental.rules so that
|
|
+# we can do things like honor anaconda command line options and such
|
|
# handle potential components of arrays (the ones supported by md)
|
|
-ENV{ID_FS_TYPE}=="ddf_raid_member|isw_raid_member|linux_raid_member", GOTO="md_inc"
|
|
-GOTO="md_inc_skip"
|
|
-
|
|
-LABEL="md_inc"
|
|
+#ENV{ID_FS_TYPE}=="ddf_raid_member|isw_raid_member|linux_raid_member", GOTO="md_inc"
|
|
+#GOTO="md_inc_skip"
|
|
+#
|
|
+#LABEL="md_inc"
|
|
|
|
# remember you can limit what gets auto/incrementally assembled by
|
|
# mdadm.conf(5)'s 'AUTO' and selectively whitelist using 'ARRAY'
|
|
-ACTION=="add", RUN+="/sbin/mdadm --incremental $tempnode --offroot"
|
|
-ACTION=="remove", ENV{ID_PATH}=="?*", RUN+="/sbin/mdadm -If $name --path $env{ID_PATH}"
|
|
-ACTION=="remove", ENV{ID_PATH}!="?*", RUN+="/sbin/mdadm -If $name"
|
|
+#ACTION=="add", RUN+="/sbin/mdadm --incremental $tempnode --offroot"
|
|
+#ACTION=="remove", ENV{ID_PATH}=="?*", RUN+="/sbin/mdadm -If $name --path $env{ID_PATH}"
|
|
+#ACTION=="remove", ENV{ID_PATH}!="?*", RUN+="/sbin/mdadm -If $name"
|
|
|
|
-LABEL="md_inc_skip"
|
|
+#LABEL="md_inc_skip"
|
|
|
|
# handle md arrays
|
|
ACTION!="add|change", GOTO="md_end"
|