File: mountd.8

package info (click to toggle)
manpages-ja 0.5.0.0.20061115-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 19,788 kB
  • ctags: 4
  • sloc: sh: 13,215; perl: 157; makefile: 117
file content (223 lines) | stat: -rw-r--r-- 6,415 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
.\"
.\" Original manual page is a part of nfs-server package.
.\" Following is a exerpt from README of version 2.2beta47.
.\" 
.\" 7.  Copyright
.\" 
.\" Much of the code in this package was originally  written  by
.\" Mark Shand, and is placed under the following copyright:
.\" 
.\"    This  software may be used for any purpose provided
.\"    the above  copyright  notice  is  retained.  It  is
.\"    supplied  as  is,  with  no warranties expressed or
.\"    implied.
.\" 
.\" Other code, especially that written by Rick Sladkey and some
.\" replacement routines included from the GNU libc, are covered
.\" by the GNU General Public License, version 2,  or  (at  your
.\" option) any later version.
.\" 
.\" Japanese Version Copyright (c) 1998 NAKANO Takeo all rights reserved.
.\" Translated Wed 11 Nov 1998 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
.\" Updated & Modified Sun Jan 27 17:30:35 JST 2002
.\"         by Yuichi SATO <ysato@h4.dion.ne.jp>
.\" Modified Tue Feb 19 19:06:53 JST 2002 by Yuichi SATO
.\"
.TH MOUNTD 8 "11 August 1997"
.SH ̾
mountd \- NFS ޥȥǡ
.SH 
.ad l
.B /usr/sbin/rpc.mountd
.B "[\ \-f\ exports-file\ ]"
.B "[\ \-d\ facility\ ]"
.B "[\ \-P\ port\ ]"
.B "[\ \-Dhnprv\ ]"
.B "[\ \-\-debug\ facility ]"
.B "[\ \-\-exports\-file=file\ ]"
.B "[\ \-\-help\ ]"
.B "[\ \-\-allow\-non\-root\ ]"
.B "[\ \-\-re\-export\ ]"
.B "[\ \-\-no\-spoof\-trace\ ]"
.B "[\ \-\-version\ ]"
.ad b
.SH 
.I mountd
ץ NFS ΥޥȥǡǤ롣
.I mountd
 NFS 饤Ȥ MOUNT ꥯȤȡ
ݡȥե
.I /etc/exports
ΥꥹȤ򻲾ȤΥꥯȤʤΤɤå롣
饤ȤΥե륷ƥΥޥȤĤƤˤϡ
.I mountd
׵ᤵ줿ǥ쥯ȥΥեϥɥ
Υȥ
.I /etc/rmtab
ɲä롣
UMOUNT ꥯȤȡ
.I mountd
ϥ饤ȤΥȥ
.I rmtab
 UMOUNT ꥯȤθǤ⡢
饤Ȥϰեϥɥ򰷤ȤǽǤ뤳Ȥդ뤳
(㤨Х饤ȤƱ⡼ȥե륷ƥ
̡ΥޥȥݥȤ˥ޥȤƤʤ)
ޤ饤Ȥ
.I mountd
Τ餻˥֡Ȥȡ
.I rmtab
˸Ťȥ꤬ĤäƤޤȤˤդ뤳ȡ
.SS "inetd εư"
.I mountd
̾亮ƥΥ֡Ȼ˵ư뤬
.I inetd
鵯ư뤳ȤǤ롣ʲ 2 Ԥ
.I /etc/inetd.conf
ɲäФ褤:
.PP
.nf
.ta +3i
mount/1-2 dgram  rpc/udp wait  root  /usr/sbin/rpc.mountd rpc.mountd
mount/1-2 stream rpc/tcp wait  root  /usr/sbin/rpc.mountd rpc.mountd
.fi
.PP
.I inetd
鵯ưˤϡŬʴ֤ư׵᤬ʤ
.I mountd
Ͻλ롣
.SH ץ
.TP
.BR \-f " ޤ " \\-\-exports\-file
Υץϥݡȥեꤹ롣
ݡȥեˤϡΥСӥ󶡤륯饤Ȥȡ
줾ΥޥȤФŬѤѥ᡼ꥹȤƤ
.RB ( exports (5)
򸫤)
ǥեȤΥݡȥե
.I /etc/exports
Ǥ롣
.TP
.BR "\-d facility" " ޤ " "\-\-debug facility"
줾Υȥ󥶥Фܺ٤Ƥ
ɸ२顼Ϥ˥ɽ롣
\fIfacility\fP ˻ǤΤϡ
.I call
(٤ƤΥϿ)
.I auth
(饤Ȥǧ)
.I fhcache
(եϥɥΥå)
.I rmtab
.RI ( /etc/rmtab
) Ǥ롣
ǥեȤǤϡǡ󤬥ե饦ɤǼ¹ԤʤС
Ϥ syslogd 롣
.TP
.BR \-F " ޤ " \-\-foreground
̾
.I mountd
üʬΥ (detach) 뤬ΥץͿʬΥʤ
debug ɸ२顼Ϥɽ롣
.TP
.BR \-h " ޤ " \-\-help
إפûɽ롣
.TP
.BR \-n " ޤ " \-\-allow\-non\-root
IP øݡȰʳ褿ޥ׵Ĥ롣
NFS 饤ȤθŤǤϡλ꤬ɬפʾ礬롣
դ˿ˤϡøݡȤΥåꤷʤΤ롣
.TP
.BR "\-P portnum" " ޤ " "\-\-port portnum"
.I mountd

.B portnum
ݡȤƻ뤵롣
ǥեȤǤϡ
.I mountd

.I /etc/services
ǻꤵƤ mount/udp ݡȤƻ뤹
(뤤Ϥ줬ꤵƤʤ 1024 ʲǤդΥݡȤƻ뤹)
.TP
.BR \-p " ޤ " \-\-promiscuous
Ф̵ (promiscuous)ץ⡼ɤˤ롣
ͥåȥΤ٤ƤΥۥȤФƥӥ󶡤롣
.TP
.BR \-r " ޤ " \-\-re\-export
ݡȤ NFS  SMB ե륷ƥκƥݡȤ
ˤꡢޥ NFS/SMB ѴȤʤ롣
롼ץХåޥȤƥݡȤȤˤäդ뤳ȡ
ޥȥݥȤ˺ȡ饤ȥե륷ƥΥɤ
СϥǥåɥåƤޤ
.TP
.BR \-t " ޤ " \-\-no\-spoof\-trace
ǥեȤǤϡ
.I mountd
ϸ¤Τʤ饤ȤƤΥ˵Ͽ롣
ΥץȤȡ
.I exports
եŪ˥ꥹȤƤƤΥۥȤˤĤơ
Τ褦ꤹޤ԰٤˵Ͽʤ
.TP
.BR \-v " ޤ " \-\-version
ץθߤΥСֹɽ롣
.SS 
ƥ򶯲뤿ᡢ
.I mountd
ؤΥ TCP wrapper 饤֥¤뤳ȤǤ롣
Ʊ饤֥ Wietse Venema  tcp_wrappers ѥåΰǤ롣
Υץ򥵥ݡȤ뤫ɤϥѥ˻Ǥ롣
ʥͥåȥ (Ȥ 192.168.1.0 Ȥ褦) 
ĤϡʲΤ褦ʹԤ
.I /etc/hosts.allow
եɲäФ褤:
.PP
.nf
.ta +3i
.I "rpc.mountd : 192.168.1. : allow
.I "rpc.mountd : ALL        : deny
.fi
.PP
'ne 9v
ϡTCP wrapper 饤֥꤬
ץ򥵥ݡȤƥѥ뤵줿ͭǤ
(ɮԤϥץΥݡȤ򶯤)
ץ򥵥ݡȤʤ褦˥ѥ뤵줿ϡ
ʲ 2 Ԥ
.IR /etc/hosts.allow "  " /etc/hosts.deny
Ȥˤ줾ɲäɬפ:
.PP
.nf
.ta +3i
.I "# hosts.allow:
.I "rpc.mountd : 192.168.1
.I "# hosts.deny
.I "rpc.mountd : ALL
.fi
.PP
ξѹ顢ѹͭˤˤ
.I mountd
Ƶưɬפ롣 kill ƺƵư뤫
HUP ʥɤ
.SH Х
.I /etc/mtab
ξΤǤ뤳ȤΤۤ¿
.SH ʥ
SIGHUP ȡ
.I mountd

.I exports
եȡ
.IR /etc/hosts.allow "  " /etc/hosts.deny
եƤ뤹٤ƤΥ¤ɤߤʤ
ݡȤѹͭˤˤϡ
.I nfsd
ˤ SIGHUP ɬפ뤳Ȥդ衣
.SH ե
.I /etc/exports
.br
.I /etc/rmtab
.SH Ϣ
exports(5), nfsd(8), ugidd(8C), showmount(8)