summaryrefslogtreecommitdiffstats
path: root/sbin/mount
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2011-04-27 17:51:51 +0000
committerrmacklem <rmacklem@FreeBSD.org>2011-04-27 17:51:51 +0000
commit66b402e198b741aaef0494b904ca943e26928dcf (patch)
treeee19f38f0278c8c957f0412e1d8ee665274c8aa4 /sbin/mount
parentcb70a2e3166cf143bb017b92be577d0eef083a1e (diff)
downloadFreeBSD-src-66b402e198b741aaef0494b904ca943e26928dcf.zip
FreeBSD-src-66b402e198b741aaef0494b904ca943e26928dcf.tar.gz
This patch changes head so that the default NFS client is now the new
NFS client (which I guess is no longer experimental). The fstype "newnfs" is now "nfs" and the regular/old NFS client is now fstype "oldnfs". Although mounts via fstype "nfs" will usually work without userland changes, an updated mount_nfs(8) binary is needed for kernels built with "options NFSCL" but not "options NFSCLIENT". Updated mount_nfs(8) and mount(8) binaries are needed to do mounts for fstype "oldnfs". The GENERIC kernel configs have been changed to use options NFSCL and NFSD (the new client and server) instead of NFSCLIENT and NFSSERVER. For kernels being used on diskless NFS root systems, "options NFSCL" must be in the kernel config. Discussed on freebsd-fs@.
Diffstat (limited to 'sbin/mount')
-rw-r--r--sbin/mount/mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c
index d0d0faa..acded1c 100644
--- a/sbin/mount/mount.c
+++ b/sbin/mount/mount.c
@@ -141,8 +141,8 @@ use_mountprog(const char *vfstype)
*/
unsigned int i;
const char *fs[] = {
- "cd9660", "mfs", "msdosfs", "newnfs", "nfs", "ntfs",
- "nwfs", "nullfs", "portalfs", "smbfs", "udf", "unionfs",
+ "cd9660", "mfs", "msdosfs", "nfs", "ntfs",
+ "nwfs", "nullfs", "oldnfs", "portalfs", "smbfs", "udf", "unionfs",
NULL
};
OpenPOWER on IntegriCloud