Displaying 2 results from an estimated 2 matches for "root_initramf".
Did you mean:
root_initramfs
2003 May 22
0
[PATCH 2.5.69 3/3] Bandaids for gen_init_cpio and initramfs
...--------
#
diff -Nru a/init/do_mounts.c b/init/do_mounts.c
--- a/init/do_mounts.c Thu May 22 15:40:19 2003
+++ b/init/do_mounts.c Thu May 22 15:40:19 2003
@@ -123,7 +123,7 @@
int part;
if (strncmp(name, "initramfs", 9) == 0 || strcmp(name, "/dev/nfs") == 0) {
- ROOT_DEV = Root_InitRamFS;
+ res = Root_InitRamFS;
goto nada;
}
diff -Nru a/init/initramfs.c b/init/initramfs.c
--- a/init/initramfs.c Thu May 22 15:40:19 2003
+++ b/init/initramfs.c Thu May 22 15:40:19 2003
@@ -8,10 +8,7 @@
#include <linux/delay.h>
#include <linux/string.h>
-static void __init erro...
2003 May 22
0
[PATCH 2.5.69 2/3] Remove NFS root support from the kernel
...- return (void*)&nfs_data;
-}
diff -Nru a/include/linux/root_dev.h b/include/linux/root_dev.h
--- a/include/linux/root_dev.h Thu May 22 15:40:37 2003
+++ b/include/linux/root_dev.h Thu May 22 15:40:37 2003
@@ -2,7 +2,7 @@
#define _ROOT_DEV_H_
enum {
- Root_NFS = MKDEV(UNNAMED_MAJOR, 255),
+ Root_InitRamFS = MKDEV(UNNAMED_MAJOR, 255),
Root_RAM0 = MKDEV(RAMDISK_MAJOR, 0),
Root_RAM1 = MKDEV(RAMDISK_MAJOR, 1),
Root_FD0 = MKDEV(FLOPPY_MAJOR, 0),
diff -Nru a/init/do_mounts.c b/init/do_mounts.c
--- a/init/do_mounts.c Thu May 22 15:40:37 2003
+++ b/init/do_mounts.c Thu May 22 15:40:37 2003
@@ -6,10 +...