Messages in this thread Patch in this message | | | From | vda <> | Subject | [PATCH] give root=/dev/ram special handling, needed for root fs on ramdisk | Date | Tue, 9 Mar 2004 16:31:14 +0200 |
| |
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; | |