mountd.8 (22990) | mountd.8 (23681) |
---|---|
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. --- 15 unchanged lines hidden (view full) --- 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.\" | 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. --- 15 unchanged lines hidden (view full) --- 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.\" From: @(#)mountd.8 8.1 (Berkeley) 6/9/93 33.\" $Id$ | 32.\" @(#)mountd.8 8.4 (Berkeley) 4/28/95 33.\" $Id: mountd.8,v 1.7 1997/02/22 14:33:02 peter Exp $ |
34.\" | 34.\" |
35.Dd September 22, 1994 | 35.Dd April 28, 1995 |
36.Dt MOUNTD 8 37.Os 38.Sh NAME 39.Nm mountd 40.Nd service remote 41.Tn NFS 42mount requests 43.Sh SYNOPSIS --- 22 unchanged lines hidden (view full) --- 66.Fl n 67option allows non-root mount requests to be served. 68This should only be specified if there are clients such as PC's, 69that require it. 70.It Fl r 71The 72.Fl r 73option allows mount RPCs requests for regular files to be served. | 36.Dt MOUNTD 8 37.Os 38.Sh NAME 39.Nm mountd 40.Nd service remote 41.Tn NFS 42mount requests 43.Sh SYNOPSIS --- 22 unchanged lines hidden (view full) --- 66.Fl n 67option allows non-root mount requests to be served. 68This should only be specified if there are clients such as PC's, 69that require it. 70.It Fl r 71The 72.Fl r 73option allows mount RPCs requests for regular files to be served. |
74Although this seems to violate the mount protocol specification, some diskless 75workstations do mount requests for their swapfiles and expect them to be 76regular files. Since a regular file cannot be specified in /etc/exports, the 77entire file system that the swapfiles reside in will have to be exported with 78the ``-alldirs'' flag. | 74Although this seems to violate the mount protocol specification, 75some diskless workstations do mount requests for 76their swapfiles and expect them to be regular files. 77Since a regular file cannot be specified in 78.Pa /etc/exports , 79the entire file system in which the swapfiles resides 80will have to be exported with the 81.Fl alldirs 82flag. |
79.It Ar exportsfile 80The 81.Ar exportsfile 82argument specifies an alternate location 83for the exports file. 84.El 85.Pp 86When mountd is started, 87it loads the export host addresses and options into the kernel 88using the mount(2) system call. 89After changing the exports file, 90a hangup signal should be sent to the mountd daemon 91to get it to reload the export information. 92After sending the SIGHUP | 83.It Ar exportsfile 84The 85.Ar exportsfile 86argument specifies an alternate location 87for the exports file. 88.El 89.Pp 90When mountd is started, 91it loads the export host addresses and options into the kernel 92using the mount(2) system call. 93After changing the exports file, 94a hangup signal should be sent to the mountd daemon 95to get it to reload the export information. 96After sending the SIGHUP |
93(kill -HUP `cat /var/run/mountd.pid`), | 97(kill \-s HUP `cat /var/run/mountd.pid`), |
94check the syslog output to see if mountd logged any parsing 95errors in the exports file. 96.Pp 97If 98.Nm mountd 99detects that the running kernel does not include 100.Tn NFS 101support, it will attempt to load a loadable kernel module containing --- 31 unchanged lines hidden --- | 98check the syslog output to see if mountd logged any parsing 99errors in the exports file. 100.Pp 101If 102.Nm mountd 103detects that the running kernel does not include 104.Tn NFS 105support, it will attempt to load a loadable kernel module containing --- 31 unchanged lines hidden --- |