Browse Source

dmraid/dmraid.sh: call udevsettle after activating all raids

otherwise a uevent loop will happen and the initqueue main loop counter
will not be incremented
master
Harald Hoyer 10 years ago
parent
commit
50f8ae457c
  1. 1
      modules.d/90dmraid/dmraid.sh

1
modules.d/90dmraid/dmraid.sh

@ -37,6 +37,7 @@ if [ -n "$DM_RAIDS" ] || getargbool 0 rd.auto; then
info "Activating $s" info "Activating $s"
dmraid -ay -i -p --rm_partitions "$s" 2>&1 | vinfo dmraid -ay -i -p --rm_partitions "$s" 2>&1 | vinfo
[ -e "/dev/mapper/$s" ] && kpartx -a "/dev/mapper/$s" 2>&1 | vinfo [ -e "/dev/mapper/$s" ] && kpartx -a "/dev/mapper/$s" 2>&1 | vinfo
udevsettle
done done
fi fi



Loading…
Cancel
Save