The sleep 20 would not be a solution, but busy waiting, like

wait=yes
while [ $wait == yes ] ; do
  (do some mdstuff)
  if [ $? == 0 ]; then
    wait=no
  else
    sleep 3
  fi
done

would do.
IMHO.

-- 
initramfs-tools script doesn't wait for device initialization, preventing mdadm 
to assemble md arrays
https://bugs.launchpad.net/bugs/83025
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to