freebsd-skq/sbin/mount_nfs
rmacklem cad0611bf4 Fix mount_nfs to recognize the NFSv4 specific errors returned by nmount(2).
When mount_nfs calls nmount(2), certain NFSv4 specific errors such as
NFSERR_MINORVERMISMATCH can be returned.
Without this patch, 10021 is reported as an unknown error.
This is not particulcarily serious, but make it difficult for sysadmins
to figure out why the mount attempt is failing.
This patch uses nfsv4_errstr.h to convert 10021 and similar to error strings
that can be printed out.
A positive side effect of this patch is the removal of a reference to
sys/nfsclient/nfs.h, which should no longer be used, since it is
part of the old NFS client.

This patch should only affect reporting of failed mount attempts and not the
semantics of NFS mount attempts.
2019-12-26 22:33:20 +00:00
..
Makefile
Makefile.depend
mount_nfs.8 Update the mount_nfs.8 man page to include NFSv4.2. 2019-12-14 21:49:47 +00:00
mount_nfs.c Fix mount_nfs to recognize the NFSv4 specific errors returned by nmount(2). 2019-12-26 22:33:20 +00:00