netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Novakovic <chris@chrisn.me.uk>
To: "David S. Miller" <davem@davemloft.net>, netdev@vger.kernel.org
Cc: Chris Novakovic <chris@chrisn.me.uk>
Subject: [PATCH v2 1/8] ipconfig: Document setting of NIS domain name
Date: Tue, 24 Apr 2018 03:56:32 +0100	[thread overview]
Message-ID: <20180424025639.2228-2-chris@chrisn.me.uk> (raw)
In-Reply-To: <20180424025639.2228-1-chris@chrisn.me.uk>

ic_do_bootp_ext() is responsible for parsing the "ip=" and "nfsaddrs="
kernel parameters. If a "." character is found in parameter 4 (the
client's hostname), everything before the first "." is used as the
hostname, and everything after it is used as the NIS domain name (but
not necessarily the DNS domain name).

Document this behaviour in Documentation/filesystems/nfs/nfsroot.txt,
as it is not made explicit.

Signed-off-by: Chris Novakovic <chris@chrisn.me.uk>
---
 Documentation/filesystems/nfs/nfsroot.txt | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/Documentation/filesystems/nfs/nfsroot.txt b/Documentation/filesystems/nfs/nfsroot.txt
index 5efae00f6c7f..1513e5d663fd 100644
--- a/Documentation/filesystems/nfs/nfsroot.txt
+++ b/Documentation/filesystems/nfs/nfsroot.txt
@@ -123,10 +123,13 @@ ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>:
 
 		Default:  Determined using autoconfiguration.
 
-  <hostname>	Name of the client. May be supplied by autoconfiguration,
-  		but its absence will not trigger autoconfiguration.
-		If specified and DHCP is used, the user provided hostname will
-		be carried in the DHCP request to hopefully update DNS record.
+  <hostname>	Name of the client. If a '.' character is present, anything
+		before the first '.' is used as the client's hostname, and anything
+		after it is used as its NIS domain name. May be supplied by
+		autoconfiguration, but its absence will not trigger autoconfiguration.
+		If specified and DHCP is used, the user-provided hostname (and NIS
+		domain name, if present) will be carried in the DHCP request; this
+		may cause a DNS record to be created or updated for the client.
 
   		Default: Client IP address is used in ASCII notation.
 
-- 
2.14.1

  reply	other threads:[~2018-04-24  2:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-24  2:56 [PATCH v2 0/8] ipconfig: NTP server support, bug fixes, documentation improvements Chris Novakovic
2018-04-24  2:56 ` Chris Novakovic [this message]
2018-04-24  2:56 ` [PATCH v2 2/8] ipconfig: Tidy up reporting of name servers Chris Novakovic
2018-04-24  2:56 ` [PATCH v2 3/8] ipconfig: BOOTP: Don't request IEN-116 " Chris Novakovic
2018-04-24  2:56 ` [PATCH v2 4/8] ipconfig: BOOTP: Request CONF_NAMESERVERS_MAX " Chris Novakovic
2018-04-24  2:56 ` [PATCH v2 5/8] ipconfig: Document /proc/net/pnp Chris Novakovic
2018-04-24  2:56 ` [PATCH v2 6/8] ipconfig: Correctly initialise ic_nameservers Chris Novakovic
2018-04-24  2:56 ` [PATCH v2 7/8] ipconfig: Create /proc/net/ipconfig directory Chris Novakovic
2018-04-24  2:56 ` [PATCH v2 8/8] ipconfig: Write NTP server IPs to /proc/net/ipconfig/ntp_servers Chris Novakovic
2018-04-24 17:40 ` [PATCH v2 0/8] ipconfig: NTP server support, bug fixes, documentation improvements David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180424025639.2228-2-chris@chrisn.me.uk \
    --to=chris@chrisn.me.uk \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).