Re: wait for the boot device
Ferenc Wagner <wferi@niif.hu> writes:
> So I'm back again, with the below patch running fine on a couple of
> our production machines for a couple of months now. Please consider
> incorporating it in some form.
>
> --- /usr/share/initramfs-tools/scripts/init-premount/udev 2009-04-15 23:05:42.000000000 +0200
> +++ udev 2009-06-04 17:31:05.919424375 +0200
> @@ -20,6 +20,14 @@
> udevadm trigger
> udevadm settle || true
>
> +if [ -d /sys/bus/scsi ]; then
> + echo -n "Waiting for SCSI scan ..."
> + modprobe scsi_wait_scan
> + modprobe -r scsi_wait_scan
> + udevadm settle || true
> + echo " SCSI scan finished."
> +fi
> +
> # If the rootdelay parameter has been set, we wait a bit for devices
> # like usb/firewire disks to settle.
> if [ "$ROOTDELAY" ]; then
Hi Marco,
Any word on this?
--
Thanks,
Feri.
Reply to: