Deleted Added
full compact
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 35 unchanged lines hidden (view full) ---

44static char sccsid[] = "@(#)nfsiod.c 8.3 (Berkeley) 2/22/94";
45#endif not lint
46
47#include <sys/param.h>
48#include <sys/ioctl.h>
49#include <sys/syslog.h>
50#include <sys/ucred.h>
51#include <sys/wait.h>
52
53#include <nfs/nfsv2.h>
54#include <nfs/nfs.h>
55
56#include <err.h>
57#include <errno.h>
58#include <fcntl.h>
59#include <signal.h>

--- 18 unchanged lines hidden (view full) ---

78 * improve throughput.
79 */
80int
81main(argc, argv)
82 int argc;
83 char *argv[];
84{
85 int ch, num_servers;
86
87#define MAXNFSDCNT 20
88#define DEFNFSDCNT 1
89 num_servers = DEFNFSDCNT;
90 while ((ch = getopt(argc, argv, "n:")) != EOF)
91 switch (ch) {
92 case 'n':
93 num_servers = atoi(optarg);
94 if (num_servers < 1 || num_servers > MAXNFSDCNT) {

--- 73 unchanged lines hidden ---