[PATCH] 2.4.6 ipconfig for NFS root

Wakko Warner (wakko@animx.eu.org)
Fri, 10 Aug 2001 12:25:32 -0400


I tried this on 2.4.6, 2.4.7 and 2.2.19. No problems that I could see.

Comments?

--- ../2.4.6-orig/net/ipv4/ipconfig.c Tue Aug 7 10:02:21 2001
+++ 2.4.6/net/ipv4/ipconfig.c Tue Aug 7 09:34:54 2001
@@ -1093,7 +1093,11 @@
proc_net_create("pnp", 0, pnp_get_info);
#endif /* CONFIG_PROC_FS */

- if (!ic_enable)
+ if (!ic_enable
+#if defined(IPCONFIG_DYNAMIC) && defined(CONFIG_ROOT_NFS)
+ && ROOT_DEV != MKDEV(UNNAMED_MAJOR, 255)
+#endif
+ )
return 0;

DBG(("IP-Config: Entered.\n"));

-- 
 Lab tests show that use of micro$oft causes cancer in lab animals
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/