lkml.org 
[lkml]   [1996]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectnfsroot patch
Here is a patch for nfsroot, which allows "nfsroot" kernel command 
line parameter to work as it should. In 1.3.97 kernel (and some before
it) it is impossible to mount root file system from different server than
BOOTP server.

Jacek Zapala

--- nfsroot.c.orig Mon Apr 22 17:49:02 1996
+++ nfsroot.c Tue Apr 30 19:18:33 1996
@@ -51,6 +51,8 @@
* without giving a path name. Fix BOOTP request
* for domainname (domainname is NIS domain, not
* DNS domain!). Skip dummy devices for BOOTP.
+ * Jacek Zapala : Fixed a bug which prevented server-ip address
+ * from nfsroot parameter from being used.
*
*/

@@ -1060,6 +1062,8 @@
break;
if (*cp == '.' || octets == 3)
octets++;
+ if (octets < 4)
+ cp++;
cq = cp;
}
if (octets == 4 && (*cp == ':' || *cp == '\0')) {


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.899 / U:1.988 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site