]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
mdraid: stop udev queue until mdraid assembled
authorHarald Hoyer <harald@redhat.com>
Tue, 8 Sep 2009 13:30:17 +0000 (15:30 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 8 Sep 2009 13:30:17 +0000 (15:30 +0200)
modules.d/90mdraid/mdcontainer_start.sh
modules.d/90mdraid/mdraid_start.sh

index 4cb282dcc971e60858b882a1e4220968170a8af2..96c3eedaea9d83952992e6f5232dc375e069747b 100755 (executable)
@@ -2,5 +2,7 @@
 . /lib/dracut-lib.sh
 
 md=$1
+udevadm control --stop-exec-queue
 # and activate any containers
 mdadm -IR $md 2>&1 | vinfo
+udevadm control --start-exec-queue
\ No newline at end of file
index ee9362c0c18c794a8b6a1e2e837831346958e326..ab459862463e0560c45cc9233a79f094d0a21879 100755 (executable)
@@ -3,4 +3,6 @@
 . /lib/dracut-lib.sh
 # run mdadm if udev has settled
 info "Assembling MD RAID arrays"
+udevadm control --stop-exec-queue
 mdadm -IRs 2>&1 | vinfo
+udevadm control --start-exec-queue