From 497ffdf8c332f7be9be13b231d328690589272ca Mon Sep 17 00:00:00 2001 From: Yongcheng Yang Date: Thu, 20 Jan 2022 11:16:32 -0500 Subject: manpage: remove the no longer supported value "vers2" Signed-off-by: Yongcheng Yang Signed-off-by: Steve Dickson --- utils/exportfs/exportfs.c | 2 ++ utils/mount/stropts.c | 3 ++- utils/mountd/mountd.man | 3 +-- utils/nfsd/nfsd.man | 2 -- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'utils') 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 -- cgit v1.2.1