Messages in this thread | | | Date | Fri, 11 May 2001 11:13:00 -0700 | From | "Brian J. Murrell" <> | Subject | Re: [PATCH] ip autoconfig with modules, kernel 2.4 |
| |
On Thu, May 10, 2001 at 06:00:39PM +0100, Russell King wrote: > > Hmm, if you've got userspace up and running, and loaded kernel > modules using insmod, then what's wrong about running a dhcp, > bootp or rarp client from userspace?
In theory, and for just ip configuration, nothing.
I should have given more information though. My goal is actually to NFSRoot the machine being booted. I could not determine a way to get the "root path" attribute given by the dhcp/bootp server from userspace back to the kernel so that it can "change_root()/mount_root()" with it. I seem to recall there was a proc interface for doing this at one time (in the 2.2 kernel) but it seemed to have went away.
> You can then drop the > kernel space IP autoconfiguration code.
If there were a way to tell the kernel, from userspace, for change_root()/mount_root() where the nfsroot path was, yes. I have been hunting through all of the (nfs) root mount code and I don't see it. It looks like it can be set either on the command line, or by the kernel implementation of bootp. Am I missing it somewhere?
b.
- 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/
| |