2 .\" $Id: autofs.5,v 1.8 2004/05/18 12:22:40 raven Exp $
4 .\" Japanese Version Copyright (c) 2005 Yuichi SATO
5 .\" all rights reserved.
6 .\" Translated Sun Jul 3 04:41:33 JST 2005
7 .\" by Yuichi SATO <ysato444@yahoo.co.jp>
9 .\"O .TH AUTOFS 5 "6 Apr 1998"
10 .TH AUTOFS 5 "14 Jan 2000"
13 .\"O autofs \- Format of the automounter maps
14 autofs \- ¥ª¡¼¥È¥Þ¥¦¥ó¥È¥·¥¹¥Æ¥à¥Þ¥Ã¥×¤Î½ñ¼°
15 .\"O .SH "DESCRIPTION"
17 .\"O The automounter maps are files or NIS maps referred to by the master map of
18 .\"O the automounter (see
19 .\"O .BR auto.master (5)).
20 ¥ª¡¼¥È¥Þ¥¦¥ó¥È¥·¥¹¥Æ¥à¥Þ¥Ã¥×¤Ï¡¢¥ª¡¼¥È¥Þ¥¦¥ó¥È¥·¥¹¥Æ¥à¤Î¥Þ¥¹¥¿¥Þ¥Ã¥×
22 ¤ò»²¾È) ¤Ë¤è¤Ã¤Æ»²¾È¤µ¤ì¤ë
23 ¥Õ¥¡¥¤¥ë¤Þ¤¿¤Ï NIS ¥Þ¥Ã¥×¤Ç¤¢¤ë¡£
24 .\"O The automounter maps describe how file systems below the mountpoint of the map
25 .\"O (given in the auto.master file) are to be mounted. This describes the
27 .\"O map format; if another map format is specified (e.g. \fBhesiod\fP),
28 .\"O this documentation does not apply.
29 ¥ª¡¼¥È¥Þ¥¦¥ó¥È¥·¥¹¥Æ¥à¥Þ¥Ã¥×¤Ï (auto.master ¥Õ¥¡¥¤¥ë¤Ç»ØÄꤵ¤ì¤ë)
30 ¥Þ¥Ã¥×¤Î¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È°Ê²¼¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬¤É¤Î¤è¤¦¤Ë
31 ¥Þ¥¦¥ó¥È¤µ¤ì¤ë¤«¤òµ½Ò¤¹¤ë¡£
34 ¥Þ¥Ã¥×¤Î½ñ¼°¤Ë¤Ä¤¤¤Æµ½Ò¤·¤Æ¤¤¤ë¡£
35 ¾¤Î¥Þ¥Ã¥×½ñ¼° (Î㤨¤Ð \fBhesiod\fP) ¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢
36 ¤³¤Î man ¥Ú¡¼¥¸¤ÏŬÍѤǤ¤Ê¤¤¡£
37 .\"O Maps can be changed on the fly and the automouter will recognize those
38 .\"O changes on the next operation it performs on that map. This is not
42 ¥Þ¥Ã¥×¤Ï¨»þ¤ËÊѹ¹²Äǽ¤Ç¡¢¥ª¡¼¥È¥Þ¥¦¥ó¥È¥·¥¹¥Æ¥à¤Ï¤½¤Î¥Þ¥Ã¥×¤ËÂФ·¤Æ
43 ¼¡¤ÎÁàºî¤¬¹Ô¤ï¤ì¤¿¤È¤¤ËÊѹ¹¤òǧ¼±¤Ç¤¤ë¡£
46 ¥Þ¥Ã¥×¤Ë¤Ä¤¤¤Æ¤ÏÅö¤Æ¤Ï¤Þ¤é¤Ê¤¤¡£
49 .\"O This is a description of the text file format. Other methods of specifying
50 .\"O these files may exist. All empty lines or lines beginning with # are
51 .\"O ignored. The basic format of one line in such maps is:
52 ¤³¤ì¤Ï¥Æ¥¥¹¥È¥Õ¥¡¥¤¥ë¤Î½ñ¼°¤ÎÀâÌÀ¤Ç¤¢¤ë¡£
53 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤ò»ØÄꤹ¤ëÊ̤ÎÊýË¡¤â¤¢¤ë¡£
54 ¶õ¹Ô¤È # ¤Ç»Ï¤Þ¤ë¹Ô¤ÏÁ´¤Æ̵»ë¤µ¤ì¤ë¡£
55 ¥Þ¥Ã¥×Æâ¤Î 1 ¹Ô¤Î´ðËÜŪ¤Ê½ñ¼°¤Ï¡¢°Ê²¼¤ÎÄ̤ê¤Ç¤¢¤ë:
57 .BI "key [" -options "] location"
60 .\"O For indirect mounts this is the part of the pathname between the mountpointi
61 .\"O and the path into the filesystem mounted. Usually you can think about the
62 .\"O key as a subdirectory name below the mountpoint.
63 ´ÖÀÜ¥Þ¥¦¥ó¥È¤Î¾ì¹ç¡¢¤³¤ì¤Ï¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤È
64 ¥Þ¥¦¥ó¥È¤µ¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥àÆâ¤Ë¤¢¤ë¥Ñ¥¹¤È¤Î´Ö¤Î¥Ñ¥¹Ì¾¤Î°ìÉôʬ¤Ç¤¢¤ë¡£
65 ¤³¤Î¥¡¼¤ÏÄ̾ï¤Ï¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È°Ê²¼¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê̾¤È¹Í¤¨¤ë¤³¤È¤¬¤Ç¤¤ë¡£
67 .\"O For direct mounts this is the full path of the mountpoint. This map is always
68 .\"O associated with the /- mountpoint in the master map.
69 ľÀÜ¥Þ¥¦¥ó¥È¤Î¾ì¹ç¡¢¤³¤ì¤Ï¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤Î´°Á´¤Ê¥Ñ¥¹¤Ç¤¢¤ë¡£
70 ¤³¤Î¥Þ¥Ã¥×¤Ï¥Þ¥¹¥¿¥Þ¥Ã¥×¤Ë¤ª¤±¤ë /- ¤È¤¤¤¦¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤È
71 ¾ï¤Ë´ØÏ¢¤Å¤±¤é¤ì¤Æ¤¤¤ë¡£
74 .\"O Options are optional. Options can also be given in the
76 .\"O file in which case both values are cumulative (this is a difference
77 .\"O from SunOS). The options are a list of comma separated options as
78 .\"O customary for the
80 .\"O command. There are two special options
82 .\"O used to specify a filesystem type if the filesystem is not of the default
83 .\"O NFS type. This option is processed by the automounter and not by the mount
85 options ¤Ï¸ºß¤·¤Æ¤â¤·¤Ê¤¯¤Æ¤â¤è¤¤¡£
88 ¥Õ¥¡¥¤¥ë¤Ç¤â»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤¤ë¡£
89 ξÊý¤Ç»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢Î¾Êý¤ÎÃͤ¬Â¤·¹ç¤ï¤µ¤ì¤ë
90 (¤³¤ì¤¬ SunOS ¤È¤Î°ã¤¤¤Ç¤¢¤ë)¡£
91 options ¤Ï¥³¥ó¥Þ¤Ç¶èÀÚ¤é¤ì¤¿¥ª¥×¥·¥ç¥ó¤Î¥ê¥¹¥È¤Ç¡¢
93 ¥³¥Þ¥ó¥É¤ËÄ̾ïÍ¿¤¨¤Æ¤¤¤ë¤â¤Î¤ÈƱ¤¸¤Ç¤¢¤ë¡£
94 2 ¤Ä¤ÎÆüì¤Ê¥ª¥×¥·¥ç¥ó¤¬¤¢¤ë¡£
96 ¤Ï¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬¥Ç¥Õ¥©¥ë¥È¤Î
97 NFS ¥¿¥¤¥×¤Ç¤Ê¤¤¾ì¹ç¤Ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¥¿¥¤¥×¤ò»ØÄꤹ¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë¡£
98 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï mount ¥³¥Þ¥ó¥É¤Ç¤Ï¤Ê¤¯¡¢¥ª¡¼¥È¥Þ¥¦¥ó¥È¥·¥¹¥Æ¥à¤Ç½èÍý¤µ¤ì¤ë¡£
100 .\"O is used to treat errors when mounting file systems as fatal. This is important when
101 .\"O multiple file systems should be mounted (`multimounts'). If this option
102 .\"O is given, no file system is mounted at all if at least one file system
103 .\"O can't be mounted.
105 ¤Ï¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò¥Þ¥¦¥ó¥È¤¹¤ë¤È¤¤Î¥¨¥é¡¼¤ò
106 Ã×̿Ū¤Ê¤â¤Î¤È¤·¤Æ°·¤¦¤¿¤á¤Ë»È¤ï¤ì¤ë¡£
107 ¤³¤ì¤ÏÊ£¿ô¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬¥Þ¥¦¥ó¥È¤µ¤ì¤ë
108 (`multimounts') »þ¤Ë½ÅÍפǤ¢¤ë¡£
109 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢
110 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬ 1 ¤Ä¤Ç¤â¥Þ¥¦¥ó¥È¤Ç¤¤Ê¤¤¾ì¹ç¤Ï¡¢
111 Á´¤Æ¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬¥Þ¥¦¥ó¥È¤µ¤ì¤Ê¤¤¡£
114 .\"O The location specifies from where the file system is to be mounted. In the
115 .\"O most cases this will be an NFS volume and the usual notation
116 .\"O .I host:pathname
117 .\"O is used to indicate the remote filesystem and path to be mounted. If
118 .\"O the filesystem to be mounted begins with a / (such as local
120 .\"O entries or smbfs shares) a : needs to be prefixed (e.g.
121 .\"O .IR :/dev/sda1 ).
122 location ¤Ï¤É¤³¤«¤é¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò¥Þ¥¦¥ó¥È¤¹¤ë¤«¤ò»ØÄꤹ¤ë¡£
123 ¿¤¯¤Î¾ì¹ç¡¢¤³¤ì¤Ï NFS ¥Ü¥ê¥å¡¼¥à¤ÇÄ̾ï¤Ï
126 ¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤È¥Þ¥¦¥ó¥È¤µ¤ì¤ë¥Ñ¥¹¤ò¼¨¤¹¡£
127 ¥Þ¥¦¥ó¥È¤µ¤ì¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬ (¥í¡¼¥«¥ë¤Î
129 ¥¨¥ó¥È¥ê¤ä smbfs ¶¦Í¤Î¤è¤¦¤Ë) / ¤Ç»Ï¤Þ¤ë¾ì¹ç¤Ï¡¢
130 : ¤òÁ°¤ËÉÕ¤±¤ëɬÍפ¬¤¢¤ë (Îã:
138 kernel -ro,soft,intr ftp.kernel.org:/pub/linux
139 boot -fstype=ext2 :/dev/hda1
140 windoze -fstype=smbfs ://windoze/c
141 removable -fstype=ext2 :/dev/hdd
142 cd -fstype=iso9660,ro :/dev/hdc
143 floppy -fstype=auto :/dev/fd0
144 server -rw,hard,intr / -ro myserver.me.org:/ \\
145 /usr myserver.me.org:/usr \\
146 /home myserver.me.org:/home
150 .\"O In the first line we have a NFS remote mount of the kernel directory on
151 .\"O .IR ftp.kernel.org .
154 ¤Ë¤¢¤ë¥«¡¼¥Í¥ë¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Î NFS ¥ê¥â¡¼¥È¥Þ¥¦¥ó¥È¤ò»ØÄꤷ¤Æ¤¤¤ë¡£
155 .\"O This is mounted read-only. The second line mounts an ext2 volume on a
156 .\"O local ide drive. The third makes a share exported from a Windows
157 .\"O machine available for automounting. The rest should be fairly
158 .\"O self-explanatory. The last entry (the last three lines) is an example
159 .\"O of a multi-map (see below).
160 ¤³¤ì¤ÏÆɤ߹þ¤ßÀìÍѤǥޥ¦¥ó¥È¤µ¤ì¤ë¡£
161 2 ¹ÔÌÜ¤Ç¤Ï¥í¡¼¥«¥ë¤Î ide ¥É¥é¥¤¥Ö¾å¤Î ext2 ¥Ü¥ê¥å¡¼¥à¤ò¥Þ¥¦¥ó¥È¤·¤Æ¤¤¤ë¡£
162 3 ¹ÔÌÜ¤Ï Windows ¥Þ¥·¥ó¤Ç¶¦Í¤Ç¸ø³«¤µ¤ì¤Æ¤¤¤ë¥É¥é¥¤¥Ö¤Î
163 ¼«Æ°¥Þ¥¦¥ó¥È¤ò²Äǽ¤Ë¤·¤Æ¤¤¤ë¡£
164 »Ä¤ê¤ÏÁ´¤¯ÀâÌÀ¤ÎɬÍפ¬¤Ê¤¤¤À¤í¤¦¡£
165 ºÇ¸å¤Î¥¨¥ó¥È¥ê (ºÇ¸å¤Î 3 ¹Ô) ¤Ï¥Þ¥ë¥Á¥Þ¥Ã¥× (²¼µ¤ò»²¾È) ¤ÎÎã¤Ç¤¢¤ë¡£
167 .\"O If you use the automounter for a filesystem without access permissions
168 .\"O (like \fBvfat\fP), users usually can't write on such a filesystem
169 .\"O because it is mounted as user \fBroot\fP.
170 (\fBvfat\fP ¤Î¤è¤¦¤Ë) ¥¢¥¯¥»¥¹µö²Ä¤ò»ý¤¿¤Ê¤¤¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ËÂФ·¤Æ
171 ¥ª¡¼¥È¥Þ¥¦¥ó¥È¥·¥¹¥Æ¥à¤ò»È¤Ã¤¿¾ì¹ç¤Ï¡¢
172 \fBroot\fP ¥æ¡¼¥¶¤È¤·¤Æ¥Þ¥¦¥ó¥È¤µ¤ì¤ë¤Î¤Ç¡¢
173 (°ìÈ̤Î) ¥æ¡¼¥¶¤ÏÄ̾ï¤Ï¤½¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë½ñ¤¹þ¤à¤³¤È¤¬¤Ç¤¤Ê¤¤¡£
174 .\"O You can solve this problem by passing the option \fIgid=<gid>\fP,
175 .\"O e. g. \fIgid=floppy\fP. The filesystem is then mounted as group
176 .\"O \fBfloppy\fP instead of \fBroot\fP. Then you can add the users
177 .\"O to this group, and they can write to the filesystem. Here's an
178 .\"O example entry for an autofs map:
179 ¤³¤ÎÌäÂê¤Ï (\fIgid=floppy\fP ¤Î¤è¤¦¤Ë)
180 ¥ª¥×¥·¥ç¥ó \fIgid=<gid>\fP ¤òÅϤ¹¤³¤È¤Ç²ò·è¤Ç¤¤ë¡£
181 ¤½¤¦¤¹¤ë¤È¡¢¤½¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ï \fBroot\fP ¤Ç¤Ï¤Ê¤¯
182 ¥°¥ë¡¼¥× \fBfloppy\fP ¤Ç¥Þ¥¦¥ó¥È¤µ¤ì¤ë¡£
183 ¤½¤·¤Æ¥æ¡¼¥¶¤ò¤½¤Î¥°¥ë¡¼¥×¤ËÄɲ乤뤳¤È¤Ç¡¢
184 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë½ñ¤¹þ¤à¤³¤È¤¬¤Ç¤¤ë¡£
185 °Ê²¼¤Ï autofs ¥Þ¥Ã¥×¤Î¥¨¥ó¥È¥ê¤ÎÎã¤Ç¤¢¤ë:
190 floppy-vfat -fstype=vfat,sync,gid=floppy,umask=002 :/dev/fd0
196 .\"O .SS Map Key Substitution
197 .SS ¥Þ¥Ã¥×¤Î¥¡¼¤ÎÃÖ´¹
198 .\"O An & character in the
200 .\"O is expanded to the value of the
202 .\"O field that matched the line (which probably only makes sense together with
203 .\"O a wildcard key).
205 ¤Ë¤ª¤±¤ë & ʸ»ú¤Ï¡¢¤½¤Î¹Ô¤Ë¥Þ¥Ã¥Á¤¹¤ë
207 ¥Õ¥£¡¼¥ë¥É¤ÎÃͤËŸ³«¤µ¤ì¤ë
208 (¤³¤ì¤Ï¥ï¥¤¥ë¥É¥«¡¼¥É¥¡¼¤È¶¦¤Ë»È¤Ã¤¿¾ì¹ç¤Ë¤Î¤ß°ÕÌ£¤¬¤¢¤ë¤À¤í¤¦)¡£
209 .\"O .SS Wildcard Key
210 .SS ¥ï¥¤¥ë¥É¥«¡¼¥É¥¡¼
213 .\"O field of indirect maps matches all keys. An example for the usefulness
214 .\"O is the following entry:
217 ¥Õ¥£¡¼¥ë¥É¤Ë¤ª¤±¤ë * ¤ÏÁ´¤Æ¤Î¥¡¼¤Ë¥Þ¥Ã¥Á¤¹¤ë¡£
218 ¼ÂÍÑŪ¤ÊÎã¤È¤·¤Æ¤Ï¡¢°Ê²¼¤Î¥¨¥ó¥È¥ê¤¬¤¢¤ë:
227 .\"O This will enable you to access all the home directory of local hosts using
229 .\"O .RI / mountpoint / hostname / local-path .
231 .RI / mountpoint / hostname / local-path
232 ¤ò»È¤Ã¤Æ¡¢¥í¡¼¥«¥ë¤Ë¤¢¤ë¥Û¥¹¥ÈÁ´¤Æ¤Î home ¥Ç¥£¥ì¥¯¥È¥ê¤Ë
233 ¥¢¥¯¥»¥¹¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤ë¡£
234 .\"O .SS Variable Substitution
236 .\"O The following special variables will be substituted in the key and location
237 .\"O fields of an automounter map if prefixed with $ as customary from shell
238 .\"O scripts (Curly braces can be used to separate the fieldname):
239 ¥ª¡¼¥È¥Þ¥¦¥ó¥È¥Þ¥Ã¥×¤Î key ¤ª¤è¤Ó location ¥Õ¥£¡¼¥ë¥É¤Ç¡¢
240 ¥·¥§¥ë¥¹¥¯¥ê¥×¥È¤Ç¤ª¤Ê¤¸¤ß¤Î $ ¤òÀèƬ¤ËÉÕ¤±¤Æ
241 (¥Õ¥£¡¼¥ë¥É̾¤ò¶èÀڤ뤿¤á¤ËÃæ³ç¸Ì (curly brace) ¤â»ÈÍѲÄ)
242 °Ê²¼¤ÎÆÃÊ̤ÊÊÑ¿ô¤ò»È¤Ã¤¿¾ì¹ç¡¢¼¡¤Î¤è¤¦¤ÊÃͤËÃÖ¤´¹¤¨¤é¤ì¤ë:
247 .\"O ARCH Architecture (uname -m)
248 ARCH ¥¢¡¼¥¥Æ¥¯¥Á¥ã (uname -m)
249 .\"O CPU Processor Type
251 .\"O HOST Hostname (uname -n)
252 HOST ¥Û¥¹¥È̾ (uname -n)
253 .\"O OSNAME Operating System (uname -s)
254 OSNAME ¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à (uname -s)
255 .\"O OSREL Release of OS (uname -r)
256 OSREL OS ¤Î¥ê¥ê¡¼¥¹ (uname -r)
257 .\"O OSVERS Version of OS (uname -v)
258 OSVERS OS ¤Î¥Ð¡¼¥¸¥ç¥ó (uname -v)
262 .\"O Additional entries can be defined with the -Dvariable=Value map-option to
263 .\"O .BR automount (8).
265 ¤Î -Dvariable=Value ¥Þ¥Ã¥×¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤Æ¡¢
266 Äɲäǥ¨¥ó¥È¥ê¤òÄêµÁ¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¡£
267 .\"O .SS Executable Maps
269 .\"O A map can be marked as executable. The init script that parses the
270 .\"O auto.master map will pass this as a
272 .\"O map to the automounter. A
274 .\"O map will be called as a script with the key as an argument. It may
275 .\"O return no lines of output if there's an error, or one or more lines
276 .\"O containing a map (with \\ quoting line breaks).
277 ¥Þ¥Ã¥×¤Ë¼Â¹Ô²Äǽ¤Î¥Þ¡¼¥¯¤òÉÕ¤±¤ë¤³¤È¤¬¤Ç¤¤ë¡£
278 auto.master ¥Þ¥Ã¥×¤ò²òÀϤ¹¤ë½é´ü²½¥¹¥¯¥ê¥×¥È¤Ï¡¢¤³¤ì¤ò
280 ¥Þ¥Ã¥×¤È¤·¤Æ¥ª¡¼¥È¥Þ¥¦¥ó¥È¥·¥¹¥Æ¥à¤ËÅϤ¹¡£
282 ¥Þ¥Ã¥×¤Ï key ¤ò°ú¤¿ô¤È¤·¤¿¥¹¥¯¥ê¥×¥È¤È¤·¤Æ¸Æ¤Ó½Ð¤µ¤ì¤ë¡£
283 ¥¨¥é¡¼¤¬È¯À¸¤·¤¿¾ì¹ç¡¢½ÐÎÏ¤Ï 1 ¹Ô¤âÊÖ¤µ¤ì¤Ê¤¤¡£
284 À®¸ù¤·¤¿¾ì¹ç¤Ï¡¢¥Þ¥Ã¥×¤ò´Þ¤à 1 ¹Ô°Ê¾å¤¬
285 (²þ¹Ô¤Ï \\ ¤Ç¥¯¥©¡¼¥È¤µ¤ì¤Æ) ÊÖ¤µ¤ì¤ë¡£
290 .\"O .BR automount (8)
291 .\"O daemon has to be started with the program type instead of the file
292 .\"O type. This is implemented in the initialization script.
294 ¥Þ¥Ã¥×¤ò»È¤¦¤¿¤á¤Ë¤Ï¡¢
296 ¥Ç¡¼¥â¥ó¤Ï file ¥¿¥¤¥×¤Ç¤Ï¤Ê¤¯ program ¥¿¥¤¥×¤È¤·¤Æ
297 ³«»Ï¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
298 ¤³¤ì¤Ï½é´ü²½¥¹¥¯¥ê¥×¥È¤ÎÃæ¤Ç¼ÂÁõ¤µ¤ì¤Æ¤¤¤ë¡£
300 .\"O A executable map can return an errorcode to indicate the failure in addition
301 .\"O to no output at all. All output sent to stderr is logged into the system
303 ¼Â¹Ô²Äǽ¥Þ¥Ã¥×¤Ï¡¢¥¨¥é¡¼¤Î¾ì¹ç¡¢
304 Á´¤¯½ÐÎϤò¹Ô¤ï¤Ê¤¤¤³¤È¤Ë²Ã¤¨¤Æ¼ºÇÔ¤òɽ¤¹¥¨¥é¡¼¥³¡¼¥É¤òÊÖ¤¹¤³¤È¤¬¤Ç¤¤ë¡£
305 ɸ½à¥¨¥é¡¼½ÐÎϤØÁ÷¤é¤ì¤ëÁ´¤Æ¤Î½ÐÎϤϡ¢¥·¥¹¥Æ¥à¥í¥°¤ËµÏ¿¤µ¤ì¤ë¡£
306 .\"O .SS Multiple Mounts
309 .\"O .B multi-mount map
310 .\"O can be used to name multiple filesystems to mount. It takes the form:
312 ¥Þ¥Ã¥×¤ÏÊ£¿ô¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò¥Þ¥¦¥ó¥È¤¹¤ë¤Î¤Ë»ÈÍѤµ¤ì¤ë¡£
313 ¤³¤ì¤Ï°Ê²¼¤Î·Á¼°¤Ç¤¢¤ë:
318 .BI "key [" -options "] [mountpoint [" -options "] location...]..."
323 .\"O This may extend over multiple lines, quoting the line-breaks with \`\\\'.
324 .\"O If present, the per-mountpoint mount-options are appended to the
325 .\"O default mount-options.
326 ²þ¹Ô¤ò \`\\\' ¤Ç¥¯¥©¡¼¥È¤¹¤ì¤Ð¡¢Ê£¿ô¹Ô¤ËÅϤäƽñ¤¯¤³¤È¤â¤Ç¤¤ë¡£
327 ¤³¤Î¥Þ¥Ã¥×¤¬Â¸ºß¤¹¤ë¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥Þ¥¦¥ó¥È¥ª¥×¥·¥ç¥ó¤Ë²Ã¤¨¤Æ¡¢
328 ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥ÈËè¤Î¥Þ¥¦¥ó¥È¥ª¥×¥·¥ç¥ó¤¬Äɲ䵤ì¤ë¡£
329 .\"O .SS Replicated Server
330 .SS ¥ì¥×¥ê¥±¡¼¥È¤µ¤ì¤¿¥µ¡¼¥Ð
335 .\"O Multiple replicated hosts, same path:
336 ¥Ñ¥¹¤¬Æ±¤¸Ê£¿ô¤Î¥ì¥×¥ê¥±¡¼¥È¤µ¤ì¤¿¥Û¥¹¥È:
337 <path> host1,host2,hostn:/path/path
339 .\"O Multiple hosts, some with same path, some with another
340 ¤¢¤ë¤â¤Î¤Ï¥Ñ¥¹¤¬Æ±¤¸¤Ç¡¢¤¢¤ë¤â¤Î¤Ï¥Ñ¥¹¤¬°Û¤Ê¤ëÊ£¿ô¤Î¥Û¥¹¥È:
341 <path> host1,host2:/blah host3:/some/other/path
343 .\"O Multiple replicated hosts, different (potentially) paths:
344 ¥Ñ¥¹¤¬°Û¤Ê¤ë (²ÄǽÀ¤¬¤¢¤ë) Ê£¿ô¤Î¥ì¥×¥ê¥±¡¼¥È¤µ¤ì¤¿¥Û¥¹¥È:
345 <path> host1:/path/pathA host2:/path/pathB
347 .\"O Mutliple weighted, replicated hosts same path:
348 ½Å¤ßÉÕ¤±¤¬°Û¤Ê¤ê¡¢¥Ñ¥¹¤¬Æ±¤¸¥ì¥×¥ê¥±¡¼¥È¤µ¤ì¤¿¥Û¥¹¥È:
349 <path> host1(5),host2(6),host3(1):/path/path
351 .\"O Multiple weighted, replicated hosts different (potentially) paths:
352 ½Å¤ßÉÕ¤±¤¬°Û¤Ê¤ê¡¢°Û¤Ê¤ë (²ÄǽÀ¤¬¤¢¤ë) ¥Ñ¥¹¤Î¥ì¥×¥ê¥±¡¼¥È¤µ¤ì¤¿¥Û¥¹¥È:
353 <path> host1(3):/path/pathA host2(5):/path/pathB
355 .\"O Anything else is questionable and unsupported, but these variations will also work:
356 ¤½¤Î¾¤Î½ñ¼°¤ÏÉÔ¼«Á³¤Ç¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤¤¬¡¢
357 ÊÑ·Á¤·¤¿¤³¤ì¤é¤Î½ñ¼°¤Ç¤âÆ°ºî¤¹¤ë:
358 <path> host1(3),host:/blah
364 .\"O This version of the automounter supports direct maps for FILE, NIS and LDAP maps only
365 .\"O and handles SunOS-style replicated filesystems only to the extent that
368 ¤³¤Î¥Ð¡¼¥¸¥ç¥ó¤Î¥ª¡¼¥È¥Þ¥¦¥ó¥È¥·¥¹¥Æ¥à¤Ï FILE, NIS, LDAP ¥Þ¥Ã¥×¤ËÂФ¹¤ë
369 ľÀܥޥåפΤߤò¥µ¥Ý¡¼¥È¤·¤Æ¤ª¤ê¡¢
370 SunOS ·Á¼°¤Î¥ì¥×¥ê¥±¡¼¥È¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë¤Ä¤¤¤Æ¤Ï
372 ¤¬¥µ¥Ý¡¼¥È¤¹¤ëÈϰϤǤΤ߼è¤ê°·¤¦¡£
375 .\"O Unlike Sun's multi-mount syntax, the mountpoint is mandatory for all
377 Sun ¤Î multi-mount ½ñ¼°¤È¤Ï°Û¤Ê¤ê¡¢
378 Á´¤Æ¤Î¥Þ¥¦¥ó¥È¤Ë¤ª¤¤¤Æ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤Ïɬ¿Ü¤Ç¤¢¤ë¡£
387 .\"O This manual page was written by Christoph Lameter <chris@waterf.org>,
388 .\"O for the Debian GNU/Linux system. Edited by H. Peter Anvin
389 .\"O <hpa@transmeta.com>, Jeremy Fitzhardinge <jeremy@goop.org> and
390 .\"O Ian Kent <raven@themaw.net>.
391 ¤³¤Î man ¥Ú¡¼¥¸¤Ï Christoph Lameter <chris@waterf.org> ¤Ë¤è¤Ã¤Æ
392 Debian GNU/Linux ¥·¥¹¥Æ¥à¤Î¤¿¤á¤Ë½ñ¤«¤ì¤¿¡£
393 H. Peter Anvin <hpa@transmeta.com>, Jeremy Fitzhardinge <jeremy@goop.org>,
394 Ian Kent <raven@themaw.net> ¤Ë¤è¤Ã¤ÆÊÔ½¸¤µ¤ì¤¿¡£