add the final mdraid_start to the "blkid" rules also
authorHarald Hoyer <harald@redhat.com>
Tue, 14 Jul 2009 11:17:07 +0000 (13:17 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 14 Jul 2009 11:17:07 +0000 (13:17 +0200)
modules.d/90mdraid/65-md-incremental.rules

index d5f5782..01ef1d8 100644 (file)
@@ -3,6 +3,7 @@
 # See udev(8) for syntax
 
 SUBSYSTEM=="block", ACTION=="add", ENV{ID_FS_TYPE}=="linux_raid_member", \
+        TEST!="/tmp/.mdraid_start-%k", \
        IMPORT{program}="/sbin/mdadm --examine --export $tempnode", \
-       RUN+="/sbin/mdadm -I $env{DEVNAME}"
-
+       RUN+="/sbin/mdadm -I $env{DEVNAME}", \
+       RUN+="sh -c '>/tmp/.mdraid_start-%k; /bin/ln -s /sbin/mdraid_start /initqueue/mdraid_start.sh'"