Joshua Schmidklofer wrote:
> 
> Kernel developers,
>    I hate to burden you with menial quetions, but:   How does ipconfig
> get called & initialized?

The magic happens right at the end of ipconfig.c:

__setup("ip=", ip_auto_config_setup);
__setup("nfsaddrs=", nfsaddrs_config_setup);

When the kernel boots it runs init/main.c:parse_options() to parse
the kernel boot command line.  The function init/main.c:checksetup()
will call ip_auto_config_setup() when it sees an argument of the
form "ip=XXXX" on the command line.

If there is no `ip=' argument then ip_auto_config_setup() will
not be called at all.

-
-
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