]> git.saurik.com Git - apple/network_cmds.git/blob - nfsd.tproj/nfsd.8
network_cmds-176.3.3.tar.gz
[apple/network_cmds.git] / nfsd.tproj / nfsd.8
1 .\" Copyright (c) 1989, 1991, 1993
2 .\" The Regents of the University of California. All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\" must display the following acknowledgement:
14 .\" This product includes software developed by the University of
15 .\" California, Berkeley and its contributors.
16 .\" 4. Neither the name of the University nor the names of its contributors
17 .\" may be used to endorse or promote products derived from this software
18 .\" without specific prior written permission.
19 .\"
20 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" SUCH DAMAGE.
31 .\"
32 .\" @(#)nfsd.8 8.4 (Berkeley) 3/29/95
33 .\"
34 .Dd March 29, 1995
35 .Dt NFSD 8
36 .Os
37 .Sh NAME
38 .Nm nfsd
39 .Nd remote
40 .Tn NFS
41 server
42 .Sh SYNOPSIS
43 .Nm nfsd
44 .Op Fl rut
45 .Op Fl n Ar num_servers
46 .Sh DESCRIPTION
47 .Nm Nfsd
48 runs on a server machine to service
49 .Tn NFS
50 requests from client machines.
51 At least one
52 .Nm nfsd
53 must be running for a machine to operate as a server.
54 .Pp
55 Unless otherwise specified, four servers for
56 .Tn UDP
57 transport are started.
58 .Pp
59 The following options are available:
60 .Bl -tag -width Ds
61 .It Fl r
62 Register the
63 .Tn NFS
64 service with
65 .Xr portmap 8
66 without creating any servers.
67 This option can be used along with the
68 .Fl u
69 or
70 .Fl t
71 options to re-register NFS if the portmap server is restarted.
72 .It Fl n
73 Specifies how many servers to create.
74 .It Fl t
75 Serve
76 .Tn TCP NFS
77 clients.
78 .It Fl u
79 Serve
80 .Tn UDP NFS
81 clients.
82 .El
83 .Pp
84 For example,
85 .Dq Li "nfsd -u -t 6"
86 serves
87 .Tn UDP
88 and
89 .Tn TCP
90 transports using six daemons.
91 .Pp
92 A server should run enough daemons to handle
93 the maximum level of concurrency from its clients,
94 typically four to six.
95 .Pp
96 .Nm Nfsd
97 listens for service requests at the port indicated in the
98 .Tn NFS
99 server specification; see
100 .%T "Network File System Protocol Specification" ,
101 RFC1094 and
102 .%T "NFS: Network File System Version 3 Protocol Specification" .
103 .Pp
104 The
105 .Nm nfsd
106 utility exits 0 on success, and >0 if an error occurs.
107 .Sh SEE ALSO
108 .Xr nfsstat 1 ,
109 .Xr nfssvc 2 ,
110 .Xr mountd 8 ,
111 .Xr portmap 8
112 .Sh HISTORY
113 The
114 .Nm nfsd
115 utility first appeared in 4.4BSD.