Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1681876

[PATCH 1/1] docs: nfsroot: Document that nfsvers=2 is the default

From Sakari Ailus <sakari.ailus@linux.intel.com>
Newsgroups linux.kernel
Subject [PATCH 1/1] docs: nfsroot: Document that nfsvers=2 is the default
Date 2017-07-06 00:00 +0200
Message-ID <u00v0-3uT-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View 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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 1/1] docs: nfsroot: Document that nfsvers=2 is the default Sakari Ailus <sakari.ailus@linux.intel.com> - 2017-07-06 00:00 +0200

csiph-web