1 '\" te
   2 .\"  Copyright 1989 AT&T Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved
   3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6 .TH MOUNTD 1M "Apr 27, 2005"
   7 .SH NAME
   8 mountd \- server for NFS mount requests and NFS access checks
   9 .SH SYNOPSIS
  10 .LP
  11 .nf
  12 \fB/usr/lib/nfs/mountd\fR [\fB-v\fR] [\fB-r\fR]
  13 .fi
  14 
  15 .SH DESCRIPTION
  16 .sp
  17 .LP
  18 \fBmountd\fR is an \fBRPC\fR server that answers requests for \fBNFS\fR access
  19 information and file system mount requests. It reads the file
  20 \fB/etc/dfs/sharetab\fR to determine which file systems are available for
  21 mounting by which remote machines. See \fBsharetab\fR(4). \fBnfsd\fR running on
  22 the local server will contact \fBmountd\fR the first time an \fBNFS\fR client
  23 tries to access the file system to determine whether the client should get
  24 read-write, read-only, or no access. This access can be dependent on the
  25 security mode used in the remoted procedure call from the client. See
  26 \fBshare_nfs\fR(1M).
  27 .sp
  28 .LP
  29 The command also provides information as to what file systems are mounted by
  30 which clients. This information can be printed using the \fBshowmount\fR(1M)
  31 command.
  32 .sp
  33 .LP
  34 The \fBmountd\fR daemon is automatically invoked by \fBshare\fR(1M).
  35 .sp
  36 .LP
  37 Only super user can run the \fBmountd\fR daemon.
  38 .SH OPTIONS
  39 .sp
  40 .LP
  41 The options shown below are supported for NVSv2/v3 clients. They are not
  42 supported for Solaris NFSv4 clients.
  43 .sp
  44 .ne 2
  45 .na
  46 \fB\fB-r\fR\fR
  47 .ad
  48 .RS 6n
  49 Reject mount requests from clients. Clients that have file systems mounted will
  50 not be affected.
  51 .RE
  52 
  53 .sp
  54 .ne 2
  55 .na
  56 \fB\fB-v\fR\fR
  57 .ad
  58 .RS 6n
  59 Run the command in verbose mode. Each time \fBmountd\fR determines what access
  60 a client should get, it will log the result to the console, as well as how it
  61 got that result.
  62 .RE
  63 
  64 .SH FILES
  65 .sp
  66 .ne 2
  67 .na
  68 \fB\fB/etc/dfs/sharetab\fR\fR
  69 .ad
  70 .RS 21n
  71 shared file system table
  72 .RE
  73 
  74 .SH SEE ALSO
  75 .sp
  76 .LP
  77 \fBnfsd\fR(1M), \fBshare\fR(1M), \fBshare_nfs\fR(1M), \fBshowmount\fR(1M),
  78 \fBnfs\fR(4), \fBsharetab\fR(4), \fBattributes\fR(5)
  79 .SH NOTES
  80 .sp
  81 .LP
  82 Since \fBmountd\fR must be running for \fBnfsd\fR to function properly,
  83 \fBmountd\fR is automatically started by the \fBsvc:/network/nfs/server\fR
  84 service. See \fBnfs\fR(4).
  85 .sp
  86 .LP
  87 Some routines that compare hostnames use case-sensitive string comparisons;
  88 some do not. If an incoming request fails, verify that the case of the hostname
  89 in the file to be parsed matches the case of the hostname called for, and
  90 attempt the request again.