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 <[email protected]>
---
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
_