summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorYongcheng Yang <yongcheng.yang@gmail.com>2022-01-20 11:16:32 -0500
committerSteve Dickson <steved@redhat.com>2022-01-20 11:16:32 -0500
commit497ffdf8c332f7be9be13b231d328690589272ca (patch)
tree1950c437571da9ed0705546aa47c4909d7f9ff04 /utils
parentd53626a3a8e12c27481caac2f6be9d0956fea90b (diff)
downloadnfs-utils-497ffdf8c332f7be9be13b231d328690589272ca.tar.gz
manpage: remove the no longer supported value "vers2"
Signed-off-by: Yongcheng Yang <yongcheng.yang@gmail.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/exportfs/exportfs.c2
-rw-r--r--utils/mount/stropts.c3
-rw-r--r--utils/mountd/mountd.man3
-rw-r--r--utils/nfsd/nfsd.man2
4 files changed, 5 insertions, 5 deletions
diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c
index 6ba615d..c247425 100644
--- a/utils/exportfs/exportfs.c
+++ b/utils/exportfs/exportfs.c
@@ -307,12 +307,14 @@ static int exportfs_generic(char *arg, char *options, int verbose)
{
char *path;
+printf("exportfs_generic: arg '%s'\n", arg);
if ((path = strchr(arg, ':')) != NULL)
*path++ = '\0';
if (!path || *path != '/')
return 1;
+printf("exportfs_generic: path '%s'\n", path);
exportfs_parsed(arg, path, options, verbose);
return 0;
}
diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c
index 3c4e218..3ca6986 100644
--- a/utils/mount/stropts.c
+++ b/utils/mount/stropts.c
@@ -973,7 +973,8 @@ fall_back:
if ((result = nfs_try_mount_v3v2(mi, FALSE)))
return result;
- errno = olderrno;
+ if (errno != EBUSY)
+ errno = olderrno;
return result;
}
diff --git a/utils/mountd/mountd.man b/utils/mountd/mountd.man
index 77e6299..a206a3e 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 716f538..634b8a6 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