On Tue, 20 Feb 2001, Tom Rini wrote:

> Er, say that again?  Right now, for bootp if you specify "sa=xxx.xxx.xxx.xxx"
> 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 "rp=xxx.xxx.xxx.xxx:/foo/root" ?  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.

                -ben

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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to