aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/nfsiod/nfsiod.c
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1995-06-27 11:07:30 +0000
committerDoug Rabson <dfr@FreeBSD.org>1995-06-27 11:07:30 +0000
commita62dc4065454b3af8bde3af9f005db2c4d802fec (patch)
tree372bad41f8c547f40d0826ed596c53dc772ab986 /sbin/nfsiod/nfsiod.c
parent82aaeb09ad6963c8e01e332d734ea0a69b66ed2e (diff)
downloadsrc-a62dc4065454b3af8bde3af9f005db2c4d802fec.tar.gz
src-a62dc4065454b3af8bde3af9f005db2c4d802fec.zip
Changes to support version 3 of the NFS protocol.
The version 2 support has been tested (client+server) against FreeBSD-2.0, IRIX 5.3 and FreeBSD-current (using a loopback mount). The version 2 support is stable AFAIK. The version 3 support has been tested with a loopback mount and minimally against an IRIX 5.3 server. It needs more testing and may have problems. I have patched amd to support the new variable length filehandles although it will still only use version 2 of the protocol. Before booting a kernel with these changes, nfs clients will need to at least build and install /usr/sbin/mount_nfs. Servers will need to build and install /usr/sbin/mountd. NFS diskless support is untested. Obtained from: Rick Macklem <rick@snowhite.cis.uoguelph.ca>
Notes
Notes: svn path=/head/; revision=9336
Diffstat (limited to 'sbin/nfsiod/nfsiod.c')
-rw-r--r--sbin/nfsiod/nfsiod.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/nfsiod/nfsiod.c b/sbin/nfsiod/nfsiod.c
index d066329ab4d9..0a6985fad4dd 100644
--- a/sbin/nfsiod/nfsiod.c
+++ b/sbin/nfsiod/nfsiod.c
@@ -50,8 +50,10 @@ static char sccsid[] = "@(#)nfsiod.c 8.3 (Berkeley) 2/22/94";
#include <sys/ucred.h>
#include <sys/wait.h>
#include <sys/mount.h>
+#include <sys/time.h>
-#include <nfs/nfsv2.h>
+#include <nfs/rpcv2.h>
+#include <nfs/nfsproto.h>
#include <nfs/nfs.h>
#include <err.h>