4 .\" Copyright (C) 1999 Olaf Kirch <okir@monad.swb.de>
5 .TH rpc.mountd 8 "25 Aug 2000"
7 rpc.mountd \- NFS mount daemon
9 .BI "/usr/sbin/rpc.mountd [" options "]"
13 program implements the NFS mount protocol. When receiving a MOUNT
14 request from an NFS client, it checks the request against the list of
15 currently exported file systems. If the client is permitted to mount
18 obtains a file handle for requested directory and returns it to
20 .SS Exporting NFS File Systems
21 Making file systems available to NFS clients is called
24 Usually, a file system and the hosts it should be made available to
29 whenever the system is booted. The
31 command makes export information available to both the kernel NFS
36 Alternatively, you can export individual directories temporarily
42 For every mount request received from an NFS client,
45 .B /var/state/nfs/rmtab
46 file. When receiving an unmount request, that entry is removed.
47 user level part of the NFS service.
49 However, this file is mostly ornamental. One, the client can continue
50 to use the file handle even after calling
52 UMOUNT procedure. And two, if a client reboots without notifying
54 a stale entry will remain in
58 .B \-d " or " \-\-debug
61 .B \-F " or " \-\-foreground
62 Run in foreground (do not daemonize)
64 .B \-f " or " \-\-exports-file
65 This option specifies the exports file, listing the clients that this
66 server is prepared to serve and parameters to apply to each
69 By default, export information is read from
72 .B \-h " or " \-\-help
73 Display usage message.
75 .B \-N " or " \-\-no-nfs-version
76 This option can be used to request that
78 do not offer certain versions of NFS. The current version of
80 can support both NFS version 2 and the newer version 3. If the
81 NFS kernel module was compiled without support for NFSv3,
83 must be invoked with the option
84 .B "\-\-no-nfs-version 3" .
86 .B \-n " or " \-\-no-tcp
87 Don't advertise TCP for mount.
90 Ignored (compatibility with unfsd??).
92 .B \-p " or " \-\-port
95 to bind to the specified port, instead of using the random port
96 number assigned by the portmapper.
98 .B \-V " or " \-\-nfs-version
99 This option can be used to request that
101 offer certain versions of NFS. The current version of
103 can support both NFS version 2 and the newer version 3.
105 .B \-v " or " \-\-version
110 .SH TCP_WRAPPERS SUPPORT
113 version is protected by the
115 library. You have to give the clients access to
117 if they should be allowed to use it. To allow connects from clients of
118 the .bar.com domain you could use the following line in /etc/hosts.allow:
122 You have to use the daemon name
124 for the daemon name (even if the binary has a different name). For the
125 client names you can only use the keyword ALL or IP addresses (NOT
126 host or domain names).
128 For further information please have a look at the
142 .BR /var/state/nfs/xtab .
144 Olaf Kirch, H. J. Lu, G. Allan Morris III, and a host of others.