[PATCH] Documentation: rootwait does not work if root=devicenumber

From: Jens Rottmann
Date: Thu Aug 23 2012 - 16:49:59 EST


Documentation: rootwait does not work if root=devicenumber

This makes it a bit tricky to use with LILO: Typing "root=/dev/... rootwait"
directly on LILO's prompt boots fine, but putting
root = /dev/...
append = "rootwait"
in lilo.conf fails, "rootwait" is silently ignored.

Signed-off-by: Jens Rottmann <JRottmann@xxxxxxxxxxxxxxxxxx>
---

Cost me 4 hours of my life. If anyone feels up to fixing it init/do_mounts.c
instead of just documenting it, feel free. :-)

Cheers,
Jens

--- linux-3.5.2/Documentation/kernel-parameters.txt
+++ rootwait_and_LILO/Documentation/kernel-parameters.txt
@@ -2530,7 +2530,9 @@

rootwait [KNL] Wait (indefinitely) for root device to show up.
Useful for devices that are detected asynchronously
- (e.g. USB and MMC devices).
+ (e.g. USB and MMC devices). root must be specified as
+ /dev/devicename, not as (hex) device number
+ (LILO: use append = "root=/dev/...").

rw [KNL] Mount root device read-write on boot

_
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/