FreeBSD src
Go to file
Rick Macklem 56c049a003 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
bin Update Makefile.depend files 2019-12-11 17:37:53 +00:00
cddl dtrace: avoid gcc9 Walloca-larger-than 2019-12-21 02:44:13 +00:00
contrib Merge commit d3aeac8e2 from llvm git (by Justin Hibbits) 2019-12-26 21:20:45 +00:00
crypto sshd: make getpwclass wrapper MON_ISAUTH not MON_AUTH 2019-11-20 16:30:37 +00:00
etc Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 2019-12-22 11:50:44 +00:00
gnu Move all sources from the llvm project into contrib/llvm-project. 2019-12-20 19:53:05 +00:00
include Revert r355760, r355759 2019-12-15 17:33:26 +00:00
kerberos5 Update Makefile.depend files 2019-12-11 17:37:53 +00:00
lib Optimize fast path allocations by storing bucket headers in the per-cpu 2019-12-25 20:50:53 +00:00
libexec [PowerPC] powerpc32 rtld IFUNC handling code 2019-12-24 16:13:15 +00:00
release release: chase ports r519089 (rpi-firmware update) 2019-12-05 16:17:56 +00:00
rescue Remove unused defines since r147075 2019-07-12 04:44:50 +00:00
sbin Fix mount_nfs to recognize the NFSv4 specific errors returned by nmount(2). 2019-12-26 22:33:20 +00:00
secure Update Makefile.depend files 2019-12-11 17:37:53 +00:00
share random(9): Deprecate random(9), remove meaningless srandom(9) 2019-12-26 19:41:09 +00:00
stand [PowerPC64] Use ld.bfd to build LIB32 and STAND - when using llvm 2019-12-24 16:03:33 +00:00
sys Change NFSv4.1 and NFSv4.2 error strings to start with lower case letter. 2019-12-26 21:06:34 +00:00
targets Update dirdeps.mk and gendirdeps.mk 2019-12-11 17:38:15 +00:00
tests Temporarily skip failing sys.geom.class.multipath.failloop.failloop on i386 CI 2019-12-17 19:01:09 +00:00
tools Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 2019-12-22 11:50:44 +00:00
usr.bin Update the nfsstat man page to reflect r355992. 2019-12-22 00:36:22 +00:00
usr.sbin sbin/fstyp: recgonize Dragonfly's hammer and hammer2. 2019-12-24 19:00:20 +00:00
.arcconfig
.arclint
.cirrus.yml cirrus.yml: stop fetching OVMF.fd now that we're using the pkg 2019-07-30 16:40:33 +00:00
.clang-format
.gitattributes
.gitignore .gitignore: Add LINT kernel configurations generated into SRCDIR 2019-08-10 18:22:22 +00:00
COPYRIGHT
LOCKS
MAINTAINERS Move all sources from the llvm project into contrib/llvm-project. 2019-12-20 19:53:05 +00:00
Makefile Take arm.arm (armv5) out of universe 2019-11-03 19:36:34 +00:00
Makefile.inc1 revert r355609 2019-12-13 14:48:44 +00:00
Makefile.libcompat libcompat: build 32-bit rtld and ldd as part of "everything" 2019-11-07 22:58:10 +00:00
Makefile.sys.inc
ObsoleteFiles.inc Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 2019-12-22 11:50:44 +00:00
README Import OpenSSL 1.1.1d. 2019-09-10 17:40:53 +00:00
README.md
RELNOTES Add an entry to RELNOTES for r355677. 2019-12-13 16:28:48 +00:00
UPDATING random(4): Simplify RANDOM_LOADABLE 2019-12-26 19:32:11 +00:00

FreeBSD Source:

This is the top level of the FreeBSD source directory. This file was last revised on: FreeBSD

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html, and https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html for more information, including setting make(1) variables.

Source Roadmap:

bin		System/user commands.

cddl		Various commands and libraries under the Common Development
		and Distribution License.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

rescue		Build system for statically linked /rescue utilities.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

stand		Boot loader sources.

sys		Kernel sources.

sys/<arch>/conf Kernel configuration files. GENERIC is the configuration
		used in release builds. NOTES contains documentation of
		all possible entries.

tests		Regression tests which can be run by Kyua.  See tests/README
		for additional information.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see:

https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html