Re: [PATCH] make nfsroot accept server addresses from BOOTP root

From: Ben LaHaise (
Date: Tue Feb 20 2001 - 13:12:28 EST

On Tue, 20 Feb 2001, Tom Rini wrote:

> Er, say that again? Right now, for bootp if you specify ""
> Linux uses that as the host for the NFS server (which does have the side
> effect of if TFTP server != NFS server, you don't boot). Are you saying
> your patch takes "" ? Just curious, since I
> don't know, whats the RFC say about this?

Yeah, that's the problem I was trying to work around, mostly because the
docs on dhcpd are sufficiently vague and obscure. Personally, I don't
actually need tftp support, so I've just configured the system to now
point at the NFS server. For anyone who cares, the last patch was wrong,
this one is right.


diff -ur v2.4.1-ac18/fs/nfs/nfsroot.c work/fs/nfs/nfsroot.c
--- v2.4.1-ac18/fs/nfs/nfsroot.c Mon Sep 25 16:13:53 2000
+++ work/fs/nfs/nfsroot.c Tue Feb 20 01:59:32 2001
@@ -226,6 +226,7 @@
         if (name[0] && strcmp(name, "default")) {
                 strncpy(buf, name, NFS_MAXPATHLEN-1);
                 buf[NFS_MAXPATHLEN-1] = 0;
+ root_nfs_parse_addr(buf);

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Feb 23 2001 - 21:00:22 EST