[Fwd: udev: Add support for the ROOTDELAY parameter]
Antispam measures ate my email to debian-release, so I'll forward it
manually, the bug report below got number #414842.
---------------------------- Original Message ----------------------------
Subject: udev: Add support for the ROOTDELAY parameter
Date: Wed, March 14, 2007 2:00
To: submit@bugs.debian.org
Cc: debian-release@bugs.debian.org
--------------------------------------------------------------------------
Package: udev
Version: 0.105-3
Severity: normal
Tags: patch
Hi,
maks downgraded #401916 (and #366175) from RC severity with the
understanding that something like the attached patch would be applied to
the udev initramfs script before the release of Etch to allow people with
affected systems some kind of manual workaround at least.
I'm not setting the severity to R-C, but I'd like to know whether others
(maks, Marco, RM's) think this should go in?
--
David Härdeman
diff -ur ./udev-0.105.orig/extra/initramfs.premount ./udev-0.105/extra/initramfs.premount
--- ./udev-0.105.orig/extra/initramfs.premount 2007-03-14 01:48:20.000000000 +0100
+++ ./udev-0.105/extra/initramfs.premount 2007-03-14 01:55:12.000000000 +0100
@@ -20,5 +20,17 @@
udevtrigger
udevsettle || true
+# If the rootdelay parameter has been set, we wait a bit for devices
+# like usb/firewire disks to settle
+if [ -n "$ROOTDELAY" ]; then
+ if [ -x /sbin/usplash_write ]; then
+ /sbin/usplash_write "TIMEOUT $(($ROOTDELAY + 5))"
+ fi
+ sleep $ROOTDELAY
+ if [ -x /sbin/usplash_write ]; then
+ /sbin/usplash_write "TIMEOUT 15"
+ fi
+fi
+
# Leave udev running to process events that come in out-of-band (like USB
# connections)
Reply to: