lkml.org 
[lkml]   [2004]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] give root=/dev/ram special handling, needed for root fs on ramdisk
Date
This fixes a regression versus 2.4 reported earlied,
see http://lkml.org/lkml/2004/3/5/45
--
vdadiff -urN linux-2.6.3.orig/init/do_mounts.c linux-2.6.3/init/do_mounts.c
--- linux-2.6.3.orig/init/do_mounts.c Tue Mar 9 16:17:14 2004
+++ linux-2.6.3/init/do_mounts.c Tue Mar 9 16:18:42 2004
@@ -163,6 +163,9 @@
res = Root_NFS;
if (strcmp(name, "nfs") == 0)
goto done;
+ res = Root_RAM0;
+ if (strcmp(name, "ram") == 0)
+ goto done;

if (strlen(name) > 31)
goto fail;
\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.025 / U:0.696 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site