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