patch-1.3.75 linux/arch/alpha/kernel/setup.c
Next file: linux/arch/i386/boot/Makefile
Previous file: linux/arch/alpha/kernel/irq.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Sat Mar 16 13:52:12 1996
- Orig file:
v1.3.74/linux/arch/alpha/kernel/setup.c
- Orig date:
Sat Mar 2 10:43:21 1996
diff -u --recursive --new-file v1.3.74/linux/arch/alpha/kernel/setup.c linux/arch/alpha/kernel/setup.c
@@ -128,8 +128,22 @@
ROOT_DEV = to_kdev_t(0x0802); /* sda2 */
command_line[COMMAND_LINE_SIZE - 1] = '\0';
- strcpy(command_line, COMMAND_LINE);
- strcpy(saved_command_line, COMMAND_LINE);
+
+ /* Hack for Jensen... since we're restricted to 8 or 16
+ * chars for boot flags depending on the boot mode,
+ * we need some shorthand. This should do for
+ * installation. Later we'll add other abbreviaitions
+ * as well...
+ */
+ if(strcmp(COMMAND_LINE, "INSTALL") == 0) {
+ strcpy(command_line, "root=/dev/fd0 load_ramdisk=1");
+ strcpy(saved_command_line, command_line);
+ }
+ else {
+ strcpy(command_line, COMMAND_LINE);
+ strcpy(saved_command_line, COMMAND_LINE);
+ }
+ printk("Command line: %s\n", command_line);
*cmdline_p = command_line;
*memory_start_p = (unsigned long) &_end;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this