[lkml]   [2001]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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?


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

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