[IPV4]: Updates to nfsroot documentation
The difference between ip=off and ip=::::::off has been a cause of much confusion. Document how each behaves, and do not contradict ourselves by saying that "off" is the default when in fact "any" is the default and is descibed as being so lower in the file. Signed-off-by: Amos Waterland <apw@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
f58adb757b
commit
f33e1d9fa2
@ -1396,25 +1396,7 @@ late_initcall(ip_auto_config);
|
||||
|
||||
/*
|
||||
* Decode any IP configuration options in the "ip=" or "nfsaddrs=" kernel
|
||||
* command line parameter. It consists of option fields separated by colons in
|
||||
* the following order:
|
||||
*
|
||||
* <client-ip>:<server-ip>:<gw-ip>:<netmask>:<host name>:<device>:<PROTO>
|
||||
*
|
||||
* Any of the fields can be empty which means to use a default value:
|
||||
* <client-ip> - address given by BOOTP or RARP
|
||||
* <server-ip> - address of host returning BOOTP or RARP packet
|
||||
* <gw-ip> - none, or the address returned by BOOTP
|
||||
* <netmask> - automatically determined from <client-ip>, or the
|
||||
* one returned by BOOTP
|
||||
* <host name> - <client-ip> in ASCII notation, or the name returned
|
||||
* by BOOTP
|
||||
* <device> - use all available devices
|
||||
* <PROTO>:
|
||||
* off|none - don't do autoconfig at all (DEFAULT)
|
||||
* on|any - use any configured protocol
|
||||
* dhcp|bootp|rarp - use only the specified protocol
|
||||
* both - use both BOOTP and RARP (not DHCP)
|
||||
* command line parameter. See Documentation/nfsroot.txt.
|
||||
*/
|
||||
static int __init ic_proto_name(char *name)
|
||||
{
|
||||
|
Reference in New Issue
Block a user