mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sakari Ailus <sakari.ailus@linux.intel.com>
To: linux-doc@vger.kernel.org
Cc: Jonathan Corbet <corbet@lwn.net>, linux-kernel@vger.kernel.org
Subject: [PATCH 1/1] docs: nfsroot: Document that nfsvers=2 is the default
Date: Thu,  6 Jul 2017 00:56:16 +0300	[thread overview]
Message-ID: <20170705215617.16736-1-sakari.ailus@linux.intel.com> (raw)

Nfsroot uses nfsvers=2 by default (as in fs/nfs/nfsroot.c), unlike is
specified in a modern nfs man page. Document this.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
---
Hi all,

I just figured out that NFS v2 is the default version when mounting root
over NFS. It'd be nice to tell in documentation this is actually the case.

Another option could be to change the default to something sensible. That
would have potential for breaking something though. I wonder what others
think.

 Documentation/filesystems/nfs/nfsroot.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/filesystems/nfs/nfsroot.txt b/Documentation/filesystems/nfs/nfsroot.txt
index 5efae00f6c7f..5b1a5c5810a0 100644
--- a/Documentation/filesystems/nfs/nfsroot.txt
+++ b/Documentation/filesystems/nfs/nfsroot.txt
@@ -66,6 +66,7 @@ nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>]
 
   <nfs-options>	Standard NFS options. All options are separated by commas.
 		The following defaults are used:
+			nfsvers		= 2
 			port		= as given by server portmap daemon
 			rsize		= 4096
 			wsize		= 4096
-- 
2.11.0

                 reply	other threads:[~2017-07-05 21:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20170705215617.16736-1-sakari.ailus@linux.intel.com \
    --to=sakari.ailus@linux.intel.com \
    --cc=corbet@lwn.net \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®