Annotation of 43BSDReno/sbin/nfsd/nfsd.8, revision 1.1

1.1     ! root        1: .\" Copyright (c) 1989 The Regents of the University of California.
        !             2: .\" All rights reserved.
        !             3: .\"
        !             4: .\" Redistribution and use in source and binary forms are permitted provided
        !             5: .\" that: (1) source distributions retain this entire copyright notice and
        !             6: .\" comment, and (2) distributions including binaries display the following
        !             7: .\" acknowledgement:  ``This product includes software developed by the
        !             8: .\" University of California, Berkeley and its contributors'' in the
        !             9: .\" documentation or other materials provided with the distribution and in
        !            10: .\" all advertising materials mentioning features or use of this software.
        !            11: .\" Neither the name of the University nor the names of its contributors may
        !            12: .\" be used to endorse or promote products derived from this software without
        !            13: .\" specific prior written permission.
        !            14: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
        !            15: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
        !            16: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
        !            17: .\"
        !            18: .\"    @(#)nfsd.8      5.6 (Berkeley) 6/24/90
        !            19: .\"
        !            20: .TH NFSD 8 "June 24, 1990"
        !            21: .UC 7
        !            22: .SH NAME
        !            23: nfsd \- remote NFS server
        !            24: .SH SYNOPSIS
        !            25: .B nfsd
        !            26: [
        !            27: .B \-u
        !            28: .I msk,mtch,numprocs
        !            29: ]
        !            30: [
        !            31: .B \-t
        !            32: .I msk,mtch,hostadr1,hostadr2,...
        !            33: ]
        !            34: [
        !            35: .I numprocs
        !            36: ]
        !            37: .SH DESCRIPTION
        !            38: .I Nfsd
        !            39: runs on a server machine to service
        !            40: .SM NFS
        !            41: requests from client machines.
        !            42: At least one
        !            43: .I nfsd
        !            44: must be running for a machine to operate as a server.
        !            45: The options
        !            46: .B \-u
        !            47: and
        !            48: .B \-t
        !            49: are used to indicate which transport protocols are to be served.
        !            50: .TP
        !            51: .B \-u
        !            52: Serve UDP NFS clients.
        !            53: .TP
        !            54: .B \-t
        !            55: Serve TCP NFS clients.
        !            56: .TP
        !            57: .I "msk, mtch"
        !            58: These arguments permit restriction of NFS services
        !            59: to a subset of the host addresses. The
        !            60: .I msk
        !            61: and
        !            62: .I mtch
        !            63: are applied to the client host address as follows:
        !            64: .sp
        !            65: if ((
        !            66: .I host_address
        !            67: &
        !            68: .I msk
        !            69: ) ==
        !            70: .I mtch
        !            71: )
        !            72: .br
        !            73:    - service the client request
        !            74: .br
        !            75: else
        !            76: .br
        !            77:    - drop the request
        !            78: .TP
        !            79: .I hostadr1,...
        !            80: You may also specify zero or more specific host addresses to be accepted
        !            81: as well as ones that pass the
        !            82: .I msk, mtch
        !            83: test above.
        !            84: This may only be done for transport protocols that are connection based, such
        !            85: as TCP.
        !            86: For the internet domain,
        !            87: .I msk, mtch
        !            88: and
        !            89: .I hostadrs'
        !            90: are specified in internet
        !            91: .I dot
        !            92: notation.
        !            93: .TP
        !            94: .I numprocs
        !            95: Specifies how many servers to fork off. This may only be specified for
        !            96: non-connection based protocols such as UDP.
        !            97: .LP
        !            98: If neither
        !            99: .I \-u
        !           100: or
        !           101: .I \-t
        !           102: are specified,
        !           103: .I numprocs
        !           104: servers for UDP accepting requests from all clients are started.
        !           105: If
        !           106: .I numprocs
        !           107: is not specified, it defaults to 1.
        !           108: .LP
        !           109: For example:
        !           110: .sp
        !           111: nfsd \-u 255.255.255.0,131.104.48.0,4 \-t 255.255.0.0,131.104.0.0,131.102.31.2
        !           112: .IP "- "
        !           113: Serves UDP and TCP transports. For UDP,
        !           114: it runs 4 daemons that accept requests
        !           115: from any client on subnet 131.104.48.
        !           116: For TCP, it accepts connections from any client on network 131.104
        !           117: plus the client with the address 131.102.31.2.
        !           118: .LP
        !           119: nfsd \-u 255.255.240.0,131.104.0.0,6 \-t 0,0
        !           120: .IP "- "
        !           121: Serves UDP and TCP transports.
        !           122: For UDP, it runs 6 daemons that accept requests from clients with
        !           123: addresses in the range 131.104.0.x - 131.104.15.x.
        !           124: For TCP, it accepts connections from any client.
        !           125: .LP
        !           126: nfsd \-u 0,0,4
        !           127: .IP "- "
        !           128: Serves any UDP client with 4 servers, only.
        !           129: .LP
        !           130: nfsd 4
        !           131: .IP "- "
        !           132: Serves any UDP client with 4 servers, only. (Compatibility)
        !           133: .LP
        !           134: A server should typically run enough daemons to handle
        !           135: the maximum level of concurrency from its clients,
        !           136: typically four to six.
        !           137: .PP
        !           138: .I Nfsd
        !           139: listens for service requests at the port indicated in the
        !           140: .SM NFS
        !           141: server specification; see
        !           142: ``Network File System Protocol Specification, RFC1094''
        !           143: .SH SEE ALSO
        !           144: .IR nfsstat (1),
        !           145: .IR nfssvc (2),
        !           146: .IR mountd (8),
        !           147: .IR portmap (8)
        !           148: .SH BUGS
        !           149: The client host address restrictions specified here are unrelated to
        !           150: the mount restrictions specified in /etc/exports for
        !           151: .IR mountd (8).

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.