OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / nfs-server / draft / man8 / nfsd.8
1 .\"
2 .\" Original manual page is a part of nfs-server package.
3 .\" Following is a exerpt from README of version 2.2beta47.
4 .\" 
5 .\" 7.  Copyright
6 .\" 
7 .\" Much of the code in this package was originally  written  by
8 .\" Mark Shand, and is placed under the following copyright:
9 .\" 
10 .\"    This  software may be used for any purpose provided
11 .\"    the above  copyright  notice  is  retained.  It  is
12 .\"    supplied  as  is,  with  no warranties expressed or
13 .\"    implied.
14 .\" 
15 .\" Other code, especially that written by Rick Sladkey and some
16 .\" replacement routines included from the GNU libc, are covered
17 .\" by the GNU General Public License, version 2,  or  (at  your
18 .\" option) any later version.
19 .\" 
20 .\" Japanese Version Copyright (c) 1998 NAKANO Takeo all rights reserved.
21 .\" Translated Wed 11 Nov 1998 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
22 .\" Updated & Modified Sun Jan 27 17:30:35 JST 2002
23 .\"         by Yuichi SATO <ysato@h4.dion.ne.jp>
24 .\" Modified Tue Feb 19 19:06:53 JST 2002 by Yuichi SATO
25 .\"
26 .TH NFSD 8 "11 August 1997"
27 .\"O .SH NAME
28 .\"O nfsd \- NFS service daemon
29 .SH Ì¾Á°
30 nfsd \- NFS ¥µ¡¼¥Ó¥¹¥Ç¡¼¥â¥ó
31 .\"O .SH SYNOPSIS
32 .SH ½ñ¼°
33 .ad l
34 .B /usr/sbin/rpc.nfsd
35 .B "[\ \-f\ exports-file\ ]"
36 .B "[\ \-d\ facility\ ]"
37 .B "[\ \-P\ port\ ]"
38 .B "[\ \-R\ dirname\ ]"
39 .B "[\ \-Fhlnprstv\ ]"
40 .B "[\ \-\-debug\ facility\ ]"
41 .B "[\ \-\-exports\-file=file\ ]"
42 .B "[\ \-\-foreground\ ]"
43 .B "[\ \-\-help\ ]"
44 .B "[\ \-\-allow\-non\-root\ ]"
45 .B "[\ \-\-re\-export\ ]"
46 .B "[\ \-\-public\-root\ dirname\ ]"
47 .\".B "[\ \-\-synchronous\-writes\ ]"
48 .B "[\ \-\-no\-spoof\-trace\ ]"
49 .B "[\ \-\-port\ port\ ]"
50 .B "[\ \-\-log-transfers\ ]"
51 .B "[\ \-\-version\ ]"
52 .\" TN.B "[ numservers ]"
53 .B "[ numcopies ]"
54 .ad b
55 .\"O .SH DESCRIPTION
56 .SH ÀâÌÀ
57 .\"O The
58 .\"O .I nfsd
59 .\"O program is an NFS service daemon that handles client filesystem requests.
60 .\"O Unlike on some other systems,
61 .\"O .I nfsd
62 .\"O operates as a normal user-level process.
63 .\"O The server also differs from other NFS server implementations
64 .\"O in that it mounts an entire file hierarchy
65 .\"O not limited by the boundaries of physical file-systems.
66 .\"O The implementation allows the clients read-only or
67 .\"O read-write access to the file hierarchy of the server machine.
68 .I nfsd
69 ¥×¥í¥°¥é¥à¤Ï NFS ¥µ¡¼¥Ó¥¹¥Ç¡¼¥â¥ó¤Ç¤¢¤ê¡¢¥¯¥é¥¤¥¢¥ó¥È¤«¤é¤Î
70 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥àÍ×µá¤ò¼è¤ê°·¤¦¡£
71 ¾¤Î¥·¥¹¥Æ¥à¤È°Û¤Ê¤ê¡¢¤³¤Î
72 .I nfsd
73 ¤ÏÉáÄ̤Υ桼¥¶¡¼¥ì¥Ù¥ë¥×¥í¥»¥¹¤È¤·¤ÆÆ°ºî¤¹¤ë¡£
74 ¤Þ¤¿¤³¤Î¥µ¡¼¥Ð¡¼¤Ï¡¢¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ÎʪÍýŪ¤Ê¶­³¦¤ËÀ©¸Â¤µ¤ì¤º¡¢
75 ¥Õ¥¡¥¤¥ë³¬Áؤ¹¤Ù¤Æ¤ò¥Þ¥¦¥ó¥È¤µ¤»¤ëÅÀ¤Ç¤â¡¢Â¾¤Î¥·¥¹¥Æ¥à¤È¤Ï°Û¤Ê¤Ã¤Æ¤¤¤ë¡£
76 ¤³¤Î¼ÂÁõ¤Ç¤Ï¡¢¥µ¡¼¥Ð¡¼¥Þ¥·¥ó¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à³¬ÁؤËÂФ·¤Æ¡¢
77 ¥¯¥é¥¤¥¢¥ó¥È¤Ë¤è¤ë read-only ¥¢¥¯¥»¥¹¡¢read-write ¥¢¥¯¥»¥¹¤Î¤¤¤º¤ì¤â
78 ¹Ô¤¨¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£
79 .LP
80 .\"O The
81 .\"O .I mountd
82 .\"O program starts an ancillary user-level mount daemon.
83 .I mountd
84 ¥×¥í¥°¥é¥à¤Ï¡¢Êä½õŪ¤ÊÌò³ä¤ò¤¹¤ë¥æ¡¼¥¶¡¼¥ì¥Ù¥ë¤Î
85 mount ¥Ç¡¼¥â¥ó¤òµ¯Æ°¤¹¤ë¡£
86 .LP
87 .\"O .SS Running from inetd
88 .SS "inetd ¤«¤é¤Îµ¯Æ°"
89 .\"O Usually,
90 .\"O .I nfsd
91 .\"O will be started at system boot time. However, you may also invoke it from
92 .\"O .I inetd
93 .\"O by adding the following two lines to
94 .\"O .IR /etc/inetd.conf :
95 Ä̾ï
96 .I nfsd
97 ¤Ï¥·¥¹¥Æ¥à¤Î¥Ö¡¼¥È»þ¤Ëµ¯Æ°¤µ¤ì¤ë¤¬¡¢
98 .I inetd
99 ¤«¤éµ¯Æ°¤¹¤ë¤³¤È¤â¤Ç¤­¤ë¡£
100 ¤½¤ì¤Ë¤Ï°Ê²¼¤Î 2 ¹Ô¤ò
101 .I /etc/inetd.conf
102 ¤ËÄɲ乤롣
103 .PP
104 .nf
105 .ta +3i
106 nfs/2 dgram  rpc/udp wait root /usr/sbin/rpc.nfsd rpc.nfsd
107 nfs/2 stream rpc/tcp wait root /usr/sbin/rpc.nfsd rpc.nfsd
108 .fi
109 .PP
110 .\"O When run from
111 .\"O .IR inetd ,
112 .\"O .i nfsd
113 .\"O will terminate after a certain period of inactivity.
114 .I ientd
115 ¤«¤éµ¯Æ°¤·¤¿¾ì¹ç¤Ë¤Ï¡¢Å¬Åö¤Ê´ü´Ö¤ËÆ°ºîÍ׵᤬¤Ê¤¤¤È
116 .I nfsd
117 ¤Ï½ªÎ»¤¹¤ë¡£
118 .\"O .SH OPTIONS
119 .SH ¥ª¥×¥·¥ç¥ó
120 .TP
121 .\"O .BR \-f " or " \-\-exports\-file
122 .BR \-f " ¤Þ¤¿¤Ï " \-\-exports\-file
123 .\"O This option specifies the exports file, listing the clients that this server
124 .\"O is prepared to serve and parameters to apply to each such mount (see
125 .\"O exports(5)).
126 .\"O By default exports are read from
127 .\"O .IR /etc/exports .
128 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¥¨¥¯¥¹¥Ý¡¼¥È¥Õ¥¡¥¤¥ë¤ò»ØÄꤹ¤ë¡£
129 ¥¨¥¯¥¹¥Ý¡¼¥È¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¤³¤Î¥µ¡¼¥Ð¡¼¤¬¥µ¡¼¥Ó¥¹¤òÄ󶡤¹¤ë¥¯¥é¥¤¥¢¥ó¥È
130 ¤È¡¢¤½¤ì¤¾¤ì¤Î¥Þ¥¦¥ó¥È¤ËÂФ·¤ÆŬÍѤµ¤ì¤ë¥Ñ¥é¥á¡¼¥¿¤¬¥ê¥¹¥È¤µ¤ì¤Æ¤¤¤ë
131 (exports (5) ¤ò¸«¤è)¡£
132 ¥Ç¥Õ¥©¥ë¥È¤Î¥¨¥¯¥¹¥Ý¡¼¥È¥Õ¥¡¥¤¥ë¤Ï
133 .I /etc/exports
134 ¤Ç¤¢¤ë¡£
135 .TP
136 .\"O .BR "\-d facility" " or " "\-\-debug facility"
137 .BR "\-d facility" " ¤Þ¤¿¤Ï " "\-\-debug facility"
138 .\"O Log operations verbosely. Legal values for
139 .\"O .I facility
140 .\"O are currently
141 .\"O .I call
142 .\"O for the logging of RPC calls and arguments, 
143 .\"O .I fhcache
144 .\"O for the file handle cache operation,
145 .\"O .I auth
146 .\"O for the authentication routines, and
147 .\"O .I ugid
148 .\"O for the uid mapping code, if used. Debug messages will be logged to
149 .\"O .IR syslog (8)
150 .\"O unless the daemon runs in the foreground.
151 ¤½¤ì¤¾¤ì¤Î¥È¥é¥ó¥¶¥¯¥·¥ç¥ó¤ËÂФ¹¤ë¾ÜºÙ¤ÊÆâÍƤòɸ½à¥¨¥é¡¼½ÐÎÏ¤Ë¥í¥°É½¼¨¤¹¤ë¡£
152 \fIfacility\fP ¤Ë»ØÄê¤Ç¤­¤ë¤Î¤Ï¡¢
153 .I call
154 (¤¹¤Ù¤Æ¤Î¥³¡¼¥ë¤òµ­Ï¿)¡¢
155 .I auth
156 (¥¯¥é¥¤¥¢¥ó¥È¤Îǧ¾Ú)¡¢
157 .I fhcache
158 (¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¤Î¥­¥ã¥Ã¥·¥åÁàºî)¡¢
159 .I rmtab
160 .RI ( /etc/rmtab
161 ¤ÎÁàºî) ¤Ç¤¢¤ë¡£
162 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¥Ç¡¼¥â¥ó¤¬¥Õ¥©¥¢¥°¥é¥¦¥ó¥É¤Ç¼Â¹Ô¤µ¤ì¤Ê¤±¤ì¤Ð¡¢
163 ¥í¥°½ÐÎϤϠsyslogd ¤ËÁ÷¤é¤ì¤ë¡£
164 .TP
165 .\"O .BR \-F " or " \-\-foreground
166 .BR \-F " ¤Þ¤¿¤Ï " \-\-foreground
167 .\"O Unlike in normal operation,
168 .\"O .I nfsd
169 .\"O will not detach from the terminal when given this option. When debugging
170 .\"O is requested, it will be sent to standard error.
171 Ä̾ï
172 .I nfsd
173 ¤ÏüËö¤«¤éʬΥ (detach) ¤¹¤ë¤¬¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤¬Í¿¤¨¤é¤ì¤ë¤ÈʬΥ¤·¤Ê¤¤¡£
174 ¤³¤Î¤È¤­ debug ¾ðÊó¤Ïɸ½à¥¨¥é¡¼½ÐÎϤËɽ¼¨¤µ¤ì¤ë¡£
175 .TP
176 .\"O .BR \-h " or " \-\-help
177 .BR \-h " ¤Þ¤¿¤Ï " \-\-help
178 .\"O Provide a short help summary.
179 ¥Ø¥ë¥×¤Îû¤¤Í×Ìó¤òɽ¼¨¤¹¤ë¡£
180 .TP
181 .\"O .BR \-l " or " \-\-log-transfers
182 .BR \-l " ¤Þ¤¿¤Ï " \-\-log-transfers
183 .\"O Tries to catch all files retrieved from and written the NFS server. This
184 .\"O is mainly for the benefit of anonymous NFS exports and is intended to
185 .\"O mimick the
186 .\"O .B xferlog
187 .\"O file supported by some FTP daemons. For each file store or retrieve,
188 .\"O a single line is written to the system log daemon containing the
189 .\"O client's IP address, and the file name. The log level of these
190 .\"O transfer records is
191 .\"O .BR daemon.info .
192 NFS ¥µ¡¼¥Ð¡¼¤«¤é¼è¤ê½Ð¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¡¢¤¢¤ë¤¤¤Ï¥µ¡¼¥Ð¤Ø½ñ¤­¹þ¤Þ¤ì¤¿
193 ¥Õ¥¡¥¤¥ë¤ò¤¹¤Ù¤Æ¥í¥°¤Ë½ñ¤­¹þ¤â¤¦¤È¤¹¤ë¡£
194 ¤³¤ì¤Ï¼ç¤È¤·¤Æ anonymous NFS ¥¨¥¯¥¹¥Ý¡¼¥È¤ËÍ­ÍѤǡ¢
195 ¤¢¤ë¼ï¤Î FTP ¥Ç¡¼¥â¥ó¤Ë¤è¤Ã¤Æ¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë
196 .B xferlog
197 ¤ò¤Þ¤Í¤¹¤ë¤¿¤á¤Î¤â¤Î¤Ç¤¢¤ë¡£
198 ¥Õ¥¡¥¤¥ë¤¬½ñ¤­¹þ¤ß¡¦¼è¤ê½Ð¤·¤µ¤ì¤ë¤¿¤Ó¡¢
199 syslog ¥Ç¡¼¥â¥ó¤Ë°ì¹Ô¤Î¾ðÊó¤¬Á÷¤é¤ì¡¢
200 ¤½¤³¤Ë¤Ï¥¯¥é¥¤¥¢¥ó¥È¤Î IP ¥¢¥É¥ì¥¹¤È¥Õ¥¡¥¤¥ë̾¤¬½ñ¤­¹þ¤Þ¤ì¤ë¡£
201 ¤³¤ÎžÁ÷µ­Ï¿¤Î¥í¥°¥ì¥Ù¥ë¤Ï
202 .B daemon.info
203 ¤Ç¤¢¤ë¡£
204 .TP
205 .\"O .BR \-n " or " \-\-allow\-non\-root
206 .BR \-n " ¤Þ¤¿¤Ï " \-\-allow\-non\-root
207 .\"O Allow incoming NFS requests to be honored even if they do not
208 .\"O originate from reserved IP ports.  Some older NFS client implementations
209 .\"O require this.  Some newer NFS client implementations don't believe
210 .\"O in reserved port checking. This check can be turned off for individual hosts
211 .\"O by specifying the
212 .\"O .I insecure
213 .\"O export option in
214 .\"O .IR /etc/exports .
215 IP ¤ÎÆø¢¥Ý¡¼¥È°Ê³°¤«¤éÍ褿¥Þ¥¦¥ó¥ÈÍ×µá¤âµö²Ä¤¹¤ë¡£
216 NFS ¥¯¥é¥¤¥¢¥ó¥È¤Î¸Å¤¤¼ÂÁõ¤Ç¤Ï¡¢¤³¤Î»ØÄ꤬ɬÍפʾì¹ç¤¬¤¢¤ë¡£
217 µÕ¤Ë¿·¤·¤¤¼ÂÁõ¤Ë¤Ï¡¢Æø¢¥Ý¡¼¥È¤Î¥Á¥§¥Ã¥¯¤ò¿®Íꤷ¤Ê¤¤¤â¤Î¤¬¤¢¤ë¡£
218 ¤³¤Î¥Á¥§¥Ã¥¯¤Ï¥Û¥¹¥Èñ°Ì¤Ç³°¤¹¤³¤È¤â¤Ç¤­¤ë¡£
219 .I /etc/exports
220 ¤Î¥¨¥¯¥¹¥Ý¡¼¥È¥ª¥×¥·¥ç¥ó¤Ë
221 .I insecure
222 ¤ò»ØÄꤹ¤ì¤Ð¤è¤¤¡£
223 .TP
224 .\"O .BR "\-P portnum" " or " "\-\-port portnum"
225 .BR "\-P portnum" " ¤Þ¤¿¤Ï " "\-\-port portnum"
226 .\"O Makes 
227 .\"O .I nfsd 
228 .\"O listen on port
229 .\"O .B portnum
230 .\"O instead of the default port 2049. By default,
231 .\"O .I nfsd
232 .\"O will listen on the nfs/udp port specified in
233 .\"O .IR /etc/services ,
234 .\"O or, if that is undefined, on port 2049.
235 .B nfsd
236 ¤Ë
237 .B portnum
238 ¥Ý¡¼¥È¤ò´Æ»ë¤¹¤ë¤è¤¦¤Ë¤µ¤»¤ë¡£
239 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢
240 .I mountd
241 ¤Ï
242 .I /etc/services
243 ¤Ç»ØÄꤵ¤ì¤Æ¤¤¤ë nfs/udp ¥Ý¡¼¥È¤ò´Æ»ë¤¹¤ë
244 (¤¢¤ë¤¤¤Ï¤³¤ì¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤È 2049 È֤Υݡ¼¥È¤ò´Æ»ë¤¹¤ë)¡£
245 .TP
246 .\"O .BR \-p " or " \-\-promiscuous
247 .BR \-p " ¤Þ¤¿¤Ï " \-\-promiscuous
248 .\"O Put the server into promiscuous mode where it will serve any host
249 .\"O on the network.
250 ¥µ¡¼¥Ð¤ò¡Ö̵À©¸Â (promiscuous)¡×¥â¡¼¥É¤Ë¤¹¤ë¡£
251 ¥Í¥Ã¥È¥ï¡¼¥¯¾å¤Î¤¹¤Ù¤Æ¤Î¥Û¥¹¥È¤ËÂФ·¤Æ¥µ¡¼¥Ó¥¹¤òÄ󶡤¹¤ë¡£
252 .TP
253 .\"O .BR \-r " or " \-\-re\-export
254 .BR \-r " ¤Þ¤¿¤Ï " \-\-re\-export
255 .\"O Allow remotely mounted file-systems to be exported.  This can be used to
256 .\"O turn a machine into a multiplier for NFS or Novell servers. Caution
257 .\"O should be used when re-exporting loopback NFS mounts because re-entering
258 .\"O the mount point will result in deadlock between the NFS client and the
259 .\"O NFS server.
260 ¥¤¥ó¥Ý¡¼¥È¤·¤¿¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ÎºÆ¥¨¥¯¥¹¥Ý¡¼¥È¤òµö¤¹¡£
261 ¤³¤ì¤Ë¤è¤ê¡¢¥Þ¥·¥ó¤Ï NFS ¤ä Novel ¥µ¡¼¥Ð¤ÎÃæ·Ñ´ï¤È¤Ê¤ë¡£
262 ¥ë¡¼¥×¥Ð¥Ã¥¯¥Þ¥¦¥ó¥È¤òºÆ¥¨¥¯¥¹¥Ý¡¼¥È¤¹¤ë¤È¤­¤Ë¤ÏÆäËÃí°Õ¤¹¤ë¤³¤È¡£
263 ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤ËºÆÆþ¤¹¤ë¤È¡¢¥¯¥é¥¤¥¢¥ó¥È¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥³¡¼¥É¤È
264 ¥µ¡¼¥Ð¡¼¤Ï¥Ç¥Ã¥É¥í¥Ã¥¯¤·¤Æ¤·¤Þ¤¦¡£
265 .IP
266 .\"O It should be noted that (on Linux)
267 .\"O .I nfsd
268 .\"O looks at the major device number of the file system to find out whether
269 .\"O it is a remote volume; if the major number is not 0, it assumes the file
270 .\"O system is local. However, not only remote file systems use major number 0,
271 .\"O also procfs does. If you choose to re-export NFS file systems, beware
272 .\"O that this potentially includes
273 .\"O .IR /proc
274 .\"O if you have the file system root exported. This poses a security problem,
275 .\"O and you should avoid this situation if possible.
276 (Linux ¤Ç¤Ï) °Ê²¼¤âÃí°Õ¤·¤Æ¤ª¤­¤¿¤¤¡£
277 .I nfsd
278 ¤Ï¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥á¥¸¥ã¡¼¥Ç¥Ð¥¤¥¹ÈÖ¹æ¤ò¸«¤Æ¡¢
279 ¤½¤ì¤¬¥ê¥â¡¼¥È¤Î¥Ü¥ê¥å¡¼¥à¤Ç¤¢¤ë¤«¤É¤¦¤«¤òȽÊ̤¹¤ë¡£
280 ¤â¤·¥á¥¸¥ã¡¼Èֹ椬 0 ¤Ç¤Ê¤±¤ì¤Ð¡¢
281 .I nfsd
282 ¤Ï¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬¥í¡¼¥«¥ë¤Ê¤â¤Î¤Ç¤¢¤ë¤ÈȽÃǤ¹¤ë¡£
283 ¤·¤«¤·¡¢¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë°Ê³°¤Ë¤â¥á¥¸¥ã¡¼ÈÖ¹æ 0 ¤òÍøÍѤ¹¤ë¤â¤Î¤¬¤¢¤ë¡£
284 procfs ¤Ç¤¢¤ë¡£
285 NFS ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤òºÆ¥¨¥¯¥¹¥Ý¡¼¥È¤¹¤ë¤³¤È¤Ë¤·¤¿¾ì¹ç¡¢
286 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î root ¤ò¥¨¥¯¥¹¥Ý¡¼¥È¤·¤¿¾ì¹ç¤Ë¤Ï
287 .I /proc
288 ¤â´Þ¤Þ¤ì¤Æ¤·¤Þ¤¦¤³¤È¤ËÃí°Õ¤¹¤ë¤³¤È¡£
289 ¤³¤ì¤Ï¥»¥­¥å¥ê¥Æ¥£¾å¤ÎÌäÂê¤È¤Ê¤ë¤³¤È¤¬¤¢¤ë¡£
290 ¤Ç¤­¤ì¤Ð¤³¤Î¤è¤¦¤Ê¾õ¶·¤ÏÈò¤±¤ë¤Ù¤­¤Ç¤¢¤ë¡£
291 .\".TP
292 .\"O .\".BR \-s " or " \-\-synchronous\-writes
293 .\".BR \-s " ¤Þ¤¿¤Ï " \-\-synchronous\-writes
294 .\"O .\"The NFS protocol specification requires all write operations to the server
295 .\"O .\".\"to be complete before the call returns. By default, 
296 .\"O .\".I nfsd
297 .\"O .\"does not do this. This option turns on synchronous writes.
298 .\"O .\"--- why would anyone want to turn this off?
299 .\"NFS ¥×¥í¥È¥³¥ë¤Î»ÅÍͤǤϡ¢¥µ¡¼¥Ð¡¼¤ËÂФ¹¤ëÁ´¤Æ¤Î½ñ¤­¹þ¤ßÁàºî¤Ï
300 .\"¸Æ¤Ó½Ð¤·¤¬ÊÖ¤ëÁ°¤Ë´°Î»¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
301 .\"¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï
302 .\".I nfsd
303 .\"¤Ï¤³¤Î¤è¤¦¤ËÆ°ºî¤·¤Ê¤¤¡£
304 .\"¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏƱ´ü½ñ¤­¹þ¤ß¤òÍ­¸ú¤Ë¤¹¤ë¡£
305 .\"-- ¤Ê¤¼¡¢¤ß¤ó¤Ê¤¬Æ±´ü½ñ¤­¹þ¤ß¤ò̵¸ú¤Ë¤·¤¿¤¬¤ë¤Î¤À¤í¤¦?
306 .TP
307 .\"O .BR \-t " or " \-\-no\-spoof\-trace
308 .BR \-t " ¤Þ¤¿¤Ï " \-\-no\-spoof\-trace
309 .\"O By default, 
310 .\"O .I nfsd 
311 .\"O logs every access by unauthorized clients. This option turns off logging
312 .\"O of such spoof attempts for all hosts listed explicitly in the
313 .\"O .I exports
314 .\"O file.
315 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢
316 .I nfsd 
317 ¤Ï¸¢¸Â¤Î¤Ê¤¤¥¯¥é¥¤¥¢¥ó¥È¤«¤é¤ÎÁ´¤Æ¤Î¥¢¥¯¥»¥¹¤ò¥í¥°¤Ëµ­Ï¿¤¹¤ë¡£
318 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»È¤¦¤È¡¢
319 .I exports
320 ¥Õ¥¡¥¤¥ë¤ËÌÀ¼¨Åª¤Ë¥ê¥¹¥È¤µ¤ì¤Æ¤¤¤ëÁ´¤Æ¤Î¥Û¥¹¥È¤Ë¤Ä¤¤¤Æ¡¢
321 ¤³¤Î¤è¤¦¤ÊÀ®¤ê¤¹¤Þ¤·¹Ô°Ù¤ò¥í¥°¤Ëµ­Ï¿¤·¤Ê¤¤¡£
322 .TP
323 .\"O .BR \-R " or " \-\-public\-root
324 .BR \-R " ¤Þ¤¿¤Ï " \-\-public\-root
325 .\"O Specifies the directory associated with the public file handle. See
326 .\"O the section on WebNFS below.
327 ¥Ç¥£¥ì¥¯¥È¥ê¤ò public ¤Ê¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¤È´ØÏ¢¤Å¤±¤ë¡£
328 °Ê²¼¤Î WebNFS ¤Î¥»¥¯¥·¥ç¥ó¤ò»²¾È¤Î¤³¤È¡£
329 .TP
330 .\"O .BR \-v " or " \-\-version
331 .BR \-v " ¤Þ¤¿¤Ï " \-\-version
332 .\"O Report the current version number of the program.
333 ¥×¥í¥°¥é¥à¤Î¸½ºß¤Î¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤òɽ¼¨¤¹¤ë¡£
334 .TP
335 .BR numcopies
336 .\"O This is an experimental feature that lets you run several instances of
337 .\"O .I nfsd
338 .\"O in parallel. When given a value of 
339 .\"O .B numcopies
340 .\"O greater than one, 
341 .\"O .I nfsd
342 .\"O will fork as many times as specified by this value.
343 .\"O However, the servers do not share a common file handle
344 .\"O cache, which makes certain file operations impossible. 
345 ¤³¤ì¤Ï¼Â¸³Åª¤Êµ¡Ç½¤Ç¤¢¤ê¡¢
346 .I nfsd
347 ¤Î¤¤¤¯¤Ä¤«¤Î¥¤¥ó¥¹¥¿¥ó¥¹¤òʹÔÆ°ºî¤µ¤»¤ë¤â¤Î¤Ç¤¢¤ë¡£
348 .B numcopies
349 ¤Ë 1 °Ê¾å¤ÎÃͤòÍ¿¤¨¤ë¤È¡¢
350 .I nfsd
351 ¤Ï»ØÄꤷ¤¿Ãͤβó¿ô¤À¤± fork ¤¹¤ë¡£
352 ¤·¤«¤·¡¢¥µ¡¼¥Ð¡¼¤Ï¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¥­¥ã¥Ã¥·¥å¤ò¶¦Í­¤·¤Ê¤¤¤Î¤Ç¡¢
353 ¤¢¤ë¼ï¤Î¥Õ¥¡¥¤¥ëÁàºî¤ÏÉÔ²Äǽ¤È¤Ê¤ë¡£
354 .IP
355 .\"O For this reason,
356 .\"O .I nfsd
357 .\"O will disallow all write operations when invoked with this option. Although
358 .\"O this is very limiting, this feature may still prove useful for exporting
359 .\"O public FTP areas or Usenet News spools.
360 ¤³¤Î¤¿¤á¡¢
361 .I nfsd
362 ¤Ï¤³¤Î¥ª¥×¥·¥ç¥ó¤È¶¦¤Ëµ¯Æ°¤µ¤ì¤ë¤È¡¢¤¹¤Ù¤Æ¤Î½ñ¤­¹þ¤ßÁàºî¤òµñÈݤ¹¤ë¡£
363 ¤³¤ÎÀ©¸Â¤ÏÂ礭¤Ê¤â¤Î¤Ç¤Ï¤¢¤ë¤¬¡¢
364 ¤½¤ì¤Ç¤â¸ø³« FTP Îΰè¤ä Usenet News ¤Î¥¹¥×¡¼¥ë¤ò¥¨¥¯¥¹¥Ý¡¼¥È¤¹¤ë¾ì¹ç¤Ë¤Ï¡¢
365 ¤³¤Îµ¡Ç½¤Ï°ÍÁ³Í­ÍѤǤ¢¤í¤¦¡£
366 .\"O .SS WebNFS Support
367 .SS "WebNFS ¤Î¥µ¥Ý¡¼¥È"
368 .\"O WebNFS is an extension to the normal NFS protocol developed by Sun
369 .\"O that is particularly well-suited for file retrieval over the
370 .\"O Internet, and is intended to be used (among others) from Web browsers.
371 WebNFS ¤Ï Sun ¤Ë¤è¤Ã¤Æ³«È¯¤µ¤ì¤¿Ä̾ï¤Î NFS ¥×¥í¥È¥³¥ë¤ò³ÈÄ¥¤·¤¿¤â¤Î¤Ç¡¢
372 ¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤òÄ̤·¤Æ¤Î¥Õ¥¡¥¤¥ë¼èÆÀ¤ËÆäËŬ¤·¤Æ¤¤¤ë¡£
373 ¤Þ¤¿¡¢ÆäˠWeb ¥Ö¥é¥¦¥¶¤òÄ̤·¤Æ¤ÎÍøÍѤò°Õ¿Þ¤·¤ÆºîÀ®¤µ¤ì¤¿¡£
374 .P
375 .\"O Central to the concept is the so-called public file handle. This is
376 .\"O a special NFS file handle used by the NFS client (i.e. browser) to
377 .\"O retrieve a file without having to go through the mount protocol.
378 ¤³¤Î¥³¥ó¥»¥×¥È¤ÎÃæ¿´¤Ë¤¢¤ë¤Î¤Ï¡¢
379 ¡Öpublic ¤Ê¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¡×¤È¸Æ¤Ð¤ì¤ë¤â¤Î¤Ç¤¢¤ë¡£
380 ¤³¤ì¤ÏÆüì¤Ê NFS ¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¤Ç¡¢
381 ¤³¤ì¤òÍѤ¤¤ë¤È NFS ¥¯¥é¥¤¥¢¥ó¥È (¤Ä¤Þ¤ê¥Ö¥é¥¦¥¶) ¤Ï
382 MOUNT ¥×¥í¥È¥³¥ë¤òÍøÍѤ»¤º¤Ë¥Õ¥¡¥¤¥ë¤ò¼èÆÀ¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ë¡£
383 .\"O This file handle must be associated with a directory on the server
384 .\"O machine, relative to which it evaluates filenames. This is the
385 .\"O .IR "public root directory" ,
386 .\"O which can be specified using the
387 .\"O .B \-\-public\-root
388 .\"O option.  A Web server, for instance, would probably use the root of its
389 .\"O Web server as the public root
390 .\"O .BR "" "(e.g. " /home/httpd ).
391 .\"O A Web broser requesting the URL
392 .\"O .B nfs://foo.bar.edu/zappa.html
393 .\"O would then be given the file
394 .\"O .BR /home/httpd/zappa.html .
395 ¤³¤Î¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¤Ï¥µ¡¼¥Ð¡¼¥Þ¥·¥ó¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë
396 ´ØÏ¢¤Å¤±¤é¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤º¡¢
397 ¤Þ¤¿¤³¤Î¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¤Ë¤è¤ë¥Õ¥¡¥¤¥ë̾¤Îɾ²Á¤Ï¡¢
398 ¤½¤Î¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¤ÎÁêÂХѥ¹¤È¤·¤Æ¹Ô¤ï¤ì¤ë¤³¤È¤Ë¤Ê¤ë¡£
399 ¤³¤ì¤¬
400 .I "public root ¥Ç¥£¥ì¥¯¥È¥ê"
401 ¤Ç¤¢¤ê¡¢
402 .B \-\-public\-root
403 ¥ª¥×¥·¥ç¥ó¤òÍѤ¤¤Æ»ØÄê¤Ç¤­¤ë¡£
404 Î㤨¤Ð Web ¥µ¡¼¥Ð¤Ê¤é¡¢¥É¥­¥å¥á¥ó¥È¤Î root (Î㤨¤Ð \fB/home/httpd/\fP) ¤ò
405 ¤³¤Î public root ¤Ë¤¹¤ë¤ÈÎɤ¤¤À¤í¤¦¡£
406 URL
407 .B nfs://foo.bar.edu/zappa.html
408 ¤òÍ׵ᤷ¤¿ Web ¥Ö¥é¥¦¥¶¤Ï¡¢¥Õ¥¡¥¤¥ë
409 .B /home/httpd/zappa.html
410 ¤òÍ¿¤¨¤é¤ì¤ë¤³¤È¤Ë¤Ê¤ë¡£
411 .\"O For ease of maintenance, the public root directory can also be specified
412 .\"O using a special entry in the
413 .\"O .I exports
414 .\"O file (see
415 .\"O .IR exports (5)
416 .\"O for details).
417 ¥á¥ó¥Æ¥Ê¥ó¥¹¤òÍưפˤ¹¤ë¤¿¤á¡¢public root ¥Ç¥£¥ì¥¯¥È¥ê¤Î»ØÄê¤Ï¡¢
418 .I exports
419 ¤ÇÆüì¤Ê¥¨¥ó¥È¥ê¤òÍѤ¤¤ë¤³¤È¤Ë¤è¤Ã¤Æ¤â²Äǽ¤Ë¤Ê¤Ã¤Æ¤¤¤ë (¾ÜºÙ¤Ï
420 .IR exports (5)
421 ¤ò»²¾È¤Î¤³¤È)¡£
422 .P
423 .\"O Naming a public root does
424 .\"O .I not
425 .\"O automatically export it; you still must explicitly do that in
426 .\"O .B /etc/exports
427 .\"O in order to actually make the directory accessible.
428 public root ¤ò»ØÄꤷ¤Æ¤â¡¢¤³¤ì¤¬¼«Æ°Åª¤Ë¥¨¥¯¥¹¥Ý¡¼¥È¤µ¤ì¤ë¤ï¤±¤Ç¤Ï\fI¤Ê¤¤\fP¡£
429 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò¼ÂºÝ¤Ë¥¢¥¯¥»¥¹²Äǽ¤Ë¤¹¤ë¤¿¤á¤Ë¤Ï¡¢°ÍÁ³
430 .B /etc/exports
431 ¤ÇÌÀ¼¨¤¹¤ëɬÍפ¬¤¢¤ë¡£
432 .\"O A useful set of options to export data to WebNFS clients is
433 .\"O .BR ro,all_squash,insecure .
434 .\"O Please refer to
435 .\"O .BR exports (5)
436 .\"O for a detailed explanation of these flags.
437 WebNFS ¥¯¥é¥¤¥¢¥ó¥È¤Ë¥Ç¡¼¥¿¤ò¥¨¥¯¥¹¥Ý¡¼¥È¤¹¤ëºÝ¤ËÍ­ÍѤʥª¥×¥·¥ç¥ó¤Î¥»¥Ã¥È¤Ï¡¢
438 .B ro,all_squash,insecure
439 ¤Ç¤¢¤ë¡£
440 ¤³¤ì¤é¤Î¥Õ¥é¥°¤Î¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï
441 .BR exports (5)
442 ¤ò»²¾È¤·¤Æ¤Û¤·¤¤¡£
443 .P
444 .\"O Also note that a WebNFS client can also access files not located below the
445 .\"O public root directory as long as they are exported to him. In particular,
446 .\"O if you have
447 .\"O .B /home/ftp
448 .\"O exported to the world in addition to the Web server's home directory,
449 .\"O a web client may be able to access FTP files via
450 .\"O .BR nfs://foo.bar.edu/../ftp/README .
451 .\"O Of course, this does not apply to files that are not exported to the client.
452 WebNFS ¥¯¥é¥¤¥¢¥ó¥È¤Ï¡¢
453 public root ¥Ç¥£¥ì¥¯¥È¥ê²¼¤ËÃÖ¤«¤ì¤Æ¤¤¤Ê¤¤¥Õ¥¡¥¤¥ë¤Ë´Ø¤·¤Æ¤â¡¢
454 ¤½¤ì¤¬¼«Ê¬¤à¤±¤Ë¥¨¥¯¥¹¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ì¤Ð
455 ¥¢¥¯¥»¥¹¤Ç¤­¤Æ¤·¤Þ¤¦¤³¤È¤Ë¤âÃí°Õ¤·¤Æ¤Û¤·¤¤¡£
456 ÆäË
457 .B /home/ftp
458 ¤ò Web ¥µ¡¼¥Ð¤Î¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤È¶¦¤Ë³°³¦¤Ë¥¨¥¯¥¹¥Ý¡¼¥È¤·¤Æ¤·¤Þ¤¦¤È¡¢
459 Web ¥¯¥é¥¤¥¢¥ó¥È¤Ï FTP ¥Õ¥¡¥¤¥ë¤Ë
460 .B nfs://foo.bar.edu/../ftp/README
461 ¤Î¤è¤¦¤Ë¥¢¥¯¥»¥¹¤Ç¤­¤Æ¤·¤Þ¤¦¡£
462 ¤â¤Á¤í¤ó¥¨¥¯¥¹¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤¥¯¥é¥¤¥¢¥ó¥È¤Ë´Ø¤·¤Æ¤Ï¡¢
463 ¤³¤ì¤Ï¤¢¤Æ¤Ï¤Þ¤é¤Ê¤¤¡£
464 .\"O .SH SIGNALS
465 .SH ¥·¥°¥Ê¥ë
466 .\"O .I nfsd
467 .\"O recognizes the following signals:
468 .I nfsd
469 ¤Ï°Ê²¼¤Î¥·¥°¥Ê¥ë¤òǧ¼±¤¹¤ë:
470 .TP
471 .I SIGHUP
472 .\"O causes 
473 .\"O .I nfsd
474 .\"O to re-read the export file and flush the file handle cache. If a public
475 .\"O root was specified, this will also regenerate the file handle associated
476 .\"O with the public directory name (useful when exporting a removable
477 .\"O file system).
478 ¤³¤Î¥·¥°¥Ê¥ë¤ò¼õ¤±¤ë¤È¡¢
479 .I nfsd
480 ¤Ï export ¥Õ¥¡¥¤¥ë¤òºÆÆɤ߹þ¤ß¤·¡¢
481 ¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¤Î¥­¥ã¥Ã¥·¥å¤ò¥Õ¥é¥Ã¥·¥å¤¹¤ë¡£
482 public root ¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤È¡¢¤³¤Î¥·¥°¥Ê¥ë¤Ë¤è¤Ã¤Æ
483 public ¥Ç¥£¥ì¥¯¥È¥ê̾¤Ë´ØÏ¢¤Å¤±¤é¤ì¤¿¥Õ¥¡¥¤¥ë¥Ï¥ó¥É¥ë¤¬ºÆÀ¸À®¤µ¤ì¤ë
484 (¥ê¥à¡¼¥Ð¥Ö¥ë¤Ê¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò¥¨¥¯¥¹¥Ý¡¼¥È¤¹¤ë¾ì¹ç¤ËÊØÍø)¡£
485 .TP
486 .I SIGUSR1
487 .\"O When 
488 .\"O .I nfsd
489 .\"O was invoked with debugging options, sending this signal toggles
490 .\"O generation of debug information.
491 ¥Ç¥Ð¥Ã¥°¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Æ
492 .I nfsd
493 µ¯Æ°¤·¤¿¾ì¹ç¡¢¤³¤Î¥·¥°¥Ê¥ë¤òÍ¿¤¨¤ë¤È
494 ¥Ç¥Ð¥Ã¥°¾ðÊó¤ÎÀ¸À®¤ò¥ª¥ó¡¦¥ª¥Õ¤Ç¤­¤ë¡£
495 .TP
496 .I SIGIOT
497 .\"O When compiled with with the -DCALL_PROFILING option, sending a SIGIOT to
498 .\"O .I nfsd
499 .\"O will cause dump the average execution times per NFS operation into
500 .\"O .IR /tmp/nfsd.profile .
501 \-DCALL_PROFILING ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Æ¥³¥ó¥Ñ¥¤¥ë¤·¤¿¾ì¹ç¡¢
502 SIGIOT ¤ò
503 .I nfsd
504 ¤ËÁ÷¤ë¤È°ì²ó¤Î NFS Áàºî¤¢¤¿¤ê¤ÎÊ¿¶Ñ¼Â¹Ô»þ´Ö¤¬
505 .I /tmp/nfsd.profile
506 ¤Ë¥À¥ó¥×¤µ¤ì¤ë¡£
507 .\"O .SH BUGS
508 .SH ¥Ð¥°
509 .\"O .I nfsd
510 .\"O does not support the retrieval of
511 .\"O .B index.html
512 .\"O files when asked to look up a directory file name. This is not an RFC
513 .\"O requirement, so it's rather a feature absent than a true bug.
514 .I nfsd
515 ¤Ï¡¢¥Ç¥£¥ì¥¯¥È¥ê¤Î¥Õ¥¡¥¤¥ë̾¤¬Ì䤤¹ç¤ï¤µ¤ì¤¿¤È¤­¤Ë
516 .B index.html
517 ¥Õ¥¡¥¤¥ë¤òÄ󶡤¹¤ëµ¡Ç½¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Ê¤¤¡£
518 ¤³¤ì¤Ï RFC ¤ÎÍ×µá¤Ë¤Ï¤Ê¤¤¤Î¤Ç¡¢¼ÂºÝ¤Ë¤Ï¥Ð¥°¤Ç¤Ï¤Ê¤¯µ¡Ç½¤Î·çÇ¡¤Ç¤¢¤ë¡£
519 .P
520 .\"O The
521 .\"O .B \-\-log-transfers
522 .\"O option is not always accurate since there is no equivalent to the UNIX
523 .\"O file system
524 .\"O .BR open() " and " close()
525 .\"O calls in the NFS protocol. Instead,
526 .\"O .I nfsd
527 .\"O writes out a transfer record whenever it encounters a READ or WRITE
528 .\"O request at offset zero.
529 .B \-\-log\-transfers
530 ¥ª¥×¥·¥ç¥ó¤Ïɬ¤º¤·¤âÀµ¤·¤¤¥í¥°¤ò»Ä¤µ¤Ê¤¤¡£
531 ¤Ê¤¼¤Ê¤é UNIX ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î
532 .BR open() " ¤ª¤è¤Ó " close()
533 ¥³¡¼¥ë¤ËÂбþ¤¹¤ë¤â¤Î¤¬ NFS ¥×¥í¥È¥³¥ë¤Ë¤Ï¸ºß¤·¤Ê¤¤¤«¤é¤Ç¤¢¤ë¡£
534 Âå¤ï¤ê¤Ë
535 .I nfsd
536 ¤Ï¡¢READ ¤Þ¤¿¤Ï WRITE Í×µá¤Î¥ª¥Õ¥»¥Ã¥È 0 ¤ËÁø¶ø¤¹¤ë¤¿¤Ó¤ËžÁ÷µ­Ï¿¤ò½ñ¤­½Ð¤¹¡£
537 .\"O .SH "SEE ALSO"
538 .SH ´ØÏ¢¹àÌÜ
539 exports(5), mountd(8), ugidd(8C)
540 .\"O .SH AUTHORS
541 .SH Ãø¼Ô
542 .\"O Mark Shand wrote the orignal unfsd.
543 .\"O Don Becker extended unfsd to support authentication
544 .\"O and allow read-write access and called it hnfs.
545 .\"O Rick Sladkey added host matching, showmount -e support,
546 .\"O mountd authentication, inetd support, and all of the
547 .\"O portability and configuration code.
548 .\"O Olaf Kirch fixed one or two security holes and other bugs, added
549 .\"O the uid mapping and a couple of other things.
550 Mark Shand ¤¬¥ª¥ê¥¸¥Ê¥ë¤Î unfsd ¤ò½ñ¤¤¤¿¡£
551 Don Becker ¤Ï unfsd ¤ò³ÈÄ¥¤·¡¢Ç§¾Úµ¡Ç½¤È read-write µ¡Ç½¤ò
552 ¥µ¥Ý¡¼¥È¤·¤Æ¡¢¤³¤ì¤ò hnfs ¤È̾¤Å¤±¤¿¡£
553 Rick Sladkey ¤Ï¥Û¥¹¥È¥Þ¥Ã¥Á¡¢showmount \-e ¤Î¥µ¥Ý¡¼¥È¡¢
554 mountd ¤Îǧ¾Ú¡¢inetd ¤Î¥µ¥Ý¡¼¥È¡¢°Ü¿¢À­¤Î¸þ¾å¤äÀßÄê¤Ë
555 ɬÍפʥ³¡¼¥É¤Ê¤É¤òÄɲä·¤¿¡£
556 Olaf Kirch ¤Ï°ì¤ÄÆó¤Ä¤Î¥»¥­¥å¥ê¥Æ¥£¥Û¡¼¥ë¤È¡¢¤½¤Î¾¤Î¥Ð¥°¤ò
557 ½¤Àµ¤·¡¢uid ¥Þ¥Ã¥Ô¥ó¥°¤È¤½¤Î¾¤¤¤¯¤Ä¤«¤Îµ¡Ç½¤òÄɲä·¤¿¡£