2022-01-17 11:57:01

by Yongcheng Yang

[permalink] [raw]
Subject: [PATCH 1/1] manpage: remove the no longer supported value "vers2"

From: Yongcheng Yang <[email protected]>

Signed-off-by: Yongcheng Yang <[email protected]>
---

Hi SteveD,

We have removed the ability to enable NFS v2 and there is no default value
"vers2" (in file nfs.conf) anymore. But some man pages are still mentioning
this word.

Thanks,
Yongcheng

systemd/nfs.conf.man | 1 -
utils/mountd/mountd.man | 3 +--
utils/nfsd/nfsd.man | 2 --
3 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/systemd/nfs.conf.man b/systemd/nfs.conf.man
index 4436a38a..be487a11 100644
--- a/systemd/nfs.conf.man
+++ b/systemd/nfs.conf.man
@@ -171,7 +171,6 @@ Recognized values:
.BR lease-time ,
.BR udp ,
.BR tcp ,
-.BR vers2 ,
.BR vers3 ,
.BR vers4 ,
.BR vers4.0 ,
diff --git a/utils/mountd/mountd.man b/utils/mountd/mountd.man
index 77e6299a..a206a3e2 100644
--- a/utils/mountd/mountd.man
+++ b/utils/mountd/mountd.man
@@ -286,10 +286,9 @@ The values recognized in the
section include
.BR TCP ,
.BR UDP ,
-.BR vers2 ,
.BR vers3 ", and"
.B vers4
-which each have same same meaning as given by
+which each have the same meaning as given by
.BR rpc.nfsd (8).

.SH TCP_WRAPPERS SUPPORT
diff --git a/utils/nfsd/nfsd.man b/utils/nfsd/nfsd.man
index 716f538b..634b8a63 100644
--- a/utils/nfsd/nfsd.man
+++ b/utils/nfsd/nfsd.man
@@ -156,8 +156,6 @@ Enable (with "on" or "yes" etc) or disable ("off", "no") UDP support.
.B TCP
Enable or disable TCP support.
.TP
-.B vers2
-.TP
.B vers3
.TP
.B vers4
--
2.20.1


2022-01-21 22:24:21

by Steve Dickson

[permalink] [raw]
Subject: Re: [PATCH 1/1] manpage: remove the no longer supported value "vers2"



On 1/16/22 22:13, Yongcheng Yang wrote:
> From: Yongcheng Yang <[email protected]>
>
> Signed-off-by: Yongcheng Yang <[email protected]>
Committed.

steved.

> ---
>
> Hi SteveD,
>
> We have removed the ability to enable NFS v2 and there is no default value
> "vers2" (in file nfs.conf) anymore. But some man pages are still mentioning
> this word.
>
> Thanks,
> Yongcheng
>
> systemd/nfs.conf.man | 1 -
> utils/mountd/mountd.man | 3 +--
> utils/nfsd/nfsd.man | 2 --
> 3 files changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/systemd/nfs.conf.man b/systemd/nfs.conf.man
> index 4436a38a..be487a11 100644
> --- a/systemd/nfs.conf.man
> +++ b/systemd/nfs.conf.man
> @@ -171,7 +171,6 @@ Recognized values:
> .BR lease-time ,
> .BR udp ,
> .BR tcp ,
> -.BR vers2 ,
> .BR vers3 ,
> .BR vers4 ,
> .BR vers4.0 ,
> diff --git a/utils/mountd/mountd.man b/utils/mountd/mountd.man
> index 77e6299a..a206a3e2 100644
> --- a/utils/mountd/mountd.man
> +++ b/utils/mountd/mountd.man
> @@ -286,10 +286,9 @@ The values recognized in the
> section include
> .BR TCP ,
> .BR UDP ,
> -.BR vers2 ,
> .BR vers3 ", and"
> .B vers4
> -which each have same same meaning as given by
> +which each have the same meaning as given by
> .BR rpc.nfsd (8).
>
> .SH TCP_WRAPPERS SUPPORT
> diff --git a/utils/nfsd/nfsd.man b/utils/nfsd/nfsd.man
> index 716f538b..634b8a63 100644
> --- a/utils/nfsd/nfsd.man
> +++ b/utils/nfsd/nfsd.man
> @@ -156,8 +156,6 @@ Enable (with "on" or "yes" etc) or disable ("off", "no") UDP support.
> .B TCP
> Enable or disable TCP support.
> .TP
> -.B vers2
> -.TP
> .B vers3
> .TP
> .B vers4