SVN: geninitrd/trunk/geninitrd

glen glen at pld-linux.org
Mon Apr 16 20:14:38 CEST 2012


Author: glen
Date: Mon Apr 16 20:14:37 2012
New Revision: 12549

Modified:
   geninitrd/trunk/geninitrd
Log:
found some explanation of numeric root= params (used by lilo)

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd	(original)
+++ geninitrd/trunk/geninitrd	Mon Apr 16 20:14:37 2012
@@ -784,6 +784,16 @@
 
 	# parse 'root=xxx' kernel commandline
 	# We support passing root as hda3 /dev/hda3 0303 0x0303 and 303
+
+	# from lilo-23.2/readme/README:
+	# root=<device> changes the root device. This overrides settings that may
+	# have been made in the boot image and on the LILO command line. <device> is
+	# either the hexadecimal device number or the full path name of the device,
+	# e.g. /dev/hda3 [*]
+	#
+	#  *  The device names are hard-coded in the kernel. Therefore, only the
+	#	  "standard" names are supported and some less common devices may not be
+	#	  recognized. In those cases, only numbers can be used.
 	add_linuxrc <<-'EOF'
 		device=
 		eval "$(busybox awk -v root="$ROOT" '


More information about the pld-cvs-commit mailing list