OSDN Git Service

タイマ -> タイマー
[linuxjm/LDP_man-pages.git] / po4a / special / po / ja.po
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: PACKAGE VERSION\n"
9 "POT-Creation-Date: 2015-01-23 22:25+0900\n"
10 "PO-Revision-Date: 2015-01-25 07:27+0900\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <LL@li.org>\n"
13 "Language: \n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 #.  Copyright (C) 2011, Hewlett-Packard Development Company, L.P.
19 #.  Written by Stephen M. Cameron <scameron@beardog.cce.hp.com>
20 #.  %%%LICENSE_START(GPLv2_ONELINE)
21 #.  Licensed under GNU General Public License version 2 (GPLv2)
22 #.  %%%LICENSE_END
23 #.  shorthand for double quote that works everywhere.
24 #. type: ds q
25 #: build/C/man4/cciss.4:9 build/C/man4/hpsa.4:9
26 #, no-wrap
27 msgid "\\N'34'"
28 msgstr "\\N'34'"
29
30 #. type: TH
31 #: build/C/man4/cciss.4:10
32 #, no-wrap
33 msgid "CCISS"
34 msgstr "CCISS"
35
36 #. type: TH
37 #: build/C/man4/cciss.4:10 build/C/man4/console_codes.4:23
38 #: build/C/man4/dsp56k.4:27 build/C/man4/hpsa.4:10 build/C/man4/sk98lin.4:27
39 #, no-wrap
40 msgid "2012-08-05"
41 msgstr "2012-08-05"
42
43 #. type: TH
44 #: build/C/man4/cciss.4:10 build/C/man4/console.4:12
45 #: build/C/man4/console_codes.4:23 build/C/man4/console_ioctl.4:40
46 #: build/C/man5/core.5:25 build/C/man4/cpuid.4:26 build/C/man4/dsp56k.4:27
47 #: build/C/man4/fd.4:28 build/C/man7/fifo.7:13 build/C/man4/full.4:26
48 #: build/C/man3/gnu_get_libc_version.3:26 build/C/man4/hd.4:29
49 #: build/C/man4/hpsa.4:10 build/C/man4/initrd.4:35 build/C/man4/lp.4:27
50 #: build/C/man3/makedev.3:26 build/C/man4/mem.4:26 build/C/man2/mknod.2:15
51 #: build/C/man4/mouse.4:26 build/C/man4/msr.4:26 build/C/man4/null.4:26
52 #: build/C/man7/pipe.7:25 build/C/man4/ram.4:26 build/C/man4/random.4:19
53 #: build/C/man4/sd.4:26 build/C/man4/sk98lin.4:27 build/C/man4/st.4:25
54 #: build/C/man2/syslog.2:33 build/C/man3/syslog.3:36 build/C/man4/ttyS.4:26
55 #: build/C/man7/uri.7:48 build/C/man4/vcs.4:29 build/C/man4/wavelan.4:15
56 #, no-wrap
57 msgid "Linux"
58 msgstr "Linux"
59
60 #. type: TH
61 #: build/C/man4/cciss.4:10 build/C/man4/console.4:12
62 #: build/C/man4/console_codes.4:23 build/C/man4/console_ioctl.4:40
63 #: build/C/man5/core.5:25 build/C/man4/cpuid.4:26 build/C/man4/dsp56k.4:27
64 #: build/C/man4/fd.4:28 build/C/man7/fifo.7:13 build/C/man4/full.4:26
65 #: build/C/man3/gnu_get_libc_version.3:26 build/C/man4/hd.4:29
66 #: build/C/man4/hpsa.4:10 build/C/man4/initrd.4:35 build/C/man4/lp.4:27
67 #: build/C/man3/makedev.3:26 build/C/man4/mem.4:26 build/C/man3/mkfifo.3:28
68 #: build/C/man2/mknod.2:15 build/C/man4/mouse.4:26 build/C/man4/msr.4:26
69 #: build/C/man4/null.4:26 build/C/man7/pipe.7:25 build/C/man4/ram.4:26
70 #: build/C/man4/random.4:19 build/C/man4/sd.4:26 build/C/man3/setlogmask.3:25
71 #: build/C/man4/sk98lin.4:27 build/C/man4/st.4:25 build/C/man3/stdarg.3:43
72 #: build/C/man2/syslog.2:33 build/C/man3/syslog.3:36 build/C/man4/ttyS.4:26
73 #: build/C/man7/uri.7:48 build/C/man4/vcs.4:29 build/C/man4/wavelan.4:15
74 #, no-wrap
75 msgid "Linux Programmer's Manual"
76 msgstr "Linux Programmer's Manual"
77
78 #. type: SH
79 #: build/C/man4/cciss.4:11 build/C/man4/console.4:13
80 #: build/C/man4/console_codes.4:24 build/C/man4/console_ioctl.4:41
81 #: build/C/man5/core.5:26 build/C/man4/cpuid.4:27 build/C/man4/dsp56k.4:28
82 #: build/C/man4/fd.4:29 build/C/man7/fifo.7:14 build/C/man4/full.4:27
83 #: build/C/man3/gnu_get_libc_version.3:27 build/C/man4/hd.4:30
84 #: build/C/man4/hpsa.4:11 build/C/man4/initrd.4:36 build/C/man4/lp.4:28
85 #: build/C/man3/makedev.3:27 build/C/man4/mem.4:27 build/C/man3/mkfifo.3:29
86 #: build/C/man2/mknod.2:16 build/C/man4/mouse.4:27 build/C/man4/msr.4:27
87 #: build/C/man4/null.4:27 build/C/man7/pipe.7:26 build/C/man4/ram.4:27
88 #: build/C/man4/random.4:20 build/C/man4/sd.4:27 build/C/man3/setlogmask.3:26
89 #: build/C/man4/sk98lin.4:28 build/C/man4/st.4:26 build/C/man3/stdarg.3:44
90 #: build/C/man2/syslog.2:34 build/C/man3/syslog.3:37 build/C/man4/ttyS.4:27
91 #: build/C/man7/uri.7:49 build/C/man4/vcs.4:30 build/C/man4/wavelan.4:16
92 #, no-wrap
93 msgid "NAME"
94 msgstr "名前"
95
96 #. type: Plain text
97 #: build/C/man4/cciss.4:13
98 msgid "cciss - HP Smart Array block driver"
99 msgstr ""
100
101 #. type: SH
102 #: build/C/man4/cciss.4:13 build/C/man4/dsp56k.4:30
103 #: build/C/man3/gnu_get_libc_version.3:29 build/C/man4/hpsa.4:13
104 #: build/C/man4/lp.4:30 build/C/man3/makedev.3:29 build/C/man3/mkfifo.3:31
105 #: build/C/man2/mknod.2:18 build/C/man4/random.4:22 build/C/man4/sd.4:29
106 #: build/C/man3/setlogmask.3:28 build/C/man4/sk98lin.4:30 build/C/man4/st.4:28
107 #: build/C/man3/stdarg.3:46 build/C/man2/syslog.2:37 build/C/man3/syslog.3:39
108 #: build/C/man7/uri.7:51 build/C/man4/wavelan.4:18
109 #, no-wrap
110 msgid "SYNOPSIS"
111 msgstr "書式"
112
113 #. type: Plain text
114 #: build/C/man4/cciss.4:16
115 #, no-wrap
116 msgid "modprobe cciss [ cciss_allow_hpsa=1 ]\n"
117 msgstr "modprobe cciss [ cciss_allow_hpsa=1 ]\n"
118
119 #. type: SH
120 #: build/C/man4/cciss.4:17 build/C/man4/console.4:15
121 #: build/C/man4/console_codes.4:26 build/C/man4/console_ioctl.4:43
122 #: build/C/man5/core.5:28 build/C/man4/cpuid.4:29 build/C/man4/dsp56k.4:46
123 #: build/C/man4/fd.4:132 build/C/man7/fifo.7:16 build/C/man4/full.4:39
124 #: build/C/man3/gnu_get_libc_version.3:36 build/C/man4/hd.4:32
125 #: build/C/man4/hpsa.4:17 build/C/man4/initrd.4:71 build/C/man4/lp.4:43
126 #: build/C/man3/makedev.3:39 build/C/man4/mem.4:29 build/C/man3/mkfifo.3:62
127 #: build/C/man2/mknod.2:46 build/C/man4/mouse.4:33 build/C/man4/msr.4:29
128 #: build/C/man4/null.4:29 build/C/man7/pipe.7:28 build/C/man4/ram.4:29
129 #: build/C/man4/random.4:26 build/C/man4/sd.4:71 build/C/man3/setlogmask.3:34
130 #: build/C/man4/sk98lin.4:62 build/C/man4/st.4:37 build/C/man3/stdarg.3:56
131 #: build/C/man2/syslog.2:48 build/C/man3/syslog.3:59 build/C/man4/ttyS.4:29
132 #: build/C/man7/uri.7:71 build/C/man4/vcs.4:32 build/C/man4/wavelan.4:20
133 #, no-wrap
134 msgid "DESCRIPTION"
135 msgstr "説明"
136
137 #. type: Plain text
138 #: build/C/man4/cciss.4:20
139 msgid "B<cciss> is a block driver for older HP Smart Array RAID controllers."
140 msgstr ""
141
142 #. type: SS
143 #: build/C/man4/cciss.4:20 build/C/man4/hpsa.4:20 build/C/man4/initrd.4:180
144 #, no-wrap
145 msgid "Options"
146 msgstr "オプション"
147
148 #. type: Plain text
149 #: build/C/man4/cciss.4:29
150 msgid "I<cciss_allow_hpsa=1>: This option prevents the B<cciss> driver from attempting to drive any controllers that the B<hpsa>(4)  driver is capable of controlling, which is to say, the B<cciss> driver is restricted by this option to the following controllers:"
151 msgstr ""
152
153 #. type: Plain text
154 #: build/C/man4/cciss.4:48
155 #, no-wrap
156 msgid ""
157 "    Smart Array 5300\n"
158 "    Smart Array 5i\n"
159 "    Smart Array 532\n"
160 "    Smart Array 5312\n"
161 "    Smart Array 641\n"
162 "    Smart Array 642\n"
163 "    Smart Array 6400\n"
164 "    Smart Array 6400 EM\n"
165 "    Smart Array 6i\n"
166 "    Smart Array P600\n"
167 "    Smart Array P400i\n"
168 "    Smart Array E200i\n"
169 "    Smart Array E200\n"
170 "    Smart Array E200i\n"
171 "    Smart Array E200i\n"
172 "    Smart Array E200i\n"
173 "    Smart Array E500\n"
174 msgstr ""
175 "    Smart Array 5300\n"
176 "    Smart Array 5i\n"
177 "    Smart Array 532\n"
178 "    Smart Array 5312\n"
179 "    Smart Array 641\n"
180 "    Smart Array 642\n"
181 "    Smart Array 6400\n"
182 "    Smart Array 6400 EM\n"
183 "    Smart Array 6i\n"
184 "    Smart Array P600\n"
185 "    Smart Array P400i\n"
186 "    Smart Array E200i\n"
187 "    Smart Array E200\n"
188 "    Smart Array E200i\n"
189 "    Smart Array E200i\n"
190 "    Smart Array E200i\n"
191 "    Smart Array E500\n"
192
193 #. type: SS
194 #: build/C/man4/cciss.4:49 build/C/man4/hpsa.4:39
195 #, no-wrap
196 msgid "Supported hardware"
197 msgstr "サポートされるハードウェア"
198
199 #. type: Plain text
200 #: build/C/man4/cciss.4:53
201 msgid "The B<cciss> driver supports the following Smart Array boards:"
202 msgstr ""
203
204 #. type: Plain text
205 #: build/C/man4/cciss.4:79
206 #, no-wrap
207 msgid ""
208 "    Smart Array 5300\n"
209 "    Smart Array 5i\n"
210 "    Smart Array 532\n"
211 "    Smart Array 5312\n"
212 "    Smart Array 641\n"
213 "    Smart Array 642\n"
214 "    Smart Array 6400\n"
215 "    Smart Array 6400 U320 Expansion Module\n"
216 "    Smart Array 6i\n"
217 "    Smart Array P600\n"
218 "    Smart Array P800\n"
219 "    Smart Array E400\n"
220 "    Smart Array P400i\n"
221 "    Smart Array E200\n"
222 "    Smart Array E200i\n"
223 "    Smart Array E500\n"
224 "    Smart Array P700m\n"
225 "    Smart Array P212\n"
226 "    Smart Array P410\n"
227 "    Smart Array P410i\n"
228 "    Smart Array P411\n"
229 "    Smart Array P812\n"
230 "    Smart Array P712m\n"
231 "    Smart Array P711m\n"
232 msgstr ""
233 "    Smart Array 5300\n"
234 "    Smart Array 5i\n"
235 "    Smart Array 532\n"
236 "    Smart Array 5312\n"
237 "    Smart Array 641\n"
238 "    Smart Array 642\n"
239 "    Smart Array 6400\n"
240 "    Smart Array 6400 U320 Expansion Module\n"
241 "    Smart Array 6i\n"
242 "    Smart Array P600\n"
243 "    Smart Array P800\n"
244 "    Smart Array E400\n"
245 "    Smart Array P400i\n"
246 "    Smart Array E200\n"
247 "    Smart Array E200i\n"
248 "    Smart Array E500\n"
249 "    Smart Array P700m\n"
250 "    Smart Array P212\n"
251 "    Smart Array P410\n"
252 "    Smart Array P410i\n"
253 "    Smart Array P411\n"
254 "    Smart Array P812\n"
255 "    Smart Array P712m\n"
256 "    Smart Array P711m\n"
257
258 #. type: SS
259 #: build/C/man4/cciss.4:80 build/C/man4/hpsa.4:55
260 #, no-wrap
261 msgid "Configuration details"
262 msgstr "設定の詳細"
263
264 #. type: Plain text
265 #: build/C/man4/cciss.4:89 build/C/man4/hpsa.4:63
266 msgid "To configure HP Smart Array controllers, use the HP Array Configuration Utility (either B<hpacuxe>(8)  or B<hpacucli>(8))  or the Offline ROM-based Configuration Utility (ORCA)  run from the Smart Array's option ROM at boot time."
267 msgstr ""
268 "HP Smart Array コントローラを設定するには、\n"
269 "HP Array Configuration Utility (B<hpacuxe>(8) か B<hpacucli>(8)) または\n"
270 "起動時に Smart Array のオプション ROM から起動される\n"
271 "Offline ROM-based Configuration Utility (ORCA) を使うこと。"
272
273 #. type: SH
274 #: build/C/man4/cciss.4:89 build/C/man4/console.4:91 build/C/man4/dsp56k.4:110
275 #: build/C/man4/fd.4:195 build/C/man4/full.4:59 build/C/man4/hd.4:103
276 #: build/C/man4/hpsa.4:63 build/C/man4/initrd.4:418 build/C/man4/lp.4:126
277 #: build/C/man4/mem.4:88 build/C/man4/mouse.4:180 build/C/man4/null.4:57
278 #: build/C/man4/ram.4:41 build/C/man4/random.4:301 build/C/man4/sd.4:131
279 #: build/C/man4/sk98lin.4:574 build/C/man4/st.4:879 build/C/man4/ttyS.4:46
280 #: build/C/man4/vcs.4:93
281 #, no-wrap
282 msgid "FILES"
283 msgstr "ファイル"
284
285 #. type: SS
286 #: build/C/man4/cciss.4:90 build/C/man4/hpsa.4:64
287 #, no-wrap
288 msgid "Device nodes"
289 msgstr "デバイスノード"
290
291 #. type: Plain text
292 #: build/C/man4/cciss.4:92
293 msgid "The device naming scheme is as follows:"
294 msgstr ""
295
296 #. type: Plain text
297 #: build/C/man4/cciss.4:95
298 #, no-wrap
299 msgid "Major numbers:\n"
300 msgstr ""
301
302 #. type: Plain text
303 #: build/C/man4/cciss.4:104
304 #, no-wrap
305 msgid ""
306 "    104     cciss0\n"
307 "    105     cciss1\n"
308 "    106     cciss2\n"
309 "    105     cciss3\n"
310 "    108     cciss4\n"
311 "    109     cciss5\n"
312 "    110     cciss6\n"
313 "    111     cciss7\n"
314 msgstr ""
315 "    104     cciss0\n"
316 "    105     cciss1\n"
317 "    106     cciss2\n"
318 "    105     cciss3\n"
319 "    108     cciss4\n"
320 "    109     cciss5\n"
321 "    110     cciss6\n"
322 "    111     cciss7\n"
323
324 #. type: Plain text
325 #: build/C/man4/cciss.4:106
326 #, no-wrap
327 msgid "Minor numbers:\n"
328 msgstr ""
329
330 #. type: Plain text
331 #: build/C/man4/cciss.4:113
332 #, no-wrap
333 msgid ""
334 "    b7 b6 b5 b4 b3 b2 b1 b0\n"
335 "    |----+----| |----+----|\n"
336 "         |           |\n"
337 "         |           +-------- Partition ID (0=wholedev, 1-15 partition)\n"
338 "         |\n"
339 "         +-------------------- Logical Volume number\n"
340 msgstr ""
341 "    b7 b6 b5 b4 b3 b2 b1 b0\n"
342 "    |----+----| |----+----|\n"
343 "         |           |\n"
344 "         |           +-------- Partition ID (0=wholedev, 1-15 partition)\n"
345 "         |\n"
346 "         +-------------------- Logical Volume number\n"
347
348 #. type: Plain text
349 #: build/C/man4/cciss.4:115
350 #, no-wrap
351 msgid "The device naming scheme is:\n"
352 msgstr ""
353
354 #. type: Plain text
355 #: build/C/man4/cciss.4:120
356 #, no-wrap
357 msgid ""
358 "    /dev/cciss/c0d0         Controller 0, disk 0, whole device\n"
359 "    /dev/cciss/c0d0p1       Controller 0, disk 0, partition 1\n"
360 "    /dev/cciss/c0d0p2       Controller 0, disk 0, partition 2\n"
361 "    /dev/cciss/c0d0p3       Controller 0, disk 0, partition 3\n"
362 msgstr ""
363 "    /dev/cciss/c0d0         Controller 0, disk 0, whole device\n"
364 "    /dev/cciss/c0d0p1       Controller 0, disk 0, partition 1\n"
365 "    /dev/cciss/c0d0p2       Controller 0, disk 0, partition 2\n"
366 "    /dev/cciss/c0d0p3       Controller 0, disk 0, partition 3\n"
367
368 #. type: Plain text
369 #: build/C/man4/cciss.4:125
370 #, no-wrap
371 msgid ""
372 "    /dev/cciss/c1d1         Controller 1, disk 1, whole device\n"
373 "    /dev/cciss/c1d1p1       Controller 1, disk 1, partition 1\n"
374 "    /dev/cciss/c1d1p2       Controller 1, disk 1, partition 2\n"
375 "    /dev/cciss/c1d1p3       Controller 1, disk 1, partition 3\n"
376 msgstr ""
377 "    /dev/cciss/c1d1         Controller 1, disk 1, whole device\n"
378 "    /dev/cciss/c1d1p1       Controller 1, disk 1, partition 1\n"
379 "    /dev/cciss/c1d1p2       Controller 1, disk 1, partition 2\n"
380 "    /dev/cciss/c1d1p3       Controller 1, disk 1, partition 3\n"
381
382 #. type: SS
383 #: build/C/man4/cciss.4:126
384 #, no-wrap
385 msgid "Files in /proc"
386 msgstr ""
387
388 #. type: Plain text
389 #: build/C/man4/cciss.4:132
390 msgid "The files I</proc/driver/cciss/cciss[0-9]+> contain information about the configuration of each controller.  For example:"
391 msgstr ""
392
393 #. type: Plain text
394 #: build/C/man4/cciss.4:152
395 #, no-wrap
396 msgid ""
397 "    $ B<cd /proc/driver/cciss>\n"
398 "    $ B<ls -l>\n"
399 "    total 0\n"
400 "    -rw-r--r-- 1 root root 0 2010-09-10 10:38 cciss0\n"
401 "    -rw-r--r-- 1 root root 0 2010-09-10 10:38 cciss1\n"
402 "    -rw-r--r-- 1 root root 0 2010-09-10 10:38 cciss2\n"
403 "    $ B<cat cciss2>\n"
404 "    cciss2: HP Smart Array P800 Controller\n"
405 "    Board ID: 0x3223103c\n"
406 "    Firmware Version: 7.14\n"
407 "    IRQ: 16\n"
408 "    Logical drives: 1\n"
409 "    Current Q depth: 0\n"
410 "    Current # commands on controller: 0\n"
411 "    Max Q depth since init: 1\n"
412 "    Max # commands on controller since init: 2\n"
413 "    Max SG entries since init: 32\n"
414 "    Sequential access devices: 0\n"
415 msgstr ""
416 "    $ B<cd /proc/driver/cciss>\n"
417 "    $ B<ls -l>\n"
418 "    total 0\n"
419 "    -rw-r--r-- 1 root root 0 2010-09-10 10:38 cciss0\n"
420 "    -rw-r--r-- 1 root root 0 2010-09-10 10:38 cciss1\n"
421 "    -rw-r--r-- 1 root root 0 2010-09-10 10:38 cciss2\n"
422 "    $ B<cat cciss2>\n"
423 "    cciss2: HP Smart Array P800 Controller\n"
424 "    Board ID: 0x3223103c\n"
425 "    Firmware Version: 7.14\n"
426 "    IRQ: 16\n"
427 "    Logical drives: 1\n"
428 "    Current Q depth: 0\n"
429 "    Current # commands on controller: 0\n"
430 "    Max Q depth since init: 1\n"
431 "    Max # commands on controller since init: 2\n"
432 "    Max SG entries since init: 32\n"
433 "    Sequential access devices: 0\n"
434
435 #. type: Plain text
436 #: build/C/man4/cciss.4:154
437 #, no-wrap
438 msgid "    cciss/c2d0:   36.38GB       RAID 0\n"
439 msgstr "    cciss/c2d0:   36.38GB       RAID 0\n"
440
441 #. type: SS
442 #: build/C/man4/cciss.4:155
443 #, no-wrap
444 msgid "Files in /sys"
445 msgstr ""
446
447 #. type: TP
448 #: build/C/man4/cciss.4:156
449 #, no-wrap
450 msgid "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/model>"
451 msgstr "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/model>"
452
453 #. type: Plain text
454 #: build/C/man4/cciss.4:162
455 msgid "Displays the SCSI INQUIRY page 0 model for logical drive I<Y> of controller I<X>."
456 msgstr ""
457
458 #. type: TP
459 #: build/C/man4/cciss.4:162
460 #, no-wrap
461 msgid "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/rev>"
462 msgstr "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/rev>"
463
464 #. type: Plain text
465 #: build/C/man4/cciss.4:168
466 msgid "Displays the SCSI INQUIRY page 0 revision for logical drive I<Y> of controller I<X>."
467 msgstr ""
468
469 #. type: TP
470 #: build/C/man4/cciss.4:168
471 #, no-wrap
472 msgid "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/unique_id>"
473 msgstr "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/unique_id>"
474
475 #. type: Plain text
476 #: build/C/man4/cciss.4:174
477 msgid "Displays the SCSI INQUIRY page 83 serial number for logical drive I<Y> of controller I<X>."
478 msgstr ""
479
480 #. type: TP
481 #: build/C/man4/cciss.4:174
482 #, no-wrap
483 msgid "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/vendor>"
484 msgstr "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/vendor>"
485
486 #. type: Plain text
487 #: build/C/man4/cciss.4:180
488 msgid "Displays the SCSI INQUIRY page 0 vendor for logical drive I<Y> of controller I<X>."
489 msgstr ""
490
491 #. type: TP
492 #: build/C/man4/cciss.4:180
493 #, no-wrap
494 msgid "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/block:cciss!cXdY>"
495 msgstr "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/block:cciss!cXdY>"
496
497 #. type: Plain text
498 #: build/C/man4/cciss.4:184
499 msgid "A symbolic link to I</sys/block/cciss!cXdY>."
500 msgstr ""
501
502 #. type: TP
503 #: build/C/man4/cciss.4:184
504 #, no-wrap
505 msgid "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/rescan>"
506 msgstr "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/rescan>"
507
508 #. type: Plain text
509 #: build/C/man4/cciss.4:188
510 msgid "When this file is written to, the driver rescans the controller to discover any new, removed, or modified logical drives."
511 msgstr ""
512
513 #. type: TP
514 #: build/C/man4/cciss.4:188
515 #, no-wrap
516 msgid "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/resettable>"
517 msgstr "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/resettable>"
518
519 #. type: Plain text
520 #: build/C/man4/cciss.4:197
521 msgid "A value of 1 displayed in this file indicates that the \"reset_devices=1\" kernel parameter (used by B<kdump>)  is honored by this controller.  A value of 0 indicates that the \"reset_devices=1\" kernel parameter will not be honored.  Some models of Smart Array are not able to honor this parameter."
522 msgstr ""
523
524 #. type: TP
525 #: build/C/man4/cciss.4:197
526 #, no-wrap
527 msgid "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/lunid>"
528 msgstr "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/lunid>"
529
530 #. type: Plain text
531 #: build/C/man4/cciss.4:203
532 msgid "Displays the 8-byte LUN ID used to address logical drive I<Y> of controller I<X>."
533 msgstr ""
534
535 #. type: TP
536 #: build/C/man4/cciss.4:203
537 #, no-wrap
538 msgid "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/raid_level>"
539 msgstr "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/raid_level>"
540
541 #. type: Plain text
542 #: build/C/man4/cciss.4:209
543 msgid "Displays the RAID level of logical drive I<Y> of controller I<X>."
544 msgstr ""
545
546 #. type: TP
547 #: build/C/man4/cciss.4:209
548 #, no-wrap
549 msgid "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/usage_count>"
550 msgstr "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/usage_count>"
551
552 #. type: Plain text
553 #: build/C/man4/cciss.4:215
554 msgid "Displays the usage count (number of opens) of logical drive I<Y> of controller I<X>."
555 msgstr ""
556
557 #. type: SS
558 #: build/C/man4/cciss.4:215
559 #, no-wrap
560 msgid "SCSI tape drive and medium changer support"
561 msgstr ""
562
563 #. type: Plain text
564 #: build/C/man4/cciss.4:226
565 msgid "SCSI sequential access devices and medium changer devices are supported and appropriate device nodes are automatically created (e.g., I</dev/st0>, I</dev/st1>, etc.; see B<st>(4)  for more details.)  You must enable \"SCSI tape drive support for Smart Array 5xxx\" and \"SCSI support\" in your kernel configuration to be able to use SCSI tape drives with your Smart Array 5xxx controller."
566 msgstr ""
567
568 #. type: Plain text
569 #: build/C/man4/cciss.4:244
570 msgid "Additionally, note that the driver will not engage the SCSI core at init time.  The driver must be directed to dynamically engage the SCSI core via the I</proc> filesystem entry, which the \"block\" side of the driver creates as I</proc/driver/cciss/cciss*> at run time.  This is because at driver init time, the SCSI core may not yet be initialized (because the driver is a block driver) and attempting to register it with the SCSI core in such a case would cause a hang.  This is best done via an initialization script (typically in I</etc/init.d>, but could vary depending on distribution).  For example:"
571 msgstr ""
572
573 #. type: Plain text
574 #: build/C/man4/cciss.4:250
575 #, no-wrap
576 msgid ""
577 "    for x in /proc/driver/cciss/cciss[0-9]*\n"
578 "    do\n"
579 "        echo \"engage scsi\" E<gt> $x\n"
580 "    done\n"
581 msgstr ""
582 "    for x in /proc/driver/cciss/cciss[0-9]*\n"
583 "    do\n"
584 "        echo \"engage scsi\" E<gt> $x\n"
585 "    done\n"
586
587 #. type: Plain text
588 #: build/C/man4/cciss.4:254
589 msgid "Once the SCSI core is engaged by the driver, it cannot be disengaged (except by unloading the driver, if it happens to be linked as a module.)"
590 msgstr ""
591
592 #. type: Plain text
593 #: build/C/man4/cciss.4:258
594 msgid "Note also that if no sequential access devices or medium changers are detected, the SCSI core will not be engaged by the action of the above script."
595 msgstr ""
596
597 #. type: SS
598 #: build/C/man4/cciss.4:258
599 #, no-wrap
600 msgid "Hot plug support for SCSI tape drives"
601 msgstr ""
602
603 #. type: Plain text
604 #: build/C/man4/cciss.4:268
605 msgid "Hot plugging of SCSI tape drives is supported, with some caveats.  The B<cciss> driver must be informed that changes to the SCSI bus have been made.  This may be done via the I</proc> filesystem.  For example:"
606 msgstr ""
607
608 #. type: Plain text
609 #: build/C/man4/cciss.4:270
610 #, no-wrap
611 msgid "    echo \"rescan\" E<gt> /proc/scsi/cciss0/1\n"
612 msgstr "    echo \"rescan\" E<gt> /proc/scsi/cciss0/1\n"
613
614 #. type: Plain text
615 #: build/C/man4/cciss.4:272
616 msgid "This causes the driver to:"
617 msgstr ""
618
619 #. type: IP
620 #: build/C/man4/cciss.4:273 build/C/man4/initrd.4:97 build/C/man4/initrd.4:323
621 #: build/C/man4/initrd.4:430 build/C/man4/st.4:892 build/C/man7/uri.7:532
622 #, no-wrap
623 msgid "1."
624 msgstr "1."
625
626 #. type: Plain text
627 #: build/C/man4/cciss.4:276
628 msgid "query the adapter about changes to the physical SCSI buses and/or fibre channel arbitrated loop, and"
629 msgstr ""
630
631 #. type: IP
632 #: build/C/man4/cciss.4:276 build/C/man4/initrd.4:101
633 #: build/C/man4/initrd.4:331 build/C/man4/initrd.4:441 build/C/man4/st.4:912
634 #: build/C/man7/uri.7:536
635 #, no-wrap
636 msgid "2."
637 msgstr "2."
638
639 #. type: Plain text
640 #: build/C/man4/cciss.4:279
641 msgid "make note of any new or removed sequential access devices or medium changers."
642 msgstr ""
643
644 #. type: Plain text
645 #: build/C/man4/cciss.4:286
646 msgid "The driver will output messages indicating which devices have been added or removed and the controller, bus, target, and lun used to address each device.  The driver then notifies the SCSI midlayer of these changes."
647 msgstr ""
648
649 #. type: Plain text
650 #: build/C/man4/cciss.4:293
651 msgid "Note that the naming convention of the I</proc> filesystem entries contains a number in addition to the driver name (e.g., \"cciss0\" instead of just \"cciss\", which you might expect)."
652 msgstr ""
653
654 #. type: Plain text
655 #: build/C/man4/cciss.4:311
656 msgid "Note: I<Only> sequential access devices and medium changers are presented as SCSI devices to the SCSI midlayer by the B<cciss> driver.  Specifically, physical SCSI disk drives are I<not> presented to the SCSI midlayer.  The only disk devices that are presented to the kernel are logical drives that the array controller constructs from regions on the physical drives.  The logical drives are presented to the block layer (not to the SCSI midlayer).  It is important for the driver to prevent the kernel from accessing the physical drives directly, since these drives are used by the array controller to construct the logical drives."
657 msgstr ""
658
659 #. type: SS
660 #: build/C/man4/cciss.4:311
661 #, no-wrap
662 msgid "SCSI error handling for tape drives and medium changers"
663 msgstr ""
664
665 #. type: Plain text
666 #: build/C/man4/cciss.4:319
667 msgid "The Linux SCSI midlayer provides an error-handling protocol that is initiated whenever a SCSI command fails to complete within a certain amount of time (which can vary depending on the command).  The B<cciss> driver participates in this protocol to some extent.  The normal protocol is a four-step process:"
668 msgstr ""
669
670 #. type: IP
671 #: build/C/man4/cciss.4:319 build/C/man4/cciss.4:321 build/C/man4/cciss.4:323
672 #: build/C/man4/cciss.4:325 build/C/man5/core.5:49 build/C/man5/core.5:66
673 #: build/C/man5/core.5:70 build/C/man5/core.5:74 build/C/man5/core.5:77
674 #: build/C/man5/core.5:90 build/C/man5/core.5:93 build/C/man5/core.5:106
675 #: build/C/man5/core.5:223 build/C/man5/core.5:227 build/C/man5/core.5:230
676 #: build/C/man5/core.5:234
677 #, no-wrap
678 msgid "*"
679 msgstr "*"
680
681 #. type: Plain text
682 #: build/C/man4/cciss.4:321
683 msgid "First, the device is told to abort the command."
684 msgstr ""
685
686 #. type: Plain text
687 #: build/C/man4/cciss.4:323
688 msgid "If that doesn't work, the device is reset."
689 msgstr ""
690
691 #. type: Plain text
692 #: build/C/man4/cciss.4:325
693 msgid "If that doesn't work, the SCSI bus is reset."
694 msgstr ""
695
696 #. type: Plain text
697 #: build/C/man4/cciss.4:327
698 msgid "If that doesn't work, the host bus adapter is reset."
699 msgstr ""
700
701 #. type: Plain text
702 #: build/C/man4/cciss.4:345
703 msgid "The B<cciss> driver is a block driver as well as a SCSI driver and only the tape drives and medium changers are presented to the SCSI midlayer.  Furthermore, unlike more straightforward SCSI drivers, disk I/O continues through the block side during the SCSI error-recovery process.  Therefore, the B<cciss> driver implements only the first two of these actions, aborting the command, and resetting the device.  Note also that most tape drives will not oblige in aborting commands, and sometimes it appears they will not even obey a reset command, though in most circumstances they will.  If the command cannot be aborted and the device cannot be reset, the device will be set offline."
704 msgstr ""
705
706 #. type: Plain text
707 #: build/C/man4/cciss.4:353
708 msgid "In the event that the error-handling code is triggered and a tape drive is successfully reset or the tardy command is successfully aborted, the tape drive may still not allow I/O to continue until some command is issued that positions the tape to a known position.  Typically you must rewind the tape (by issuing I<mt -f /dev/st0 rewind> for example) before I/O can proceed again to a tape drive that was reset."
709 msgstr ""
710
711 #. type: SH
712 #: build/C/man4/cciss.4:353 build/C/man4/console.4:95
713 #: build/C/man4/console_codes.4:642 build/C/man4/console_ioctl.4:846
714 #: build/C/man5/core.5:429 build/C/man4/cpuid.4:89 build/C/man4/dsp56k.4:115
715 #: build/C/man4/fd.4:214 build/C/man7/fifo.7:65 build/C/man4/full.4:61
716 #: build/C/man3/gnu_get_libc_version.3:76 build/C/man4/hd.4:105
717 #: build/C/man4/hpsa.4:179 build/C/man4/initrd.4:474 build/C/man4/lp.4:135
718 #: build/C/man3/makedev.3:80 build/C/man4/mem.4:94 build/C/man3/mkfifo.3:197
719 #: build/C/man2/mknod.2:284 build/C/man4/mouse.4:184 build/C/man4/msr.4:55
720 #: build/C/man4/null.4:64 build/C/man7/pipe.7:243 build/C/man4/ram.4:43
721 #: build/C/man4/random.4:308 build/C/man3/setlogmask.3:78
722 #: build/C/man4/sk98lin.4:598 build/C/man4/st.4:954 build/C/man2/syslog.2:388
723 #: build/C/man3/syslog.3:315 build/C/man4/ttyS.4:48 build/C/man7/uri.7:706
724 #: build/C/man4/vcs.4:173 build/C/man4/wavelan.4:138
725 #, no-wrap
726 msgid "SEE ALSO"
727 msgstr "関連項目"
728
729 #. type: Plain text
730 #: build/C/man4/cciss.4:358
731 msgid "B<cciss_vol_status>(8), B<hpsa>(4), B<hpacucli>(8), B<hpacuxe>(8),"
732 msgstr ""
733
734 #.  .SH AUTHORS
735 #.  Don Brace, Steve Cameron, Chase Maupin, Mike Miller, Michael Ni,
736 #.  Charles White, Francis Wiran
737 #.  and probably some other people.
738 #. type: Plain text
739 #: build/C/man4/cciss.4:370
740 msgid "E<.UR http://cciss.sf.net> E<.UE ,> and I<Documentation/blockdev/cciss.txt> and I<Documentation/ABI/testing/sysfs-bus-pci-devices-cciss> in the Linux kernel source tree"
741 msgstr ""
742
743 #. type: SH
744 #: build/C/man4/cciss.4:370 build/C/man4/console.4:112
745 #: build/C/man4/console_codes.4:646 build/C/man4/console_ioctl.4:873
746 #: build/C/man5/core.5:440 build/C/man4/cpuid.4:96 build/C/man4/dsp56k.4:121
747 #: build/C/man4/fd.4:222 build/C/man7/fifo.7:74 build/C/man4/full.4:65
748 #: build/C/man3/gnu_get_libc_version.3:78 build/C/man4/hd.4:110
749 #: build/C/man4/hpsa.4:197 build/C/man4/initrd.4:484 build/C/man4/lp.4:141
750 #: build/C/man3/makedev.3:83 build/C/man4/mem.4:98 build/C/man3/mkfifo.3:206
751 #: build/C/man2/mknod.2:297 build/C/man4/mouse.4:187 build/C/man4/msr.4:59
752 #: build/C/man4/null.4:68 build/C/man7/pipe.7:255 build/C/man4/ram.4:47
753 #: build/C/man4/random.4:312 build/C/man4/sd.4:137
754 #: build/C/man3/setlogmask.3:82 build/C/man4/sk98lin.4:602
755 #: build/C/man4/st.4:964 build/C/man3/stdarg.3:338 build/C/man2/syslog.2:391
756 #: build/C/man3/syslog.3:320 build/C/man4/ttyS.4:55 build/C/man7/uri.7:715
757 #: build/C/man4/vcs.4:178 build/C/man4/wavelan.4:145
758 #, no-wrap
759 msgid "COLOPHON"
760 msgstr "この文書について"
761
762 #. type: Plain text
763 #: build/C/man4/cciss.4:378 build/C/man4/console.4:120
764 #: build/C/man4/console_codes.4:654 build/C/man4/console_ioctl.4:881
765 #: build/C/man5/core.5:448 build/C/man4/cpuid.4:104 build/C/man4/dsp56k.4:129
766 #: build/C/man4/fd.4:230 build/C/man7/fifo.7:82 build/C/man4/full.4:73
767 #: build/C/man3/gnu_get_libc_version.3:86 build/C/man4/hd.4:118
768 #: build/C/man4/hpsa.4:205 build/C/man4/initrd.4:492 build/C/man4/lp.4:149
769 #: build/C/man3/makedev.3:91 build/C/man4/mem.4:106 build/C/man3/mkfifo.3:214
770 #: build/C/man2/mknod.2:305 build/C/man4/mouse.4:195 build/C/man4/msr.4:67
771 #: build/C/man4/null.4:76 build/C/man7/pipe.7:263 build/C/man4/ram.4:55
772 #: build/C/man4/random.4:320 build/C/man4/sd.4:145
773 #: build/C/man3/setlogmask.3:90 build/C/man4/sk98lin.4:610
774 #: build/C/man4/st.4:972 build/C/man3/stdarg.3:346 build/C/man2/syslog.2:399
775 #: build/C/man3/syslog.3:328 build/C/man4/ttyS.4:63 build/C/man7/uri.7:723
776 #: build/C/man4/vcs.4:186 build/C/man4/wavelan.4:153
777 msgid "This page is part of release 3.78 of the Linux I<man-pages> project.  A description of the project, information about reporting bugs, and the latest version of this page, can be found at \\%http://www.kernel.org/doc/man-pages/."
778 msgstr ""
779 "この man ページは Linux I<man-pages> プロジェクトのリリース 3.78 の一部\n"
780 "である。プロジェクトの説明とバグ報告に関する情報は\n"
781 "http://www.kernel.org/doc/man-pages/ に書かれている。"
782
783 #. type: TH
784 #: build/C/man4/console.4:12
785 #, no-wrap
786 msgid "CONSOLE"
787 msgstr "CONSOLE"
788
789 #. type: TH
790 #: build/C/man4/console.4:12
791 #, no-wrap
792 msgid "1994-10-31"
793 msgstr "1994-10-31"
794
795 #. type: Plain text
796 #: build/C/man4/console.4:15
797 msgid "console - console terminal and virtual consoles"
798 msgstr "console - コンソール端末 (console terminal) と仮想コンソール (virtual console)"
799
800 #. type: Plain text
801 #: build/C/man4/console.4:37
802 msgid "A Linux system has up to 63 I<virtual consoles> (character devices with major number 4 and minor number 1 to 63), usually called I</dev/ttyn> with 1 \\(E<lt>= I<n> \\(E<lt>= 63.  The current console is also addressed by I</dev/console> or I</dev/tty0>, the character device with major number 4 and minor number 0.  The device files I</dev/*> are usually created using the script MAKEDEV, or using B<mknod>(1), usually with mode 0622 and owner I<root.tty>."
803 msgstr "Linux システムは普通、I</dev/ttyn> (n は 1 \\(E<lt>= I<n> \\(E<lt>= 63) と呼ばれるI<仮想コンソール> (メジャーナンバー (major number)  4 マイナーナンバー (minor number) 1 から 63 のキャラクターデバイス (character device)) を持つ。 現在のコンソールは I</dev/console> または I</dev/tty0> (メジャー ナンバー 4 マイナーナンバー 0 のキャラクターデバイス) によっても扱える。 デバイスファイル (device file) I</dev/*> は普通 MAKEDEV スクリプトまたは B<mknod>(1)  を使ってモード 0622、所有者 I<root.tty> として作成される。"
804
805 #. type: Plain text
806 #: build/C/man4/console.4:45
807 msgid "Before kernel version 1.1.54 the number of virtual consoles was compiled into the kernel (in I<tty.h>: #define NR_CONSOLES 8)  and could be changed by editing and recompiling.  Since version 1.1.54 virtual consoles are created on the fly, as soon as they are needed."
808 msgstr "カーネル (kernel) バージョン 1.1.54 以前は、仮想コンソールの数はコンパイル時に (I<tty.h> 中の : #define NR_CONSOLES 8 によって) カーネルに埋め込まれていた。 そして、それを変更してコンパイルし直すことで仮想コンソールの数を変更できた。 カーネルバージョン 1.1.54 以降では仮想コンソールが必要とされる時は すぐに動作中に作成される。"
809
810 #. type: Plain text
811 #: build/C/man4/console.4:63
812 msgid "Common ways to start a process on a console are: (a) tell B<init>(1)  (in B<inittab>(5))  to start a B<mingetty>(8)  (or B<agetty>(8))  on the console; (b) ask B<openvt>(1)  to start a process on the console; (c) start X\\(emit will find the first unused console, and display its output there.  (There is also the ancient B<doshell>(8).)"
813 msgstr "コンソール上でプロセスを開始する一般的な方法は: (a) コンソール上で B<mingetty>(8)  (または B<agetty>(8))  をスタートさせることを (B<inittab>(5)  の中で)  B<init>(1)  に伝える。 (b) コンソール上でプロセスをスタートすることを B<openvt>(1)  に頼む。 (c) X を開始する - X は使われていないコンソールのうち最初のものを見付け、 そこに表示を出力する。(昔ながらの B<doshell>(8)  もある。)"
814
815 #. type: Plain text
816 #: build/C/man4/console.4:76
817 msgid "Common ways to switch consoles are: (a) use Alt+FI<n> or Ctrl+Alt+FI<n> to switch to console I<n>; AltGr+FI<n> might bring you to console I<n>+12 [here Alt and AltGr refer to the left and right Alt keys, respectively]; (b) use Alt+RightArrow or Alt+LeftArrow to cycle through the presently allocated consoles; (c) use the program B<chvt>(1).  (The key mapping is user settable, see B<loadkeys>(1); the above mentioned key combinations are according to the default settings.)"
818 msgstr "コンソールを切り替える一般的な方法は: (a)コンソール I<n> に切り替える ために Alt+FI<n> または Ctrl+Alt+FI<n> を使う。 AltGr+FI<n> を使うと、おそらくコンソール I<n>+12 に切り替わる [ここでの Alt と AltGr はそれぞれ左右の Alt キーを示す]。 (b) 現在割り当てられているコンソールを循環するために Alt + 右矢印キー または Alt + 左矢印キーを使う。(c)  B<chvt>(1)  プログラムを使う (キーマッピングはユーザーがセットできる、 B<loadkeys>(1)  を見よ。 上で述べたキーバインドはデフォルトの設定によるものである)。"
819
820 #. type: Plain text
821 #: build/C/man4/console.4:83
822 msgid "The command B<deallocvt>(1)  (formerly B<disalloc>)  will free the memory taken by the screen buffers for consoles that no longer have any associated process."
823 msgstr "B<deallocvt>(1)  コマンド(以前は B<disalloc> という名前だった)は、 プロセスに結びつけられていないコンソールの スクリーンバッファー (screen buffer) のために使われているメモリを解放する。"
824
825 #. type: SS
826 #: build/C/man4/console.4:83
827 #, no-wrap
828 msgid "Properties"
829 msgstr "特性"
830
831 #. type: Plain text
832 #: build/C/man4/console.4:91
833 msgid "Consoles carry a lot of state.  I hope to document that some other time.  The most important fact is that the consoles simulate vt100 terminals.  In particular, a console is reset to the initial state by printing the two characters ESC c.  All escape sequences can be found in B<console_codes>(4)."
834 msgstr "コンソールは多くの状態をもっている。 私は、それについていつかドキュメントにしたいと考えている。 もっとも重要な事実はコンソールは vt100 端末を真似ている (シミュレートしている) ということである。 コンソールは ESC c という二つの文字を印字する事によって、 初期状態にリセットされる。 エスケープシーケンス (escape sequences) については B<console_codes>(4)  で全て説明してある。"
835
836 #. type: Plain text
837 #: build/C/man4/console.4:93
838 msgid "I</dev/console>"
839 msgstr "I</dev/console>"
840
841 #. type: Plain text
842 #: build/C/man4/console.4:95
843 msgid "I</dev/tty*>"
844 msgstr "I</dev/tty*>"
845
846 #. type: Plain text
847 #: build/C/man4/console.4:112
848 msgid "B<chvt>(1), B<deallocvt>(1), B<init>(1), B<loadkeys>(1), B<mknod>(1), B<openvt>(1), B<console_codes>(4), B<console_ioctl>(4), B<tty>(4), B<ttyS>(4), B<charsets>(7), B<agetty>(8), B<mapscrn>(8), B<mingetty>(8), B<resizecons>(8), B<setfont>(8)"
849 msgstr "B<chvt>(1), B<deallocvt>(1), B<init>(1), B<loadkeys>(1), B<mknod>(1), B<openvt>(1), B<console_codes>(4), B<console_ioctl>(4), B<tty>(4), B<ttyS>(4), B<charsets>(7), B<agetty>(8), B<mapscrn>(8), B<mingetty>(8), B<resizecons>(8), B<setfont>(8)"
850
851 #. type: TH
852 #: build/C/man4/console_codes.4:23
853 #, no-wrap
854 msgid "CONSOLE_CODES"
855 msgstr "CONSOLE_CODES"
856
857 #. type: Plain text
858 #: build/C/man4/console_codes.4:26
859 msgid "console_codes - Linux console escape and control sequences"
860 msgstr "console_codes - Linux コンソールのエスケープシーケンスとコントロール シーケンス"
861
862 #. type: Plain text
863 #: build/C/man4/console_codes.4:33
864 msgid "The Linux console implements a large subset of the VT102 and ECMA-48/ISO 6429/ANSI X3.64 terminal controls, plus certain private-mode sequences for changing the color palette, character-set mapping, and so on.  In the tabular descriptions below, the second column gives ECMA-48 or DEC mnemonics (the latter if prefixed with DEC) for the given function.  Sequences without a mnemonic are neither ECMA-48 nor VT102."
865 msgstr "Linux コンソールは VT102 と ECMA-48/ISO6429/ANSI X3.64 端末コンソールの サブセットに、カラーパレットや文字集合のマッピングなどを変更する プライベートモードシーケンスを加えて実装されている。 以下の表では、機能の ECMA-48 または DEC のニーモニクス(DECで始まれば後者)を 2 番目の桁に記す。 ニーモニクスのないものは ECMA-48 でも VT102 でもないものである。"
866
867 #. type: Plain text
868 #: build/C/man4/console_codes.4:38
869 msgid "After all the normal output processing has been done, and a stream of characters arrives at the console driver for actual printing, the first thing that happens is a translation from the code used for processing to the code used for printing."
870 msgstr "すべての出力作業が終って、実際に印字するために文字のストリームが コンソールドライバーに届いた時、最初に行なわれるのが、処理用コードから 印字用のコードへの変換である。"
871
872 #. type: Plain text
873 #: build/C/man4/console_codes.4:44
874 msgid "If the console is in UTF-8 mode, then the incoming bytes are first assembled into 16-bit Unicode codes.  Otherwise, each byte is transformed according to the current mapping table (which translates it to a Unicode value).  See the B<Character Sets> section below for discussion."
875 msgstr "もし、コンソールが UTF-8 モードなら、入って来たバイト(byte)は 16 ビットの Unicode に組み立てられる。そうでなければ、それぞれの バイトは現在の(各バイトを Unicode の値に変換する)マッピングテーブルに 従って変換される。これに関しては下のキャラクターセット(Charcter Sets)  節を参照のこと。"
876
877 #. type: Plain text
878 #: build/C/man4/console_codes.4:50
879 msgid "In the normal case, the Unicode value is converted to a font index, and this is stored in video memory, so that the corresponding glyph (as found in video ROM) appears on the screen.  Note that the use of Unicode (and the design of the PC hardware)  allows us to use 512 different glyphs simultaneously."
880 msgstr "通常、Unicode の値はフォントインデックス(font index) に変換され、 ビデオメモリに蓄えられる。そして(ビデオ ROM 中に見付けられる)  対応するグリフ(glyph)が画面に現れる。 Unicode を用いると、(PC 互換機の設計では) 512 の異なった グリフを同時に利用できるようになる。"
881
882 #. type: Plain text
883 #: build/C/man4/console_codes.4:57
884 msgid "If the current Unicode value is a control character, or we are currently processing an escape sequence, the value will treated specially.  Instead of being turned into a font index and rendered as a glyph, it may trigger cursor movement or other control functions.  See the B<Linux Console Controls> section below for discussion."
885 msgstr "現在の Unicode の値がコントロール文字であるかエスケープシーケンスを 処理している時には、その値は特別に扱われる。 フォントのインデックスに変換されてグリフとして表示される代わりに、カーソルの 移動やその他のコントロール機能を実行させる。 詳しいことは、後述の「LINUX コンソールコントロール」のセクションを参照のこと。"
886
887 #. type: Plain text
888 #: build/C/man4/console_codes.4:69
889 msgid "It is generally not good practice to hard-wire terminal controls into programs.  Linux supports a B<terminfo>(5)  database of terminal capabilities.  Rather than emitting console escape sequences by hand, you will almost always want to use a terminfo-aware screen library or utility such as B<ncurses>(3), B<tput>(1), or B<reset>(1)."
890 msgstr "一般に端末コントロールコードをプログラム中に直接記述するのは 良いことではない。 Linuxでは、端末において実現可能な操作のデータベースである B<terminfo>(5)  をサポートしている。 コンソールエスケープシーケンスをわざわざ入力するよりも、ほとんどの場合 terminfo の情報を参照する B<ncurses>(3), B<tput>(1), や B<reset>(1)  などのスクリーンライブラリやユーティリティーを使いたいと思うであろう。"
891
892 #. type: SS
893 #: build/C/man4/console_codes.4:69
894 #, no-wrap
895 msgid "Linux console controls"
896 msgstr "Linux コンソールコントロール"
897
898 #. type: Plain text
899 #: build/C/man4/console_codes.4:73
900 msgid "This section describes all the control characters and escape sequences that invoke special functions (i.e., anything other than writing a glyph at the current cursor location) on the Linux console."
901 msgstr "この章では Linux コンソールにおいて特殊な機能(つまり、現在のカーソル位置に 文字のイメージを印字する以外のこと)を起こさせる全てのコントロール文字と エスケープシーケンスについて述べる。"
902
903 #. type: Plain text
904 #: build/C/man4/console_codes.4:75
905 msgid "B<Control characters>"
906 msgstr "B<コントロール文字>"
907
908 #. type: Plain text
909 #: build/C/man4/console_codes.4:86
910 msgid "A character is a control character if (before transformation according to the mapping table) it has one of the 14 codes 00 (NUL), 07 (BEL), 08 (BS), 09 (HT), 0a (LF), 0b (VT), 0c (FF), 0d (CR), 0e (SO), 0f (SI), 18 (CAN), 1a (SUB), 1b (ESC), 7f (DEL).  One can set a \"display control characters\" mode (see below), and allow 07, 09, 0b, 18, 1a, 7f to be displayed as glyphs.  On the other hand, in UTF-8 mode all codes 00-1f are regarded as control characters, regardless of any \"display control characters\" mode."
911 msgstr "コントロール文字とは、(マッピングテーブルによる変換前のコードが)  00 (NUL), 07 (BEL), 08 (BS), 09 (HT), 0a (LF), 0b (VT), 0c (FF), 0d (CR), 0e (SO), 0f (SI), 18 (CAN), 1a (SUB), 1b (ESC), 7f (DEL) の 14 のコードのうちのどれかである文字である。 \"コントロール文字表示(display control characters)\"モード(後述)を 設定すると、07, 09, 0b, 18, 1a, 7f をグリフとして表示することができる。 一方、 UTF-8 モードでは、00-1f の全てのコードは、コントロール文字表示 モードが指定された場合でもコントロール文字として扱われる。"
912
913 #. type: Plain text
914 #: build/C/man4/console_codes.4:95
915 msgid "If we have a control character, it is acted upon immediately and then discarded (even in the middle of an escape sequence)  and the escape sequence continues with the next character.  (However, ESC starts a new escape sequence, possibly aborting a previous unfinished one, and CAN and SUB abort any escape sequence.)  The recognized control characters are BEL, BS, HT, LF, VT, FF, CR, SO, SI, CAN, SUB, ESC, DEL, CSI.  They do what one would expect:"
916 msgstr "コントロール文字がある時には、それはすぐに(たとえエスケープシーケンスの 途中でも)実行され、破棄される。エスケープシーケンスは次の文字から続けられる (しかし、ESC は新しいエスケープシーケンスを始めるので、 前の終了していないエスケープシーケンスが中止される可能性がある。 さらに、CAN と SUB はどんなエスケープシーケンスも中止する)。 認められているコントロール文字は、BEL, BS, HT, LF, VT, FF, CR, SO, SI, CAN, SUB, ESC, DEL, CSI である。これらは期待どおりの動作をする:"
917
918 #. type: Plain text
919 #: build/C/man4/console_codes.4:97
920 msgid "BEL (0x07, B<^G>) beeps;"
921 msgstr "BEL (0x07, B<^G>) はビープ音を鳴らす;"
922
923 #. type: Plain text
924 #: build/C/man4/console_codes.4:100
925 msgid "BS (0x08, B<^H>) backspaces one column (but not past the beginning of the line);"
926 msgstr "BS (0x08, B<^H>) はバックスペース (ただし、行頭は越えない);"
927
928 #. type: Plain text
929 #: build/C/man4/console_codes.4:103
930 msgid "HT (0x09, B<^I>) goes to the next tab stop or to the end of the line if there is no earlier tab stop;"
931 msgstr "HT (0x09, B<^I>) は次のタブストップ(tab stop)へ移動する、そこから行末までに タブストップが無い場合は行の終りに移動する;"
932
933 #. type: Plain text
934 #: build/C/man4/console_codes.4:107
935 msgid "LF (0x0A, B<^J>), VT (0x0B, B<^K>) and FF (0x0C, B<^L>) all give a linefeed, and if LF/NL (new-line mode) is set also a carriage return;"
936 msgstr "LF (0x0A, B<^J>), VT (0x0B, B<^K>), FF (0x0C, B<^L>) これらは全て ラインフィード(linefeed)を与える; LF/NL (ニューラインモード(new line mode))がセットされていれば キャリッジリターンもアクティブにする;"
937
938 #. type: Plain text
939 #: build/C/man4/console_codes.4:109
940 msgid "CR (0x0D, B<^M>) gives a carriage return;"
941 msgstr "CR (0x0D, B<^M>) はキャリッジリターンを与える;"
942
943 #. type: Plain text
944 #: build/C/man4/console_codes.4:111
945 msgid "SO (0x0E, B<^N>) activates the G1 character set;"
946 msgstr "SO (0x0E, B<^N>) は G1 文字集合をアクティブにする。"
947
948 #. type: Plain text
949 #: build/C/man4/console_codes.4:113
950 msgid "SI (0x0F, B<^O>) activates the G0 character set;"
951 msgstr "SI (0x0F, B<^O>) は G0 文字集合をアクティブにする;"
952
953 #. type: Plain text
954 #: build/C/man4/console_codes.4:115
955 msgid "CAN (0x18, B<^X>) and SUB (0x1A, B<^Z>) interrupt escape sequences;"
956 msgstr "CAN (0x18, B<^X>) と SUB (0x1A, B<^Z>) はエスケープシーケンスを中断する;"
957
958 #. type: Plain text
959 #: build/C/man4/console_codes.4:117
960 msgid "ESC (0x1B, B<^[>) starts an escape sequence;"
961 msgstr "ESC (0x1B, B<^[>) はエスケープシーケンスを始める。"
962
963 #. type: Plain text
964 #: build/C/man4/console_codes.4:119
965 msgid "DEL (0x7F) is ignored;"
966 msgstr "DEL (0x7F) は無視される;"
967
968 #. type: Plain text
969 #: build/C/man4/console_codes.4:121
970 msgid "CSI (0x9B) is equivalent to ESC [."
971 msgstr "CSI (0x9B) は ESC [ と等価。"
972
973 #. type: Plain text
974 #: build/C/man4/console_codes.4:123
975 msgid "B<ESC- but not CSI-sequences>"
976 msgstr "B<エスケープシーケンスであるが CSI シーケンスでないもの>"
977
978 #. type: tbl table
979 #: build/C/man4/console_codes.4:125
980 #, no-wrap
981 msgid "ESC c\tRIS\tReset.\n"
982 msgstr "ESC c\tRIS\tリセット。\n"
983
984 #. type: tbl table
985 #: build/C/man4/console_codes.4:126
986 #, no-wrap
987 msgid "ESC D\tIND\tLinefeed.\n"
988 msgstr "ESC D\tIND\tラインフィード。\n"
989
990 #. type: tbl table
991 #: build/C/man4/console_codes.4:127
992 #, no-wrap
993 msgid "ESC E\tNEL\tNewline.\n"
994 msgstr "ESC E\tNEL\tニューライン。\n"
995
996 #. type: tbl table
997 #: build/C/man4/console_codes.4:128
998 #, no-wrap
999 msgid "ESC H\tHTS\tSet tab stop at current column.\n"
1000 msgstr "ESC H\tHTS\t現在の桁の位置にタブストップを設定する。\n"
1001
1002 #. type: tbl table
1003 #: build/C/man4/console_codes.4:129
1004 #, no-wrap
1005 msgid "ESC M\tRI\tReverse linefeed.\n"
1006 msgstr "ESC M\tRI\t逆ラインフィード\n"
1007
1008 #. type: tbl table
1009 #: build/C/man4/console_codes.4:130
1010 #, no-wrap
1011 msgid "ESC Z\tDECID\tT{\n"
1012 msgstr "ESC Z\tDECID\tT{\n"
1013
1014 #. type: tbl table
1015 #: build/C/man4/console_codes.4:131
1016 #, no-wrap
1017 msgid "DEC private identification. The kernel\n"
1018 msgstr "DEC固有の識別用。\n"
1019
1020 #. type: tbl table
1021 #: build/C/man4/console_codes.4:132
1022 #, no-wrap
1023 msgid "returns the string  ESC [ ? 6 c, claiming\n"
1024 msgstr "カーネルは文字列 ESC [ ? 6 c を返す。\n"
1025
1026 #. type: tbl table
1027 #: build/C/man4/console_codes.4:133
1028 #, no-wrap
1029 msgid "that it is a VT102.\n"
1030 msgstr "これは端末がVT102であることを意味する。\n"
1031
1032 #. type: tbl table
1033 #: build/C/man4/console_codes.4:134 build/C/man4/console_codes.4:138
1034 #: build/C/man4/console_codes.4:163 build/C/man4/console_codes.4:243
1035 #: build/C/man4/console_codes.4:249 build/C/man4/console_codes.4:253
1036 #: build/C/man4/console_codes.4:260
1037 #, no-wrap
1038 msgid "T}\n"
1039 msgstr "T}\n"
1040
1041 #. type: tbl table
1042 #: build/C/man4/console_codes.4:135
1043 #, no-wrap
1044 msgid "ESC 7\tDECSC\tT{\n"
1045 msgstr "ESC 7\tDECSC\tT{\n"
1046
1047 #. type: tbl table
1048 #: build/C/man4/console_codes.4:136
1049 #, no-wrap
1050 msgid "Save current state (cursor coordinates,\n"
1051 msgstr "現在の状態 (カーソルの座標、属性、G0, G1 で示している\n"
1052
1053 #. type: tbl table
1054 #: build/C/man4/console_codes.4:137
1055 #, no-wrap
1056 msgid "attributes, character sets pointed at by G0, G1).\n"
1057 msgstr "文字集合) をセーブする。\n"
1058
1059 #. type: tbl table
1060 #: build/C/man4/console_codes.4:139
1061 #, no-wrap
1062 msgid "ESC 8\tDECRC\tRestore state most recently saved by ESC 7.\n"
1063 msgstr "ESC 8\tDECRC\t最後に ESC 7 でセーブした状態を復帰させる。\n"
1064
1065 #. type: tbl table
1066 #: build/C/man4/console_codes.4:140
1067 #, no-wrap
1068 msgid "ESC [\tCSI\tControl sequence introducer\n"
1069 msgstr "ESC [\tCSI\tコントロールシーケンスを導入する。\n"
1070
1071 #. type: tbl table
1072 #: build/C/man4/console_codes.4:141
1073 #, no-wrap
1074 msgid "ESC %\t\tStart sequence selecting character set\n"
1075 msgstr "ESC %\t\tキャラクターセットを選択するシーケンスを開始する。\n"
1076
1077 #. type: tbl table
1078 #: build/C/man4/console_codes.4:142
1079 #, no-wrap
1080 msgid "ESC % @\t\t\\0\\0\\0Select default (ISO 646 / ISO 8859-1)\n"
1081 msgstr "ESC % @\t\t\\0\\0\\0 デフォルト(ISO 646 / ISO 8859-1)を選択する。\n"
1082
1083 #. type: tbl table
1084 #: build/C/man4/console_codes.4:143
1085 #, no-wrap
1086 msgid "ESC % G\t\t\\0\\0\\0Select UTF-8\n"
1087 msgstr "ESC % G\t\t\\0\\0\\0 UTF-8 を選択する。\n"
1088
1089 #. type: tbl table
1090 #: build/C/man4/console_codes.4:144
1091 #, no-wrap
1092 msgid "ESC % 8\t\t\\0\\0\\0Select UTF-8 (obsolete)\n"
1093 msgstr "ESC % 8\t\t\\0\\0\\0 UTF-8 を選択する(旧式)。\n"
1094
1095 #. type: tbl table
1096 #: build/C/man4/console_codes.4:145
1097 #, no-wrap
1098 msgid "ESC # 8\tDECALN\tDEC screen alignment test - fill screen with E's.\n"
1099 msgstr "ESC # 8\tDECALN\tDEC のスクリーン調整テスト - スクリーンを E でうめる。\n"
1100
1101 #. type: tbl table
1102 #: build/C/man4/console_codes.4:146
1103 #, no-wrap
1104 msgid "ESC (\t\tStart sequence defining G0 character set\n"
1105 msgstr "ESC (\t\tG0 文字集合を定義するシーケンスを開始する。\n"
1106
1107 #. type: tbl table
1108 #: build/C/man4/console_codes.4:147
1109 #, no-wrap
1110 msgid "ESC ( B\t\t\\0\\0\\0Select default (ISO 8859-1 mapping)\n"
1111 msgstr "ESC ( B\t\t\\0\\0\\0 デフォルト(ISO 8859-1 マッピング)を選択する。\n"
1112
1113 #. type: tbl table
1114 #: build/C/man4/console_codes.4:148
1115 #, no-wrap
1116 msgid "ESC ( 0\t\t\\0\\0\\0Select VT100 graphics mapping\n"
1117 msgstr "ESC ( 0\t\t\\0\\0\\0 VT100 グラフィクスマッピングを選択する。\n"
1118
1119 #. type: tbl table
1120 #: build/C/man4/console_codes.4:149
1121 #, no-wrap
1122 msgid "ESC ( U\t\t\\0\\0\\0Select null mapping - straight to character ROM\n"
1123 msgstr "ESC ( U\t\t\\0\\0\\0 ヌルマッピングを選択する - キャラクタ ROM から直接マッピングする。\n"
1124
1125 #. type: tbl table
1126 #: build/C/man4/console_codes.4:150
1127 #, no-wrap
1128 msgid "ESC ( K\t\t\\0\\0\\0Select user mapping - the map that is loaded by\n"
1129 msgstr "ESC ( K\t\t\\0\\0\\0 ユーザー定義のマッピングを選択する - そのマップ\n"
1130
1131 #. type: tbl table
1132 #: build/C/man4/console_codes.4:151
1133 #, no-wrap
1134 msgid "\t\t\\0\\0\\0the utility B<mapscrn>(8).\n"
1135 msgstr "\t\t\\0\\0\\0 は B<mapscrn>(8) ユーティリティーによってロードされる。\n"
1136
1137 #. type: tbl table
1138 #: build/C/man4/console_codes.4:152
1139 #, no-wrap
1140 msgid "ESC )\t\tStart sequence defining G1\n"
1141 msgstr "ESC )\t\tG1 を定義するシーケンスを開始する。\n"
1142
1143 #. type: tbl table
1144 #: build/C/man4/console_codes.4:153
1145 #, no-wrap
1146 msgid "\t\t(followed by one of B, 0, U, K, as above).\n"
1147 msgstr "\t\t(すでに述べたように B, 0, U, K のどれかが次に続く)\n"
1148
1149 #. type: tbl table
1150 #: build/C/man4/console_codes.4:154
1151 #, no-wrap
1152 msgid "ESC E<gt>\tDECPNM\tSet numeric keypad mode\n"
1153 msgstr "ESC E<gt>\tDECPNM\t数値キーパッドモード(numeric keypad mode)をセットする。\n"
1154
1155 #. type: tbl table
1156 #: build/C/man4/console_codes.4:155
1157 #, no-wrap
1158 msgid "ESC =\tDECPAM\tSet application keypad mode\n"
1159 msgstr "ESC =\tDECPAM\tアプリケーションキーパッドモード(application keypad mode) をセットする。\n"
1160
1161 #. type: tbl table
1162 #: build/C/man4/console_codes.4:156
1163 #, no-wrap
1164 msgid "ESC ]\tOSC\tT{\n"
1165 msgstr "ESC ]\tOSC\tT{\n"
1166
1167 #. type: tbl table
1168 #: build/C/man4/console_codes.4:157
1169 #, no-wrap
1170 msgid "(Should be: Operating system command)\n"
1171 msgstr "(\"Operating system command\"のことだろう)\n"
1172
1173 #. type: tbl table
1174 #: build/C/man4/console_codes.4:158
1175 #, no-wrap
1176 msgid "ESC ] P I<nrrggbb>: set palette, with parameter\n"
1177 msgstr "ESC ] P I<nrrggbb>: 最後の P のあとの 7 つの 16 進数を\n"
1178
1179 #. type: tbl table
1180 #: build/C/man4/console_codes.4:159
1181 #, no-wrap
1182 msgid "given in 7 hexadecimal digits after the final P :-(.\n"
1183 msgstr "パラメーターとして :-( パレットをセットする。\n"
1184
1185 #. type: tbl table
1186 #: build/C/man4/console_codes.4:160
1187 #, no-wrap
1188 msgid "Here I<n> is the color (0-15), and I<rrggbb> indicates\n"
1189 msgstr "ここで、I<n>は色 (0-15)、I<rrggbb>は赤/緑/青の値\n"
1190
1191 #. type: tbl table
1192 #: build/C/man4/console_codes.4:161
1193 #, no-wrap
1194 msgid "the red/green/blue values (0-255).\n"
1195 msgstr "(0-255)を意味する。\n"
1196
1197 #. type: tbl table
1198 #: build/C/man4/console_codes.4:162
1199 #, no-wrap
1200 msgid "ESC ] R: reset palette\n"
1201 msgstr "ESC ] R: パレットをリセットする。\n"
1202
1203 #. type: Plain text
1204 #: build/C/man4/console_codes.4:167
1205 msgid "B<ECMA-48 CSI sequences>"
1206 msgstr "B<ECMA-48 CSI シーケンス>"
1207
1208 #. type: Plain text
1209 #: build/C/man4/console_codes.4:173
1210 msgid "CSI (or ESC [) is followed by a sequence of parameters, at most NPAR (16), that are decimal numbers separated by semicolons.  An empty or absent parameter is taken to be 0.  The sequence of parameters may be preceded by a single question mark."
1211 msgstr "CSI (または ESC [ ) のあとに、最大で NPAR (16) 個のセミコロンで区切られた 10 進数のパラメーターシーケンスが続く。 空であるかそこにないパラメーターは 0 とされる。 パラメーターシーケンスの前にはひとつのクエスチョンマークがつくことがある。"
1212
1213 #. type: Plain text
1214 #: build/C/man4/console_codes.4:177
1215 msgid "However, after CSI [ (or ESC [ [) a single character is read and this entire sequence is ignored.  (The idea is to ignore an echoed function key.)"
1216 msgstr "しかし、CSI [ (または ESC [ [ ) の後では、一文字が読まれ、このすべての パラメーターシーケンスが無視される(要するにファンクションキーのエコーは 無視されるということである)。"
1217
1218 #. type: Plain text
1219 #: build/C/man4/console_codes.4:179
1220 msgid "The action of a CSI sequence is determined by its final character."
1221 msgstr "CSI シーケンスの動作は、その最後の文字によって決まる。"
1222
1223 #. type: tbl table
1224 #: build/C/man4/console_codes.4:181
1225 #, no-wrap
1226 msgid "@\tICH\tInsert the indicated # of blank characters.\n"
1227 msgstr "@\tICH\t指示された数の空白文字を挿入する。\n"
1228
1229 #. type: tbl table
1230 #: build/C/man4/console_codes.4:182
1231 #, no-wrap
1232 msgid "A\tCUU\tMove cursor up the indicated # of rows.\n"
1233 msgstr "A\tCUU\t指示された数だけカーソルを上方向に移動する。\n"
1234
1235 #. type: tbl table
1236 #: build/C/man4/console_codes.4:183
1237 #, no-wrap
1238 msgid "B\tCUD\tMove cursor down the indicated # of rows.\n"
1239 msgstr "B\tCUD\tカーソルを指示された数の行だけ下方向に移動する。\n"
1240
1241 #. type: tbl table
1242 #: build/C/man4/console_codes.4:184
1243 #, no-wrap
1244 msgid "C\tCUF\tMove cursor right the indicated # of columns.\n"
1245 msgstr "C\tCUF\tカーソルを指示された数の桁だけ右に移動する。\n"
1246
1247 #. type: tbl table
1248 #: build/C/man4/console_codes.4:185
1249 #, no-wrap
1250 msgid "D\tCUB\tMove cursor left the indicated # of columns.\n"
1251 msgstr "D\tCUB\tカーソルを指示された数の桁だけ左に移動する。\n"
1252
1253 #. type: tbl table
1254 #: build/C/man4/console_codes.4:186
1255 #, no-wrap
1256 msgid "E\tCNL\tMove cursor down the indicated # of rows, to column 1.\n"
1257 msgstr "E\tCNL\tカーソルを指示された数の行だけ下の第 1 桁に移動する。\n"
1258
1259 #. type: tbl table
1260 #: build/C/man4/console_codes.4:187
1261 #, no-wrap
1262 msgid "F\tCPL\tMove cursor up the indicated # of rows, to column 1.\n"
1263 msgstr "F\tCPL\tカーソルを指示された数の行だけ上の第 1 桁に移動する。\n"
1264
1265 #. type: tbl table
1266 #: build/C/man4/console_codes.4:188
1267 #, no-wrap
1268 msgid "G\tCHA\tMove cursor to indicated column in current row.\n"
1269 msgstr "G\tCHA\tカーソルを現在の行の指示された桁に移動する。\n"
1270
1271 #. type: tbl table
1272 #: build/C/man4/console_codes.4:189
1273 #, no-wrap
1274 msgid "H\tCUP\tMove cursor to the indicated row, column (origin at 1,1).\n"
1275 msgstr "H\tCUP\tカーソルを指示された行、桁(1,1を原点とする)に移動する。\n"
1276
1277 #. type: tbl table
1278 #: build/C/man4/console_codes.4:190
1279 #, no-wrap
1280 msgid "J\tED\tErase display (default: from cursor to end of display).\n"
1281 msgstr "J\tED\tディスプレイの消去(デフォルト: カーソルからディスプレイの最後まで)。\n"
1282
1283 #. type: tbl table
1284 #: build/C/man4/console_codes.4:191
1285 #, no-wrap
1286 msgid "\t\tESC [ 1 J: erase from start to cursor.\n"
1287 msgstr "\t\tESC [ 1 J: 最初からカーソルまでの消去。\n"
1288
1289 #. type: tbl table
1290 #: build/C/man4/console_codes.4:192
1291 #, no-wrap
1292 msgid "\t\tESC [ 2 J: erase whole display.\n"
1293 msgstr "\t\tESC [ 2 J: ディスプレイ全体の消去。\n"
1294
1295 #. type: tbl table
1296 #: build/C/man4/console_codes.4:193
1297 #, no-wrap
1298 msgid "\t\tESC [ 3 J: erase whole display including scroll-back\n"
1299 msgstr "\t\tESC [ 3 J: スクロールバッファーも含めたディスプレイ全体の\n"
1300
1301 #. type: tbl table
1302 #: build/C/man4/console_codes.4:194
1303 #, no-wrap
1304 msgid "\t\t           buffer (since Linux 3.0).\n"
1305 msgstr "\t\t           消去 (Linux 3.0 以降)。\n"
1306
1307 #.  ESC [ 3 J: commit f8df13e0a901fe55631fed66562369b4dba40f8b
1308 #. type: tbl table
1309 #: build/C/man4/console_codes.4:196
1310 #, no-wrap
1311 msgid "K\tEL\tErase line (default: from cursor to end of line).\n"
1312 msgstr "K\tEL\t行の消去(デフォルト: カーソルから行末まで)。\n"
1313
1314 #. type: tbl table
1315 #: build/C/man4/console_codes.4:197
1316 #, no-wrap
1317 msgid "\t\tESC [ 1 K: erase from start of line to cursor.\n"
1318 msgstr "\t\tESC [ 1 K: 行頭からカーソルまでの消去。\n"
1319
1320 #. type: tbl table
1321 #: build/C/man4/console_codes.4:198
1322 #, no-wrap
1323 msgid "\t\tESC [ 2 K: erase whole line.\n"
1324 msgstr "\t\tESC [ 2 K: 行全体の消去。\n"
1325
1326 #. type: tbl table
1327 #: build/C/man4/console_codes.4:199
1328 #, no-wrap
1329 msgid "L\tIL\tInsert the indicated # of blank lines.\n"
1330 msgstr "L\tIL\t指示された数の空行を挿入する。\n"
1331
1332 #. type: tbl table
1333 #: build/C/man4/console_codes.4:200
1334 #, no-wrap
1335 msgid "M\tDL\tDelete the indicated # of lines.\n"
1336 msgstr "M\tDL\t指示された数の行を削除する。\n"
1337
1338 #. type: tbl table
1339 #: build/C/man4/console_codes.4:201
1340 #, no-wrap
1341 msgid "P\tDCH\tDelete the indicated # of characters on current line.\n"
1342 msgstr "P\tDCH\t現在の行から指示された数の文字を削除する。\n"
1343
1344 #. type: tbl table
1345 #: build/C/man4/console_codes.4:202
1346 #, no-wrap
1347 msgid "X\tECH\tErase the indicated # of characters on current line.\n"
1348 msgstr "X\tECH\t現在の行から指示された数の文字を消去する。\n"
1349
1350 #. type: tbl table
1351 #: build/C/man4/console_codes.4:203
1352 #, no-wrap
1353 msgid "a\tHPR\tMove cursor right the indicated # of columns.\n"
1354 msgstr "a\tHPR\tカーソルを指示された数の桁だけ右に移動する。\n"
1355
1356 #. type: tbl table
1357 #: build/C/man4/console_codes.4:204
1358 #, no-wrap
1359 msgid "c\tDA\tAnswer ESC [ ? 6 c: \"I am a VT102\".\n"
1360 msgstr "c\tDA\tESC [ ? 6 c を返す: \"私はVT102です\"(ということ)。\n"
1361
1362 #. type: tbl table
1363 #: build/C/man4/console_codes.4:205
1364 #, no-wrap
1365 msgid "d\tVPA\tMove cursor to the indicated row, current column.\n"
1366 msgstr "d\tVPA\tカーソルを指示された行の現在の桁に移動する。\n"
1367
1368 #. type: tbl table
1369 #: build/C/man4/console_codes.4:206
1370 #, no-wrap
1371 msgid "e\tVPR\tMove cursor down the indicated # of rows.\n"
1372 msgstr "e\tVPR\tカーソルを指示された行数だけ下に移動する。\n"
1373
1374 #. type: tbl table
1375 #: build/C/man4/console_codes.4:207
1376 #, no-wrap
1377 msgid "f\tHVP\tMove cursor to the indicated row, column.\n"
1378 msgstr "f\tHVP\tカーソルを指示された行、桁に移動する。\n"
1379
1380 #. type: tbl table
1381 #: build/C/man4/console_codes.4:208
1382 #, no-wrap
1383 msgid "g\tTBC\tWithout parameter: clear tab stop at current position.\n"
1384 msgstr "g\tTBC\tパラメーターなしの時: 現在位置のタブストップを削除する。\n"
1385
1386 #. type: tbl table
1387 #: build/C/man4/console_codes.4:209
1388 #, no-wrap
1389 msgid "\t\tESC [ 3 g: delete all tab stops.\n"
1390 msgstr "\t\tESC [ 3 g: すべてのタブストップを削除する。\n"
1391
1392 #. type: tbl table
1393 #: build/C/man4/console_codes.4:210
1394 #, no-wrap
1395 msgid "h\tSM\tSet Mode (see below).\n"
1396 msgstr "h\tSM\tモードのセット(後述)。\n"
1397
1398 #. type: tbl table
1399 #: build/C/man4/console_codes.4:211
1400 #, no-wrap
1401 msgid "l\tRM\tReset Mode (see below).\n"
1402 msgstr "l\tRM\tモードのリセット(後述)。\n"
1403
1404 #. type: tbl table
1405 #: build/C/man4/console_codes.4:212
1406 #, no-wrap
1407 msgid "m\tSGR\tSet attributes (see below).\n"
1408 msgstr "m\tSGR\t属性のセット(後述)。\n"
1409
1410 #. type: tbl table
1411 #: build/C/man4/console_codes.4:213
1412 #, no-wrap
1413 msgid "n\tDSR\tStatus report (see below).\n"
1414 msgstr "n\tDSR\t状態の報告(後述)。\n"
1415
1416 #. type: tbl table
1417 #: build/C/man4/console_codes.4:214
1418 #, no-wrap
1419 msgid "q\tDECLL\tSet keyboard LEDs.\n"
1420 msgstr "q\tDECLL\tキーボードの LED をセットする。\n"
1421
1422 #. type: tbl table
1423 #: build/C/man4/console_codes.4:215
1424 #, no-wrap
1425 msgid "\t\tESC [ 0 q: clear all LEDs\n"
1426 msgstr "\t\tESC [ 0 q: すべての LED を消す。\n"
1427
1428 #. type: tbl table
1429 #: build/C/man4/console_codes.4:216
1430 #, no-wrap
1431 msgid "\t\tESC [ 1 q: set Scroll Lock LED\n"
1432 msgstr "\t\tESC [ 1 q: スクロールロック LED を点灯。\n"
1433
1434 #. type: tbl table
1435 #: build/C/man4/console_codes.4:217
1436 #, no-wrap
1437 msgid "\t\tESC [ 2 q: set Num Lock LED\n"
1438 msgstr "\t\tESC [ 2 q: ナンバーロック LED を点灯。\n"
1439
1440 #. type: tbl table
1441 #: build/C/man4/console_codes.4:218
1442 #, no-wrap
1443 msgid "\t\tESC [ 3 q: set Caps Lock LED\n"
1444 msgstr "\t\tESC [ 3 q: キャピタルロック LED を点灯。\n"
1445
1446 #. type: tbl table
1447 #: build/C/man4/console_codes.4:219
1448 #, no-wrap
1449 msgid "r\tDECSTBM\tSet scrolling region; parameters are top and bottom row.\n"
1450 msgstr "r\tDECSTBM\tスクロールの範囲のセット; パラメーターは一番上の行と一番下の行。\n"
1451
1452 #. type: tbl table
1453 #: build/C/man4/console_codes.4:220
1454 #, no-wrap
1455 msgid "s\t?\tSave cursor location.\n"
1456 msgstr "s\t?\tカーソル位置の保存。\n"
1457
1458 #. type: tbl table
1459 #: build/C/man4/console_codes.4:221
1460 #, no-wrap
1461 msgid "u\t?\tRestore cursor location.\n"
1462 msgstr "u\t?\tカーソル位置の復帰。\n"
1463
1464 #. type: tbl table
1465 #: build/C/man4/console_codes.4:222
1466 #, no-wrap
1467 msgid "\\`\tHPA\tMove cursor to indicated column in current row.\n"
1468 msgstr "\\`\tHPA\tカーソルを現在の行の指示された桁に移動する。\n"
1469
1470 #. type: Plain text
1471 #: build/C/man4/console_codes.4:226
1472 msgid "B<ECMA-48 Set Graphics Rendition>"
1473 msgstr "B<ECMA-48 グラフィクスレンディション(Graphics Rendition)の設定>"
1474
1475 #. type: Plain text
1476 #: build/C/man4/console_codes.4:233
1477 msgid "The ECMA-48 SGR sequence ESC [ I<parameters> m sets display attributes.  Several attributes can be set in the same sequence, separated by semicolons.  An empty parameter (between semicolons or string initiator or terminator) is interpreted as a zero."
1478 msgstr "ECMA-48 SGR シーケンス ESC [ E<lt>パラメーターE<gt> m は表示属性を設定する。 セミコロンで区切ることで、同じシーケンスでいくつかの属性を設定できる。 空パラメーター(セミコロンか文字列開始文字か文字列終端文字の間)はゼロと解釈される。"
1479
1480 #. type: tbl table
1481 #: build/C/man4/console_codes.4:235
1482 #, no-wrap
1483 msgid "param\tresult\n"
1484 msgstr "パラメーター\t結果\n"
1485
1486 #. type: tbl table
1487 #: build/C/man4/console_codes.4:236
1488 #, no-wrap
1489 msgid "0\treset all attributes to their defaults\n"
1490 msgstr "0\tすべての属性をデフォルトにリセットする。\n"
1491
1492 #. type: tbl table
1493 #: build/C/man4/console_codes.4:237
1494 #, no-wrap
1495 msgid "1\tset bold\n"
1496 msgstr "1\tボールド(bold)をセット。\n"
1497
1498 #. type: tbl table
1499 #: build/C/man4/console_codes.4:238
1500 #, no-wrap
1501 msgid "2\tset half-bright (simulated with color on a color display)\n"
1502 msgstr "2\tハーフブライト(half-bright)(カラーディスプレイでは色で代用)をセット。\n"
1503
1504 #. type: tbl table
1505 #: build/C/man4/console_codes.4:239
1506 #, no-wrap
1507 msgid "4\tT{\n"
1508 msgstr "4\tT{\n"
1509
1510 #. type: tbl table
1511 #: build/C/man4/console_codes.4:240
1512 #, no-wrap
1513 msgid "set underscore (simulated with color on a color display)\n"
1514 msgstr "下線(underscore)をセット(カラーディスプレイでは色で代用)。\n"
1515
1516 #. type: tbl table
1517 #: build/C/man4/console_codes.4:241
1518 #, no-wrap
1519 msgid "(the colors used to simulate dim or underline are set\n"
1520 msgstr "(ディムや下線を代用するのに使われる色は \n"
1521
1522 #. type: tbl table
1523 #: build/C/man4/console_codes.4:242
1524 #, no-wrap
1525 msgid "using ESC ] ...)\n"
1526 msgstr "ESC ] ... によりセット)\n"
1527
1528 #. type: tbl table
1529 #: build/C/man4/console_codes.4:244
1530 #, no-wrap
1531 msgid "5\tset blink\n"
1532 msgstr "5\t点滅(blink)をセット。\n"
1533
1534 #. type: tbl table
1535 #: build/C/man4/console_codes.4:245
1536 #, no-wrap
1537 msgid "7\tset reverse video\n"
1538 msgstr "7\t反転表示(reverce video)をセット。\n"
1539
1540 #. type: tbl table
1541 #: build/C/man4/console_codes.4:246
1542 #, no-wrap
1543 msgid "10\tT{\n"
1544 msgstr "10\tT{\n"
1545
1546 #. type: tbl table
1547 #: build/C/man4/console_codes.4:247
1548 #, no-wrap
1549 msgid "reset selected mapping, display control flag,\n"
1550 msgstr "選択したマッピング、ディスプレイコントロールフラグ(display control flag)、\n"
1551
1552 #. type: tbl table
1553 #: build/C/man4/console_codes.4:248
1554 #, no-wrap
1555 msgid "and toggle meta flag (ECMA-48 says \"primary font\").\n"
1556 msgstr "トグルメタフラグ(toggle meta flag)をリセットする (ECMA-48では\"primary font\"と呼んでいる)。\n"
1557
1558 #. type: tbl table
1559 #: build/C/man4/console_codes.4:250
1560 #, no-wrap
1561 msgid "11\tT{\n"
1562 msgstr "11\tT{\n"
1563
1564 #. type: tbl table
1565 #: build/C/man4/console_codes.4:251 build/C/man4/console_codes.4:255
1566 #, no-wrap
1567 msgid "select null mapping, set display control flag,\n"
1568 msgstr "ヌルマッピングを選択、ディスプレイコントロールフラグをセット、\n"
1569
1570 #. type: tbl table
1571 #: build/C/man4/console_codes.4:252
1572 #, no-wrap
1573 msgid "reset toggle meta flag (ECMA-48 says \"first alternate font\").\n"
1574 msgstr ""
1575 "トグルメタフラグをリセットする\n"
1576 "(ECMA-48 では\"first alternate font\"と呼んでいる)。\n"
1577
1578 #. type: tbl table
1579 #: build/C/man4/console_codes.4:254
1580 #, no-wrap
1581 msgid "12\tT{\n"
1582 msgstr "12\tT{\n"
1583
1584 #. type: tbl table
1585 #: build/C/man4/console_codes.4:256
1586 #, no-wrap
1587 msgid "set toggle meta flag (ECMA-48 says \"second alternate font\").\n"
1588 msgstr "トグルメタフラグをセットする (ECMA-48 では \"second alternate font\" と呼んでいる)。\n"
1589
1590 #. type: tbl table
1591 #: build/C/man4/console_codes.4:257
1592 #, no-wrap
1593 msgid "The toggle meta flag\n"
1594 msgstr "トグルメタフラグがたっていると、\n"
1595
1596 #. type: tbl table
1597 #: build/C/man4/console_codes.4:258
1598 #, no-wrap
1599 msgid "causes the high bit of a byte to be toggled\n"
1600 msgstr "マッピングテーブルによる変換をする前に、\n"
1601
1602 #. type: tbl table
1603 #: build/C/man4/console_codes.4:259
1604 #, no-wrap
1605 msgid "before the mapping table translation is done.\n"
1606 msgstr "バイトの上位の1ビットがトグルされる。\n"
1607
1608 #. type: tbl table
1609 #: build/C/man4/console_codes.4:261
1610 #, no-wrap
1611 msgid "21\tset normal intensity (ECMA-48 says \"doubly underlined\")\n"
1612 msgstr "21\t通常の輝度にセット(ECMA-48 では \"doubly underlined\" と呼んでいる)。\n"
1613
1614 #. type: tbl table
1615 #: build/C/man4/console_codes.4:262
1616 #, no-wrap
1617 msgid "22\tset normal intensity\n"
1618 msgstr "22\t通常の輝度にセット。\n"
1619
1620 #. type: tbl table
1621 #: build/C/man4/console_codes.4:263
1622 #, no-wrap
1623 msgid "24\tunderline off\n"
1624 msgstr "24\t下線オフ。\n"
1625
1626 #. type: tbl table
1627 #: build/C/man4/console_codes.4:264
1628 #, no-wrap
1629 msgid "25\tblink off\n"
1630 msgstr "25\t点滅オフ。\n"
1631
1632 #. type: tbl table
1633 #: build/C/man4/console_codes.4:265
1634 #, no-wrap
1635 msgid "27\treverse video off\n"
1636 msgstr "27\t反転表示オフ。\n"
1637
1638 #. type: tbl table
1639 #: build/C/man4/console_codes.4:266
1640 #, no-wrap
1641 msgid "30\tset black foreground\n"
1642 msgstr "30\tフォアグラウンド(foreground)を黒にセット。\n"
1643
1644 #. type: tbl table
1645 #: build/C/man4/console_codes.4:267
1646 #, no-wrap
1647 msgid "31\tset red foreground\n"
1648 msgstr "31\tフォアグラウンドを赤にセット。\n"
1649
1650 #. type: tbl table
1651 #: build/C/man4/console_codes.4:268
1652 #, no-wrap
1653 msgid "32\tset green foreground\n"
1654 msgstr "32\tフォアグラウンドを緑にセット。\n"
1655
1656 #. type: tbl table
1657 #: build/C/man4/console_codes.4:269
1658 #, no-wrap
1659 msgid "33\tset brown foreground\n"
1660 msgstr "33\tフォアグラウンドを茶にセット。\n"
1661
1662 #. type: tbl table
1663 #: build/C/man4/console_codes.4:270
1664 #, no-wrap
1665 msgid "34\tset blue foreground\n"
1666 msgstr "34\tフォアグラウンドを青にセット。\n"
1667
1668 #. type: tbl table
1669 #: build/C/man4/console_codes.4:271
1670 #, no-wrap
1671 msgid "35\tset magenta foreground\n"
1672 msgstr "35\tフォアグラウンドをマゼンダにセット。\n"
1673
1674 #. type: tbl table
1675 #: build/C/man4/console_codes.4:272
1676 #, no-wrap
1677 msgid "36\tset cyan foreground\n"
1678 msgstr "36\tフォアグラウンドをシアンにセット。\n"
1679
1680 #. type: tbl table
1681 #: build/C/man4/console_codes.4:273
1682 #, no-wrap
1683 msgid "37\tset white foreground\n"
1684 msgstr "37\tフォアグラウンドを白にセット。\n"
1685
1686 #. type: tbl table
1687 #: build/C/man4/console_codes.4:274
1688 #, no-wrap
1689 msgid "38\tset underscore on, set default foreground color\n"
1690 msgstr "38\t下線表示に設定し、フォアグラウンドをデフォルトにセット。\n"
1691
1692 #. type: tbl table
1693 #: build/C/man4/console_codes.4:275
1694 #, no-wrap
1695 msgid "39\tset underscore off, set default foreground color\n"
1696 msgstr "39\t下線表示を解除し、フォアグラウンドをデフォルトにセット。\n"
1697
1698 #. type: tbl table
1699 #: build/C/man4/console_codes.4:276
1700 #, no-wrap
1701 msgid "40\tset black background\n"
1702 msgstr "40\tバックグラウンド(background)を黒にセット。\n"
1703
1704 #. type: tbl table
1705 #: build/C/man4/console_codes.4:277
1706 #, no-wrap
1707 msgid "41\tset red background\n"
1708 msgstr "41\tバックグラウンドを赤にセット。\n"
1709
1710 #. type: tbl table
1711 #: build/C/man4/console_codes.4:278
1712 #, no-wrap
1713 msgid "42\tset green background\n"
1714 msgstr "42\tバックグラウンドを緑にセット。\n"
1715
1716 #. type: tbl table
1717 #: build/C/man4/console_codes.4:279
1718 #, no-wrap
1719 msgid "43\tset brown background\n"
1720 msgstr "43\tバックグラウンドを茶にセット。\n"
1721
1722 #. type: tbl table
1723 #: build/C/man4/console_codes.4:280
1724 #, no-wrap
1725 msgid "44\tset blue background\n"
1726 msgstr "44\tバックグラウンドを青にセット。\n"
1727
1728 #. type: tbl table
1729 #: build/C/man4/console_codes.4:281
1730 #, no-wrap
1731 msgid "45\tset magenta background\n"
1732 msgstr "45\tバックグラウンドをマゼンダにセット。\n"
1733
1734 #. type: tbl table
1735 #: build/C/man4/console_codes.4:282
1736 #, no-wrap
1737 msgid "46\tset cyan background\n"
1738 msgstr "46\tバックグラウンドをシアンにセット。\n"
1739
1740 #. type: tbl table
1741 #: build/C/man4/console_codes.4:283
1742 #, no-wrap
1743 msgid "47\tset white background\n"
1744 msgstr "47\tバックグラウンドを白にセット。\n"
1745
1746 #. type: tbl table
1747 #: build/C/man4/console_codes.4:284
1748 #, no-wrap
1749 msgid "49\tset default background color\n"
1750 msgstr "49\tバックグラウンドをデフォルトにセット。\n"
1751
1752 #. type: Plain text
1753 #: build/C/man4/console_codes.4:288
1754 msgid "B<ECMA-48 Mode Switches>"
1755 msgstr "B<ECMA-48 モードスイッチ(Mode Switches)>"
1756
1757 #. type: TP
1758 #: build/C/man4/console_codes.4:288
1759 #, no-wrap
1760 msgid "ESC [ 3 h"
1761 msgstr "ESC [ 3 h"
1762
1763 #. type: Plain text
1764 #: build/C/man4/console_codes.4:291
1765 msgid "DECCRM (default off): Display control chars."
1766 msgstr "DECCRM (デフォルトではオフ): コントロール文字を表示する。"
1767
1768 #. type: TP
1769 #: build/C/man4/console_codes.4:291
1770 #, no-wrap
1771 msgid "ESC [ 4 h"
1772 msgstr "ESC [ 4 h"
1773
1774 #. type: Plain text
1775 #: build/C/man4/console_codes.4:294
1776 msgid "DECIM (default off): Set insert mode."
1777 msgstr "DECIM (デフォルトではオフ): 挿入モードにする。"
1778
1779 #. type: TP
1780 #: build/C/man4/console_codes.4:294
1781 #, no-wrap
1782 msgid "ESC [ 20 h"
1783 msgstr "ESC [ 20 h"
1784
1785 #. type: Plain text
1786 #: build/C/man4/console_codes.4:298
1787 msgid "LF/NL (default off): Automatically follow echo of LF, VT or FF with CR."
1788 msgstr "LF/NL (デフォルトではオフ): LF, VT, FFをエコーしたあと自動的 CR をつける。"
1789
1790 #. type: Plain text
1791 #: build/C/man4/console_codes.4:301
1792 msgid "B<ECMA-48 Status Report Commands>"
1793 msgstr "B<ECMA-48 状態リポートコマンド(Status Report Commands)>"
1794
1795 #. type: TP
1796 #: build/C/man4/console_codes.4:301
1797 #, no-wrap
1798 msgid "ESC [ 5 n"
1799 msgstr "ESC [ 5 n"
1800
1801 #. type: Plain text
1802 #: build/C/man4/console_codes.4:304
1803 msgid "Device status report (DSR): Answer is ESC [ 0 n (Terminal OK)."
1804 msgstr "デバイス状態のリポート(DSR): 返事は ESC [ 0 n (端末 OK)."
1805
1806 #. type: TP
1807 #: build/C/man4/console_codes.4:304
1808 #, no-wrap
1809 msgid "ESC [ 6 n"
1810 msgstr "ESC [ 6 n"
1811
1812 #. type: Plain text
1813 #: build/C/man4/console_codes.4:309
1814 msgid "Cursor position report (CPR): Answer is ESC [ I<y> ; I<x> R, where I<x,y> is the cursor location."
1815 msgstr "カーソル位置のリポート(CPR): 返事は ESC [ I<y> ; I<x> R、 I<x,y> はカーソルの位置をあらわす。"
1816
1817 #. type: Plain text
1818 #: build/C/man4/console_codes.4:311
1819 msgid "B<DEC Private Mode (DECSET/DECRST) sequences>"
1820 msgstr "B<DEC プライベートモード (DECSET/DECRST) シーケンス>"
1821
1822 #. type: Plain text
1823 #: build/C/man4/console_codes.4:317
1824 msgid "These are not described in ECMA-48.  We list the Set Mode sequences; the Reset Mode sequences are obtained by replacing the final \\(aqh\\(aq by \\(aql\\(aq."
1825 msgstr "これらは ECMA-48 では記述されていない。ここでは、セットモード シーケンス (Set Mode sequences)を記載する; 最後の \\(aqh\\(aq を \\(aql\\(aq に 置き換えるとリセットモードシーケンス(Reset Mode sequences)になる。"
1826
1827 #. type: TP
1828 #: build/C/man4/console_codes.4:317
1829 #, no-wrap
1830 msgid "ESC [ ? 1 h"
1831 msgstr "ESC [ ? 1 h"
1832
1833 #. type: Plain text
1834 #: build/C/man4/console_codes.4:321
1835 msgid "DECCKM (default off): When set, the cursor keys send an ESC O prefix, rather than ESC [."
1836 msgstr "DECCKM (デフォルトはオフ): セットされた時にはカーソルキーは ESC [ ではなく ESC O を前につけて送る。"
1837
1838 #. type: TP
1839 #: build/C/man4/console_codes.4:321
1840 #, no-wrap
1841 msgid "ESC [ ? 3 h"
1842 msgstr "ESC [ ? 3 h"
1843
1844 #. type: Plain text
1845 #: build/C/man4/console_codes.4:328
1846 msgid "DECCOLM (default off = 80 columns): 80/132 col mode switch.  The driver sources note that this alone does not suffice; some user-mode utility such as B<resizecons>(8)  has to change the hardware registers on the console video card."
1847 msgstr "DECCOLM (デフォルトはオフ = 80 桁): 80/132 の桁モード切替え。 ドライバーのソースの注釈には、これだけでは十分でなく B<resizecons>(8)  のようなユーザーモードのユーティリティーで、コンソールビデオカードの ハードウェアレジスタを変える必要があると書かれている。"
1848
1849 #. type: TP
1850 #: build/C/man4/console_codes.4:328
1851 #, no-wrap
1852 msgid "ESC [ ? 5 h"
1853 msgstr "ESC [ ? 5 h"
1854
1855 #. type: Plain text
1856 #: build/C/man4/console_codes.4:331
1857 msgid "DECSCNM (default off): Set reverse-video mode."
1858 msgstr "DECSCNM (デフォルトはオフ): 反転表示モードのセット。"
1859
1860 #. type: TP
1861 #: build/C/man4/console_codes.4:331
1862 #, no-wrap
1863 msgid "ESC [ ? 6 h"
1864 msgstr "ESC [ ? 6 h"
1865
1866 #. type: Plain text
1867 #: build/C/man4/console_codes.4:335
1868 msgid "DECOM (default off): When set, cursor addressing is relative to the upper left corner of the scrolling region."
1869 msgstr "DECOM(デフォルトはオフ): セットされた時には、カーソルのアドレッシングが、 スクロール範囲の左上隅からの相対位置になる。"
1870
1871 #. type: TP
1872 #: build/C/man4/console_codes.4:335
1873 #, no-wrap
1874 msgid "ESC [ ? 7 h"
1875 msgstr "ESC [ ? 7 h"
1876
1877 #. type: Plain text
1878 #: build/C/man4/console_codes.4:341
1879 msgid "DECAWM (default on): Set autowrap on.  In this mode, a graphic character emitted after column 80 (or column 132 of DECCOLM is on)  forces a wrap to the beginning of the following line first."
1880 msgstr "DECAWM(デフォルトはオン): オートラップを設定。このモードの時は、80 桁 (DECCOLM がオンのときは 132 桁)を超えたグラフィックキャラクタは、 強制的に次の行の先頭に折り返されて表示される。"
1881
1882 #. type: TP
1883 #: build/C/man4/console_codes.4:341
1884 #, no-wrap
1885 msgid "ESC [ ? 8 h"
1886 msgstr "ESC [ ? 8 h"
1887
1888 #. type: Plain text
1889 #: build/C/man4/console_codes.4:344
1890 msgid "DECARM (default on): Set keyboard autorepeat on."
1891 msgstr "DECARM(デフォルトはオン): キーボードのオートリピートをオンにセット。"
1892
1893 #. type: TP
1894 #: build/C/man4/console_codes.4:344
1895 #, no-wrap
1896 msgid "ESC [ ? 9 h"
1897 msgstr "ESC [ ? 9 h"
1898
1899 #. type: Plain text
1900 #: build/C/man4/console_codes.4:348
1901 msgid "X10 Mouse Reporting (default off): Set reporting mode to 1 (or reset to 0)\\(emsee below."
1902 msgstr "X10 マウスリポート(デフォルトはオフ): リポートモードを 1 にセット(または、 0 にリセット)\\(em後述"
1903
1904 #. type: TP
1905 #: build/C/man4/console_codes.4:348
1906 #, no-wrap
1907 msgid "ESC [ ? 25 h"
1908 msgstr "ESC [ ? 25 h"
1909
1910 #. type: Plain text
1911 #: build/C/man4/console_codes.4:351
1912 msgid "DECTECM (default on): Make cursor visible."
1913 msgstr "DECTECM (デフォルトはオン): カーソルを可視(visible)にする。"
1914
1915 #. type: TP
1916 #: build/C/man4/console_codes.4:351
1917 #, no-wrap
1918 msgid "ESC [ ? 1000 h"
1919 msgstr "ESC [ ? 1000 h"
1920
1921 #. type: Plain text
1922 #: build/C/man4/console_codes.4:356
1923 msgid "X11 Mouse Reporting (default off): Set reporting mode to 2 (or reset to 0)\\(emsee below."
1924 msgstr "X11 マウスリポート(デフォルトはオフ): リポートモードを 2 にセット(または、 0にリセット)\\(em後述"
1925
1926 #. type: Plain text
1927 #: build/C/man4/console_codes.4:358
1928 msgid "B<Linux Console Private CSI Sequences>"
1929 msgstr "B<Linux コンソールプライベート CSI シーケンス>"
1930
1931 #. type: Plain text
1932 #: build/C/man4/console_codes.4:365
1933 msgid "The following sequences are neither ECMA-48 nor native VT102.  They are native to the Linux console driver.  Colors are in SGR parameters: 0 = black, 1 = red, 2 = green, 3 = brown, 4 = blue, 5 = magenta, 6 = cyan, 7 = white."
1934 msgstr "以下のシーケンスは ECMA-48 のものでも本来の VT102 のものでもでもなく、 Linuxコンソールドライバーに固有なシーケンスである。色は SGR パラメーターで 表現される: 0 = 黒, 1= 赤, 2 = 緑, 3 = 茶, 4 = 青, 5 = マゼンタ, 6 = シアン, 7 = 白"
1935
1936 #. type: tbl table
1937 #: build/C/man4/console_codes.4:367
1938 #, no-wrap
1939 msgid "ESC [ 1 ; I<n> ]\tSet color I<n> as the underline color\n"
1940 msgstr "ESC [ 1 ; I<n> ]\t下線の色をI<n> にセットする。\n"
1941
1942 #. type: tbl table
1943 #: build/C/man4/console_codes.4:368
1944 #, no-wrap
1945 msgid "ESC [ 2 ; I<n> ]\tSet color I<n> as the dim color\n"
1946 msgstr "ESC [ 2 ; I<n> ]\tディムの色をI<n> にセットする。\n"
1947
1948 #. type: tbl table
1949 #: build/C/man4/console_codes.4:369
1950 #, no-wrap
1951 msgid "ESC [ 8 ]       \tMake the current color pair the default attributes.\n"
1952 msgstr "ESC [ 8 ]       \t現在の色のペアをデフォルト属性にする。\n"
1953
1954 #. type: tbl table
1955 #: build/C/man4/console_codes.4:370
1956 #, no-wrap
1957 msgid "ESC [ 9 ; I<n> ]\tSet screen blank timeout to I<n> minutes.\n"
1958 msgstr "ESC [ 9 ; I<n> ]\tスクリーンブランク(screen blank)のタイムアウトを I<n> 分にセットする。\n"
1959
1960 #. type: tbl table
1961 #: build/C/man4/console_codes.4:371
1962 #, no-wrap
1963 msgid "ESC [ 10 ; I<n> ]\tSet bell frequency in Hz.\n"
1964 msgstr "ESC [ 10 ; I<n> ]\tベルの周波数(Hz)をセットする。\n"
1965
1966 #. type: tbl table
1967 #: build/C/man4/console_codes.4:372
1968 #, no-wrap
1969 msgid "ESC [ 11 ; I<n> ]\tSet bell duration in msec.\n"
1970 msgstr "ESC [ 11 ; I<n> ]\tベルの鳴っている時間(msec)をセットする。\n"
1971
1972 #. type: tbl table
1973 #: build/C/man4/console_codes.4:373
1974 #, no-wrap
1975 msgid "ESC [ 12 ; I<n> ]\tBring specified console to the front.\n"
1976 msgstr "ESC [ 12 ; I<n> ]\t指定のコンソールを前面に持ってくる。\n"
1977
1978 #. type: tbl table
1979 #: build/C/man4/console_codes.4:374
1980 #, no-wrap
1981 msgid "ESC [ 13 ]      \tUnblank the screen.\n"
1982 msgstr "ESC [ 13 ]      \tスクリーンをアンブランク(Unblank)する。\n"
1983
1984 #. type: tbl table
1985 #: build/C/man4/console_codes.4:375
1986 #, no-wrap
1987 msgid "ESC [ 14 ; I<n> ]   \tSet the VESA powerdown interval in minutes.\n"
1988 msgstr "ESC [ 14 ]      \tVESA電源停止インターバル(VESA powerdown interval)をセットする。\n"
1989
1990 #. type: SS
1991 #: build/C/man4/console_codes.4:377
1992 #, no-wrap
1993 msgid "Character sets"
1994 msgstr "文字集合"
1995
1996 #. type: Plain text
1997 #: build/C/man4/console_codes.4:382
1998 msgid "The kernel knows about 4 translations of bytes into console-screen symbols.  The four tables are: a) Latin1 -E<gt> PC, b) VT100 graphics -E<gt> PC, c) PC -E<gt> PC, d) user-defined."
1999 msgstr "カーネルは、バイト列からコンソールスクリーン符号の変換を 4 つ 知っている。 4 つの変換テーブルとは、a) Latin1 -E<gt> PC, b) VT100 graphics -E<gt> PC, c) PC -E<gt> PC, d) ユーザー定義, である。"
2000
2001 #. type: Plain text
2002 #: build/C/man4/console_codes.4:388
2003 msgid "There are two character sets, called G0 and G1, and one of them is the current character set.  (Initially G0.)  Typing B<^N> causes G1 to become current, B<^O> causes G0 to become current."
2004 msgstr "G0 と G1 と呼ばれる二つの文字集合があり、そのうち一つが現在の 文字集合である(初期値は G0 )。 B<^N> をタイプすると G1 が B<^O> を入力すると G0 が現在の文字集合になる。"
2005
2006 #. type: Plain text
2007 #: build/C/man4/console_codes.4:396
2008 msgid "These variables G0 and G1 point at a translation table, and can be changed by the user.  Initially they point at tables a) and b), respectively.  The sequences ESC ( B and ESC ( 0 and ESC ( U and ESC ( K cause G0 to point at translation table a), b), c) and d), respectively.  The sequences ESC ) B and ESC ) 0 and ESC ) U and ESC ) K cause G1 to point at translation table a), b), c) and d), respectively."
2009 msgstr "変数 G0 と G1 は変換テーブルを指しており、ユーザーにより変更できる。 最初はそれぞれテーブル a) と テーブル b) を指している。 ESC ( B 、 ESC ( 0 、 ESC ( U 、 ESC ( K のそれぞれのシーケンスにより、 G0 が変換テーブル a)、 b)、 c)、 d) を指すようになる。 また、ESC ) B 、 ESC ) 0 、 ESC ) U 、 ESC ) K のそれぞれのシーケンス により、G1 が変換テーブル a)、 b)、 c)、 d) を指すようになる。"
2010
2011 #. type: Plain text
2012 #: build/C/man4/console_codes.4:406
2013 msgid "The sequence ESC c causes a terminal reset, which is what you want if the screen is all garbled.  The oft-advised \"echo ^V^O\" will make only G0 current, but there is no guarantee that G0 points at table a).  In some distributions there is a program B<reset>(1)  that just does \"echo ^[c\".  If your terminfo entry for the console is correct (and has an entry rs1=\\eEc), then \"tput reset\" will also work."
2014 msgstr "ESC c のシーケンスは端末をリセットする。スクリーンがめちゃくちゃになった 時にそうすることが必要である。よくアドバイスされる \"echo ^V^O\" は G0 を現在の文字集合にするだけであり、G0 がテーブル a) を指しているという 保証はない。 いくつかのディストリビューションには、 B<reset>(1)  というプログラムが含まれるが、これはただ \"echo ^[c\" を実行するものである。 もし、コンソールの terminfo エントリーが正しい(かつ rs1=\\eEc のエントリーが ある)ならば、\"tput reset\"でも同じ効果がある。"
2015
2016 #. type: Plain text
2017 #: build/C/man4/console_codes.4:414
2018 msgid "The user-defined mapping table can be set using B<mapscrn>(8).  The result of the mapping is that if a symbol c is printed, the symbol s = map[c] is sent to the video memory.  The bitmap that corresponds to s is found in the character ROM, and can be changed using B<setfont>(8)."
2019 msgstr "ユーザー定義のマッピングテーブルは B<mapscrn>(8)  を使って定義できる。 マッピングの結果、シンボル c が印字されるとシンボル s = map[c] が ビデオメモリに送られる。s に対応するビットマップはキャラクター ROM にあり、 B<setfont>(8)  により変更可能である。"
2020
2021 #. type: SS
2022 #: build/C/man4/console_codes.4:414
2023 #, no-wrap
2024 msgid "Mouse tracking"
2025 msgstr "マウストラッキング"
2026
2027 #. type: Plain text
2028 #: build/C/man4/console_codes.4:426
2029 msgid "The mouse tracking facility is intended to return B<xterm>(1)-compatible mouse status reports.  Because the console driver has no way to know the device or type of the mouse, these reports are returned in the console input stream only when the virtual terminal driver receives a mouse update ioctl.  These ioctls must be generated by a mouse-aware user-mode application such as the B<gpm>(8)  daemon."
2030 msgstr "マウストラッキング機能は、 B<xterm>(1)-互換の マウスステータスリポート(mouse status reports)を返させるためのものである。 コンソールドライバーはマウスのデバイスや種類について知る方法が ないので、仮想ターミナルドライバーがマウス更新の ioctl を受け取った時だけ、 マウスステータスリポートがコンソールの入力ストリームに送られる。 この ioctl は、 B<gpm>(8)  デーモンのようなマウス対応のユーザーモード アプリケーションが発生しなければならない。"
2031
2032 #. type: Plain text
2033 #: build/C/man4/console_codes.4:432
2034 msgid "The mouse tracking escape sequences generated by B<xterm>(1) encode numeric parameters in a single character as I<value>+040.  For example, \\(aq!\\(aq is 1.  The screen coordinate system is 1-based."
2035 msgstr "B<xterm>(1) によって生成される全てのマウス追跡エスケープシーケンスのための パラメーターは、数値を I<value>+040 のように符号化し、一つの文字として あらわす。 例えば、\\(aq!\\(aq は 1 になる。スクリーン座標は 1 をベースにする。"
2036
2037 #. type: Plain text
2038 #: build/C/man4/console_codes.4:442
2039 msgid "The X10 compatibility mode sends an escape sequence on button press encoding the location and the mouse button pressed.  It is enabled by sending ESC [ ? 9 h and disabled with ESC [ ? 9 l.  On button press, B<xterm>(1) sends ESC [ M I<bxy> (6 characters).  Here I<b> is button-1, and I<x> and I<y> are the x and y coordinates of the mouse when the button was pressed.  This is the same code the kernel also produces."
2040 msgstr "X10 互換モードでは、ボタンが押された時にマウスの位置と押されたマウスの ボタンとをエンコードしたエスケープシーケンスを送る。 この機能は ESC [ ? 9 h を送ると有効になり ESC [ ? 9 l により無効になる。 ボタンが押されると B<xterm>(1) は ESC [ M I<bxy> (の 6 文字)を送る。 ここで I<b> は button-1, I<x> と I<y> は マウスがボタンが押された 時の x と y 座標である。 このコードはカーネルが発生するのと同じコードである。"
2041
2042 #. type: Plain text
2043 #: build/C/man4/console_codes.4:457
2044 msgid "Normal tracking mode (not implemented in Linux 2.0.24) sends an escape sequence on both button press and release.  Modifier information is also sent.  It is enabled by sending ESC [ ? 1000 h and disabled with ESC [ ? 1000 l.  On button press or release, B<xterm>(1) sends ESC [ M I<bxy>.  The low two bits of I<b> encode button information: 0=MB1 pressed, 1=MB2 pressed, 2=MB3 pressed, 3=release.  The upper bits encode what modifiers were down when the button was pressed and are added together: 4=Shift, 8=Meta, 16=Control.  Again I<x> and I<y> are the x and y coordinates of the mouse event.  The upper left corner is (1,1)."
2045 msgstr "ノーマルトラッキングモード(Normal tracking mode)(Linux 2.0.24 では 実装されていない)では、両方のボタンが押されたか離された時に エスケープシーケンスが送られる。 モディファイアの情報も一緒に送られる。 この機能は、ESC [ ? 1000 h を送ると有効になり ESC [ ? 1000 l で無効になる。 ボタンが押されるか離されるかした時には、B<xterm>(1) は ESC [ M I<bxy> を送る。 I<b> の低位の2ビットにはボタン情報がエンコードされる: 0=MB1 が押された, 1=MB2 が押された, 2=MB3 が押された, 3=離された。 高位のビットには、ボタンが押された時にどのモディファイアがダウンしていたかが エンコードされる: 4=Shift, 8=Meta, 16=Control。 そして、上位と下位ビットが加算される。 ここでも I<x> と I<y> は、マウスイベントが起こった時の x と y 座標であり、左上の隅が(1,1)である。"
2046
2047 #. type: SS
2048 #: build/C/man4/console_codes.4:457
2049 #, no-wrap
2050 msgid "Comparisons with other terminals"
2051 msgstr "他のターミナルとの比較"
2052
2053 #. type: Plain text
2054 #: build/C/man4/console_codes.4:464
2055 msgid "Many different terminal types are described, like the Linux console, as being \"VT100-compatible\".  Here we discuss differences between the Linux console and the two most important others, the DEC VT102 and B<xterm>(1)."
2056 msgstr "多くの異なるターミナルタイプが、Linux コンソールのように、\"VT100互換\"を 名乗っている。 ここでは、Linux コンソールと 2 つの最も重要なターミナルである DEC VT102 と B<xterm>(1)  との違いについて述べる。"
2057
2058 #. type: Plain text
2059 #: build/C/man4/console_codes.4:466
2060 msgid "B<Control-character handling>"
2061 msgstr "B<コントロール文字の取り扱い>"
2062
2063 #. type: Plain text
2064 #: build/C/man4/console_codes.4:468
2065 msgid "The VT102 also recognized the following control characters:"
2066 msgstr "VT102 は以下のコントロール文字も認識する:"
2067
2068 #. type: Plain text
2069 #: build/C/man4/console_codes.4:470
2070 msgid "NUL (0x00) was ignored;"
2071 msgstr "NUL (0x00) は無視される;"
2072
2073 #. type: Plain text
2074 #: build/C/man4/console_codes.4:472
2075 msgid "ENQ (0x05) triggered an answerback message;"
2076 msgstr "ENQ (0x05) はアンサーバックメッセージ(answerback message)を発生する;"
2077
2078 #. type: Plain text
2079 #: build/C/man4/console_codes.4:474
2080 msgid "DC1 (0x11, B<^Q>, XON) resumed transmission;"
2081 msgstr "DC1 (0x11, B<^Q>, XON) は送信を再開する;"
2082
2083 #. type: Plain text
2084 #: build/C/man4/console_codes.4:477
2085 msgid "DC3 (0x13, B<^S>, XOFF) caused VT100 to ignore (and stop transmitting)  all codes except XOFF and XON."
2086 msgstr "DC3 (0x13, B<^S>, XOFF) は VT100 に XOFF と XON 以外のコードを無視(そして 送信の停止)を起こさせる。"
2087
2088 #. type: Plain text
2089 #: build/C/man4/console_codes.4:479
2090 msgid "VT100-like DC1/DC3 processing may be enabled by the terminal driver."
2091 msgstr "端末ドライバーにより VT100 に似た DC1/DC3 処理を有効にする。"
2092
2093 #. type: Plain text
2094 #: build/C/man4/console_codes.4:485
2095 msgid "The B<xterm>(1)  program (in VT100 mode) recognizes the control characters BEL, BS, HT, LF, VT, FF, CR, SO, SI, ESC."
2096 msgstr "B<xterm>(1)  (VT100 モード)は BEL, BS, HT, LF, VT, FF, CR, SO, SI, ESC の コントロール文字を認識する。"
2097
2098 #. type: Plain text
2099 #: build/C/man4/console_codes.4:487
2100 msgid "B<Escape sequences>"
2101 msgstr "B<エスケープシーケンス>"
2102
2103 #. type: Plain text
2104 #: build/C/man4/console_codes.4:489
2105 msgid "VT100 console sequences not implemented on the Linux console:"
2106 msgstr "Linux コンソールで実装されていない VT100 コンソールシーケンスは以下の通り:"
2107
2108 #. type: tbl table
2109 #: build/C/man4/console_codes.4:491
2110 #, no-wrap
2111 msgid "ESC N\tSS2\tSingle shift 2. (Select G2 character set for the next\n"
2112 msgstr "ESC N\tSS2\tシングルシフト 2 (次の文字だけ G2\n"
2113
2114 #. type: tbl table
2115 #: build/C/man4/console_codes.4:492 build/C/man4/console_codes.4:494
2116 #, no-wrap
2117 msgid "\t\tcharacter only.)\n"
2118 msgstr "\t\t文字集合を選択する)。\n"
2119
2120 #. type: tbl table
2121 #: build/C/man4/console_codes.4:493
2122 #, no-wrap
2123 msgid "ESC O\tSS3\tSingle shift 3. (Select G3 character set for the next\n"
2124 msgstr "ESC O\tSS3\tシングルシフト 3 (次の文字だけ G3\n"
2125
2126 #. type: tbl table
2127 #: build/C/man4/console_codes.4:495
2128 #, no-wrap
2129 msgid "ESC P\tDCS\tDevice control string (ended by ESC \\e)\n"
2130 msgstr "ESC P\tDCS\tデバイス制御文字列 (ESC \\e で終わる)\n"
2131
2132 #. type: tbl table
2133 #: build/C/man4/console_codes.4:496
2134 #, no-wrap
2135 msgid "ESC X\tSOS\tStart of string.\n"
2136 msgstr "ESC X\tSOS\t文字列の始まり。\n"
2137
2138 #. type: tbl table
2139 #: build/C/man4/console_codes.4:497
2140 #, no-wrap
2141 msgid "ESC ^\tPM\tPrivacy message (ended by ESC \\e)\n"
2142 msgstr "ESC ^\tPM\tプライバシーメッセージ(ESC \\e で終わる)。\n"
2143
2144 #. type: tbl table
2145 #: build/C/man4/console_codes.4:498
2146 #, no-wrap
2147 msgid "ESC \\e\tST\tString terminator\n"
2148 msgstr "ESC \\e\tST\t文字列の終端文字。\n"
2149
2150 #. type: tbl table
2151 #: build/C/man4/console_codes.4:499
2152 #, no-wrap
2153 msgid "ESC * ...\t\tDesignate G2 character set\n"
2154 msgstr "ESC * ...\t\tG2 文字集合を指定する。\n"
2155
2156 #. type: tbl table
2157 #: build/C/man4/console_codes.4:500
2158 #, no-wrap
2159 msgid "ESC + ...\t\tDesignate G3 character set\n"
2160 msgstr "ESC + ...\t\tG3 文字集合を指定する。\n"
2161
2162 #. type: Plain text
2163 #: build/C/man4/console_codes.4:513
2164 msgid "The program B<xterm>(1)  (in VT100 mode) recognizes ESC c, ESC # 8, ESC E<gt>, ESC =, ESC D, ESC E, ESC H, ESC M, ESC N, ESC O, ESC P ... ESC \\e, ESC Z (it answers ESC [ ? 1 ; 2 c, \"I am a VT100 with advanced video option\")  and ESC ^ ... ESC \\e with the same meanings as indicated above.  It accepts ESC (, ESC ), ESC *, ESC + followed by 0, A, B for the DEC special character and line drawing set, UK, and US-ASCII, respectively."
2165 msgstr "B<xterm>(1)  (VT100 モード)は ESC c, ESC # 8, ESC E<gt>, ESC =, ESC D, ESC E, ESC H, ESC M, ESC N, ESC O, ESC P ... ESC \\e, ESC Z を認識する(\"わたしは高等ビデオオプション付きの VT100 です\"という 意味で ESC [ ? 1 ; 2 c と返答する)、ESC ^ ... ESC \\e は上述と同じ意味を あらわす。ESC (, ESC ), ESC *, ESC + に続く 0, A, B を DEC 特殊文字と して受け、それぞれラインドローイング(line drawing) のセット、UK、 US-ASCII をあらわす。"
2166
2167 #. type: Plain text
2168 #: build/C/man4/console_codes.4:517
2169 msgid "The user can configure B<xterm>(1) to respond to VT220-specific control sequences, and it will identify itself as a VT52, VT100, and up depending on the way it is configured and initialized."
2170 msgstr "ユーザーは B<xterm>(1) が VT220 特有のコントロールシーケンスに 反応するように設定でき、また設定と初期化のされかたによって 自分自身を VT52, VT100 などと認識する。"
2171
2172 #. type: Plain text
2173 #: build/C/man4/console_codes.4:522
2174 msgid "It accepts ESC ] (OSC) for the setting of certain resources.  In addition to the ECMA-48 string terminator (ST), B<xterm>(1) accepts a BEL to terminate an OSC string.  These are a few of the OSC control sequences recognized by B<xterm>(1):"
2175 msgstr "xterm は、特定のリソースの設定のために ESC ] (OSC) を受け付ける。 ECMA-48 の文字列終端文字 (ST) に加えて、 B<xterm>(1) は BEL を OSC 文字列を終端するものとして受け付ける。 以下は B<xterm>(1) が認識する OSC コントロールシーケンスの一部である。"
2176
2177 #. type: tbl table
2178 #: build/C/man4/console_codes.4:524
2179 #, no-wrap
2180 msgid "ESC ] 0 ; I<txt> ST\tSet icon name and window title to I<txt>.\n"
2181 msgstr "ESC ] 0 ; I<txt> ST\tアイコン名とウインドウタイトルを I<txt> にセットする。\n"
2182
2183 #. type: tbl table
2184 #: build/C/man4/console_codes.4:525
2185 #, no-wrap
2186 msgid "ESC ] 1 ; I<txt> ST\tSet icon name to I<txt>.\n"
2187 msgstr "ESC ] 1 ; I<txt> ST\tアイコン名を I<txt> にセットする。\n"
2188
2189 #. type: tbl table
2190 #: build/C/man4/console_codes.4:526
2191 #, no-wrap
2192 msgid "ESC ] 2 ; I<txt> ST\tSet window title to I<txt>.\n"
2193 msgstr "ESC ] 2 ; I<txt> ST\tウインドウタイトルを I<txt> にセットする。\n"
2194
2195 #. type: tbl table
2196 #: build/C/man4/console_codes.4:527
2197 #, no-wrap
2198 msgid "ESC ] 4 ; I<num>; I<txt> ST\tSet ANSI color I<num> to I<txt>.\n"
2199 msgstr "ESC ] 4 ; I<num>; I<txt> ST\tANSI 色 I<num> を I<txt> にセットする。\n"
2200
2201 #. type: tbl table
2202 #: build/C/man4/console_codes.4:528
2203 #, no-wrap
2204 msgid "ESC ] 10 ; I<txt> ST\tSet dynamic text color to I<txt>.\n"
2205 msgstr "ESC ] 10 ; I<txt ST\t動的テキスト色を txt にセットする。>\n"
2206
2207 #. type: tbl table
2208 #: build/C/man4/console_codes.4:529
2209 #, no-wrap
2210 msgid "ESC ] 4 6 ; I<name> ST\tChange log file to I<name> (normally disabled\n"
2211 msgstr "I<ESC ] 4 6 ; name ST\tチェンジログファイルを name に変更する(通常は>\n"
2212
2213 #. type: tbl table
2214 #: build/C/man4/console_codes.4:530
2215 #, no-wrap
2216 msgid "\tby a compile-time option)\n"
2217 msgstr "I<\tコンパイル時オプションにより無効になっている)。>\n"
2218
2219 #. type: tbl table
2220 #: build/C/man4/console_codes.4:531
2221 #, no-wrap
2222 msgid "ESC ] 5 0 ; I<fn> ST\tSet font to I<fn>.\n"
2223 msgstr "I<ESC ] 5 0 ; fn ST\tフォントを fn にセットする。>\n"
2224
2225 #. type: Plain text
2226 #: build/C/man4/console_codes.4:536
2227 msgid "It recognizes the following with slightly modified meaning (saving more state, behaving closer to VT100/VT220):"
2228 msgstr "以下のものは、少し違った意味にとられる (より多くの状態を保存し、より VT100/VT220 に近いふるまいをする):"
2229
2230 #. type: tbl table
2231 #: build/C/man4/console_codes.4:538
2232 #, no-wrap
2233 msgid "ESC 7  DECSC\tSave cursor\n"
2234 msgstr "ESC 7  DECSC\tカーソルの保存。\n"
2235
2236 #. type: tbl table
2237 #: build/C/man4/console_codes.4:539
2238 #, no-wrap
2239 msgid "ESC 8  DECRC\tRestore cursor\n"
2240 msgstr "ESC 8  DECRC\tカーソルの復元。\n"
2241
2242 #. type: Plain text
2243 #: build/C/man4/console_codes.4:543
2244 msgid "It also recognizes"
2245 msgstr "また、次のものも認識する:"
2246
2247 #. type: tbl table
2248 #: build/C/man4/console_codes.4:545
2249 #, no-wrap
2250 msgid "ESC F\t\tCursor to lower left corner of screen (if enabled by\n"
2251 msgstr "ESC F\t\tカーソルをスクリーンの左下に移動する。\n"
2252
2253 #. type: tbl table
2254 #: build/C/man4/console_codes.4:546
2255 #, no-wrap
2256 msgid "\t\tB<xterm>(1)'s B<hpLowerleftBugCompat> resource)\n"
2257 msgstr "\t\t(B<xterm>(1) の B<hpLowerleftBugCompat>リソースにより有効な時)\n"
2258
2259 #. type: tbl table
2260 #: build/C/man4/console_codes.4:547
2261 #, no-wrap
2262 msgid "ESC l\t\tMemory lock (per HP terminals).\n"
2263 msgstr "ESC l\t\t(HP ターミナル毎に)メモリロック。\n"
2264
2265 #. type: tbl table
2266 #: build/C/man4/console_codes.4:548
2267 #, no-wrap
2268 msgid "\t\tLocks memory above the cursor.\n"
2269 msgstr "\t\tカーソルより上のメモリをロックする。\n"
2270
2271 #. type: tbl table
2272 #: build/C/man4/console_codes.4:549
2273 #, no-wrap
2274 msgid "ESC m\t\tMemory unlock (per HP terminals).\n"
2275 msgstr "ESC m\t\t(HP ターミナル毎に)メモリロックを解除する。\n"
2276
2277 #. type: tbl table
2278 #: build/C/man4/console_codes.4:550
2279 #, no-wrap
2280 msgid "ESC n\tLS2\tInvoke the G2 character set.\n"
2281 msgstr "ESC n\tLS2\tG2 文字集合の呼び出し。\n"
2282
2283 #. type: tbl table
2284 #: build/C/man4/console_codes.4:551
2285 #, no-wrap
2286 msgid "ESC o\tLS3\tInvoke the G3 character set.\n"
2287 msgstr "ESC o\tLS3\tG3 文字集合の呼び出し。\n"
2288
2289 #. type: tbl table
2290 #: build/C/man4/console_codes.4:552
2291 #, no-wrap
2292 msgid "ESC |\tLS3R\tInvoke the G3 character set as GR.\n"
2293 msgstr "ESC |\tLS3R\tG3 文字集合を GR として呼び出す。\n"
2294
2295 #. type: tbl table
2296 #: build/C/man4/console_codes.4:553
2297 #, no-wrap
2298 msgid "ESC }\tLS2R\tInvoke the G2 character set as GR.\n"
2299 msgstr "ESC }\tLS2R\tG2 文字集合を GR として呼び出す。\n"
2300
2301 #. type: tbl table
2302 #: build/C/man4/console_codes.4:554
2303 #, no-wrap
2304 msgid "ESC ~\tLS1R\tInvoke the G1 character set as GR.\n"
2305 msgstr "ESC ~\tLS1R\tG1 文字集合を GR として呼び出す。\n"
2306
2307 #. type: Plain text
2308 #: build/C/man4/console_codes.4:560
2309 msgid "It also recognizes ESC % and provides a more complete UTF-8 implementation than Linux console."
2310 msgstr "また ESC % を認識し、Linux コンソールより更に完全な UTF-8 実装を提供する。"
2311
2312 #. type: Plain text
2313 #: build/C/man4/console_codes.4:562
2314 msgid "B<CSI Sequences>"
2315 msgstr "B<CSI シーケンス>"
2316
2317 #. type: Plain text
2318 #: build/C/man4/console_codes.4:576
2319 msgid "Old versions of B<xterm>(1), for example, from X11R5, interpret the blink SGR as a bold SGR.  Later versions which implemented ANSI colors, for example, XFree86 3.1.2A in 1995, improved this by allowing the blink attribute to be displayed as a color.  Modern versions of xterm implement blink SGR as blinking text and still allow colored text as an alternate rendering of SGRs.  Stock X11R6 versions did not recognize the color-setting SGRs until the X11R6.8 release, which incorporated XFree86 xterm.  All ECMA-48 CSI sequences recognized by Linux are also recognized by I<xterm>, however B<xterm>(1) implements several ECMA-48 and DEC control sequences not recognized by Linux."
2320 msgstr "X11R5 由来のような、古いバージョンの B<xterm>(1) はブリンク SGR を ボールド SGR として解釈する。 1995 年の XFree86 3.1.2A のような、ANSI カラーが実装された、より新しい バージョンでは、ブリンク属性を色として表示することによってこれを 改善している。 最近のバージョンの xterm はブリンク SGR をテキストをブリンクさせることで 実装し、さらにまた、SGR 表示の代替案として色付きのテキストも利用できる。 Stock X11R6 版では、XFree86 xterm が組み入れられた X11R6.8 リリースまで 色設定 SGR を認識しなかった。 Linux が認識する他のすべての ECMA-48 CSI シーケンスは I<xterm> でも認識されるが、B<xterm>(1) は Linux が認識しない いくつかの ECMA-48 と DEC のコントロールシーケンスも実装している。"
2321
2322 #. type: Plain text
2323 #: build/C/man4/console_codes.4:590
2324 msgid "The B<xterm>(1)  program recognizes all of the DEC Private Mode sequences listed above, but none of the Linux private-mode sequences.  For discussion of B<xterm>(1)'s own private-mode sequences, refer to the I<Xterm Control Sequences> document by Edward Moy, Stephen Gildea, and Thomas E. Dickey available with the X distribution.  That document, though terse, is much longer than this manual page.  For a chronological overview,"
2325 msgstr "B<xterm>(1) は上述のすべての DEC プライベートモードのシーケンスを認識するが、 Linux プライベートモードのシーケンスはどれも認識しない。 B<xterm>(1) 自身のプライベートモードシーケンスに関しての議論は、 X 配布とともに入手可能な Edward Moy, Stephen Gildea,Thomas E. Dickey による I<Xterm Control Sequences> ドキュメントを参照されたい。 このドキュメントは、簡潔なものであるが、このマニュアルページより 遥かに長いものである。 年代順の概観としては、"
2326
2327 #. type: Plain text
2328 #: build/C/man4/console_codes.4:594
2329 msgid "E<.UR http://invisible-island.net\\:/xterm\\:/xterm.log.html> E<.UE>"
2330 msgstr "E<.UR http://invisible-island.net\\:/xterm\\:/xterm.log.html> E<.UE>"
2331
2332 #. type: Plain text
2333 #: build/C/man4/console_codes.4:597
2334 msgid "details changes to xterm."
2335 msgstr "には xterm の変更の詳細がある。"
2336
2337 #. type: Plain text
2338 #: build/C/man4/console_codes.4:599
2339 msgid "The I<vttest> program"
2340 msgstr "I<vttest> は"
2341
2342 #. type: Plain text
2343 #: build/C/man4/console_codes.4:603
2344 msgid "E<.UR http://invisible-island.net\\:/vttest/> E<.UE>"
2345 msgstr "E<.UR http://invisible-island.net\\:/vttest/> E<.UE>"
2346
2347 #. type: Plain text
2348 #: build/C/man4/console_codes.4:608
2349 msgid "demonstrates many of these control sequences.  The B<xterm>(1) source distribution also contains sample scripts which exercise other features."
2350 msgstr "で入手でき、これらのコントロールシーケンスの多くに関するデモを行う。 B<xterm>(1) ソース配布パッケージには その他の機能を学ぶことが出来るサンプルスクリプトが入っている。"
2351
2352 #. type: SH
2353 #: build/C/man4/console_codes.4:608 build/C/man4/console_ioctl.4:824
2354 #: build/C/man5/core.5:316 build/C/man4/cpuid.4:62 build/C/man4/fd.4:197
2355 #: build/C/man7/fifo.7:54 build/C/man4/initrd.4:429 build/C/man3/makedev.3:71
2356 #: build/C/man2/mknod.2:253 build/C/man4/msr.4:47 build/C/man4/null.4:61
2357 #: build/C/man4/st.4:891 build/C/man3/stdarg.3:248 build/C/man2/syslog.2:380
2358 #: build/C/man3/syslog.3:296 build/C/man7/uri.7:592
2359 #, no-wrap
2360 msgid "NOTES"
2361 msgstr "注意"
2362
2363 #. type: Plain text
2364 #: build/C/man4/console_codes.4:611
2365 msgid "ESC 8 (DECRC) is not able to restore the character set changed with ESC %."
2366 msgstr "ESC 8 (DECRC) は ESC % で変更された文字集合を復元することはできない。"
2367
2368 #. type: SH
2369 #: build/C/man4/console_codes.4:611 build/C/man4/sk98lin.4:592
2370 #: build/C/man3/stdarg.3:284 build/C/man7/uri.7:673
2371 #, no-wrap
2372 msgid "BUGS"
2373 msgstr "バグ"
2374
2375 #. type: Plain text
2376 #: build/C/man4/console_codes.4:614
2377 msgid "In 2.0.23, CSI is broken, and NUL is not ignored inside escape sequences."
2378 msgstr "2.0.23 では CSI が壊れていて、エスケープシーケンス中の NUL が 無視されない。"
2379
2380 #. type: Plain text
2381 #: build/C/man4/console_codes.4:623
2382 msgid "Some older kernel versions (after 2.0) interpret 8-bit control sequences.  These \"C1 controls\" use codes between 128 and 159 to replace ESC [, ESC ] and similar two-byte control sequence initiators.  There are fragments of that in modern kernels (either overlooked or broken by changes to support UTF-8), but the implementation is incomplete and should be regarded as unreliable."
2383 msgstr "古いバージョン(2.0 以降)のカーネルには、8 ビット制御シーケンスを解釈する。 これらの \"C1 コントロール\" は ESC [, ESC ] および同様な制御シーケンス 起動子を置き換えるために 128 から 159 のコードを使う。 新しいカーネルでは (UTF-8 対応の変更時に見落とされたか壊れたために)  寸断しているが、実装は不完全で信頼できないものと評価されている。"
2384
2385 #. type: Plain text
2386 #: build/C/man4/console_codes.4:638
2387 msgid "Linux \"private mode\" sequences do not follow the rules in ECMA-48 for private mode control sequences.  In particular, those ending with ] do not use a standard terminating character.  The OSC (set palette) sequence is a greater problem, since B<xterm>(1) may interpret this as a control sequence which requires a string terminator (ST).  Unlike the B<setterm>(1) sequences which will be ignored (since they are invalid control sequences), the palette sequence will make B<xterm>(1) appear to hang (though pressing the return-key will fix that).  To accommodate applications which have been hardcoded to use Linux control sequences, set the B<xterm>(1) resource B<brokenLinuxOSC> to true."
2388 msgstr "Linux \"プライベートモード\" シーケンスは ECMA-48 のプライベートモード コントロールシーケンスのルールに従っていない。 特に、 ] で終わるものは標準終端文字を使えない。 OSC(パレット設定)シーケンスは大きな問題がある。 B<xterm>(1) はこれを文字列終端文字 (ST) が必要なコントロールシーケンスと 解釈するかもしれないからである。 (不正なコントロールシーケンスなので)無視される B<setterm>(1) シーケンスと 違い、パレットシーケンスは B<xterm>(1) をハングさせるかもしれない (しかしリターンキーを押すことで回復できる)。 Linux コントロールシーケンスをハードコードしているアプリケーションに 適応させるには、B<xterm>(1) リソースの B<brokenLinuxOSC> を 真 (true) に設定する。"
2389
2390 #. type: Plain text
2391 #: build/C/man4/console_codes.4:642
2392 msgid "An older version of this document implied that Linux recognizes the ECMA-48 control sequence for invisible text.  It is ignored."
2393 msgstr "このドキュメントの古いバージョンでは、Linux が ECMA-48 の不可視テキストの コントロールシーケンスを認識するかのように書かれていた。 これは無視される。"
2394
2395 #. type: Plain text
2396 #: build/C/man4/console_codes.4:646
2397 msgid "B<console>(4), B<console_ioctl>(4), B<charsets>(7)"
2398 msgstr "B<console>(4), B<console_ioctl>(4), B<charsets>(7)"
2399
2400 #. type: TH
2401 #: build/C/man4/console_ioctl.4:40
2402 #, no-wrap
2403 msgid "CONSOLE_IOCTL"
2404 msgstr "CONSOLE_IOCTL"
2405
2406 #. type: TH
2407 #: build/C/man4/console_ioctl.4:40
2408 #, no-wrap
2409 msgid "2009-02-28"
2410 msgstr "2009-02-28"
2411
2412 #. type: Plain text
2413 #: build/C/man4/console_ioctl.4:43
2414 msgid "console_ioctl - ioctls for console terminal and virtual consoles"
2415 msgstr "console_ioctl - コンソール端末と仮想コンソールの ioctl"
2416
2417 #. type: Plain text
2418 #: build/C/man4/console_ioctl.4:49
2419 msgid "The following Linux-specific B<ioctl>(2)  requests are supported.  Each requires a third argument, assumed here to be I<argp>."
2420 msgstr "次のような Linux 固有の B<ioctl>(2)  がサポートされている。 それぞれ3番目の引数が必要である、ここでは I<argp> とする。"
2421
2422 #. type: TP
2423 #: build/C/man4/console_ioctl.4:49
2424 #, no-wrap
2425 msgid "B<KDGETLED>"
2426 msgstr "B<KDGETLED>"
2427
2428 #. type: Plain text
2429 #: build/C/man4/console_ioctl.4:59
2430 msgid "Get state of LEDs.  I<argp> points to a I<char>.  The lower three bits of I<*argp> are set to the state of the LEDs, as follows:"
2431 msgstr "LED の状態を取得する。 I<argp> は I<char> のポインターである。 I<*argp> の下位 3 ビットに以下のように LED の状態がセットされる。"
2432
2433 #. type: tbl table
2434 #: build/C/man4/console_ioctl.4:61
2435 #, no-wrap
2436 msgid "LED_CAP \t0x04\tcaps lock led\n"
2437 msgstr "LED_CAP \t0x04\tキャピタルロック LED 点灯\n"
2438
2439 #. type: tbl table
2440 #: build/C/man4/console_ioctl.4:62
2441 #, no-wrap
2442 msgid "LED_NUM \t0x02\tnum lock led\n"
2443 msgstr "LED_NUM \t0x02\tナンバーロック LED 点灯\n"
2444
2445 #. type: tbl table
2446 #: build/C/man4/console_ioctl.4:63
2447 #, no-wrap
2448 msgid "LED_SCR \t0x01\tscroll lock led\n"
2449 msgstr "LED_SCR \t0x01\tスクロールロック LED 点灯\n"
2450
2451 #. type: TP
2452 #: build/C/man4/console_ioctl.4:65
2453 #, no-wrap
2454 msgid "B<KDSETLED>"
2455 msgstr "B<KDSETLED>"
2456
2457 #. type: Plain text
2458 #: build/C/man4/console_ioctl.4:73
2459 msgid "Set the LEDs.  The LEDs are set to correspond to the lower three bits of I<argp>.  However, if a higher order bit is set, the LEDs revert to normal: displaying the state of the keyboard functions of caps lock, num lock, and scroll lock."
2460 msgstr "LEDを点灯させる。LEDは I<argp> の下位 3 ビットに従い点灯される。 しかし、より高位のビットがセットされている時には、キャピタルロック、 ナンバーロック、スクロールロックのキーボード機能の状態を表示する LED は 通常状態に戻る。"
2461
2462 #. type: Plain text
2463 #: build/C/man4/console_ioctl.4:80
2464 msgid "Before 1.1.54, the LEDs just reflected the state of the corresponding keyboard flags, and KDGETLED/KDSETLED would also change the keyboard flags.  Since 1.1.54 the LEDs can be made to display arbitrary information, but by default they display the keyboard flags.  The following two ioctls are used to access the keyboard flags."
2465 msgstr "カーネル 1.1.54 以前は、LED はそれぞれのキーボードフラグの状態を反映するだけで、KDGETLED/KDSETLED もキーボードフラグを変更するだけであった。 カーネル 1.1.54 からは LED に任意の表示をすることができるようになったが、 デフォルトではキーボードフラグを表示する。 次に示す 2 つの ioctl はキーボードフラグにアクセスするのに用いられる。"
2466
2467 #. type: TP
2468 #: build/C/man4/console_ioctl.4:80
2469 #, no-wrap
2470 msgid "B<KDGKBLED>"
2471 msgstr "B<KDGKBLED>"
2472
2473 #. type: Plain text
2474 #: build/C/man4/console_ioctl.4:89
2475 msgid "Get keyboard flags CapsLock, NumLock, ScrollLock (not lights).  I<argp> points to a char which is set to the flag state.  The low order three bits (mask 0x7) get the current flag state, and the low order bits of the next nibble (mask 0x70) get the default flag state.  (Since 1.1.54.)"
2476 msgstr "キャピタルロック、ナンバーロック、スクロールロックの(LED の表示では なく)キーボードフラグを得る。 I<argp> はフラグの状態がセットされる文字変数を指す。 (0x7)でマスクして得られる下位 3 ビットが現在のフラグの状態を示し、 (0x70)でマスクして得られる次の 3 ビットがデフォルトのフラグの状態を 示す。(カーネル 1.1.54以降)"
2477
2478 #. type: TP
2479 #: build/C/man4/console_ioctl.4:89
2480 #, no-wrap
2481 msgid "B<KDSKBLED>"
2482 msgstr "B<KDSKBLED>"
2483
2484 #. type: Plain text
2485 #: build/C/man4/console_ioctl.4:98
2486 msgid "Set keyboard flags CapsLock, NumLock, ScrollLock (not lights).  I<argp> has the desired flag state.  The low order three bits (mask 0x7) have the flag state, and the low order bits of the next nibble (mask 0x70) have the default flag state.  (Since 1.1.54.)"
2487 msgstr "キャピタルロック、ナンバーロック、スクロールロックの(LED の表示ではなく)  キーボードフラグをセットする。 I<argp> がセットしたいフラグである。 (0x7)でマスクして得られる下位 3 ビットがフラグの状態で、(0x70)でマスクして 得られる次の 3 ビットがデフォルトのフラグの状態である。(カーネル 1.1.54以降)"
2488
2489 #. type: TP
2490 #: build/C/man4/console_ioctl.4:98
2491 #, no-wrap
2492 msgid "B<KDGKBTYPE>"
2493 msgstr "B<KDGKBTYPE>"
2494
2495 #. type: Plain text
2496 #: build/C/man4/console_ioctl.4:102
2497 msgid "Get keyboard type.  This returns the value KB_101, defined as 0x02."
2498 msgstr "キーボードの種類を得る。これは値 0x02 と定義されている KB_101を返す。"
2499
2500 #. type: TP
2501 #: build/C/man4/console_ioctl.4:102
2502 #, no-wrap
2503 msgid "B<KDADDIO>"
2504 msgstr "B<KDADDIO>"
2505
2506 #. type: Plain text
2507 #: build/C/man4/console_ioctl.4:107
2508 msgid "Add I/O port as valid.  Equivalent to I<ioperm(arg,1,1)>."
2509 msgstr "I/Oポートを有効な物として加える。これは I<ioperm(arg,1,1)> と等価である。"
2510
2511 #. type: TP
2512 #: build/C/man4/console_ioctl.4:107
2513 #, no-wrap
2514 msgid "B<KDDELIO>"
2515 msgstr "B<KDDELIO>"
2516
2517 #. type: Plain text
2518 #: build/C/man4/console_ioctl.4:112
2519 msgid "Delete I/O port as valid.  Equivalent to I<ioperm(arg,1,0)>."
2520 msgstr "I/Oポートを有効な物から外す。これは I<ioperm(arg,1,0)> と等価である。"
2521
2522 #. type: TP
2523 #: build/C/man4/console_ioctl.4:112
2524 #, no-wrap
2525 msgid "B<KDENABIO>"
2526 msgstr "B<KDENABIO>"
2527
2528 #. type: Plain text
2529 #: build/C/man4/console_ioctl.4:117
2530 msgid "Enable I/O to video board.  Equivalent to I<ioperm(0x3b4, 0x3df-0x3b4+1, 1)>."
2531 msgstr "ビデオボードへの I/O を可能にする。 これは I<ioperm(0x3b4, 0x3df-0x3b4+1, 1)> と等価である。"
2532
2533 #. type: TP
2534 #: build/C/man4/console_ioctl.4:117
2535 #, no-wrap
2536 msgid "B<KDDISABIO>"
2537 msgstr "B<KDDISABIO>"
2538
2539 #. type: Plain text
2540 #: build/C/man4/console_ioctl.4:122
2541 msgid "Disable I/O to video board.  Equivalent to I<ioperm(0x3b4, 0x3df-0x3b4+1, 0)>."
2542 msgstr "ビデオボードへの I/O を不可能にする。 これは I<ioperm(0x3b4, 0x3df-0x3b4+1, 0)> と等価である。"
2543
2544 #. type: TP
2545 #: build/C/man4/console_ioctl.4:122
2546 #, no-wrap
2547 msgid "B<KDSETMODE>"
2548 msgstr "B<KDSETMODE>"
2549
2550 #. type: Plain text
2551 #: build/C/man4/console_ioctl.4:127
2552 msgid "Set text/graphics mode.  I<argp> is one of these:"
2553 msgstr "テキスト/グラフィクスモードを設定する。 I<argp> は次のうちのどれか:"
2554
2555 #. type: tbl table
2556 #: build/C/man4/console_ioctl.4:130
2557 #, no-wrap
2558 msgid "KD_TEXT\t0x00\n"
2559 msgstr "KD_TEXT\t0x00\n"
2560
2561 #. type: tbl table
2562 #: build/C/man4/console_ioctl.4:131
2563 #, no-wrap
2564 msgid "KD_GRAPHICS\t0x01\n"
2565 msgstr "KD_GRAPHICS\t0x01\n"
2566
2567 #. type: TP
2568 #: build/C/man4/console_ioctl.4:133
2569 #, no-wrap
2570 msgid "B<KDGETMODE>"
2571 msgstr "B<KDGETMODE>"
2572
2573 #. type: Plain text
2574 #: build/C/man4/console_ioctl.4:141
2575 msgid "Get text/graphics mode.  I<argp> points to a I<long> which is set to one of the above values."
2576 msgstr "テキスト/グラフィクスモードを取得する。 I<argp> が指す I<long> 型変数に 上述の値のどちらかがセットされる。"
2577
2578 #. type: TP
2579 #: build/C/man4/console_ioctl.4:141
2580 #, no-wrap
2581 msgid "B<KDMKTONE>"
2582 msgstr "B<KDMKTONE>"
2583
2584 #. type: Plain text
2585 #: build/C/man4/console_ioctl.4:155
2586 msgid "Generate tone of specified length.  The lower 16 bits of I<argp> specify the period in clock cycles, and the upper 16 bits give the duration in msec.  If the duration is zero, the sound is turned off.  Control returns immediately.  For example, I<argp> = (125E<lt>E<lt>16) + 0x637 would specify the beep normally associated with a ctrl-G.  (Thus since 0.99pl1; broken in 2.1.49-50.)"
2587 msgstr "指定された長さのトーンを発生する。 I<argp> の下位 16 ビットはクロックサイクルを単位にして周期を指定し、 上位 16 ビットが msec の単位で表した、(トーンを発生させる)時間を指定する。 トーンを発生させる時間がゼロのときは、サウンドはオフになる。 制御は直ちに戻る。 例えば、I<argp> = (125E<lt>E<lt>16) + 0x637 とすれば、通常 ctrl-G を押した時に 発生する音になる。 (カーネル 0.99pl1 以降;この機能は カーネル 2.1.49 から 2.1.50 ではバグのため動作しない)"
2588
2589 #. type: TP
2590 #: build/C/man4/console_ioctl.4:155
2591 #, no-wrap
2592 msgid "B<KIOCSOUND>"
2593 msgstr "B<KIOCSOUND>"
2594
2595 #. type: Plain text
2596 #: build/C/man4/console_ioctl.4:167
2597 msgid "Start or stop sound generation.  The lower 16 bits of I<argp> specify the period in clock cycles (that is, I<argp> = 1193180/frequency).  I<argp> = 0 turns sound off.  In either case, control returns immediately."
2598 msgstr "音の発生の開始や停止を行う。 I<argp> の下位 16 ビットはクロックサイクルを単位として周期を示す。 (つまり I<argp> = 1193180/周波数)。 I<argp> = 0 の場合、サウンドはオフになる。 どちらの場合でも、ただちに制御は戻る。"
2599
2600 #. type: TP
2601 #: build/C/man4/console_ioctl.4:167
2602 #, no-wrap
2603 msgid "B<GIO_CMAP>"
2604 msgstr "B<GIO_CMAP>"
2605
2606 #. type: Plain text
2607 #: build/C/man4/console_ioctl.4:174
2608 msgid "Get the current default color map from kernel.  I<argp> points to a 48-byte array.  (Since 1.3.3.)"
2609 msgstr "現在のデフォルトのカラーマップをカーネルより取得する。"
2610
2611 #. type: TP
2612 #: build/C/man4/console_ioctl.4:174
2613 #, no-wrap
2614 msgid "B<PIO_CMAP>"
2615 msgstr "B<PIO_CMAP>"
2616
2617 #. type: Plain text
2618 #: build/C/man4/console_ioctl.4:187
2619 msgid "Change the default text-mode color map.  I<argp> points to a 48-byte array which contains, in order, the Red, Green, and Blue values for the 16 available screen colors: 0 is off, and 255 is full intensity.  The default colors are, in order: black, dark red, dark green, brown, dark blue, dark purple, dark cyan, light grey, dark grey, bright red, bright green, yellow, bright blue, bright purple, bright cyan and white.  (Since 1.3.3.)"
2620 msgstr "デフォルトのテキストモードのカラーマップを変更する。 I<argp> が指す 48 バイトの配列中には、16 の可能なスクリーンの色を、 赤、緑、青の順に 0 をオフ、255を最大強度とした値として納める。 デフォルトの色は順に、黒、濃い赤、濃い緑、茶、濃い青、濃い紫、濃いシアン、 明るい灰色、濃い灰色、明るい赤、明るい緑、黄、明るい青、明るい紫、 明るいシアン、白である。(カーネル 1.3.3以降)"
2621
2622 #. type: TP
2623 #: build/C/man4/console_ioctl.4:187
2624 #, no-wrap
2625 msgid "B<GIO_FONT>"
2626 msgstr "B<GIO_FONT>"
2627
2628 #. type: Plain text
2629 #: build/C/man4/console_ioctl.4:197
2630 msgid "Gets 256-character screen font in expanded form.  I<argp> points to an 8192 byte array.  Fails with error code B<EINVAL> if the currently loaded font is a 512-character font, or if the console is not in text mode."
2631 msgstr "拡張された形式で 256 文字のスクリーンフォントを得る。 I<argp> は 8192 バイトの配列を指す。 現在ロードされているフォントが 512 文字のフォントであるか、コンソールが テキストモードでない時には失敗し B<EINVAL> のエラーコードを返す。"
2632
2633 #. type: TP
2634 #: build/C/man4/console_ioctl.4:197
2635 #, no-wrap
2636 msgid "B<GIO_FONTX>"
2637 msgstr "B<GIO_FONTX>"
2638
2639 #. type: Plain text
2640 #: build/C/man4/console_ioctl.4:225
2641 msgid "Gets screen font and associated information.  I<argp> points to a I<struct consolefontdesc> (see B<PIO_FONTX>).  On call, the I<charcount> field should be set to the maximum number of characters that would fit in the buffer pointed to by I<chardata>.  On return, the I<charcount> and I<charheight> are filled with the respective data for the currently loaded font, and the I<chardata> array contains the font data if the initial value of I<charcount> indicated enough space was available; otherwise the buffer is untouched and I<errno> is set to B<ENOMEM>.  (Since 1.3.1.)"
2642 msgstr "スクリーンフォントとそれに関連した情報を取得する。 I<argp> は構造体 consolefontdesc (B<PIO_FONTX> を参照のこと)を指す。 関数呼び出しのときには、I<charcount> には、I<chardata> が指す バッファーにおさまる最大の文字数をセットしなければならない。 関数呼び出しから戻った時には I<charcount> と I<charheight> には、 現在ロードされているフォントの該当するデータが収められている。 配列 I<chardata> には、最初に I<charcount> にいれた値によって フォントを収めるのに十分なスペースがあるとわかればフォントデータが収められる。 そうでない時には、バッファーは変更されず、 I<errno> に B<ENOMEM> が セットされる(カーネル 1.3.1 以降)。"
2643
2644 #. type: TP
2645 #: build/C/man4/console_ioctl.4:225
2646 #, no-wrap
2647 msgid "B<PIO_FONT>"
2648 msgstr "B<PIO_FONT>"
2649
2650 #. type: Plain text
2651 #: build/C/man4/console_ioctl.4:240
2652 msgid "Sets 256-character screen font.  Load font into the EGA/VGA character generator.  I<argp> points to a 8192 byte map, with 32 bytes per character.  Only the first I<N> of them are used for an 8xI<N> font (0 E<lt> I<N> E<lt>= 32).  This call also invalidates the Unicode mapping."
2653 msgstr "256 文字のフォントをセットする。EGA/VGA キャラクタージェネレーター (character generator) にフォントをロードする。 I<argp> は、8192 バイト(一文字 32 バイト)のマップを指す。 マップのうち、最初の I<N> のみが 8xI<N> のフォントのために 用いられる(0 E<lt> I<N> E<lt>= 32)。 この呼び出しをすると Unicode のマッピングが無効になる。"
2654
2655 #. type: TP
2656 #: build/C/man4/console_ioctl.4:240
2657 #, no-wrap
2658 msgid "B<PIO_FONTX>"
2659 msgstr "B<PIO_FONTX>"
2660
2661 #. type: Plain text
2662 #: build/C/man4/console_ioctl.4:245
2663 msgid "Sets screen font and associated rendering information.  I<argp> points to a"
2664 msgstr "スクリーンフォントと、それに関連するレンダリング情報をセットする。 I<argp> は、以下の構造体を指す。"
2665
2666 #. type: Plain text
2667 #: build/C/man4/console_ioctl.4:256
2668 #, no-wrap
2669 msgid ""
2670 "struct consolefontdesc {\n"
2671 "    unsigned short charcount;  /* characters in font\n"
2672 "                                  (256 or 512) */\n"
2673 "    unsigned short charheight; /* scan lines per\n"
2674 "                                  character (1-32) */\n"
2675 "    char          *chardata;   /* font data in\n"
2676 "                                  expanded form */\n"
2677 "};\n"
2678 msgstr ""
2679 "struct consolefontdesc {\n"
2680 "    unsigned short charcount;  /* フォントの文字数\n"
2681 "                                  (256 または 512) */\n"
2682 "    unsigned short charheight; /* 一文字の走査線の数\n"
2683 "                                  (1-32) */\n"
2684 "    char          *chardata;   /* 展開されたフォントデータ */\n"
2685 "};\n"
2686
2687 #. type: Plain text
2688 #: build/C/man4/console_ioctl.4:264
2689 msgid "If necessary, the screen will be appropriately resized, and B<SIGWINCH> sent to the appropriate processes.  This call also invalidates the Unicode mapping.  (Since 1.3.1.)"
2690 msgstr "必要ならスクリーンは適当にサイズ変更され、B<SIGWINCH> が適切な プロセスに送られる。 このコールにより Unicode のマッピングが無効になる。"
2691
2692 #. type: TP
2693 #: build/C/man4/console_ioctl.4:264
2694 #, no-wrap
2695 msgid "B<PIO_FONTRESET>"
2696 msgstr "B<PIO_FONTRESET>"
2697
2698 #. type: Plain text
2699 #: build/C/man4/console_ioctl.4:272
2700 msgid "Resets the screen font, size and Unicode mapping to the bootup defaults.  I<argp> is unused, but should be set to NULL to ensure compatibility with future versions of Linux.  (Since 1.3.28.)"
2701 msgstr "スクリーンフォント、サイズ、 Unicode マッピングをブート時のデフォルト値に リセットする。I<argp> は用いられないが、将来のバージョンの Linux との互換性を保つために NULL にセットすべきである。"
2702
2703 #. type: TP
2704 #: build/C/man4/console_ioctl.4:272
2705 #, no-wrap
2706 msgid "B<GIO_SCRNMAP>"
2707 msgstr "B<GIO_SCRNMAP>"
2708
2709 #. type: Plain text
2710 #: build/C/man4/console_ioctl.4:281
2711 msgid "Get screen mapping from kernel.  I<argp> points to an area of size E_TABSZ, which is loaded with the font positions used to display each character.  This call is likely to return useless information if the currently loaded font is more than 256 characters."
2712 msgstr "スクリーンマッピングをカーネルより取得する。I<argp> はサイズ E_TABSZ の 領域を指す。その領域には各キャラクターを表示するのに用いられるフォントの 位置がロードされている。 この呼び出しは現在ロードされているフォントが 256 文字よりも多い時には 無意味な情報を返す事が多い。"
2713
2714 #. type: TP
2715 #: build/C/man4/console_ioctl.4:281
2716 #, no-wrap
2717 msgid "B<GIO_UNISCRNMAP>"
2718 msgstr "B<GIO_UNISCRNMAP>"
2719
2720 #. type: Plain text
2721 #: build/C/man4/console_ioctl.4:293
2722 msgid "Get full Unicode screen mapping from kernel.  I<argp> points to an area of size I<E_TABSZ*sizeof(unsigned short)>, which is loaded with the Unicodes each character represent.  A special set of Unicodes, starting at U+F000, are used to represent \"direct to font\" mappings.  (Since 1.3.1.)"
2723 msgstr "フル Unicode スクリーンマッピングをカーネルより取得する。 I<argp> はサイズ I<E_TABSZ*sizeof(unsigned short)> の領域を指す。 その領域には各キャラクターを示す Unicode がロードされている。 U+F000 に始まる Unicode の特別な集合は、「フォント直接な (direct to font)」 マッピングを示すのに用いられる (カーネル 1.3.1 以降)。"
2724
2725 #. type: TP
2726 #: build/C/man4/console_ioctl.4:293
2727 #, no-wrap
2728 msgid "B<PIO_SCRNMAP>"
2729 msgstr "B<PIO_SCRNMAP>"
2730
2731 #. type: Plain text
2732 #: build/C/man4/console_ioctl.4:300
2733 msgid "Loads the \"user definable\" (fourth) table in the kernel which maps bytes into console screen symbols.  I<argp> points to an area of size E_TABSZ."
2734 msgstr "「ユーザー定義可能な(user definable)」(4番目の)テーブルをカーネルに ロードする。そのテーブルは各バイトをスクリーンシンボルにマッピングする。 I<argp> はサイズE_TABSZの領域を指す。"
2735
2736 #. type: TP
2737 #: build/C/man4/console_ioctl.4:300
2738 #, no-wrap
2739 msgid "B<PIO_UNISCRNMAP>"
2740 msgstr "B<PIO_UNISCRNMAP>"
2741
2742 #. type: Plain text
2743 #: build/C/man4/console_ioctl.4:308
2744 msgid "Loads the \"user definable\" (fourth) table in the kernel which maps bytes into Unicodes, which are then translated into screen symbols according to the currently loaded Unicode-to-font map.  Special Unicodes starting at U+F000 can be used to map directly to the font symbols.  (Since 1.3.1.)"
2745 msgstr "「ユーザー定義可能な」(4番目の)テーブルをカーネルにロードする。 そのテーブルは各バイトをユニコードにマッピングし、その後、 現在ロードされているユニコードからフォントへのマップに従い スクリーンシンボルに変換される。 U+F000 に始まるユニコードは直接フォントシンボルにマッピングするのに 使える(カーネル 1.3.1 以降)"
2746
2747 #. type: TP
2748 #: build/C/man4/console_ioctl.4:308
2749 #, no-wrap
2750 msgid "B<GIO_UNIMAP>"
2751 msgstr "B<GIO_UNIMAP>"
2752
2753 #. type: Plain text
2754 #: build/C/man4/console_ioctl.4:313
2755 msgid "Get Unicode-to-font mapping from kernel.  I<argp> points to a"
2756 msgstr "Unicode からフォントへのマッピングをカーネルから取得する。 I<argp> は、"
2757
2758 #. type: Plain text
2759 #: build/C/man4/console_ioctl.4:320
2760 #, no-wrap
2761 msgid ""
2762 "struct unimapdesc {\n"
2763 "    unsigned short  entry_ct;\n"
2764 "    struct unipair *entries;\n"
2765 "};\n"
2766 msgstr ""
2767 "struct unimapdesc {\n"
2768 "    unsigned short  entry_ct;\n"
2769 "    struct unipair *entries;\n"
2770 "};\n"
2771
2772 #. type: Plain text
2773 #: build/C/man4/console_ioctl.4:326
2774 msgid "where I<entries> points to an array of"
2775 msgstr "という構造体を指す。 ここで I<entries> は以下の構造体の配列へのポインターである。"
2776
2777 #. type: Plain text
2778 #: build/C/man4/console_ioctl.4:333
2779 #, no-wrap
2780 msgid ""
2781 "struct unipair {\n"
2782 "    unsigned short unicode;\n"
2783 "    unsigned short fontpos;\n"
2784 "};\n"
2785 msgstr ""
2786 "struct unipair {\n"
2787 "    unsigned short unicode;\n"
2788 "    unsigned short fontpos;\n"
2789 "};\n"
2790
2791 #. type: Plain text
2792 #: build/C/man4/console_ioctl.4:337 build/C/man4/console_ioctl.4:361
2793 msgid "(Since 1.1.92.)"
2794 msgstr "(カーネル 1.1.92 以降)"
2795
2796 #. type: TP
2797 #: build/C/man4/console_ioctl.4:337
2798 #, no-wrap
2799 msgid "B<PIO_UNIMAP>"
2800 msgstr "B<PIO_UNIMAP>"
2801
2802 #. type: Plain text
2803 #: build/C/man4/console_ioctl.4:344
2804 msgid "Put unicode-to-font mapping in kernel.  I<argp> points to a I<struct unimapdesc>.  (Since 1.1.92)"
2805 msgstr "Unicode からフォントへのマッピングをカーネルにセットする。 I<argp> は構造体 I<struct unimapdesc> へのポインターである。 (カーネル 1.1.92 以降)"
2806
2807 #. type: TP
2808 #: build/C/man4/console_ioctl.4:344
2809 #, no-wrap
2810 msgid "B<PIO_UNIMAPCLR>"
2811 msgstr "B<PIO_UNIMAPCLR>"
2812
2813 #. type: Plain text
2814 #: build/C/man4/console_ioctl.4:349
2815 msgid "Clear table, possibly advise hash algorithm.  I<argp> points to a"
2816 msgstr "テーブルをクリアし、その事をハシュアルゴリズムに伝える。 I<argp>は"
2817
2818 #. type: Plain text
2819 #: build/C/man4/console_ioctl.4:357
2820 #, no-wrap
2821 msgid ""
2822 "struct unimapinit {\n"
2823 "    unsigned short advised_hashsize;  /* 0 if no opinion */\n"
2824 "    unsigned short advised_hashstep;  /* 0 if no opinion */\n"
2825 "    unsigned short advised_hashlevel; /* 0 if no opinion */\n"
2826 "};\n"
2827 msgstr ""
2828 "struct unimapinit {\n"
2829 "    unsigned short advised_hashsize;  /* 0 if no opinion */\n"
2830 "    unsigned short advised_hashstep;  /* 0 if no opinion */\n"
2831 "    unsigned short advised_hashlevel; /* 0 if no opinion */\n"
2832 "};\n"
2833
2834 #. type: TP
2835 #: build/C/man4/console_ioctl.4:361
2836 #, no-wrap
2837 msgid "B<KDGKBMODE>"
2838 msgstr "B<KDGKBMODE>"
2839
2840 #. type: Plain text
2841 #: build/C/man4/console_ioctl.4:369
2842 msgid "Gets current keyboard mode.  I<argp> points to a I<long> which is set to one of these:"
2843 msgstr "現在のキーボードモードを取得する。I<argp> の指す I<long> 型変数が、 次のうちのどれかに設定される。"
2844
2845 #. type: tbl table
2846 #: build/C/man4/console_ioctl.4:372
2847 #, no-wrap
2848 msgid "K_RAW\t0x00\n"
2849 msgstr "K_RAW\t0x00\n"
2850
2851 #. type: tbl table
2852 #: build/C/man4/console_ioctl.4:373
2853 #, no-wrap
2854 msgid "K_XLATE\t0x01\n"
2855 msgstr "K_XLATE\t0x01\n"
2856
2857 #. type: tbl table
2858 #: build/C/man4/console_ioctl.4:374
2859 #, no-wrap
2860 msgid "K_MEDIUMRAW\t0x02\n"
2861 msgstr "K_MEDIUMRAW\t0x02\n"
2862
2863 #. type: tbl table
2864 #: build/C/man4/console_ioctl.4:375
2865 #, no-wrap
2866 msgid "K_UNICODE\t0x03\n"
2867 msgstr "K_UNICODE\t0x03\n"
2868
2869 #. type: TP
2870 #: build/C/man4/console_ioctl.4:377
2871 #, no-wrap
2872 msgid "B<KDSKBMODE>"
2873 msgstr "B<KDSKBMODE>"
2874
2875 #. type: Plain text
2876 #: build/C/man4/console_ioctl.4:384
2877 msgid "Sets current keyboard mode.  I<argp> is a I<long> equal to one of the above values."
2878 msgstr "現在のキーボードモードを設定する。 I<argp> は上記の値のうちのどれかに等しい I<long> にする。"
2879
2880 #. type: TP
2881 #: build/C/man4/console_ioctl.4:384
2882 #, no-wrap
2883 msgid "B<KDGKBMETA>"
2884 msgstr "B<KDGKBMETA>"
2885
2886 #. type: Plain text
2887 #: build/C/man4/console_ioctl.4:392
2888 msgid "Gets meta key handling mode.  I<argp> points to a I<long> which is set to one of these:"
2889 msgstr "メタキーハンドリングモード(meta key handling mode)を取得する。 I<argp> が指す I<long> 型変数は、次のうちのどれかに設定される。"
2890
2891 #. type: tbl table
2892 #: build/C/man4/console_ioctl.4:395
2893 #, no-wrap
2894 msgid "K_METABIT\t0x03\tset high order bit\n"
2895 msgstr "K_METABIT\t0x03\t上位ビットをセット\n"
2896
2897 #. type: tbl table
2898 #: build/C/man4/console_ioctl.4:396
2899 #, no-wrap
2900 msgid "K_ESCPREFIX\t0x04\tescape prefix\n"
2901 msgstr "K_ESCPREFIX\t0x04\tエスケーププレフィックス\n"
2902
2903 #. type: TP
2904 #: build/C/man4/console_ioctl.4:398
2905 #, no-wrap
2906 msgid "B<KDSKBMETA>"
2907 msgstr "B<KDSKBMETA>"
2908
2909 #. type: Plain text
2910 #: build/C/man4/console_ioctl.4:405
2911 msgid "Sets meta key handling mode.  I<argp> is a I<long> equal to one of the above values."
2912 msgstr "メタキーハンドリングモードを設定する。 I<argp> は上記の値のどれかに等しい I<long> にする。"
2913
2914 #. type: TP
2915 #: build/C/man4/console_ioctl.4:405
2916 #, no-wrap
2917 msgid "B<KDGKBENT>"
2918 msgstr "B<KDGKBENT>"
2919
2920 #. type: Plain text
2921 #: build/C/man4/console_ioctl.4:410
2922 msgid "Gets one entry in key translation table (keycode to action code).  I<argp> points to a"
2923 msgstr "キーコードをアクションコードに変換するキー変換表のエントリーの一つを 取得する。 I<argp> は、"
2924
2925 #. type: Plain text
2926 #: build/C/man4/console_ioctl.4:418
2927 #, no-wrap
2928 msgid ""
2929 "struct kbentry {\n"
2930 "    unsigned char  kb_table;\n"
2931 "    unsigned char  kb_index;\n"
2932 "    unsigned short kb_value;\n"
2933 "};\n"
2934 msgstr ""
2935 "struct kbentry {\n"
2936 "    unsigned char  kb_table;\n"
2937 "    unsigned char  kb_index;\n"
2938 "    unsigned short kb_value;\n"
2939 "};\n"
2940
2941 #. type: Plain text
2942 #: build/C/man4/console_ioctl.4:437
2943 msgid "with the first two members filled in: I<kb_table> selects the key table (0 E<lt>= I<kb_table> E<lt> MAX_NR_KEYMAPS), and I<kb_index> is the keycode (0 E<lt>= I<kb_index> E<lt> NR_KEYS).  I<kb_value> is set to the corresponding action code, or K_HOLE if there is no such key, or K_NOSUCHMAP if I<kb_table> is invalid."
2944 msgstr "へのポインターである。 最初の2つの要素、I<kb_table> には選択するキーテーブル (0 E<lt>= I<kb_table> E<lt> MAX_NR_KEYMAPS)、I<kb_index> にはキーコード(0 E<lt>= I<kb_index> E<lt> NR_KEYS)を設定する。 I<kb_value> は対応するアクションコード、または、そのようなキーが ないときには K_HOLE、I<kb_table> が無効な時には K_NOSUCHMAP に設定される。"
2945
2946 #. type: TP
2947 #: build/C/man4/console_ioctl.4:437
2948 #, no-wrap
2949 msgid "B<KDSKBENT>"
2950 msgstr "B<KDSKBENT>"
2951
2952 #. type: Plain text
2953 #: build/C/man4/console_ioctl.4:443
2954 msgid "Sets one entry in translation table.  I<argp> points to a I<struct kbentry>."
2955 msgstr "変換テーブルのエントリーの一つを設定する。I<argp> は 構造体 I<struct kbentry> へのポインターである。"
2956
2957 #. type: TP
2958 #: build/C/man4/console_ioctl.4:443
2959 #, no-wrap
2960 msgid "B<KDGKBSENT>"
2961 msgstr "B<KDGKBSENT>"
2962
2963 #. type: Plain text
2964 #: build/C/man4/console_ioctl.4:448
2965 msgid "Gets one function key string.  I<argp> points to a"
2966 msgstr "ファンクションキーの文字列を取得する。I<argp> は 以下の構造体へのポインターである。"
2967
2968 #. type: Plain text
2969 #: build/C/man4/console_ioctl.4:455
2970 #, no-wrap
2971 msgid ""
2972 "struct kbsentry {\n"
2973 "    unsigned char kb_func;\n"
2974 "    unsigned char kb_string[512];\n"
2975 "};\n"
2976 msgstr ""
2977 "struct kbsentry {\n"
2978 "    unsigned char kb_func;\n"
2979 "    unsigned char kb_string[512];\n"
2980 "};\n"
2981
2982 #. type: Plain text
2983 #: build/C/man4/console_ioctl.4:463
2984 msgid "I<kb_string> is set to the (null-terminated) string corresponding to the I<kb_func>th function key action code."
2985 msgstr "I<kb_func> 番目のファンクションキーのアクションコードに対応する (ヌルで終端された) 文字列が I<kb_string> に設定される。"
2986
2987 #. type: TP
2988 #: build/C/man4/console_ioctl.4:463
2989 #, no-wrap
2990 msgid "B<KDSKBSENT>"
2991 msgstr "B<KDSKBSENT>"
2992
2993 #. type: Plain text
2994 #: build/C/man4/console_ioctl.4:469
2995 msgid "Sets one function key string entry.  I<argp> points to a I<struct kbsentry>."
2996 msgstr "ファンクションキーの文字列のエントリーを設定する。I<argp> は、 構造体 I<struct kbsentry> へのポインターである。"
2997
2998 #. type: TP
2999 #: build/C/man4/console_ioctl.4:469
3000 #, no-wrap
3001 msgid "B<KDGKBDIACR>"
3002 msgstr "B<KDGKBDIACR>"
3003
3004 #. type: Plain text
3005 #: build/C/man4/console_ioctl.4:474
3006 msgid "Read kernel accent table.  I<argp> points to a"
3007 msgstr "カーネルのアクセントテーブル(accent table)を読み込む。I<argp>は、 次の構造体へのポインターである。"
3008
3009 #. type: Plain text
3010 #: build/C/man4/console_ioctl.4:481
3011 #, no-wrap
3012 msgid ""
3013 "struct kbdiacrs {\n"
3014 "    unsigned int   kb_cnt;\n"
3015 "    struct kbdiacr kbdiacr[256];\n"
3016 "};\n"
3017 msgstr ""
3018 "struct kbdiacrs {\n"
3019 "    unsigned int   kb_cnt;\n"
3020 "    struct kbdiacr kbdiacr[256];\n"
3021 "};\n"
3022
3023 #. type: Plain text
3024 #: build/C/man4/console_ioctl.4:488
3025 msgid "where I<kb_cnt> is the number of entries in the array, each of which is a"
3026 msgstr "ここで、I<kb_cnt> は配列中のエントリーの個数で、個々のエントリーは 以下の構造体である。"
3027
3028 #. type: Plain text
3029 #: build/C/man4/console_ioctl.4:496
3030 #, no-wrap
3031 msgid ""
3032 "struct kbdiacr {\n"
3033 "    unsigned char diacr;\n"
3034 "    unsigned char base;\n"
3035 "    unsigned char result;\n"
3036 "};\n"
3037 msgstr ""
3038 "struct kbdiacr {\n"
3039 "    unsigned char diacr;\n"
3040 "    unsigned char base;\n"
3041 "    unsigned char result;\n"
3042 "};\n"
3043
3044 #. type: TP
3045 #: build/C/man4/console_ioctl.4:498
3046 #, no-wrap
3047 msgid "B<KDGETKEYCODE>"
3048 msgstr "B<KDGETKEYCODE>"
3049
3050 #. type: Plain text
3051 #: build/C/man4/console_ioctl.4:503
3052 msgid "Read kernel keycode table entry (scan code to keycode).  I<argp> points to a"
3053 msgstr "カーネルの(スキャンコードからキーコードへ 変換する)キーコードテーブルエントリーを読み込む。 I<argp> は、"
3054
3055 #. type: Plain text
3056 #: build/C/man4/console_ioctl.4:510
3057 #, no-wrap
3058 msgid ""
3059 "struct kbkeycode {\n"
3060 "    unsigned int scancode;\n"
3061 "    unsigned int keycode;\n"
3062 "};\n"
3063 msgstr ""
3064 "struct kbkeycode {\n"
3065 "    unsigned int scancode;\n"
3066 "    unsigned int keycode;\n"
3067 "};\n"
3068
3069 #. type: Plain text
3070 #: build/C/man4/console_ioctl.4:524
3071 msgid "I<keycode> is set to correspond to the given I<scancode>.  (89 E<lt>= I<scancode> E<lt>= 255 only.  For 1 E<lt>= I<scancode> E<lt>= 88, I<keycode>==I<scancode>.)  (Since 1.1.63.)"
3072 msgstr "へのポインターである。 I<keycode> は、I<scancode> に対応した値に設定される。(ただし、89 E<lt>= I<scancode> E<lt>= 255 のみについて。1 E<lt>= I<scancode> E<lt>= 88 では I<keycode> == I<scancode> である。)  (カーネル 1.1.63 以降)"
3073
3074 #. type: TP
3075 #: build/C/man4/console_ioctl.4:524
3076 #, no-wrap
3077 msgid "B<KDSETKEYCODE>"
3078 msgstr "B<KDSETKEYCODE>"
3079
3080 #. type: Plain text
3081 #: build/C/man4/console_ioctl.4:531
3082 msgid "Write kernel keycode table entry.  I<argp> points to a I<struct kbkeycode>.  (Since 1.1.63.)"
3083 msgstr "カーネルのキーコードテーブルエントリーを書き込む。I<argp> は構造体 I<struct kbkeycode> へのポインターである。 (カーネル 1.1.63 以降)"
3084
3085 #. type: TP
3086 #: build/C/man4/console_ioctl.4:531
3087 #, no-wrap
3088 msgid "B<KDSIGACCEPT>"
3089 msgstr "B<KDSIGACCEPT>"
3090
3091 #. type: Plain text
3092 #: build/C/man4/console_ioctl.4:543
3093 msgid "The calling process indicates its willingness to accept the signal I<argp> when it is generated by pressing an appropriate key combination.  (1 E<lt>= I<argp> E<lt>= NSIG).  (See I<spawn_console>()  in I<linux/drivers/char/keyboard.c>.)"
3094 msgstr "この関数呼び出しは、特別な組合せでキーを押した時に発生するシグナル I<argp> (1 E<lt>= I<argp> E<lt>= NSIG) を進んで受け付けるかどうかを示す。 (I<linux/drivers/char/keyboard.c> の I<spawn_console>() を見よ。)"
3095
3096 #. type: TP
3097 #: build/C/man4/console_ioctl.4:543
3098 #, no-wrap
3099 msgid "B<VT_OPENQRY>"
3100 msgstr "B<VT_OPENQRY>"
3101
3102 #. type: Plain text
3103 #: build/C/man4/console_ioctl.4:553
3104 msgid "Returns the first available (non-opened) console.  I<argp> points to an I<int> which is set to the number of the vt (1 E<lt>= I<*argp> E<lt>= MAX_NR_CONSOLES)."
3105 msgstr "最初の空いている(まだオープンされていない)コンソールを返す。 I<argp> の指す I<int> 型の整数には、vt の番号がセットされる (1 E<lt>= I<*argp> E<lt>= MAX_NR_CONSOLES)。"
3106
3107 #. type: TP
3108 #: build/C/man4/console_ioctl.4:553
3109 #, no-wrap
3110 msgid "B<VT_GETMODE>"
3111 msgstr "B<VT_GETMODE>"
3112
3113 #. type: Plain text
3114 #: build/C/man4/console_ioctl.4:558
3115 msgid "Get mode of active vt.  I<argp> points to a"
3116 msgstr "アクティブな vt のモードを取得する。 I<argp> は、"
3117
3118 #. type: Plain text
3119 #: build/C/man4/console_ioctl.4:568
3120 #, no-wrap
3121 msgid ""
3122 "struct vt_mode {\n"
3123 "    char  mode;    /* vt mode */\n"
3124 "    char  waitv;   /* if set, hang on writes if not active */\n"
3125 "    short relsig;  /* signal to raise on release req */\n"
3126 "    short acqsig;  /* signal to raise on acquisition */\n"
3127 "    short frsig;   /* unused (set to 0) */\n"
3128 "};\n"
3129 msgstr ""
3130 "struct vt_mode {\n"
3131 "   char mode;     /* vt mode */\n"
3132 "   char waitv;    /* if set, hang on writes if not active */\n"
3133 "   short relsig;  /* signal to raise on release req */\n"
3134 "   short acqsig;  /* signal to raise on acquisition */\n"
3135 "   short frsig;   /* unused (set to 0) */\n"
3136 "};\n"
3137
3138 #. type: Plain text
3139 #: build/C/man4/console_ioctl.4:574
3140 msgid "which is set to the mode of the active vt.  I<mode> is set to one of these values:"
3141 msgstr "という構造体を指すポインターであり、 アクティブな vt のモードがセットされる。 I<mode> は次のどれかに設定される。"
3142
3143 #. type: tbl table
3144 #: build/C/man4/console_ioctl.4:577
3145 #, no-wrap
3146 msgid "VT_AUTO\tauto vt switching\n"
3147 msgstr "VT_AUTO\t自動 vt 切替\n"
3148
3149 #. type: tbl table
3150 #: build/C/man4/console_ioctl.4:578
3151 #, no-wrap
3152 msgid "VT_PROCESS\tprocess controls switching\n"
3153 msgstr "VT_PROCESS\tプロセス制御切替\n"
3154
3155 #. type: tbl table
3156 #: build/C/man4/console_ioctl.4:579
3157 #, no-wrap
3158 msgid "VT_ACKACQ\tacknowledge switch\n"
3159 msgstr "VT_ACKACQ\tアクノリッジ切替\n"
3160
3161 #. type: TP
3162 #: build/C/man4/console_ioctl.4:581
3163 #, no-wrap
3164 msgid "B<VT_SETMODE>"
3165 msgstr "B<VT_SETMODE>"
3166
3167 #. type: Plain text
3168 #: build/C/man4/console_ioctl.4:587
3169 msgid "Set mode of active vt.  I<argp> points to a I<struct vt_mode>."
3170 msgstr "アクティブな vt のモードを設定する。I<argp> は構造体 I<struct vt_mode> への ポインターである。"
3171
3172 #. type: TP
3173 #: build/C/man4/console_ioctl.4:587
3174 #, no-wrap
3175 msgid "B<VT_GETSTATE>"
3176 msgstr "B<VT_GETSTATE>"
3177
3178 #. type: Plain text
3179 #: build/C/man4/console_ioctl.4:592
3180 msgid "Get global vt state info.  I<argp> points to a"
3181 msgstr "グローバルな vt の状態の情報を取得する。I<argp>は、"
3182
3183 #. type: Plain text
3184 #: build/C/man4/console_ioctl.4:600
3185 #, no-wrap
3186 msgid ""
3187 "struct vt_stat {\n"
3188 "    unsigned short v_active;  /* active vt */\n"
3189 "    unsigned short v_signal;  /* signal to send */\n"
3190 "    unsigned short v_state;   /* vt bit mask */\n"
3191 "};\n"
3192 msgstr ""
3193 "struct vt_stat {\n"
3194 "   unsigned short v_active;  /* active vt */\n"
3195 "   unsigned short v_signal;  /* signal to send */\n"
3196 "   unsigned short v_state;   /* vt bit mask */\n"
3197 "};\n"
3198
3199 #. type: Plain text
3200 #: build/C/man4/console_ioctl.4:607
3201 msgid "For each vt in use, the corresponding bit in the I<v_state> member is set.  (Kernels 1.0 through 1.1.92.)"
3202 msgstr "へのポインターである。 使用されているそれぞれの vt につき I<v_state> の対応するビットが セットされる。 (カーネルl 1.0 から 1.1.92 まで)"
3203
3204 #. type: TP
3205 #: build/C/man4/console_ioctl.4:607
3206 #, no-wrap
3207 msgid "B<VT_RELDISP>"
3208 msgstr "B<VT_RELDISP>"
3209
3210 #. type: Plain text
3211 #: build/C/man4/console_ioctl.4:610
3212 msgid "Release a display."
3213 msgstr "ディスプレーを解放する。"
3214
3215 #. type: TP
3216 #: build/C/man4/console_ioctl.4:610
3217 #, no-wrap
3218 msgid "B<VT_ACTIVATE>"
3219 msgstr "B<VT_ACTIVATE>"
3220
3221 #. type: Plain text
3222 #: build/C/man4/console_ioctl.4:617
3223 msgid "Switch to vt I<argp> (1 E<lt>= I<argp> E<lt>= MAX_NR_CONSOLES)."
3224 msgstr "I<argp> (1 E<lt>= I<argp> E<lt>= MAX_NR_CONSOLES)の vt に切替える。"
3225
3226 #. type: TP
3227 #: build/C/man4/console_ioctl.4:617
3228 #, no-wrap
3229 msgid "B<VT_WAITACTIVE>"
3230 msgstr "B<VT_WAITACTIVE>"
3231
3232 #. type: Plain text
3233 #: build/C/man4/console_ioctl.4:622
3234 msgid "Wait until vt I<argp> has been activated."
3235 msgstr "I<argp>の vt がアクティブになるまで待つ。"
3236
3237 #. type: TP
3238 #: build/C/man4/console_ioctl.4:622
3239 #, no-wrap
3240 msgid "B<VT_DISALLOCATE>"
3241 msgstr "B<VT_DISALLOCATE>"
3242
3243 #. type: Plain text
3244 #: build/C/man4/console_ioctl.4:627
3245 msgid "Deallocate the memory associated with vt I<argp>.  (Since 1.1.54.)"
3246 msgstr "I<argp> の vt に結びつけられたメモリーを解放する。 (カーネル 1.1.54 以降)"
3247
3248 #. type: TP
3249 #: build/C/man4/console_ioctl.4:627
3250 #, no-wrap
3251 msgid "B<VT_RESIZE>"
3252 msgstr "B<VT_RESIZE>"
3253
3254 #. type: Plain text
3255 #: build/C/man4/console_ioctl.4:632
3256 msgid "Set the kernel's idea of screensize.  I<argp> points to a"
3257 msgstr "カーネルが認識するスクリーンサイズを設定する。I<argp> は、"
3258
3259 #. type: Plain text
3260 #: build/C/man4/console_ioctl.4:640
3261 #, no-wrap
3262 msgid ""
3263 "struct vt_sizes {\n"
3264 "    unsigned short v_rows;       /* # rows */\n"
3265 "    unsigned short v_cols;       /* # columns */\n"
3266 "    unsigned short v_scrollsize; /* no longer used */\n"
3267 "};\n"
3268 msgstr ""
3269 "struct vt_sizes {\n"
3270 "   unsigned short v_rows;       /* # rows */\n"
3271 "   unsigned short v_cols;       /* # columns */\n"
3272 "   unsigned short v_scrollsize; /* no longer used */\n"
3273 "};\n"
3274
3275 #. type: Plain text
3276 #: build/C/man4/console_ioctl.4:647
3277 msgid "Note that this does not change the videomode.  See B<resizecons>(8).  (Since 1.1.54.)"
3278 msgstr "へのポインターである。 これはビデオモードを変更しない事に注意。 B<resizecons>(8)  を見よ(カーネル 1.1.54 以降)。"
3279
3280 #. type: TP
3281 #: build/C/man4/console_ioctl.4:647
3282 #, no-wrap
3283 msgid "B<VT_RESIZEX>"
3284 msgstr "B<VT_RESIZEX>"
3285
3286 #. type: Plain text
3287 #: build/C/man4/console_ioctl.4:652
3288 msgid "Set the kernel's idea of various screen parameters.  I<argp> points to a"
3289 msgstr "カーネルが認識する各種のスクリーンパラメーターを設定する。I<argp> は、 以下の構造体へのポインターである。"
3290
3291 #. type: Plain text
3292 #: build/C/man4/console_ioctl.4:667
3293 #, no-wrap
3294 msgid ""
3295 "struct vt_consize {\n"
3296 "    unsigned short v_rows;  /* number of rows */\n"
3297 "    unsigned short v_cols;  /* number of columns */\n"
3298 "    unsigned short v_vlin;  /* number of pixel rows\n"
3299 "                               on screen */\n"
3300 "    unsigned short v_clin;  /* number of pixel rows\n"
3301 "                               per character */\n"
3302 "    unsigned short v_vcol;  /* number of pixel columns\n"
3303 "                               on screen */\n"
3304 "    unsigned short v_ccol;  /* number of pixel columns\n"
3305 "                               per character */\n"
3306 "};\n"
3307 msgstr ""
3308 "struct vt_consize {\n"
3309 "    unsigned short v_rows;  /* number of rows */\n"
3310 "    unsigned short v_cols;  /* number of columns */\n"
3311 "    unsigned short v_vlin;  /* number of pixel rows\n"
3312 "                               on screen */\n"
3313 "    unsigned short v_clin;  /* number of pixel rows\n"
3314 "                               per character */\n"
3315 "    unsigned short v_vcol;  /* number of pixel columns\n"
3316 "                               on screen */\n"
3317 "    unsigned short v_ccol;  /* number of pixel columns\n"
3318 "                               per character */\n"
3319 "};\n"
3320
3321 #. type: Plain text
3322 #: build/C/man4/console_ioctl.4:676
3323 msgid "Any parameter may be set to zero, indicating \"no change\", but if multiple parameters are set, they must be self-consistent.  Note that this does not change the videomode.  See B<resizecons>(8).  (Since 1.3.3.)"
3324 msgstr "パラメーターはゼロであってもよい。そのときは「変更しないこと」を 意味するが、複数のパラメーターが設定された時にはそれらの間で矛盾が ないようにしなければならない。 この関数呼び出しによってもビデオモードは変更されない事に注意。 B<resizecons>(8)  を参照の事(カーネル 1.3.3 以降)。"
3325
3326 #. type: Plain text
3327 #: build/C/man4/console_ioctl.4:683
3328 msgid "The action of the following ioctls depends on the first byte in the struct pointed to by I<argp>, referred to here as the I<subcode>.  These are legal only for the superuser or the owner of the current terminal."
3329 msgstr "以下の ioctl がどのように動作をするかは、I<argp> が指す構造体の 最初のバイト(ここでは I<subcode> と呼ぶ)に依存する。 これらの呼出しは、スーパーユーザーか現在の端末のオーナにのみ許される。"
3330
3331 #. type: TP
3332 #: build/C/man4/console_ioctl.4:683
3333 #, no-wrap
3334 msgid "B<TIOCLINUX, subcode=0>"
3335 msgstr "B<TIOCLINUX, subcode=0>"
3336
3337 #. type: Plain text
3338 #: build/C/man4/console_ioctl.4:691
3339 msgid "Dump the screen.  Disappeared in 1.1.92.  (With kernel 1.1.92 or later, read from I</dev/vcsN> or I</dev/vcsaN> instead.)"
3340 msgstr "スクリーンをダンプ(dump)する カーネル 1.1.92 以降でなくなった(1.1.92 以降では、代わりに I</dev/vcsN> または I</dev/vcsaN> より読み込む)。"
3341
3342 #. type: TP
3343 #: build/C/man4/console_ioctl.4:691
3344 #, no-wrap
3345 msgid "B<TIOCLINUX, subcode=1>"
3346 msgstr "B<TIOCLINUX, subcode=1>"
3347
3348 #. type: Plain text
3349 #: build/C/man4/console_ioctl.4:695
3350 msgid "Get task information.  Disappeared in 1.1.92."
3351 msgstr "タスク情報を取得する。カーネル 1.1.92 でなくなった。"
3352
3353 #. type: TP
3354 #: build/C/man4/console_ioctl.4:695
3355 #, no-wrap
3356 msgid "B<TIOCLINUX, subcode=2>"
3357 msgstr "B<TIOCLINUX, subcode=2>"
3358
3359 #. type: Plain text
3360 #: build/C/man4/console_ioctl.4:700
3361 msgid "Set selection.  I<argp> points to a"
3362 msgstr "選択を設定する。 I<argp> が指すのは、"
3363
3364 #. type: Plain text
3365 #: build/C/man4/console_ioctl.4:708
3366 #, no-wrap
3367 msgid ""
3368 "struct {\n"
3369 "   char  subcode;\n"
3370 "   short xs, ys, xe, ye;\n"
3371 "   short sel_mode;\n"
3372 "};\n"
3373 msgstr ""
3374 "struct {\n"
3375 "   char subcode;\n"
3376 "   short xs, ys, xe, ye;\n"
3377 "   short sel_mode;\n"
3378 "}\n"
3379
3380 #. type: Plain text
3381 #: build/C/man4/console_ioctl.4:728
3382 msgid "I<xs> and I<ys> are the starting column and row.  I<xe> and I<ye> are the ending column and row.  (Upper left corner is row=column=1.)  I<sel_mode> is 0 for character-by-character selection, 1 for word-by-word selection, or 2 for line-by-line selection.  The indicated screen characters are highlighted and saved in the static array sel_buffer in I<devices/char/console.c>."
3383 msgstr "であり、ここで I<xs> と I<ys> は始めの桁と行で、I<xe> と I<ye> は終りの桁と 行である。 (左上の隅が 桁=行=1 )  I<sel_mode> は 0 が文字毎の選択で、1は語毎の選択、2は行毎の選択を 意味する。 示されたスクリーン上の文字はハイライト表示され I<devices/char/console.c> の 静的配列 sel_buffer に保存される。"
3384
3385 #. type: TP
3386 #: build/C/man4/console_ioctl.4:728
3387 #, no-wrap
3388 msgid "B<TIOCLINUX, subcode=3>"
3389 msgstr "B<TIOCLINUX, subcode=3>"
3390
3391 #. type: Plain text
3392 #: build/C/man4/console_ioctl.4:734
3393 msgid "Paste selection.  The characters in the selection buffer are written to I<fd>."
3394 msgstr "選択したものをペーストする。 選択バッファー中の文字 が I<fd> に書き出される。"
3395
3396 #. type: TP
3397 #: build/C/man4/console_ioctl.4:734
3398 #, no-wrap
3399 msgid "B<TIOCLINUX, subcode=4>"
3400 msgstr "B<TIOCLINUX, subcode=4>"
3401
3402 #. type: Plain text
3403 #: build/C/man4/console_ioctl.4:737
3404 msgid "Unblank the screen."
3405 msgstr "スクリーンをアンブランク(unblank)する。"
3406
3407 #. type: TP
3408 #: build/C/man4/console_ioctl.4:737
3409 #, no-wrap
3410 msgid "B<TIOCLINUX, subcode=5>"
3411 msgstr "B<TIOCLINUX, subcode=5>"
3412
3413 #. type: Plain text
3414 #: build/C/man4/console_ioctl.4:742
3415 msgid "Sets contents of a 256-bit look up table defining characters in a \"word\", for word-by-word selection.  (Since 1.1.32.)"
3416 msgstr "語毎の選択のための「語」中の文字を規定している 256 ビットのルックアップ テーブルの内容を設定する(カーネル 1.1.32 以降)。"
3417
3418 #. type: TP
3419 #: build/C/man4/console_ioctl.4:742
3420 #, no-wrap
3421 msgid "B<TIOCLINUX, subcode=6>"
3422 msgstr "B<TIOCLINUX, subcode=6>"
3423
3424 #. type: Plain text
3425 #: build/C/man4/console_ioctl.4:749
3426 msgid "I<argp> points to a char which is set to the value of the kernel variable I<shift_state>.  (Since 1.1.32.)"
3427 msgstr "I<argp> は文字変数を指すポインターで、その内容がカーネル変数 I<shift_state>の値に設定される(カーネル 1.1.32 以降)。"
3428
3429 #. type: TP
3430 #: build/C/man4/console_ioctl.4:749
3431 #, no-wrap
3432 msgid "B<TIOCLINUX, subcode=7>"
3433 msgstr "B<TIOCLINUX, subcode=7>"
3434
3435 #. type: Plain text
3436 #: build/C/man4/console_ioctl.4:756
3437 msgid "I<argp> points to a char which is set to the value of the kernel variable I<report_mouse>.  (Since 1.1.33.)"
3438 msgstr "I<argp> は文字変数を指すポインターで、その内容がカーネル変数 I<report_mouse> の値に設定される(カーネル 1.1.33 以降)。"
3439
3440 #. type: TP
3441 #: build/C/man4/console_ioctl.4:756
3442 #, no-wrap
3443 msgid "B<TIOCLINUX, subcode=8>"
3444 msgstr "B<TIOCLINUX, subcode=8>"
3445
3446 #. type: Plain text
3447 #: build/C/man4/console_ioctl.4:764
3448 msgid "Dump screen width and height, cursor position, and all the character-attribute pairs.  (Kernels 1.1.67 through 1.1.91 only.  With kernel 1.1.92 or later, read from I</dev/vcsa*> instead.)"
3449 msgstr "スクリーン幅、スクリーン高さ、カーソル位置、全ての文字属性の組をダンプする (カーネル 1.1.67 から 1.1.91までのみ。 カーネル 1.1.92 以降では I</dev/vcsa*> より読み込む)。"
3450
3451 #. type: TP
3452 #: build/C/man4/console_ioctl.4:764
3453 #, no-wrap
3454 msgid "B<TIOCLINUX, subcode=9>"
3455 msgstr "B<TIOCLINUX, subcode=9>"
3456
3457 #. type: Plain text
3458 #: build/C/man4/console_ioctl.4:772
3459 msgid "Restore screen width and height, cursor position, and all the character-attribute pairs.  (Kernels 1.1.67 through 1.1.91 only.  With kernel 1.1.92 or later, write to I</dev/vcsa*> instead.)"
3460 msgstr "スクリーン幅、スクリーン高さ、カーソル位置、全ての文字属性の組を復元する (カーネル 1.1.67 から 1.1.91 までのみ。 カーネル 1.1.92 以降では I</dev/vcsa*> に書き込む)。"
3461
3462 #. type: TP
3463 #: build/C/man4/console_ioctl.4:772
3464 #, no-wrap
3465 msgid "B<TIOCLINUX, subcode=10>"
3466 msgstr "B<TIOCLINUX, subcode=10>"
3467
3468 #. type: Plain text
3469 #: build/C/man4/console_ioctl.4:780
3470 msgid "Handles the Power Saving feature of the new generation of monitors.  VESA screen blanking mode is set to I<argp[1]>, which governs what screen blanking does:"
3471 msgstr "新世代モニターのパワーセーブ機能を制御する。 VESA スクリーンブランキングモードが I<argp[1]>に設定される。 その値はスクリーンブランキングがどのように行われるかを示す。以下がその 値である。"
3472
3473 #. type: IP
3474 #: build/C/man4/console_ioctl.4:781
3475 #, no-wrap
3476 msgid "0:"
3477 msgstr "0:"
3478
3479 #. type: Plain text
3480 #: build/C/man4/console_ioctl.4:783
3481 msgid "Screen blanking is disabled."
3482 msgstr "スクリーンブランキングなし。"
3483
3484 #. type: IP
3485 #: build/C/man4/console_ioctl.4:783
3486 #, no-wrap
3487 msgid "1:"
3488 msgstr "1:"
3489
3490 #. type: Plain text
3491 #: build/C/man4/console_ioctl.4:790
3492 msgid "The current video adapter register settings are saved, then the controller is programmed to turn off the vertical synchronization pulses.  This puts the monitor into \"standby\" mode.  If your monitor has an Off_Mode timer, then it will eventually power down by itself."
3493 msgstr "現在のビデオアダプターレジスタが保存されたあと、 コントローラは垂直同期パルスをオフにするようプログラムされる。 これにより モニターは「スタンバイ」モードに入る。 モニターに Off_Mode タイマーが備わっておれば、 最終的にはモニターが自分で電源を落とす。"
3494
3495 #. type: IP
3496 #: build/C/man4/console_ioctl.4:790
3497 #, no-wrap
3498 msgid "2:"
3499 msgstr "2:"
3500
3501 #. type: Plain text
3502 #: build/C/man4/console_ioctl.4:800
3503 msgid "The current settings are saved, then both the vertical and horizontal synchronization pulses are turned off.  This puts the monitor into \"off\" mode.  If your monitor has no Off_Mode timer, or if you want your monitor to power down immediately when the blank_timer times out, then you choose this option.  (I<Caution:> Powering down frequently will damage the monitor.)  (Since 1.1.76.)"
3504 msgstr "現在の設定を保存した後、垂直、水平同期パルスがオフになる。 これによりモニターは「オフ」モードになる。 モニターに Off_Mode タイマーがない時、または、blank_timer がタイムアウトしたらすぐにモニターの電源を落したいときにこの選択肢を選ぶ。 (I<注意>:頻繁にモニターの電源を切るとモニターを痛める。) (1.1.76 以降)"
3505
3506 #. type: SH
3507 #: build/C/man4/console_ioctl.4:801 build/C/man3/mkfifo.3:120
3508 #: build/C/man2/mknod.2:149 build/C/man3/setlogmask.3:69 build/C/man4/st.4:827
3509 #: build/C/man2/syslog.2:321
3510 #, no-wrap
3511 msgid "RETURN VALUE"
3512 msgstr "返り値"
3513
3514 #. type: Plain text
3515 #: build/C/man4/console_ioctl.4:806
3516 msgid "On success, 0 is returned.  On error, -1 is returned, and I<errno> is set."
3517 msgstr "成功時には 0 が返される。エラーの場合 -1 が返され、 I<errno> が設定される。"
3518
3519 #. type: SH
3520 #: build/C/man4/console_ioctl.4:806 build/C/man3/mkfifo.3:128
3521 #: build/C/man2/mknod.2:156 build/C/man3/setlogmask.3:71
3522 #: build/C/man2/syslog.2:337
3523 #, no-wrap
3524 msgid "ERRORS"
3525 msgstr "エラー"
3526
3527 #. type: Plain text
3528 #: build/C/man4/console_ioctl.4:809
3529 msgid "I<errno> may take on these values:"
3530 msgstr "I<errno> は次のような値をとる:"
3531
3532 #. type: TP
3533 #: build/C/man4/console_ioctl.4:809 build/C/man3/mkfifo.3:168
3534 #: build/C/man2/mknod.2:230
3535 #, no-wrap
3536 msgid "B<EBADF>"
3537 msgstr "B<EBADF>"
3538
3539 #. type: Plain text
3540 #: build/C/man4/console_ioctl.4:812
3541 msgid "The file descriptor is invalid."
3542 msgstr "ファイルディスクリプターが無効。"
3543
3544 #. type: TP
3545 #: build/C/man4/console_ioctl.4:812
3546 #, no-wrap
3547 msgid "B<ENOTTY>"
3548 msgstr "B<ENOTTY>"
3549
3550 #. type: Plain text
3551 #: build/C/man4/console_ioctl.4:816
3552 msgid "The file descriptor is not associated with a character special device, or the specified request does not apply to it."
3553 msgstr "ファイルディスクリプターがキャラクタスペシャルデバイスと関連付けられて いない。または、要求されたものがそれに当てはまらない。"
3554
3555 #. type: TP
3556 #: build/C/man4/console_ioctl.4:816 build/C/man2/mknod.2:179
3557 #: build/C/man4/st.4:842 build/C/man2/syslog.2:338
3558 #, no-wrap
3559 msgid "B<EINVAL>"
3560 msgstr "B<EINVAL>"
3561
3562 #. type: Plain text
3563 #: build/C/man4/console_ioctl.4:821
3564 msgid "The file descriptor or I<argp> is invalid."
3565 msgstr "ファイルディスクリプターまたは I<argp> が無効。"
3566
3567 #. type: TP
3568 #: build/C/man4/console_ioctl.4:821 build/C/man2/mknod.2:209
3569 #: build/C/man2/syslog.2:362
3570 #, no-wrap
3571 msgid "B<EPERM>"
3572 msgstr "B<EPERM>"
3573
3574 #. type: Plain text
3575 #: build/C/man4/console_ioctl.4:824
3576 msgid "Insufficient permission."
3577 msgstr "権限が不十分。"
3578
3579 #. type: Plain text
3580 #: build/C/man4/console_ioctl.4:835
3581 msgid "B<Warning>: Do not regard this man page as documentation of the Linux console ioctls.  This is provided for the curious only, as an alternative to reading the source.  Ioctl's are undocumented Linux internals, liable to be changed without warning.  (And indeed, this page more or less describes the situation as of kernel version 1.1.94; there are many minor and not-so-minor differences with earlier versions.)"
3582 msgstr "B<警告>: このマニュアルページを Linux のコンソール ioctl を文書化したものと思わない事。 これは、興味がある人がソースを読むことの代わりになるように用意した物である。 ioctl は文書化されない Linux の内部機能であって、警告なしに 変更されることがある。 (そして、このページはカーネル 1.1.94 のときの状況を記述した物で、それは 以前のバージョンと比べれば、多くの違いがある)"
3583
3584 #. type: Plain text
3585 #: build/C/man4/console_ioctl.4:840
3586 msgid "Very often, ioctls are introduced for communication between the kernel and one particular well-known program (fdisk, hdparm, setserial, tunelp, loadkeys, selection, setfont, etc.), and their behavior will be changed when required by this particular program."
3587 msgstr "ioctl はカーネルと、ある特定のよく知られたプログラムとの情報交換のために 導入される事が非常に多い(fdisk, hdparm, setserial,tunelp, loadkeys, selection, setfont など)。そのため ioctl の動作は、その特定のプログラムが 必要とした時には変更になる。"
3588
3589 #. type: Plain text
3590 #: build/C/man4/console_ioctl.4:844
3591 msgid "Programs using these ioctls will not be portable to other versions of UNIX, will not work on older versions of Linux, and will not work on future versions of Linux."
3592 msgstr "これらの ioctl を使ったプログラムは他のバージョンの UNIX との互換性が ないし、古いバージョンの Linux では、走らない。さらに将来のバージョンの Linux では走らなくなるかも知れない。"
3593
3594 #. type: Plain text
3595 #: build/C/man4/console_ioctl.4:846
3596 msgid "Use POSIX functions."
3597 msgstr "POSIX 機能を使いなさい。"
3598
3599 #. type: Plain text
3600 #: build/C/man4/console_ioctl.4:870
3601 msgid "B<dumpkeys>(1), B<kbd_mode>(1), B<loadkeys>(1), B<mknod>(1), B<setleds>(1), B<setmetamode>(1), B<execve>(2), B<fcntl>(2), B<ioperm>(2), B<termios>(3), B<console>(4), B<console_codes>(4), B<mt>(4), B<sd>(4), B<tty>(4), B<tty_ioctl>(4), B<ttyS>(4), B<vcs>(4), B<vcsa>(4), B<charsets>(7), B<mapscrn>(8), B<resizecons>(8), B<setfont>(8)"
3602 msgstr "B<dumpkeys>(1), B<kbd_mode>(1), B<loadkeys>(1), B<mknod>(1), B<setleds>(1), B<setmetamode>(1), B<execve>(2), B<fcntl>(2), B<ioperm>(2), B<termios>(3), B<console>(4), B<console_codes>(4), B<mt>(4), B<sd>(4), B<tty>(4), B<tty_ioctl>(4), B<ttyS>(4), B<vcs>(4), B<vcsa>(4), B<charsets>(7), B<mapscrn>(8), B<resizecons>(8), B<setfont>(8)"
3603
3604 #. type: Plain text
3605 #: build/C/man4/console_ioctl.4:873
3606 msgid "I</usr/include/linux/kd.h>, I</usr/include/linux/vt.h>"
3607 msgstr "I</usr/include/linux/kd.h>, I</usr/include/linux/vt.h>"
3608
3609 #. type: TH
3610 #: build/C/man5/core.5:25
3611 #, no-wrap
3612 msgid "CORE"
3613 msgstr "CORE"
3614
3615 #. type: TH
3616 #: build/C/man5/core.5:25
3617 #, no-wrap
3618 msgid "2014-08-19"
3619 msgstr "2014-08-19"
3620
3621 #. type: Plain text
3622 #: build/C/man5/core.5:28
3623 msgid "core - core dump file"
3624 msgstr "core - コアダンプファイル"
3625
3626 #. type: Plain text
3627 #: build/C/man5/core.5:39
3628 msgid "The default action of certain signals is to cause a process to terminate and produce a I<core dump file>, a disk file containing an image of the process's memory at the time of termination.  This image can be used in a debugger (e.g., B<gdb>(1))  to inspect the state of the program at the time that it terminated.  A list of the signals which cause a process to dump core can be found in B<signal>(7)."
3629 msgstr "ある種のシグナルを受けた場合のデフォルトのアクションは、 プロセスを終了し (terminate)、 I<コアダンプファイル (core dump file)> を生成することである。コアダンプファイルは、ディスク上に生成される 終了時のプロセスのメモリイメージを内容とするファイルである。 このイメージをデバッガ (例えば B<gdb>(1))  に読み込んで、 プログラムが終了した時点のプログラムの状態を検査することができる。 どのシグナルを受けたときにプロセスがコアダンプを生成するかのリストは B<signal>(7)  に書かれている。"
3630
3631 #. type: Plain text
3632 #: build/C/man5/core.5:46
3633 msgid "A process can set its soft B<RLIMIT_CORE> resource limit to place an upper limit on the size of the core dump file that will be produced if it receives a \"core dump\" signal; see B<getrlimit>(2)  for details."
3634 msgstr "プロセスはソフトリソース制限 B<RLIMIT_CORE> を設定することで、「コアダンプ」シグナルを受信した際に生成される コアダンプファイルのサイズに上限を課すことができる。詳細は B<getrlimit>(2)  を参照。"
3635
3636 #. type: Plain text
3637 #: build/C/man5/core.5:49
3638 msgid "There are various circumstances in which a core dump file is not produced:"
3639 msgstr "コアダンプファイルが生成されない状況がいくつかある:"
3640
3641 #. type: Plain text
3642 #: build/C/man5/core.5:66
3643 msgid "The process does not have permission to write the core file.  (By default, the core file is called I<core> or I<core.pid>, where I<pid> is the ID of the process that dumped core, and is created in the current working directory.  See below for details on naming.)  Writing the core file will fail if the directory in which it is to be created is nonwritable, or if a file with the same name exists and is not writable or is not a regular file (e.g., it is a directory or a symbolic link)."
3644 msgstr "プロセスがコアファイルを書き込む許可を持たない場合 (デフォルトでは、コアファイルは I<core> か I<core.pid> (I<pid> はコアダンプを行うプロセスの ID) という名前で、カレントワーキングディレクトリに生成される。 命名規則の詳細は下記を参照)。 コアファイルを生成しようとしたディレクトリが書き込み可能でない場合、 もしくは同じ名前のファイルが存在し、そのファイルが書き込み可能でも 通常のファイルでもない場合 (例えば、ディレクトリやシンボリックリンク)、 コアファイルの生成は失敗する。"
3645
3646 #. type: Plain text
3647 #: build/C/man5/core.5:70
3648 msgid "A (writable, regular) file with the same name as would be used for the core dump already exists, but there is more than one hard link to that file."
3649 msgstr "コアダンプに使おうとしたのと同じ名前の (書き込み可能な、通常の) ファイルが すでに存在し、そのファイルに対するハードリンクが 2個以上ある場合。"
3650
3651 #. type: Plain text
3652 #: build/C/man5/core.5:74
3653 msgid "The filesystem where the core dump file would be created is full; or has run out of inodes; or is mounted read-only; or the user has reached their quota for the filesystem."
3654 msgstr "コアダンプファイルを生成しようとしたファイルシステムがフルであるか、 inode が全て使用されているか、読み込み専用でマウントされている場合。 または、そのユーザーのディスク使用量がそのファイルシステムの クオータ (quota) に達している。"
3655
3656 #. type: Plain text
3657 #: build/C/man5/core.5:77
3658 msgid "The directory in which the core dump file is to be created does not exist."
3659 msgstr "コアダンプファイルを生成しようとしたディレクトリが存在しない場合。"
3660
3661 #. type: Plain text
3662 #: build/C/man5/core.5:90
3663 msgid "The B<RLIMIT_CORE> (core file size) or B<RLIMIT_FSIZE> (file size) resource limits for the process are set to zero; see B<getrlimit>(2)  and the documentation of the shell's I<ulimit> command (I<limit> in B<csh>(1))."
3664 msgstr "プロセス毎のリソース制限 B<RLIMIT_CORE> (コアファイルのサイズ) か B<RLIMIT_FSIZE> (ファイルサイズ) が 0 に設定されている場合。 B<getrlimit>(2)  やシェルの I<ulimit> コマンドのドキュメント (B<csh>(1)  の I<limit>)  を参照。"
3665
3666 #. type: Plain text
3667 #: build/C/man5/core.5:93
3668 msgid "The binary being executed by the process does not have read permission enabled."
3669 msgstr "プロセスが実行したバイナリファイルの読み出し許可が有効になっていない場合。"
3670
3671 #.  FIXME . Perhaps relocate discussion of /proc/sys/fs/suid_dumpable
3672 #.  and PR_SET_DUMPABLE to this page?
3673 #. type: Plain text
3674 #: build/C/man5/core.5:106
3675 msgid "The process is executing a set-user-ID (set-group-ID) program that is owned by a user (group) other than the real user (group)  ID of the process.  (However, see the description of the B<prctl>(2)  B<PR_SET_DUMPABLE> operation, and the description of the I</proc/sys/fs/suid_dumpable> file in B<proc>(5).)"
3676 msgstr "プロセスが実行している set-user-ID (set-group-ID) プログラムの所有者の ユーザー (グループ) が、プロセスの実 UID (実 GID) と異なる場合 (但し、 B<prctl>(2)  B<PR_SET_DUMPABLE> 操作の説明と、 B<proc>(5)  の I</proc/sys/fs/suid_dumpable> ファイルの説明も参照のこと)。"
3677
3678 #.  commit 046d662f481830e652ac34cd112249adde16452a
3679 #. type: Plain text
3680 #: build/C/man5/core.5:112
3681 msgid "(Since Linux 3.7)  The kernel was configured without the B<CONFIG_COREDUMP> option."
3682 msgstr "(Linux 3.7 以降) カーネルの設定で B<CONFIG_COREDUMP> オプションが有効になっていない。"
3683
3684 #. type: Plain text
3685 #: build/C/man5/core.5:118
3686 msgid "In addition, a core dump may exclude part of the address space of the process if the B<madvise>(2)  B<MADV_DONTDUMP> flag was employed."
3687 msgstr "上記に加えて、 B<madvise>(2) の B<MADV_DONTDUMP> フラグが使用されている場合、プロセスのアドレス空間の一部がコアダンプから除外される場合がある。"
3688
3689 #. type: SS
3690 #: build/C/man5/core.5:118
3691 #, no-wrap
3692 msgid "Naming of core dump files"
3693 msgstr "コアダンプファイルの名前"
3694
3695 #. type: Plain text
3696 #: build/C/man5/core.5:127
3697 msgid "By default, a core dump file is named I<core>, but the I</proc/sys/kernel/core_pattern> file (since Linux 2.6 and 2.4.21)  can be set to define a template that is used to name core dump files.  The template can contain % specifiers which are substituted by the following values when a core file is created:"
3698 msgstr "デフォルトでは、コアダンプファイルの名前は I<core> となるが、コアダンプファイルの名前を決めるのに使われるテンプレートを I</proc/sys/kernel/core_pattern> ファイルに定義することで、ファイル名を変更することができる (I</proc/sys/kernel/core_pattern> は Linux 2.6 および 2.4.21 以降で利用できる)。 テンプレートには % 指示子 (specifier) を入れることができる。 これはコアファイルが生成される際に、以下の値に置き換えられる。"
3699
3700 #. type: TP
3701 #: build/C/man5/core.5:130
3702 #, no-wrap
3703 msgid "%%"
3704 msgstr "%%"
3705
3706 #. type: Plain text
3707 #: build/C/man5/core.5:133
3708 msgid "a single % character"
3709 msgstr "1 つの % 文字"
3710
3711 #. type: TP
3712 #: build/C/man5/core.5:133
3713 #, no-wrap
3714 msgid "%c"
3715 msgstr "%c"
3716
3717 #. type: Plain text
3718 #: build/C/man5/core.5:136
3719 msgid "core file size soft resource limit of crashing process (since Linux 2.6.24)"
3720 msgstr "クラッシュしたプロセスのコアファイルのサイズに関するソフトリソース上限 (Linux 2.6.24 以降)"
3721
3722 #. type: TP
3723 #: build/C/man5/core.5:136
3724 #, no-wrap
3725 msgid "%d"
3726 msgstr "%d"
3727
3728 #.  Added in git commit 12a2b4b2241e318b4f6df31228e4272d2c2968a1
3729 #. type: Plain text
3730 #: build/C/man5/core.5:143
3731 msgid "dump mode\\(emsame as value returned by B<prctl>(2)  B<PR_GET_DUMPABLE> (since Linux 3.7)"
3732 msgstr "ダンプモード \\(em B<prctl>(2) B<PR_GET_DUMPABLE> が返す値と同じ (Linux 3.7 以降)"
3733
3734 #. type: TP
3735 #: build/C/man5/core.5:143
3736 #, no-wrap
3737 msgid "%e"
3738 msgstr "%e"
3739
3740 #. type: Plain text
3741 #: build/C/man5/core.5:146
3742 msgid "executable filename (without path prefix)"
3743 msgstr "実行ファイル名 (パス名のプレフィックスは含まれない)"
3744
3745 #. type: TP
3746 #: build/C/man5/core.5:146
3747 #, no-wrap
3748 msgid "%E"
3749 msgstr "%E"
3750
3751 #. type: Plain text
3752 #: build/C/man5/core.5:151
3753 msgid "pathname of executable, with slashes (\\(aq/\\(aq) replaced by exclamation marks (\\(aq!\\(aq)  (since Linux 3.0)."
3754 msgstr "実行ファイルのパス名。スラッシュ (\\(aq/\\(aq) は感嘆符 (\\(aq!\\(aq) に置き換えられる。 (Linux 3.0 以降)"
3755
3756 #. type: TP
3757 #: build/C/man5/core.5:151
3758 #, no-wrap
3759 msgid "%g"
3760 msgstr "%g"
3761
3762 #. type: Plain text
3763 #: build/C/man5/core.5:154
3764 msgid "(numeric) real GID of dumped process"
3765 msgstr "ダンプされたプロセスの実グループ ID (real GID)"
3766
3767 #. type: TP
3768 #: build/C/man5/core.5:154
3769 #, no-wrap
3770 msgid "%h"
3771 msgstr "%h"
3772
3773 #. type: Plain text
3774 #: build/C/man5/core.5:157
3775 msgid "hostname (same as I<nodename> returned by B<uname>(2))"
3776 msgstr "ホスト名 (B<uname>(2) で返される I<nodename> と同じ)"
3777
3778 #. type: TP
3779 #: build/C/man5/core.5:157
3780 #, no-wrap
3781 msgid "%p"
3782 msgstr "%p"
3783
3784 #. type: Plain text
3785 #: build/C/man5/core.5:161
3786 msgid "PID of dumped process, as seen in the PID namespace in which the process resides"
3787 msgstr "ダンプされるプロセスの PID; そのプロセスが属している PID 名前空間での PID"
3788
3789 #. type: TP
3790 #: build/C/man5/core.5:161
3791 #, no-wrap
3792 msgid "%P"
3793 msgstr "%P"
3794
3795 #.  Added in git commit 65aafb1e7484b7434a0c1d4c593191ebe5776a2f
3796 #. type: Plain text
3797 #: build/C/man5/core.5:166
3798 msgid "PID of dumped process, as seen in the initial PID namespace (since Linux 3.12)"
3799 msgstr "ダンプされるプロセスの PID; 元の PID 名前空間での値 (Linux 3.12 以降)"
3800
3801 #. type: TP
3802 #: build/C/man5/core.5:166
3803 #, no-wrap
3804 msgid "%s"
3805 msgstr "%s"
3806
3807 #. type: Plain text
3808 #: build/C/man5/core.5:169
3809 msgid "number of signal causing dump"
3810 msgstr "ダンプを引き起こしたシグナルの番号"
3811
3812 #. type: TP
3813 #: build/C/man5/core.5:169
3814 #, no-wrap
3815 msgid "%t"
3816 msgstr "%t"
3817
3818 #. type: Plain text
3819 #: build/C/man5/core.5:173
3820 msgid "time of dump, expressed as seconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC)"
3821 msgstr "ダンプ時刻、紀元 (Epoch; 1970-01-01 00:00:00 +0000 (UTC))  からの秒数。"
3822
3823 #. type: TP
3824 #: build/C/man5/core.5:173
3825 #, no-wrap
3826 msgid "%u"
3827 msgstr "%u"
3828
3829 #. type: Plain text
3830 #: build/C/man5/core.5:176
3831 msgid "(numeric) real UID of dumped process"
3832 msgstr "ダンプされたプロセスの実ユーザー ID (real UID)"
3833
3834 #. type: Plain text
3835 #: build/C/man5/core.5:195
3836 msgid "A single % at the end of the template is dropped from the core filename, as is the combination of a % followed by any character other than those listed above.  All other characters in the template become a literal part of the core filename.  The template may include \\(aq/\\(aq characters, which are interpreted as delimiters for directory names.  The maximum size of the resulting core filename is 128 bytes (64 bytes in kernels before 2.6.19).  The default value in this file is \"core\".  For backward compatibility, if I</proc/sys/kernel/core_pattern> does not include \"%p\" and I</proc/sys/kernel/core_uses_pid> (see below)  is nonzero, then .PID will be appended to the core filename."
3837 msgstr "テンプレートの末尾に 1 個だけ % がある場合、 その % はコアファイル名には含められない。また、上で列挙されて いない % と文字の組み合わせがあった場合も同様である。 テンプレートにおける他の文字は、 コアファイル名としてそのまま使われる。 テンプレートには \\(aq/\\(aq 文字を入れることができ、 ディレクトリ名の区切り文字と解釈される。 結果として生成されるコアファイル名の最大サイズは 128 バイトである (2.6.19 より前のカーネルでは 64 バイト)。 このファイルのデフォルト値は \"core\" である。 以前のものとの互換性のため、 I</proc/sys/kernel/core_pattern> に \"%p\" が含まれず、 かつ I</proc/sys/kernel/core_uses_pid> (下記参照) が 0 でない場合は、.PID がコアファイル名に追加される。"
3838
3839 #. type: Plain text
3840 #: build/C/man5/core.5:206
3841 msgid "Since version 2.4, Linux has also provided a more primitive method of controlling the name of the core dump file.  If the I</proc/sys/kernel/core_uses_pid> file contains the value 0, then a core dump file is simply named I<core>.  If this file contains a nonzero value, then the core dump file includes the process ID in a name of the form I<core.PID>."
3842 msgstr "バージョン 2.4 以降の Linux では コアダンプファイルの名前を制御する原始的な方法も提供されている。 I</proc/sys/kernel/core_uses_pid> ファイルに値 0 が書かれている場合、コアダンプファイルは単純に I<core> という名前になる。このファイルに 0 以外の値が書かれている場合、 コアダンプファイルは I<core.PID> という形式の名前になり、ファイル名にプロセス ID が含まれる。"
3843
3844 #.  9520628e8ceb69fa9a4aee6b57f22675d9e1b709
3845 #. type: Plain text
3846 #: build/C/man5/core.5:213
3847 msgid "Since Linux 3.6, if I</proc/sys/fs/suid_dumpable> is set to 2 (\"suidsafe\"), the pattern must be either an absolute pathname (starting with a leading \\(aq/\\(aq character) or a pipe, as defined below."
3848 msgstr "Linux 3.6 以降では、I</proc/sys/fs/suid_dumpable> が 2 (\"suidsafe\") に設定されている場合、テンプレートは、絶対パス名 (先頭に \\(aq/\\(aq 文字があるパス名) かパイプ (以下で説明) のどちらかでなければならない。"
3849
3850 #. type: SS
3851 #: build/C/man5/core.5:213
3852 #, no-wrap
3853 msgid "Piping core dumps to a program"
3854 msgstr "コアダンプのプログラムへのパイプ"
3855
3856 #. type: Plain text
3857 #: build/C/man5/core.5:223
3858 msgid "Since kernel 2.6.19, Linux supports an alternate syntax for the I</proc/sys/kernel/core_pattern> file.  If the first character of this file is a pipe symbol (B<|>), then the remainder of the line is interpreted as a program to be executed.  Instead of being written to a disk file, the core dump is given as standard input to the program.  Note the following points:"
3859 msgstr "カーネル 2.6.19 以降では、Linux は I</proc/sys/kernel/core_pattern> ファイルの別の構文をサポートしている。 このファイルの最初の文字がパイプ記号 (B<|>) であれば、 その行の残りの部分は実行するプログラムとして解釈される。 コアダンプは、ディスク上のファイルに書き込まれるのではなく、 プログラムの標準入力として渡される。 以下の点に注意すること。"
3860
3861 #. type: Plain text
3862 #: build/C/man5/core.5:227
3863 msgid "The program must be specified using an absolute pathname (or a pathname relative to the root directory, I</>), and must immediately follow the '|' character."
3864 msgstr "プログラムは絶対パス名 (もしくはルートディレクトリ I</> からの 相対パス名) で指定されなければならない。 また、'|' 文字の直後から始めなければならない。"
3865
3866 #. type: Plain text
3867 #: build/C/man5/core.5:230
3868 msgid "The process created to run the program runs as user and group I<root>."
3869 msgstr "プログラムを実行するために生成されるプロセスは、 ユーザー、グループとも I<root> として実行される。"
3870
3871 #. type: Plain text
3872 #: build/C/man5/core.5:234
3873 msgid "Command-line arguments can be supplied to the program (since Linux 2.6.24), delimited by white space (up to a total line length of 128 bytes)."
3874 msgstr "コマンドライン引き数をプログラムに与えることができ (Linux 2.6.24 以降)、 引き数はホワイトスペースで区切る (1行の最大長は 128 バイトが上限である)。"
3875
3876 #. type: Plain text
3877 #: build/C/man5/core.5:240
3878 msgid "The command-line arguments can include any of the % specifiers listed above.  For example, to pass the PID of the process that is being dumped, specify I<%p> in an argument."
3879 msgstr "コマンドライン引き数には、上記のリストにある % 指示子を含めることができる。 例えば、ダンプされるプロセスの PID を渡すには、 引き数に I<%p> を指定する。"
3880
3881 #. type: SS
3882 #: build/C/man5/core.5:240
3883 #, no-wrap
3884 msgid "Controlling which mappings are written to the core dump"
3885 msgstr "どのマッピングをコアダンプに書き込むかを制御する"
3886
3887 #. type: Plain text
3888 #: build/C/man5/core.5:246
3889 msgid "Since kernel 2.6.23, the Linux-specific I</proc/PID/coredump_filter> file can be used to control which memory segments are written to the core dump file in the event that a core dump is performed for the process with the corresponding process ID."
3890 msgstr "カーネル 2.6.23 以降では、Linux 固有のファイル I</proc/PID/coredump_filter> を使って、対応するプロセス ID を持つプロセスに対してコアダンプが行われる 際に、どのメモリセグメントをコアダンプファイルに書き込むかを制御できる。"
3891
3892 #. type: Plain text
3893 #: build/C/man5/core.5:252
3894 msgid "The value in the file is a bit mask of memory mapping types (see B<mmap>(2)).  If a bit is set in the mask, then memory mappings of the corresponding type are dumped; otherwise they are not dumped.  The bits in this file have the following meanings:"
3895 msgstr "このファイルの値はメモリマッピング種別 (B<mmap>(2)  参照) のビットマスクである。 マスク内のあるビットがセットされると、そのビットに対応する種別の メモリマッピングがダンプされる。セットされていないものはダンプされない。 このファイルの各ビットは以下の意味を持つ。"
3896
3897 #. type: TP
3898 #: build/C/man5/core.5:255
3899 #, no-wrap
3900 msgid "bit 0"
3901 msgstr "bit 0"
3902
3903 #. type: Plain text
3904 #: build/C/man5/core.5:258
3905 msgid "Dump anonymous private mappings."
3906 msgstr "無名のプライベートマッピング (anonymous private mappings) をダンプする。"
3907
3908 #. type: TP
3909 #: build/C/man5/core.5:258
3910 #, no-wrap
3911 msgid "bit 1"
3912 msgstr "bit 1"
3913
3914 #. type: Plain text
3915 #: build/C/man5/core.5:261
3916 msgid "Dump anonymous shared mappings."
3917 msgstr "無名の共有マッピング (anonymous shared mappings) をダンプする。"
3918
3919 #. type: TP
3920 #: build/C/man5/core.5:261
3921 #, no-wrap
3922 msgid "bit 2"
3923 msgstr "bit 2"
3924
3925 #. type: Plain text
3926 #: build/C/man5/core.5:264
3927 msgid "Dump file-backed private mappings."
3928 msgstr "ファイルと関連付けられたプライベートマッピング (file-backed private mappings) をダンプする。"
3929
3930 #. type: TP
3931 #: build/C/man5/core.5:264
3932 #, no-wrap
3933 msgid "bit 3"
3934 msgstr "bit 3"
3935
3936 #.  file-backed shared mappings of course also update the underlying
3937 #.  mapped file.
3938 #. type: Plain text
3939 #: build/C/man5/core.5:269
3940 msgid "Dump file-backed shared mappings."
3941 msgstr "ファイルと関連付けられた共有マッピング (file-backed shared mappings) をダンプする。"
3942
3943 #. type: TP
3944 #: build/C/man5/core.5:269
3945 #, no-wrap
3946 msgid "bit 4 (since Linux 2.6.24)"
3947 msgstr "bit 4 (Linux 2.6.24 以降)"
3948
3949 #. type: Plain text
3950 #: build/C/man5/core.5:272
3951 msgid "Dump ELF headers."
3952 msgstr "ELF ヘッダをダンプする。"
3953
3954 #. type: TP
3955 #: build/C/man5/core.5:272
3956 #, no-wrap
3957 msgid "bit 5 (since Linux 2.6.28)"
3958 msgstr "bit 5 (Linux 2.6.28 以降)"
3959
3960 #. type: Plain text
3961 #: build/C/man5/core.5:275
3962 msgid "Dump private huge pages."
3963 msgstr "プライベートなヒュージページ (private huge page) をダンプする。"
3964
3965 #. type: TP
3966 #: build/C/man5/core.5:275
3967 #, no-wrap
3968 msgid "bit 6 (since Linux 2.6.28)"
3969 msgstr "bit 6 (Linux 2.6.28 以降)"
3970
3971 #. type: Plain text
3972 #: build/C/man5/core.5:278
3973 msgid "Dump shared huge pages."
3974 msgstr "共有されたヒュージページ (shared huge page) をダンプする。"
3975
3976 #. type: Plain text
3977 #: build/C/man5/core.5:286
3978 msgid "By default, the following bits are set: 0, 1, 4 (if the B<CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS> kernel configuration option is enabled), and 5.  The value of this file is displayed in hexadecimal.  (The default value is thus displayed as 33.)"
3979 msgstr "デフォルトでは、ビット 0, 1, 4, 5 がセットされる。 (ビット 4 がセットされるのは、カーネルが設定オプション B<CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS> を有効にして作成された場合である)。 このファイルの値は 16 進形式で表示される (したがって、デフォルト値は 33 と表示される)。"
3980
3981 #. type: Plain text
3982 #: build/C/man5/core.5:291
3983 msgid "Memory-mapped I/O pages such as frame buffer are never dumped, and virtual DSO pages are always dumped, regardless of the I<coredump_filter> value."
3984 msgstr "I<coredump_filter> の値に関わらず、フレームバッファーなどの memory-mapped I/O に関する ページは決してダンプされず、仮想 DSO ページは常にダンプされる。"
3985
3986 #. type: Plain text
3987 #: build/C/man5/core.5:301
3988 msgid "A child process created via B<fork>(2)  inherits its parent's I<coredump_filter> value; the I<coredump_filter> value is preserved across an B<execve>(2)."
3989 msgstr "B<fork>(2)  で作成される子プロセスは親プロセスの I<coredump_filter> の値を継承する。 B<execve>(2)  の前後で I<coredump_filter> の値は保持される。"
3990
3991 #. type: Plain text
3992 #: build/C/man5/core.5:305
3993 msgid "It can be useful to set I<coredump_filter> in the parent shell before running a program, for example:"
3994 msgstr "例のように、プログラムを実行する前に親シェルの I<coredump_filter> を設定しておくと役立つことがある。"
3995
3996 #. type: Plain text
3997 #: build/C/man5/core.5:310
3998 #, no-wrap
3999 msgid ""
4000 "$B< echo 0x7 E<gt> /proc/self/coredump_filter>\n"
4001 "$B< ./some_program>\n"
4002 msgstr ""
4003 "$B< echo 0x7 E<gt> /proc/self/coredump_filter>\n"
4004 "$B< ./some_program>\n"
4005
4006 #. type: Plain text
4007 #: build/C/man5/core.5:316
4008 msgid "This file is provided only if the kernel was built with the B<CONFIG_ELF_CORE> configuration option."
4009 msgstr "このファイルが提供されるのは、カーネルが設定オプション B<CONFIG_ELF_CORE> を有効にして作成された場合だけである。"
4010
4011 #. type: Plain text
4012 #: build/C/man5/core.5:321
4013 msgid "The B<gdb>(1)  I<gcore> command can be used to obtain a core dump of a running process."
4014 msgstr "B<gdb>(1)  の I<gcore> コマンドを使用すると、実行中のプロセスのコアダンプを取得できる。"
4015
4016 #.  Changed with commit 6409324b385f3f63a03645b4422e3be67348d922
4017 #.  Always including the PID in the name of the core file made
4018 #.  sense for LinuxThreads, where each thread had a unique PID,
4019 #.  but doesn't seem to serve any purpose with NPTL, where all the
4020 #.  threads in a process share the same PID (as POSIX.1 requires).
4021 #.  Probably the behavior is maintained so that applications using
4022 #.  LinuxThreads continue appending the PID (the kernel has no easy
4023 #.  way of telling which threading implementation the user-space
4024 #.  application is using). -- mtk, April 2006
4025 #. type: Plain text
4026 #: build/C/man5/core.5:344
4027 msgid "In Linux versions up to and including 2.6.27, if a multithreaded process (or, more precisely, a process that shares its memory with another process by being created with the B<CLONE_VM> flag of B<clone>(2))  dumps core, then the process ID is always appended to the core filename, unless the process ID was already included elsewhere in the filename via a %p specification in I</proc/sys/kernel/core_pattern>.  (This is primarily useful when employing the obsolete LinuxThreads implementation, where each thread of a process has a different PID.)"
4028 msgstr "バージョン 2.6.27 以前の Linux では、 マルチスレッドプロセス (より正確には、 B<clone>(2)  の B<CLONE_VM> で生成された別プロセスとメモリを共有しているプロセス)  がコアダンプを生成する場合、 コアファイル名にプロセス ID が必ず付加される。 ただし、 I</proc/sys/kernel/core_pattern> の %p 指定によりコアファイル名のどこか他の場所にプロセス ID が すでに含まれている場合は、プロセス ID が末尾に付加されない。 (この機能が主に役に立つのはすでに使われなくなった LinuxThreads 実装を利用している場合である。 LinuxThreads 実装では、プロセス内の個々のスレッドは異なるプロセス ID を持つ。)"
4029
4030 #. type: SH
4031 #: build/C/man5/core.5:344 build/C/man3/gnu_get_libc_version.3:51
4032 #: build/C/man3/stdarg.3:300 build/C/man4/vcs.4:101
4033 #, no-wrap
4034 msgid "EXAMPLE"
4035 msgstr "例"
4036
4037 #. type: Plain text
4038 #: build/C/man5/core.5:352
4039 msgid "The program below can be used to demonstrate the use of the pipe syntax in the I</proc/sys/kernel/core_pattern> file.  The following shell session demonstrates the use of this program (compiled to create an executable named I<core_pattern_pipe_test>):"
4040 msgstr "以下のプログラムは I</proc/sys/kernel/core_pattern> ファイルのパイプ構文の使用例を示している。 以下のシェルのセッションはこのプログラムの使用例を示すものである (コンパイルして I<core_pattern_pipe_test> という名前の実行ファイルを作成している)。"
4041
4042 #. type: Plain text
4043 #: build/C/man5/core.5:373
4044 #, no-wrap
4045 msgid ""
4046 "$B< cc -o core_pattern_pipe_test core_pattern_pipe_test.c>\n"
4047 "$B< su>\n"
4048 "Password:\n"
4049 "#B< echo \"|$PWD/core_pattern_pipe_test %p UID=%u GID=%g sig=%s\" E<gt> \\e>\n"
4050 "B</proc/sys/kernel/core_pattern>\n"
4051 "#B< exit>\n"
4052 "$B< sleep 100>\n"
4053 "B<^\\e>                     # type control-backslash\n"
4054 "Quit (core dumped)\n"
4055 "$B< cat core.info>\n"
4056 "argc=5\n"
4057 "argc[0]=E<lt>/home/mtk/core_pattern_pipe_testE<gt>\n"
4058 "argc[1]=E<lt>20575E<gt>\n"
4059 "argc[2]=E<lt>UID=1000E<gt>\n"
4060 "argc[3]=E<lt>GID=100E<gt>\n"
4061 "argc[4]=E<lt>sig=3E<gt>\n"
4062 "Total bytes in core dump: 282624\n"
4063 msgstr ""
4064 "$B< cc -o core_pattern_pipe_test core_pattern_pipe_test.c>\n"
4065 "$B< su>\n"
4066 "Password:\n"
4067 "#B< echo \"|$PWD/core_pattern_pipe_test %p UID=%u GID=%g sig=%s\" E<gt> \\e>\n"
4068 "B</proc/sys/kernel/core_pattern>\n"
4069 "#B< exit>\n"
4070 "$B< sleep 100>\n"
4071 "B<^\\e>                     # type control-backslash\n"
4072 "Quit (core dumped)\n"
4073 "$B< cat core.info>\n"
4074 "argc=5\n"
4075 "argc[0]=E<lt>/home/mtk/core_pattern_pipe_testE<gt>\n"
4076 "argc[1]=E<lt>20575E<gt>\n"
4077 "argc[2]=E<lt>UID=1000E<gt>\n"
4078 "argc[3]=E<lt>GID=100E<gt>\n"
4079 "argc[4]=E<lt>sig=3E<gt>\n"
4080 "Total bytes in core dump: 282624\n"
4081
4082 #. type: SS
4083 #: build/C/man5/core.5:375 build/C/man3/gnu_get_libc_version.3:61
4084 #, no-wrap
4085 msgid "Program source"
4086 msgstr "プログラムのソース"
4087
4088 #. type: Plain text
4089 #: build/C/man5/core.5:379
4090 #, no-wrap
4091 msgid "/* core_pattern_pipe_test.c */\n"
4092 msgstr "/* core_pattern_pipe_test.c */\n"
4093
4094 #. type: Plain text
4095 #: build/C/man5/core.5:387
4096 #, no-wrap
4097 msgid ""
4098 "#define _GNU_SOURCE\n"
4099 "#include E<lt>sys/stat.hE<gt>\n"
4100 "#include E<lt>fcntl.hE<gt>\n"
4101 "#include E<lt>limits.hE<gt>\n"
4102 "#include E<lt>stdio.hE<gt>\n"
4103 "#include E<lt>stdlib.hE<gt>\n"
4104 "#include E<lt>unistd.hE<gt>\n"
4105 msgstr ""
4106 "#define _GNU_SOURCE\n"
4107 "#include E<lt>sys/stat.hE<gt>\n"
4108 "#include E<lt>fcntl.hE<gt>\n"
4109 "#include E<lt>limits.hE<gt>\n"
4110 "#include E<lt>stdio.hE<gt>\n"
4111 "#include E<lt>stdlib.hE<gt>\n"
4112 "#include E<lt>unistd.hE<gt>\n"
4113
4114 #. type: Plain text
4115 #: build/C/man5/core.5:389
4116 #, no-wrap
4117 msgid "#define BUF_SIZE 1024\n"
4118 msgstr "#define BUF_SIZE 1024\n"
4119
4120 #. type: Plain text
4121 #: build/C/man5/core.5:398
4122 #, no-wrap
4123 msgid ""
4124 "int\n"
4125 "main(int argc, char *argv[])\n"
4126 "{\n"
4127 "    int tot, j;\n"
4128 "    ssize_t nread;\n"
4129 "    char buf[BUF_SIZE];\n"
4130 "    FILE *fp;\n"
4131 "    char cwd[PATH_MAX];\n"
4132 msgstr ""
4133 "int\n"
4134 "main(int argc, char *argv[])\n"
4135 "{\n"
4136 "    int tot, j;\n"
4137 "    ssize_t nread;\n"
4138 "    char buf[BUF_SIZE];\n"
4139 "    FILE *fp;\n"
4140 "    char cwd[PATH_MAX];\n"
4141
4142 #. type: Plain text
4143 #: build/C/man5/core.5:401
4144 #, no-wrap
4145 msgid ""
4146 "    /* Change our current working directory to that of the\n"
4147 "       crashing process */\n"
4148 msgstr ""
4149 "    /* Change our current working directory to that of the\n"
4150 "       crashing process */\n"
4151
4152 #. type: Plain text
4153 #: build/C/man5/core.5:404
4154 #, no-wrap
4155 msgid ""
4156 "    snprintf(cwd, PATH_MAX, \"/proc/%s/cwd\", argv[1]);\n"
4157 "    chdir(cwd);\n"
4158 msgstr ""
4159 "    snprintf(cwd, PATH_MAX, \"/proc/%s/cwd\", argv[1]);\n"
4160 "    chdir(cwd);\n"
4161
4162 #. type: Plain text
4163 #: build/C/man5/core.5:406
4164 #, no-wrap
4165 msgid "    /* Write output to file \"core.info\" in that directory */\n"
4166 msgstr "    /* Write output to file \"core.info\" in that directory */\n"
4167
4168 #. type: Plain text
4169 #: build/C/man5/core.5:410
4170 #, no-wrap
4171 msgid ""
4172 "    fp = fopen(\"core.info\", \"w+\");\n"
4173 "    if (fp == NULL)\n"
4174 "        exit(EXIT_FAILURE);\n"
4175 msgstr ""
4176 "    fp = fopen(\"core.info\", \"w+\");\n"
4177 "    if (fp == NULL)\n"
4178 "        exit(EXIT_FAILURE);\n"
4179
4180 #. type: Plain text
4181 #: build/C/man5/core.5:413
4182 #, no-wrap
4183 msgid ""
4184 "    /* Display command-line arguments given to core_pattern\n"
4185 "       pipe program */\n"
4186 msgstr ""
4187 "    /* Display command-line arguments given to core_pattern\n"
4188 "       pipe program */\n"
4189
4190 #. type: Plain text
4191 #: build/C/man5/core.5:417
4192 #, no-wrap
4193 msgid ""
4194 "    fprintf(fp, \"argc=%d\\en\", argc);\n"
4195 "    for (j = 0; j E<lt> argc; j++)\n"
4196 "        fprintf(fp, \"argc[%d]=E<lt>%sE<gt>\\en\", j, argv[j]);\n"
4197 msgstr ""
4198 "    fprintf(fp, \"argc=%d\\en\", argc);\n"
4199 "    for (j = 0; j E<lt> argc; j++)\n"
4200 "        fprintf(fp, \"argc[%d]=E<lt>%sE<gt>\\en\", j, argv[j]);\n"
4201
4202 #. type: Plain text
4203 #: build/C/man5/core.5:419
4204 #, no-wrap
4205 msgid "    /* Count bytes in standard input (the core dump) */\n"
4206 msgstr "    /* Count bytes in standard input (the core dump) */\n"
4207
4208 #. type: Plain text
4209 #: build/C/man5/core.5:424
4210 #, no-wrap
4211 msgid ""
4212 "    tot = 0;\n"
4213 "    while ((nread = read(STDIN_FILENO, buf, BUF_SIZE)) E<gt> 0)\n"
4214 "        tot += nread;\n"
4215 "    fprintf(fp, \"Total bytes in core dump: %d\\en\", tot);\n"
4216 msgstr ""
4217 "    tot = 0;\n"
4218 "    while ((nread = read(STDIN_FILENO, buf, BUF_SIZE)) E<gt> 0)\n"
4219 "        tot += nread;\n"
4220 "    fprintf(fp, \"Total bytes in core dump: %d\\en\", tot);\n"
4221
4222 #. type: Plain text
4223 #: build/C/man5/core.5:428
4224 #, no-wrap
4225 msgid ""
4226 "    fclose(fp);\n"
4227 "    exit(EXIT_SUCCESS);\n"
4228 "}\n"
4229 msgstr ""
4230 "    fclose(fp);\n"
4231 "    exit(EXIT_SUCCESS);\n"
4232 "}\n"
4233
4234 #. type: Plain text
4235 #: build/C/man5/core.5:440
4236 msgid "B<bash>(1), B<gdb>(1), B<getrlimit>(2), B<mmap>(2), B<prctl>(2), B<sigaction>(2), B<elf>(5), B<proc>(5), B<pthreads>(7), B<signal>(7)"
4237 msgstr "B<bash>(1), B<gdb>(1), B<getrlimit>(2), B<mmap>(2), B<prctl>(2), B<sigaction>(2), B<elf>(5), B<proc>(5), B<pthreads>(7), B<signal>(7)"
4238
4239 #. type: TH
4240 #: build/C/man4/cpuid.4:26
4241 #, no-wrap
4242 msgid "CPUID"
4243 msgstr "CPUID"
4244
4245 #. type: TH
4246 #: build/C/man4/cpuid.4:26 build/C/man4/msr.4:26
4247 #, no-wrap
4248 msgid "2009-03-31"
4249 msgstr "2009-03-31"
4250
4251 #. type: Plain text
4252 #: build/C/man4/cpuid.4:29
4253 msgid "cpuid - x86 CPUID access device"
4254 msgstr ""
4255
4256 #. type: Plain text
4257 #: build/C/man4/cpuid.4:31
4258 msgid "CPUID provides an interface for querying information about the x86 CPU."
4259 msgstr ""
4260
4261 #. type: Plain text
4262 #: build/C/man4/cpuid.4:38
4263 msgid "This device is accessed by B<lseek>(2)  or B<pread>(2)  to the appropriate CPUID level and reading in chunks of 16 bytes.  A larger read size means multiple reads of consecutive levels."
4264 msgstr ""
4265
4266 #. type: Plain text
4267 #: build/C/man4/cpuid.4:47
4268 msgid "The lower 32 bits of the file position is used as the incoming I<%eax>, and the upper 32 bits of the file position as the incoming I<%ecx>, the latter intended for \"counting\" I<eax> levels like I<eax=4>."
4269 msgstr ""
4270
4271 #. type: Plain text
4272 #: build/C/man4/cpuid.4:57
4273 msgid "This driver uses I</dev/cpu/CPUNUM/cpuid>, where I<CPUNUM> is the minor number, and on an SMP box will direct the access to CPU I<CPUNUM> as listed in I</proc/cpuinfo>."
4274 msgstr ""
4275
4276 #. type: Plain text
4277 #: build/C/man4/cpuid.4:62
4278 msgid "This file is protected so that it can be read only by the user I<root>, or members of the group I<root>."
4279 msgstr ""
4280
4281 #. type: Plain text
4282 #: build/C/man4/cpuid.4:67
4283 msgid "The CPUID instruction can be directly executed by a program using inline assembler.  However this device allows convenient access to all CPUs without changing process affinity."
4284 msgstr ""
4285
4286 #. type: Plain text
4287 #: build/C/man4/cpuid.4:76
4288 msgid "Most of the information in I<cpuid> is reported by the kernel in cooked form either in I</proc/cpuinfo> or through subdirectories in I</sys/devices/system/cpu>.  Direct CPUID access through this device should only be used in exceptional cases."
4289 msgstr ""
4290
4291 #. type: Plain text
4292 #: build/C/man4/cpuid.4:82
4293 msgid "The I<cpuid> driver is not auto-loaded.  On modular kernels you might need to use the following command to load it explicitly before use:"
4294 msgstr ""
4295
4296 #. type: Plain text
4297 #: build/C/man4/cpuid.4:84
4298 #, no-wrap
4299 msgid "     $ I<modprobe cpuid>\n"
4300 msgstr "     $ I<modprobe cpuid>\n"
4301
4302 #. type: Plain text
4303 #: build/C/man4/cpuid.4:87
4304 msgid "There is no support for CPUID functions that require additional input registers."
4305 msgstr ""
4306
4307 #. type: Plain text
4308 #: build/C/man4/cpuid.4:89
4309 msgid "Very old x86 CPUs don't support CPUID."
4310 msgstr ""
4311
4312 #. type: Plain text
4313 #: build/C/man4/cpuid.4:93
4314 msgid "Intel Corporation, Intel 64 and IA-32 Architectures Software Developer's Manual Volume 2A: Instruction Set Reference, A-M, 3-180 CPUID reference."
4315 msgstr ""
4316
4317 #. type: Plain text
4318 #: build/C/man4/cpuid.4:96
4319 msgid "Intel Corporation, Intel Processor Identification and the CPUID Instruction, Application note 485."
4320 msgstr ""
4321
4322 #. type: TH
4323 #: build/C/man4/dsp56k.4:27
4324 #, no-wrap
4325 msgid "DSP56K"
4326 msgstr "DSP56K"
4327
4328 #. type: Plain text
4329 #: build/C/man4/dsp56k.4:30
4330 msgid "dsp56k - DSP56001 interface device"
4331 msgstr "dsp56k - DSP56001 のインターフェースデバイス"
4332
4333 #. type: Plain text
4334 #: build/C/man4/dsp56k.4:33
4335 #, no-wrap
4336 msgid "#include E<lt>asm/dsp56k.hE<gt>\n"
4337 msgstr "#include E<lt>asm/dsp56k.hE<gt>\n"
4338
4339 #. type: Plain text
4340 #: build/C/man4/dsp56k.4:36
4341 #, no-wrap
4342 msgid ""
4343 "B<ssize_t read(int >I<fd>B<, void *>I<data>B<, size_t >I<length>B<);>\n"
4344 "B<ssize_t write(int >I<fd>B<, void *>I<data>B<, size_t >I<length>B<);>\n"
4345 msgstr ""
4346 "B<ssize_t read(int >I<fd>B<, void *>I<data>B<, size_t >I<length>B<);>\n"
4347 "B<ssize_t write(int >I<fd>B<, void *>I<data>B<, size_t >I<length>B<);>\n"
4348
4349 #. type: Plain text
4350 #: build/C/man4/dsp56k.4:42
4351 #, no-wrap
4352 msgid ""
4353 "B<int ioctl(int >I<fd>B<, DSP56K_UPLOAD, struct dsp56k_upload *>I<program>B<);>\n"
4354 "B<int ioctl(int >I<fd>B<, DSP56K_SET_TX_WSIZE, int >I<wsize>B<);>\n"
4355 "B<int ioctl(int >I<fd>B<, DSP56K_SET_RX_WSIZE, int >I<wsize>B<);>\n"
4356 "B<int ioctl(int >I<fd>B<, DSP56K_HOST_FLAGS, struct dsp56k_host_flags *>I<flags>B<);>\n"
4357 "B<int ioctl(int >I<fd>B<, DSP56K_HOST_CMD, int >I<cmd>B<);>\n"
4358 msgstr ""
4359 "B<int ioctl(int >I<fd>B<, DSP56K_UPLOAD, struct dsp56k_upload *>I<program>B<);>\n"
4360 "B<int ioctl(int >I<fd>B<, DSP56K_SET_TX_WSIZE, int >I<wsize>B<);>\n"
4361 "B<int ioctl(int >I<fd>B<, DSP56K_SET_RX_WSIZE, int >I<wsize>B<);>\n"
4362 "B<int ioctl(int >I<fd>B<, DSP56K_HOST_FLAGS, struct dsp56k_host_flags *>I<flags>B<);>\n"
4363 "B<int ioctl(int >I<fd>B<, DSP56K_HOST_CMD, int >I<cmd>B<);>\n"
4364
4365 #. type: SH
4366 #: build/C/man4/dsp56k.4:43 build/C/man4/fd.4:31 build/C/man4/full.4:29
4367 #: build/C/man4/initrd.4:38 build/C/man4/lp.4:32 build/C/man4/mouse.4:29
4368 #: build/C/man4/sd.4:34
4369 #, no-wrap
4370 msgid "CONFIGURATION"
4371 msgstr "設定"
4372
4373 #. type: Plain text
4374 #: build/C/man4/dsp56k.4:46
4375 msgid "The dsp56k device is a character device with major number 55 and minor number 0."
4376 msgstr "dsp56k デバイスは、メジャー番号 55、マイナー番号 0 の キャラクターデバイスである。"
4377
4378 #. type: Plain text
4379 #: build/C/man4/dsp56k.4:52
4380 msgid "The Motorola DSP56001 is a fully programmable 24-bit digital signal processor found in Atari Falcon030-compatible computers.  The I<dsp56k> special file is used to control the DSP56001, and to send and receive data using the bidirectional handshaked host port."
4381 msgstr "Motorola DSP56001 は、Atari Falcon030 互換のコンピュータで使われている フルプログラマブルな 24 ビットのデジタルシグナルプロセッサーである。 スペシャルファイル I<dsp56k> は、DSP56001 の制御と 双方向ハンドシェイクホストポートでのデータの送受信のために使われる。"
4382
4383 #. type: Plain text
4384 #: build/C/man4/dsp56k.4:62
4385 msgid "To send a data stream to the signal processor, use B<write>(2)  to the device, and B<read>(2)  to receive processed data.  The data can be sent or received in 8, 16, 24, or 32-bit quantities on the host side, but will always be seen as 24-bit quantities in the DSP56001."
4386 msgstr "データストリームをシグナルプロセッサーに送信するためには、 デバイスに対して B<write>(2)  を使うこと。 処理されたデータを受信するためには、 B<read>(2)  を使うこと。 ホスト側では、データは 8, 16, 24, 32 ビット単位で送受信できるが、 DSP56001 内では、24 ビット単位で扱われる。"
4387
4388 #. type: Plain text
4389 #: build/C/man4/dsp56k.4:67
4390 msgid "The following B<ioctl>(2)  calls are used to control the I<dsp56k> device:"
4391 msgstr "次の B<ioctl>(2)  コールが I<dsp56k> デバイスを制御するために使われる。"
4392
4393 #. type: IP
4394 #: build/C/man4/dsp56k.4:67
4395 #, no-wrap
4396 msgid "B<DSP56K_UPLOAD>"
4397 msgstr "B<DSP56K_UPLOAD>"
4398
4399 #. type: Plain text
4400 #: build/C/man4/dsp56k.4:74
4401 msgid "resets the DSP56001 and uploads a program.  The third B<ioctl>(2)  argument must be a pointer to a I<struct dsp56k_binary> with members I<bin> pointing to a DSP56001 binary program, and I<len> set to the length of the program, counted in 24-bit words."
4402 msgstr "DSP56001 をリセットし、プログラムをアップロードする。 B<ioctl>(2)  の 3 番目の引き数は、 構造体 I<struct dsp56k_binary> へのポインターでなければならない。 構造体のメンバー I<bin> は DSP56001 バイナリプログラムを指し、 構造体のメンバー I<len> は 24 ビットワードで数えた プログラムの長さに設定されていなければならない。"
4403
4404 #. type: IP
4405 #: build/C/man4/dsp56k.4:74
4406 #, no-wrap
4407 msgid "B<DSP56K_SET_TX_WSIZE>"
4408 msgstr "B<DSP56K_SET_TX_WSIZE>"
4409
4410 #. type: Plain text
4411 #: build/C/man4/dsp56k.4:82
4412 msgid "sets the transmit word size.  Allowed values are in the range 1 to 4, and is the number of bytes that will be sent at a time to the DSP56001.  These data quantities will either be padded with zero bytes, or truncated to fit the native 24-bit data format of the DSP56001."
4413 msgstr "送信ワードサイズを設定する。 設定できる値は 1 〜 4 の範囲で、このバイト数分だけ 1 度に DSP56001 に送信する。 このデータ単位は、DSP56001 本来の 24 ビットデータ形式に合わせるため、 ゼロのバイトで埋められたり、切り詰められたりする。"
4414
4415 #. type: IP
4416 #: build/C/man4/dsp56k.4:82
4417 #, no-wrap
4418 msgid "B<DSP56K_SET_RX_WSIZE>"
4419 msgstr "B<DSP56K_SET_RX_WSIZE>"
4420
4421 #. type: Plain text
4422 #: build/C/man4/dsp56k.4:89
4423 msgid "sets the receive word size.  Allowed values are in the range 1 to 4, and is the number of bytes that will be received at a time from the DSP56001.  These data quantities will either truncated, or padded with a null byte (\\(aq\\e0\\(aq) to fit the native 24-bit data format of the DSP56001."
4424 msgstr "受信ワードサイズを設定する。 設定できる値は 1 〜 4 の範囲で、 このバイト数分だけ 1 度に DSP56001 から受信する。 このデータ単位は、DSP56001 本来の 24 ビットデータ形式に合わせるため、 切り詰められたり、ヌルバイト (\\(aq\\e0\\(aq) で埋められたりする。"
4425
4426 #. type: IP
4427 #: build/C/man4/dsp56k.4:89
4428 #, no-wrap
4429 msgid "B<DSP56K_HOST_FLAGS>"
4430 msgstr "B<DSP56K_HOST_FLAGS>"
4431
4432 #. type: Plain text
4433 #: build/C/man4/dsp56k.4:96
4434 msgid "read and write the host flags.  The host flags are four general-purpose bits that can be read by both the hosting computer and the DSP56001.  Bits 0 and 1 can be written by the host, and bits 2 and 3 can be written by the DSP56001."
4435 msgstr "ホストフラグを読み書きする。 ホストフラグは、一般的な目的で使うことのできるビットで、 ホストコンピュータと DSP56001 の両方から読むことができる。 ビット 0 と 1 は、ホストによって書き込むことができ、 ビット 2 と 3 は、DSP56001 によって書き込むことができる。"
4436
4437 #. type: Plain text
4438 #: build/C/man4/dsp56k.4:106
4439 msgid "To access the host flags, the third B<ioctl>(2)  argument must be a pointer to a I<struct dsp56k_host_flags>.  If bit 0 or 1 is set in the I<dir> member, the corresponding bit in I<out> will be written to the host flags.  The state of all host flags will be returned in the lower four bits of the I<status> member."
4440 msgstr "ホストフラグにアクセスするためには、 B<ioctl>(2)  の 3 番目の引き数が 構造体 I<struct dsp56k_host_flags> へのポインターでなければならない。 この構造体のメンバー I<dir> のビット 0 または 1 が設定されると、 メンバー I<out> の対応するビットの値がホストフラグに書き込まれる。 すべてのホストフラグの状態は、構造体のメンバー I<status> の 下から 4 ビットとして返される。"
4441
4442 #. type: IP
4443 #: build/C/man4/dsp56k.4:106
4444 #, no-wrap
4445 msgid "B<DSP56K_HOST_CMD>"
4446 msgstr "B<DSP56K_HOST_CMD>"
4447
4448 #. type: Plain text
4449 #: build/C/man4/dsp56k.4:110
4450 msgid "sends a host command.  Allowed values are in the range 0 to 31, and is a user-defined command handled by the program running in the DSP56001."
4451 msgstr "ホストコマンドを送信する。 送信できる値は 0 〜 31 の範囲で、DSP56001 で動作しているプログラムによって 処理されるユーザー定義コマンドである。"
4452
4453 #.  .SH AUTHORS
4454 #.  Fredrik Noring <noring@nocrew.org>, lars brinkhoff <lars@nocrew.org>,
4455 #.  Tomas Berndtsson <tomas@nocrew.org>.
4456 #. type: Plain text
4457 #: build/C/man4/dsp56k.4:115
4458 msgid "/dev/dsp56k"
4459 msgstr "/dev/dsp56k"
4460
4461 #. type: Plain text
4462 #: build/C/man4/dsp56k.4:121
4463 msgid "I<linux/include/asm-m68k/dsp56k.h>, I<linux/drivers/char/dsp56k.c>, E<.UR http://dsp56k.nocrew.org/> E<.UE ,> DSP56000/DSP56001 Digital Signal Processor User's Manual"
4464 msgstr "I<linux/include/asm-m68k/dsp56k.h>, I<linux/drivers/char/dsp56k.c>, E<.UR http://dsp56k.nocrew.org/> E<.UE ,> DSP56000/DSP56001 Digital Signal Processor User's Manual"
4465
4466 #. type: TH
4467 #: build/C/man4/fd.4:28
4468 #, no-wrap
4469 msgid "FD"
4470 msgstr "FD"
4471
4472 #. type: TH
4473 #: build/C/man4/fd.4:28
4474 #, no-wrap
4475 msgid "2014-05-10"
4476 msgstr "2014-05-10"
4477
4478 #. type: Plain text
4479 #: build/C/man4/fd.4:31
4480 msgid "fd - floppy disk device"
4481 msgstr "fd - フロッピーディスク(floppy disk)デバイス"
4482
4483 #. type: Plain text
4484 #: build/C/man4/fd.4:48
4485 msgid "Floppy drives are block devices with major number 2.  Typically they are owned by I<root.floppy> (i.e., user root, group floppy) and have either mode 0660 (access checking via group membership) or mode 0666 (everybody has access).  The minor numbers encode the device type, drive number, and controller number.  For each device type (that is, combination of density and track count)  there is a base minor number.  To this base number, add the drive's number on its controller and 128 if the drive is on the secondary controller.  In the following device tables, I<n> represents the drive number."
4486 msgstr "フロッピードライブはメジャーナンバー 2 を持つブロックデバイスである。 一般的には、このデバイスのオーナーは I<root.floppy> (オーナー root、グループ floppy) で、 モード 0660 (グループの構成員であることによってアクセスチェックが行われる)、 または、モード 0666 (誰でもアクセスできる) である。 マイナーナンバーはデバイスのタイプ、ドライブの番号、 コントローラーの番号を符号化したものである。それぞれのデバイスタイプ (これは、密度 (density) とトラックカウント (track count) の組合せである)  は、ベースとなるマイナーナンバーを持っている。このベースナンバーにその コントローラー上のドライブナンバーを加える。もし、そのドライブが 2 番目の コントローラーに接続されているなら、さらに 128 を加える。次のデバイス テーブルでは、 I<n> はドライブ番号を表す。 [訳注] 以下のテーブルに用いられる用語は表の整形の関係から原文のままとなっている。 Name (名前)、Capac. (容量)、Cyl. (シリンダ数)、Sect. (セクター数)、 Heads. (ヘッダ数)、Base minor # (ベースマイナーナンバー)。"
4487
4488 #. type: Plain text
4489 #: build/C/man4/fd.4:55
4490 msgid "B<Warning: If you use formats with more tracks than supported by your drive, you may cause it mechanical damage.> Trying once if more tracks than the usual 40/80 are supported should not damage it, but no warranty is given for that.  If you are not sure, don't create device entries for those formats, so as to prevent their usage."
4491 msgstr "B<警告: ドライブがサポートしているよりも多くのトラックを持つように フォーマットした場合、ドライブに機械的なダメージを与えることになる かもしれない。> 通常の 40/80 よりも多くのトラックがサポートされているかどうかを 一度試すだけではドライブにダメージを与えることはないはずだが、 ダメージを与えないという保証はない。 確信がない場合は、そのような使い方が行われないように、 そうしたフォーマットのドライブエントリを作成しないこと。"
4492
4493 #. type: Plain text
4494 #: build/C/man4/fd.4:58
4495 msgid "Drive-independent device files which automatically detect the media format and capacity:"
4496 msgstr "メディアのフォーマットと容量を自動的に検出する ドライブ非依存のデバイスファイル:"
4497
4498 #. type: tbl table
4499 #: build/C/man4/fd.4:60
4500 #, no-wrap
4501 msgid "Name\tBase minor #\n"
4502 msgstr "Name\tBase minor #\n"
4503
4504 #. type: tbl table
4505 #: build/C/man4/fd.4:61 build/C/man4/fd.4:69 build/C/man4/fd.4:77
4506 #: build/C/man4/fd.4:94 build/C/man4/fd.4:106 build/C/man4/fd.4:125
4507 #, no-wrap
4508 msgid "_\n"
4509 msgstr "_\n"
4510
4511 #. type: tbl table
4512 #: build/C/man4/fd.4:62
4513 #, no-wrap
4514 msgid "B<fd>I<n>\t0\n"
4515 msgstr "B<fd>I<n>\t0\n"
4516
4517 #. type: Plain text
4518 #: build/C/man4/fd.4:66
4519 msgid "5.25 inch double-density device files:"
4520 msgstr "5.25 インチ倍密度 (double-density) デバイスファイル:"
4521
4522 #. type: tbl table
4523 #: build/C/man4/fd.4:68 build/C/man4/fd.4:76 build/C/man4/fd.4:93
4524 #: build/C/man4/fd.4:105 build/C/man4/fd.4:124
4525 #, no-wrap
4526 msgid "Name\tCapac.\tCyl.\tSect.\tHeads\tBase minor #\n"
4527 msgstr "Name\tCapac.\tCyl.\tSect.\tHeads\tBase minor #\n"
4528
4529 #. type: tbl table
4530 #: build/C/man4/fd.4:70
4531 #, no-wrap
4532 msgid "B<fd>I<n>B<d360>\t360K\t40\t9\t2\t4\n"
4533 msgstr "B<fd>I<n>B<d360>\t360K\t40\t9\t2\t4\n"
4534
4535 #. type: Plain text
4536 #: build/C/man4/fd.4:74
4537 msgid "5.25 inch high-density device files:"
4538 msgstr "5.25 インチ高密度 (high-density) デバイスファイル:"
4539
4540 #. type: tbl table
4541 #: build/C/man4/fd.4:78
4542 #, no-wrap
4543 msgid "B<fd>I<n>B<h360>\t360K\t40\t9\t2\t20\n"
4544 msgstr "B<fd>I<n>B<h360>\t360K\t40\t9\t2\t20\n"
4545
4546 #. type: tbl table
4547 #: build/C/man4/fd.4:79
4548 #, no-wrap
4549 msgid "B<fd>I<n>B<h410>\t410K\t41\t10\t2\t48\n"
4550 msgstr "B<fd>I<n>B<h410>\t410K\t41\t10\t2\t48\n"
4551
4552 #. type: tbl table
4553 #: build/C/man4/fd.4:80
4554 #, no-wrap
4555 msgid "B<fd>I<n>B<h420>\t420K\t42\t10\t2\t64\n"
4556 msgstr "B<fd>I<n>B<h420>\t420K\t42\t10\t2\t64\n"
4557
4558 #. type: tbl table
4559 #: build/C/man4/fd.4:81
4560 #, no-wrap
4561 msgid "B<fd>I<n>B<h720>\t720K\t80\t9\t2\t24\n"
4562 msgstr "B<fd>I<n>B<h720>\t720K\t80\t9\t2\t24\n"
4563
4564 #. type: tbl table
4565 #: build/C/man4/fd.4:82
4566 #, no-wrap
4567 msgid "B<fd>I<n>B<h880>\t880K\t80\t11\t2\t80\n"
4568 msgstr "B<fd>I<n>B<h880>\t880K\t80\t11\t2\t80\n"
4569
4570 #. type: tbl table
4571 #: build/C/man4/fd.4:83
4572 #, no-wrap
4573 msgid "B<fd>I<n>B<h1200>\t1200K\t80\t15\t2\t8\n"
4574 msgstr "B<fd>I<n>B<h1200>\t1200K\t80\t15\t2\t8\n"
4575
4576 #. type: tbl table
4577 #: build/C/man4/fd.4:84
4578 #, no-wrap
4579 msgid "B<fd>I<n>B<h1440>\t1440K\t80\t18\t2\t40\n"
4580 msgstr "B<fd>I<n>B<h1440>\t1440K\t80\t18\t2\t40\n"
4581
4582 #. type: tbl table
4583 #: build/C/man4/fd.4:85
4584 #, no-wrap
4585 msgid "B<fd>I<n>B<h1476>\t1476K\t82\t18\t2\t56\n"
4586 msgstr "B<fd>I<n>B<h1476>\t1476K\t82\t18\t2\t56\n"
4587
4588 #. type: tbl table
4589 #: build/C/man4/fd.4:86
4590 #, no-wrap
4591 msgid "B<fd>I<n>B<h1494>\t1494K\t83\t18\t2\t72\n"
4592 msgstr "B<fd>I<n>B<h1494>\t1494K\t83\t18\t2\t72\n"
4593
4594 #. type: tbl table
4595 #: build/C/man4/fd.4:87
4596 #, no-wrap
4597 msgid "B<fd>I<n>B<h1600>\t1600K\t80\t20\t2\t92\n"
4598 msgstr "B<fd>I<n>B<h1600>\t1600K\t80\t20\t2\t92\n"
4599
4600 #. type: Plain text
4601 #: build/C/man4/fd.4:91
4602 msgid "3.5 inch double-density device files:"
4603 msgstr "3.5 インチ倍密度 (double-density) デバイスファイル:"
4604
4605 #. type: tbl table
4606 #: build/C/man4/fd.4:95
4607 #, no-wrap
4608 msgid "B<fd>I<n>B<u360>\t360K\t80\t9\t1\t12\n"
4609 msgstr "B<fd>I<n>B<u360>\t360K\t80\t9\t1\t12\n"
4610
4611 #. type: tbl table
4612 #: build/C/man4/fd.4:96 build/C/man4/fd.4:108
4613 #, no-wrap
4614 msgid "B<fd>I<n>B<u720>\t720K\t80\t9\t2\t16\n"
4615 msgstr "B<fd>I<n>B<u720>\t720K\t80\t9\t2\t16\n"
4616
4617 #. type: tbl table
4618 #: build/C/man4/fd.4:97
4619 #, no-wrap
4620 msgid "B<fd>I<n>B<u800>\t800K\t80\t10\t2\t120\n"
4621 msgstr "B<fd>I<n>B<u800>\t800K\t80\t10\t2\t120\n"
4622
4623 #. type: tbl table
4624 #: build/C/man4/fd.4:98
4625 #, no-wrap
4626 msgid "B<fd>I<n>B<u1040>\t1040K\t80\t13\t2\t84\n"
4627 msgstr "B<fd>I<n>B<u1040>\t1040K\t80\t13\t2\t84\n"
4628
4629 #. type: tbl table
4630 #: build/C/man4/fd.4:99
4631 #, no-wrap
4632 msgid "B<fd>I<n>B<u1120>\t1120K\t80\t14\t2\t88\n"
4633 msgstr "B<fd>I<n>B<u1120>\t1120K\t80\t14\t2\t88\n"
4634
4635 #. type: Plain text
4636 #: build/C/man4/fd.4:103
4637 msgid "3.5 inch high-density device files:"
4638 msgstr "3.5 インチ高密度 (high-density) デバイスファイル:"
4639
4640 #. type: tbl table
4641 #: build/C/man4/fd.4:107
4642 #, no-wrap
4643 msgid "B<fd>I<n>B<u360>\t360K\t40\t9\t2\t12\n"
4644 msgstr "B<fd>I<n>B<u360>\t360K\t40\t9\t2\t12\n"
4645
4646 #. type: tbl table
4647 #: build/C/man4/fd.4:109
4648 #, no-wrap
4649 msgid "B<fd>I<n>B<u820>\t820K\t82\t10\t2\t52\n"
4650 msgstr "B<fd>I<n>B<u820>\t820K\t82\t10\t2\t52\n"
4651
4652 #. type: tbl table
4653 #: build/C/man4/fd.4:110
4654 #, no-wrap
4655 msgid "B<fd>I<n>B<u830>\t830K\t83\t10\t2\t68\n"
4656 msgstr "B<fd>I<n>B<u830>\t830K\t83\t10\t2\t68\n"
4657
4658 #. type: tbl table
4659 #: build/C/man4/fd.4:111
4660 #, no-wrap
4661 msgid "B<fd>I<n>B<u1440>\t1440K\t80\t18\t2\t28\n"
4662 msgstr "B<fd>I<n>B<u1440>\t1440K\t80\t18\t2\t28\n"
4663
4664 #. type: tbl table
4665 #: build/C/man4/fd.4:112
4666 #, no-wrap
4667 msgid "B<fd>I<n>B<u1600>\t1600K\t80\t20\t2\t124\n"
4668 msgstr "B<fd>I<n>B<u1600>\t1600K\t80\t20\t2\t124\n"
4669
4670 #. type: tbl table
4671 #: build/C/man4/fd.4:113
4672 #, no-wrap
4673 msgid "B<fd>I<n>B<u1680>\t1680K\t80\t21\t2\t44\n"
4674 msgstr "B<fd>I<n>B<u1680>\t1680K\t80\t21\t2\t44\n"
4675
4676 #. type: tbl table
4677 #: build/C/man4/fd.4:114
4678 #, no-wrap
4679 msgid "B<fd>I<n>B<u1722>\t1722K\t82\t21\t2\t60\n"
4680 msgstr "B<fd>I<n>B<u1722>\t1722K\t82\t21\t2\t60\n"
4681
4682 #. type: tbl table
4683 #: build/C/man4/fd.4:115
4684 #, no-wrap
4685 msgid "B<fd>I<n>B<u1743>\t1743K\t83\t21\t2\t76\n"
4686 msgstr "B<fd>I<n>B<u1743>\t1743K\t83\t21\t2\t76\n"
4687
4688 #. type: tbl table
4689 #: build/C/man4/fd.4:116
4690 #, no-wrap
4691 msgid "B<fd>I<n>B<u1760>\t1760K\t80\t22\t2\t96\n"
4692 msgstr "B<fd>I<n>B<u1760>\t1760K\t80\t22\t2\t96\n"
4693
4694 #. type: tbl table
4695 #: build/C/man4/fd.4:117
4696 #, no-wrap
4697 msgid "B<fd>I<n>B<u1840>\t1840K\t80\t23\t2\t116\n"
4698 msgstr "B<fd>I<n>B<u1840>\t1840K\t80\t23\t2\t116\n"
4699
4700 #. type: tbl table
4701 #: build/C/man4/fd.4:118
4702 #, no-wrap
4703 msgid "B<fd>I<n>B<u1920>\t1920K\t80\t24\t2\t100\n"
4704 msgstr "B<fd>I<n>B<u1920>\t1920K\t80\t24\t2\t100\n"
4705
4706 #. type: Plain text
4707 #: build/C/man4/fd.4:122
4708 msgid "3.5 inch extra-density device files:"
4709 msgstr "3.5 インチ拡張密度 (extra-density) デバイスファイル:"
4710
4711 #. type: tbl table
4712 #: build/C/man4/fd.4:126
4713 #, no-wrap
4714 msgid "B<fd>I<n>B<u2880>\t2880K\t80\t36\t2\t32\n"
4715 msgstr "B<fd>I<n>B<u2880>\t2880K\t80\t36\t2\t32\n"
4716
4717 #. type: tbl table
4718 #: build/C/man4/fd.4:127
4719 #, no-wrap
4720 msgid "B<fd>I<n>B<CompaQ>\t2880K\t80\t36\t2\t36\n"
4721 msgstr "B<fd>I<n>B<CompaQ>\t2880K\t80\t36\t2\t36\n"
4722
4723 #. type: tbl table
4724 #: build/C/man4/fd.4:128
4725 #, no-wrap
4726 msgid "B<fd>I<n>B<u3200>\t3200K\t80\t40\t2\t104\n"
4727 msgstr "B<fd>I<n>B<u3200>\t3200K\t80\t40\t2\t104\n"
4728
4729 #. type: tbl table
4730 #: build/C/man4/fd.4:129
4731 #, no-wrap
4732 msgid "B<fd>I<n>B<u3520>\t3520K\t80\t44\t2\t108\n"
4733 msgstr "B<fd>I<n>B<u3520>\t3520K\t80\t44\t2\t108\n"
4734
4735 #. type: tbl table
4736 #: build/C/man4/fd.4:130
4737 #, no-wrap
4738 msgid "B<fd>I<n>B<u3840>\t3840K\t80\t48\t2\t112\n"
4739 msgstr "B<fd>I<n>B<u3840>\t3840K\t80\t48\t2\t112\n"
4740
4741 #. type: Plain text
4742 #: build/C/man4/fd.4:137
4743 msgid "B<fd> special files access the floppy disk drives in raw mode.  The following B<ioctl>(2)  calls are supported by B<fd> devices:"
4744 msgstr "B<fd> スペシャルファイルはフロッピーディスクドライブにローモード (raw mode)で アクセスする。B<fd> では、次の B<ioctl>(2)  コールがサポートされている。"
4745
4746 #. type: IP
4747 #: build/C/man4/fd.4:137
4748 #, no-wrap
4749 msgid "B<FDCLRPRM>"
4750 msgstr "B<FDCLRPRM>"
4751
4752 #. type: Plain text
4753 #: build/C/man4/fd.4:139
4754 msgid "clears the media information of a drive (geometry of disk in drive)."
4755 msgstr "ドライブのメディア情報(ドライブ内のディスクのジオメトリ情報)をクリアす る。"
4756
4757 #. type: IP
4758 #: build/C/man4/fd.4:139
4759 #, no-wrap
4760 msgid "B<FDSETPRM>"
4761 msgstr "B<FDSETPRM>"
4762
4763 #. type: Plain text
4764 #: build/C/man4/fd.4:143
4765 msgid "sets the media information of a drive.  The media information will be lost when the media is changed."
4766 msgstr "ドライブのメディア情報をセットする。メディア情報はメディアが交換された 時、失われる。"
4767
4768 #. type: IP
4769 #: build/C/man4/fd.4:143
4770 #, no-wrap
4771 msgid "B<FDDEFPRM>"
4772 msgstr "B<FDDEFPRM>"
4773
4774 #. type: Plain text
4775 #: build/C/man4/fd.4:149
4776 msgid "sets the media information of a drive (geometry of disk in drive).  The media information will not be lost when the media is changed.  This will disable autodetection.  In order to reenable autodetection, you have to issue an B<FDCLRPRM>."
4777 msgstr "ドライブのメディア情報(ドライブ内のディスクのジオメトリ情報)をセットす る。メディア情報はメディアが交換された時でも失われない。これは(メディ ア情報の)自動検出を無効にする。自動検出を再び有効にするために、 B<FDCLRPRM> を発行しなければならない。"
4778
4779 #. type: IP
4780 #: build/C/man4/fd.4:149 build/C/man4/fd.4:161
4781 #, no-wrap
4782 msgid "B<FDGETDRVTYP>"
4783 msgstr "B<FDGETDRVTYP>"
4784
4785 #. type: Plain text
4786 #: build/C/man4/fd.4:154
4787 msgid "returns the type of a drive (name parameter).  For formats which work in several drive types, B<FDGETDRVTYP> returns a name which is appropriate for the oldest drive type which supports this format."
4788 msgstr "ドライブのタイプ(名前引数)を返す。それぞれのドライブタイプに適合するよ うにフォーマットを行うため、B<FDGETDRVTYP> はフォーマットをサポート する最も古いドライブタイプのために適切な名前を返す。"
4789
4790 #. type: IP
4791 #: build/C/man4/fd.4:154
4792 #, no-wrap
4793 msgid "B<FDFLUSH>"
4794 msgstr "B<FDFLUSH>"
4795
4796 #. type: Plain text
4797 #: build/C/man4/fd.4:156
4798 msgid "invalidates the buffer cache for the given drive."
4799 msgstr "与えられたドライブのバッファーキャッシュを無効にする。"
4800
4801 #. type: IP
4802 #: build/C/man4/fd.4:156 build/C/man4/fd.4:159
4803 #, no-wrap
4804 msgid "B<FDSETMAXERRS>"
4805 msgstr "B<FDSETMAXERRS>"
4806
4807 #. type: Plain text
4808 #: build/C/man4/fd.4:159
4809 msgid "sets the error thresholds for reporting errors, aborting the operation, recalibrating, resetting, and reading sector by sector."
4810 msgstr "エラーの報告、操作の中止、再試行、リセット、セクター毎の読み込みのため のエラー閾値をセットする。"
4811
4812 #. type: Plain text
4813 #: build/C/man4/fd.4:161
4814 msgid "gets the current error thresholds."
4815 msgstr "現在のエラー閾値を得る。"
4816
4817 #. type: Plain text
4818 #: build/C/man4/fd.4:163
4819 msgid "gets the internal name of the drive."
4820 msgstr "ドライブの内部名を得る。"
4821
4822 #. type: IP
4823 #: build/C/man4/fd.4:163
4824 #, no-wrap
4825 msgid "B<FDWERRORCLR>"
4826 msgstr "B<FDWERRORCLR>"
4827
4828 #. type: Plain text
4829 #: build/C/man4/fd.4:165
4830 msgid "clears the write error statistics."
4831 msgstr "書き込みエラーの統計をクリアーする。"
4832
4833 #. type: IP
4834 #: build/C/man4/fd.4:165
4835 #, no-wrap
4836 msgid "B<FDWERRORGET>"
4837 msgstr "B<FDWERRORGET>"
4838
4839 #. type: Plain text
4840 #: build/C/man4/fd.4:172
4841 msgid "reads the write error statistics.  These include the total number of write errors, the location and disk of the first write error, and the location and disk of the last write error.  Disks are identified by a generation number which is incremented at (almost) each disk change."
4842 msgstr "書き込みエラーの統計を読む。統計は、書き込みエラーの合計、最初の書き込 みエラーはどのディスクのどこで起こったか、そして、最後の書き込みエラー がどのディスクのどこで起こったかという情報を含んでいる。ディスクはディ スクの交換ごとに増えるジェネレーション番号によって識別される。"
4843
4844 #. type: IP
4845 #: build/C/man4/fd.4:172
4846 #, no-wrap
4847 msgid "B<FDTWADDLE>"
4848 msgstr "B<FDTWADDLE>"
4849
4850 #. type: Plain text
4851 #: build/C/man4/fd.4:176
4852 msgid "Switch the drive motor off for a few microseconds.  This might be needed in order to access a disk whose sectors are too close together."
4853 msgstr "数ミリ秒の間ドライブのモーターのスイッチを切る。これはディスクのセクター 同士が接近しすぎているディスクのアクセスのために必要であろう。"
4854
4855 #. type: IP
4856 #: build/C/man4/fd.4:176
4857 #, no-wrap
4858 msgid "B<FDSETDRVPRM>"
4859 msgstr "B<FDSETDRVPRM>"
4860
4861 #. type: Plain text
4862 #: build/C/man4/fd.4:178
4863 msgid "sets various drive parameters."
4864 msgstr "ドライブの様々なパラメーターをセットする。"
4865
4866 #. type: IP
4867 #: build/C/man4/fd.4:178
4868 #, no-wrap
4869 msgid "B<FDGETDRVPRM>"
4870 msgstr "B<FDGETDRVPRM>"
4871
4872 #. type: Plain text
4873 #: build/C/man4/fd.4:180
4874 msgid "reads these parameters back."
4875 msgstr "(B<FDSETDRVPRM> を使ってセットした)パラメーターを読みだす。"
4876
4877 #. type: IP
4878 #: build/C/man4/fd.4:180
4879 #, no-wrap
4880 msgid "B<FDGETDRVSTAT>"
4881 msgstr "B<FDGETDRVSTAT>"
4882
4883 #. type: Plain text
4884 #: build/C/man4/fd.4:182
4885 msgid "gets the cached drive state (disk changed, write protected et al.)"
4886 msgstr "キャッシュされているドライブの状態(ディスクの交換、ライトプロテクトな ど)を得る。"
4887
4888 #. type: IP
4889 #: build/C/man4/fd.4:182
4890 #, no-wrap
4891 msgid "B<FDPOLLDRVSTAT>"
4892 msgstr "B<FDPOLLDRVSTAT>"
4893
4894 #. type: Plain text
4895 #: build/C/man4/fd.4:184
4896 msgid "polls the drive and return its state."
4897 msgstr "ドライブをポーリングして、その状態を返す。"
4898
4899 #. type: IP
4900 #: build/C/man4/fd.4:184
4901 #, no-wrap
4902 msgid "B<FDGETFDCSTAT>"
4903 msgstr "B<FDGETFDCSTAT>"
4904
4905 #. type: Plain text
4906 #: build/C/man4/fd.4:186
4907 msgid "gets the floppy controller state."
4908 msgstr "フロッピーコントローラーの状態を得る。"
4909
4910 #. type: IP
4911 #: build/C/man4/fd.4:186
4912 #, no-wrap
4913 msgid "B<FDRESET>"
4914 msgstr "B<FDRESET>"
4915
4916 #. type: Plain text
4917 #: build/C/man4/fd.4:188
4918 msgid "resets the floppy controller under certain conditions."
4919 msgstr "フロッピーコントローラーを信頼できる状態にリセットする。"
4920
4921 #. type: IP
4922 #: build/C/man4/fd.4:188
4923 #, no-wrap
4924 msgid "B<FDRAWCMD>"
4925 msgstr "B<FDRAWCMD>"
4926
4927 #. type: Plain text
4928 #: build/C/man4/fd.4:190
4929 msgid "sends a raw command to the floppy controller."
4930 msgstr "フロッピーコントローラーに低レベルのコマンド(raw command)を送る。"
4931
4932 #. type: Plain text
4933 #: build/C/man4/fd.4:195
4934 msgid "For more precise information, consult also the I<E<lt>linux/fd.hE<gt>> and I<E<lt>linux/fdreg.hE<gt>> include files, as well as the B<floppycontrol>(1)  manual page."
4935 msgstr "より正確な情報のためには、マニュアルページ B<floppycontrol>(1)  だけでなく、インクルードファイル I<E<lt>linux/fd.hE<gt>> と I<E<lt>linux/fdarg.hE<gt>> も参照のこと。"
4936
4937 #. type: Plain text
4938 #: build/C/man4/fd.4:197
4939 msgid "/dev/fd*"
4940 msgstr "/dev/fd*"
4941
4942 #. type: Plain text
4943 #: build/C/man4/fd.4:203
4944 msgid "The various formats permit reading and writing many types of disks.  However, if a floppy is formatted with an inter-sector gap that is too small, performance may drop, to the point of needing a few seconds to access an entire track.  To prevent this, use interleaved formats."
4945 msgstr "様々なディスクのタイプで様々な種類のフォーマットの読み書きが許されている。 しかし、小さすぎるセクター間ギャップでフォーマットされたフロッピーでは、 トラック全体のアクセスに数秒必要になるため、性能が低下することだろう。 これを防ぐためには、インターリーブドフォーマット (interleaved format) を用いればよい。"
4946
4947 #. type: Plain text
4948 #: build/C/man4/fd.4:207
4949 msgid "It is not possible to read floppies which are formatted using GCR (group code recording), which is used by Apple II and Macintosh computers (800k disks)."
4950 msgstr "Apple II や Macintosh コンピュータで使用されている、 GCR (group code recording) を使ってフォーマットされたフロッピー (800k ディスク) を読むことはできない。"
4951
4952 #.  .SH AUTHORS
4953 #.  Alain Knaff (Alain.Knaff@imag.fr), David Niemi
4954 #.  (niemidc@clark.net), Bill Broadhurst (bbroad@netcom.com).
4955 #. type: Plain text
4956 #: build/C/man4/fd.4:214
4957 msgid "Reading floppies which are hard sectored (one hole per sector, with the index hole being a little skewed) is not supported.  This used to be common with older 8-inch floppies."
4958 msgstr "ハードセクター型のフロッピーの読み込みはサポートされていない (ハードセクター型のフロッピーでは、セクター毎にホール (hole) が一つあり、 少しずれた位置にインデックスホールが存在する)。 これは、昔の 8 インチフロッピーで一般的に使われていた方式である。"
4959
4960 #. type: Plain text
4961 #: build/C/man4/fd.4:222
4962 msgid "B<chown>(1), B<floppycontrol>(1), B<getfdprm>(1), B<mknod>(1), B<superformat>(1), B<mount>(8), B<setfdprm>(8)"
4963 msgstr "B<chown>(1), B<floppycontrol>(1), B<getfdprm>(1), B<mknod>(1), B<superformat>(1), B<mount>(8), B<setfdprm>(8)"
4964
4965 #. type: TH
4966 #: build/C/man7/fifo.7:13
4967 #, no-wrap
4968 msgid "FIFO"
4969 msgstr "FIFO"
4970
4971 #. type: TH
4972 #: build/C/man7/fifo.7:13
4973 #, no-wrap
4974 msgid "2008-12-03"
4975 msgstr "2008-12-03"
4976
4977 #. type: Plain text
4978 #: build/C/man7/fifo.7:16
4979 msgid "fifo - first-in first-out special file, named pipe"
4980 msgstr "fifo - 先入先出特殊ファイル、名前付きパイプ"
4981
4982 #. type: Plain text
4983 #: build/C/man7/fifo.7:28
4984 msgid "A FIFO special file (a named pipe) is similar to a pipe, except that it is accessed as part of the filesystem.  It can be opened by multiple processes for reading or writing.  When processes are exchanging data via the FIFO, the kernel passes all data internally without writing it to the filesystem.  Thus, the FIFO special file has no contents on the filesystem; the filesystem entry merely serves as a reference point so that processes can access the pipe using a name in the filesystem."
4985 msgstr "FIFO 特殊ファイル(名前付きパイプ)はパイプに似ているが、 ファイルシステムの一部に関連付けられている点が異っている。 複数のプロセスが読み込みや書き込みのためにオープンすること ができる。プロセスが FIFO を通しデータを交換する場合、 実際にそれをファイルシステムには書き込まず、カーネルは全ての データを内部的に渡す。このように、FIFO 特殊ファイルはファイルシステム 上には内容を持たないので、ファイルシステムのエントリは プロセスがそのファイルシステム上の名前を使用してそのパイプに アクセスできるように参照ポイントを提供しているに過ぎない。"
4986
4987 #. type: Plain text
4988 #: build/C/man7/fifo.7:35
4989 msgid "The kernel maintains exactly one pipe object for each FIFO special file that is opened by at least one process.  The FIFO must be opened on both ends (reading and writing)  before data can be passed.  Normally, opening the FIFO blocks until the other end is opened also."
4990 msgstr "カーネルは、少なくとも一つのプロセスによってオープンされている FIFO 特殊ファイルについて、それぞれ一つのパイプのみを管理している。 データが渡される前にその FIFO の両端(書き込みと読み出し)がオープン されていなければならない。通常、FIFO をオープンすると、 その反対側がオープンされるまで停止(block)させられる。"
4991
4992 #. type: Plain text
4993 #: build/C/man7/fifo.7:44
4994 msgid "A process can open a FIFO in nonblocking mode.  In this case, opening for read-only will succeed even if no-one has opened on the write side yet, opening for write-only will fail with B<ENXIO> (no such device or address) unless the other end has already been opened."
4995 msgstr "プロセスは FIFO を非停止(nonblocking)モードでオープンすることもできる。 この場合、読み込み専用でオープンした場合には書き込み側を誰もオープン していなくても成功する。書き込み専用でオープンした場合は反対側が既に オープンされていなければ B<ENXIO> (そのようなデバイスまたはアドレスは存在しない)  というエラーで失敗する。"
4996
4997 #. type: Plain text
4998 #: build/C/man7/fifo.7:54
4999 msgid "Under Linux, opening a FIFO for read and write will succeed both in blocking and nonblocking mode.  POSIX leaves this behavior undefined.  This can be used to open a FIFO for writing while there are no readers available.  A process that uses both ends of the connection in order to communicate with itself should be very careful to avoid deadlocks."
5000 msgstr "Linux では、FIFO を読み込みと書き込み両用にオープンした場合、 停止、非停止のどちらのモードでも成功する。POSIX ではこの場合の 動作は定義されていない。これは読み込み側がいない時に書き込み用に オープンするために使用することができる。自分自身と通信するために 両端を使用するプロセスはデッドロックを避けるために非常に注意深く なければならない。"
5001
5002 #. type: Plain text
5003 #: build/C/man7/fifo.7:59
5004 msgid "When a process tries to write to a FIFO that is not opened for read on the other side, the process is sent a B<SIGPIPE> signal."
5005 msgstr "プロセスが、反対の読み込み側がオープンされていない FIFO を 書き込みのためにオープンしようとした場合、そのプロセスに B<SIGPIPE> シグナルが送られる。"
5006
5007 #. type: Plain text
5008 #: build/C/man7/fifo.7:65
5009 msgid "FIFO special files can be created by B<mkfifo>(3), and are indicated by I<ls -l> with the file type \\(aqp\\(aq."
5010 msgstr "FIFO 特殊ファイルは B<mkfifo>(3)  で作成することができ、 I<ls -l> ではファイル種別 \\(aqp\\(aq で表示される。"
5011
5012 #. type: Plain text
5013 #: build/C/man7/fifo.7:74
5014 msgid "B<mkfifo>(1), B<open>(2), B<pipe>(2), B<sigaction>(2), B<signal>(2), B<socketpair>(2), B<mkfifo>(3), B<pipe>(7)"
5015 msgstr "B<mkfifo>(1), B<open>(2), B<pipe>(2), B<sigaction>(2), B<signal>(2), B<socketpair>(2), B<mkfifo>(3), B<pipe>(7)"
5016
5017 #. type: TH
5018 #: build/C/man4/full.4:26
5019 #, no-wrap
5020 msgid "FULL"
5021 msgstr "FULL"
5022
5023 #. type: TH
5024 #: build/C/man4/full.4:26
5025 #, no-wrap
5026 msgid "2007-11-24"
5027 msgstr "2007-11-24"
5028
5029 #. type: Plain text
5030 #: build/C/man4/full.4:29
5031 msgid "full - always full device"
5032 msgstr "full - いつも full であるデバイス"
5033
5034 #. type: Plain text
5035 #: build/C/man4/full.4:34
5036 msgid "If your system does not have I</dev/full> created already, it can be created with the following commands:"
5037 msgstr "システムに作成済みの I</dev/full> がない場合、 次のコマンドにより作成できる。"
5038
5039 #. type: Plain text
5040 #: build/C/man4/full.4:38
5041 #, no-wrap
5042 msgid ""
5043 "        mknod -m 666 /dev/full c 1 7\n"
5044 "        chown root:root /dev/full\n"
5045 msgstr ""
5046 "        mknod -m 666 /dev/full c 1 7\n"
5047 "        chown root:root /dev/full\n"
5048
5049 #. type: Plain text
5050 #: build/C/man4/full.4:44
5051 msgid "File I</dev/full> has major device number 1 and minor device number 7."
5052 msgstr "I</dev/full> は、メジャーデバイス番号 1、 マイナーデバイス番号 7 のファイルである。"
5053
5054 #. type: Plain text
5055 #: build/C/man4/full.4:51
5056 msgid "Writes to the I</dev/full> device will fail with an B<ENOSPC> error.  This can be used to test how a program handles disk-full errors."
5057 msgstr "I</dev/full> デバイスへの書き込みは、 B<ENOSPC> エラーで失敗する。 この動作を使って、プログラムがディスクフルのエラーをどのように 処理するかをテストできる。"
5058
5059 #. type: Plain text
5060 #: build/C/man4/full.4:55
5061 msgid "Reads from the I</dev/full> device will return \\e0 characters."
5062 msgstr "I</dev/full> デバイスからの読み出しでは、\\e0 文字(ヌル文字)が返される。"
5063
5064 #. type: Plain text
5065 #: build/C/man4/full.4:59
5066 msgid "Seeks on I</dev/full> will always succeed."
5067 msgstr "I</dev/full> のシーク (seek) は常に成功する。"
5068
5069 #. type: Plain text
5070 #: build/C/man4/full.4:61
5071 msgid "/dev/full"
5072 msgstr "/dev/full"
5073
5074 #. type: Plain text
5075 #: build/C/man4/full.4:65
5076 msgid "B<mknod>(1), B<null>(4), B<zero>(4)"
5077 msgstr "B<mknod>(1), B<null>(4), B<zero>(4)"
5078
5079 #. type: TH
5080 #: build/C/man3/gnu_get_libc_version.3:26
5081 #, no-wrap
5082 msgid "GNU_GET_LIBC_VERSION"
5083 msgstr "GNU_GET_LIBC_VERSION"
5084
5085 #. type: TH
5086 #: build/C/man3/gnu_get_libc_version.3:26
5087 #, no-wrap
5088 msgid "2012-08-26"
5089 msgstr "2012-08-26"
5090
5091 #. type: Plain text
5092 #: build/C/man3/gnu_get_libc_version.3:29
5093 msgid "gnu_get_libc_version, gnu_get_libc_release - get glibc version and release"
5094 msgstr "gnu_get_libc_version, gnu_get_libc_release - glibc のバージョンと リリース状態を取得する"
5095
5096 #. type: Plain text
5097 #: build/C/man3/gnu_get_libc_version.3:32
5098 #, no-wrap
5099 msgid "B<#include E<lt>gnu/libc-version.hE<gt>>\n"
5100 msgstr "B<#include E<lt>gnu/libc-version.hE<gt>>\n"
5101
5102 #. type: Plain text
5103 #: build/C/man3/gnu_get_libc_version.3:35
5104 #, no-wrap
5105 msgid ""
5106 "B<const char *gnu_get_libc_version(void);>\n"
5107 "B<const char *gnu_get_libc_release(void);>\n"
5108 msgstr ""
5109 "B<const char *gnu_get_libc_version(void);>\n"
5110 "B<const char *gnu_get_libc_release(void);>\n"
5111
5112 #. type: Plain text
5113 #: build/C/man3/gnu_get_libc_version.3:40
5114 msgid "The function B<gnu_get_libc_version>()  returns a string that identifies the glibc version available on the system."
5115 msgstr "B<gnu_get_libc_version>()  関数は、システムで利用可能な glibc のバージョンを特定する文字列を返す。"
5116
5117 #. type: Plain text
5118 #: build/C/man3/gnu_get_libc_version.3:47
5119 msgid "The function B<gnu_get_libc_release>()  returns a string indicates the release status of the glibc version available on the system.  This will be a string such as I<stable>."
5120 msgstr "B<gnu_get_libc_release>()  関数は、システムで利用可能な glibc バージョンのリリース状態を示す 文字列を返す。 I<stable> といった文字列が返される。"
5121
5122 #. type: SH
5123 #: build/C/man3/gnu_get_libc_version.3:47 build/C/man3/mkfifo.3:178
5124 #: build/C/man2/mknod.2:240 build/C/man4/vcs.4:99
5125 #, no-wrap
5126 msgid "VERSIONS"
5127 msgstr "バージョン"
5128
5129 #. type: Plain text
5130 #: build/C/man3/gnu_get_libc_version.3:49
5131 msgid "These functions first appeared in glibc in version 2.1."
5132 msgstr "これらの関数は glibc バージョン 2.1 で初めて登場した。"
5133
5134 #. type: SH
5135 #: build/C/man3/gnu_get_libc_version.3:49 build/C/man3/makedev.3:62
5136 #: build/C/man3/mkfifo.3:191 build/C/man2/mknod.2:244
5137 #: build/C/man3/setlogmask.3:75 build/C/man3/stdarg.3:238
5138 #: build/C/man2/syslog.2:377 build/C/man3/syslog.3:252 build/C/man7/uri.7:584
5139 #, no-wrap
5140 msgid "CONFORMING TO"
5141 msgstr "準拠"
5142
5143 #. type: Plain text
5144 #: build/C/man3/gnu_get_libc_version.3:51
5145 msgid "These functions are glibc-specific."
5146 msgstr "これらの関数は glibc 固有である。"
5147
5148 #. type: Plain text
5149 #: build/C/man3/gnu_get_libc_version.3:53
5150 msgid "When run, the program below will produce output such as the following:"
5151 msgstr "下記のプログラムを実行すると、次のような出力が得られる。"
5152
5153 #. type: Plain text
5154 #: build/C/man3/gnu_get_libc_version.3:59
5155 #, no-wrap
5156 msgid ""
5157 "$B< ./a.out>\n"
5158 "GNU libc version: 2.8\n"
5159 "GNU libc release: stable\n"
5160 msgstr ""
5161 "$B< ./a.out>\n"
5162 "GNU libc version: 2.8\n"
5163 "GNU libc release: stable\n"
5164
5165 #. type: Plain text
5166 #: build/C/man3/gnu_get_libc_version.3:67
5167 #, no-wrap
5168 msgid ""
5169 "#include E<lt>gnu/libc-version.hE<gt>\n"
5170 "#include E<lt>stdlib.hE<gt>\n"
5171 "#include E<lt>stdio.hE<gt>\n"
5172 msgstr ""
5173 "#include E<lt>gnu/libc-version.hE<gt>\n"
5174 "#include E<lt>stdlib.hE<gt>\n"
5175 "#include E<lt>stdio.hE<gt>\n"
5176
5177 #. type: Plain text
5178 #: build/C/man3/gnu_get_libc_version.3:75
5179 #, no-wrap
5180 msgid ""
5181 "int\n"
5182 "main(int argc, char *argv[])\n"
5183 "{\n"
5184 "    printf(\"GNU libc version: %s\\en\", gnu_get_libc_version());\n"
5185 "    printf(\"GNU libc release: %s\\en\", gnu_get_libc_release());\n"
5186 "    exit(EXIT_SUCCESS);\n"
5187 "}\n"
5188 msgstr ""
5189 "int\n"
5190 "main(int argc, char *argv[])\n"
5191 "{\n"
5192 "    printf(\"GNU libc version: %s\\en\", gnu_get_libc_version());\n"
5193 "    printf(\"GNU libc release: %s\\en\", gnu_get_libc_release());\n"
5194 "    exit(EXIT_SUCCESS);\n"
5195 "}\n"
5196
5197 #. type: Plain text
5198 #: build/C/man3/gnu_get_libc_version.3:78
5199 msgid "B<confstr>(3)"
5200 msgstr "B<confstr>(3)"
5201
5202 #. type: TH
5203 #: build/C/man4/hd.4:29
5204 #, no-wrap
5205 msgid "HD"
5206 msgstr "HD"
5207
5208 #. type: TH
5209 #: build/C/man4/hd.4:29
5210 #, no-wrap
5211 msgid "1992-12-17"
5212 msgstr "1992-12-17"
5213
5214 #. type: Plain text
5215 #: build/C/man4/hd.4:32
5216 msgid "hd - MFM/IDE hard disk devices"
5217 msgstr "hd - MFM/IDE ハードディスクデバイス"
5218
5219 #. type: Plain text
5220 #: build/C/man4/hd.4:47
5221 msgid "The B<hd*> devices are block devices to access MFM/IDE hard disk drives in raw mode.  The master drive on the primary IDE controller (major device number 3) is B<hda>; the slave drive is B<hdb>.  The master drive of the second controller (major device number 22)  is B<hdc> and the slave is B<hdd>."
5222 msgstr "B<hd*> デバイスは MFM/IDE ハードディスクドライブにローモード (raw mode)  でアクセスするためのブロックデバイス (block device) である。プライマリ (primary) IDE コントローラ (メジャーナンバー 3) の マスタードライブ (mater drive) は B<hda>、スレーブドライブ (slave drive) は B<hdb> である。また、セカンドコントローラ (メジャーナンバー 22) のマスター ドライブは B<hdc> スレーブは B<hdd> である。"
5223
5224 #. type: Plain text
5225 #: build/C/man4/hd.4:71
5226 msgid "General IDE block device names have the form B<hd>I<X>, or B<hd>I<XP>, where I<X> is a letter denoting the physical drive, and I<P> is a number denoting the partition on that physical drive.  The first form, B<hd>I<X>, is used to address the whole drive.  Partition numbers are assigned in the order the partitions are discovered, and only nonempty, nonextended partitions get a number.  However, partition numbers 1-4 are given to the four partitions described in the MBR (the \"primary\" partitions), regardless of whether they are unused or extended.  Thus, the first logical partition will be B<hd>I<X>B<5>\\&.  Both DOS-type partitioning and BSD-disklabel partitioning are supported.  You can have at most 63 partitions on an IDE disk."
5227 msgstr "一般的な IDE ブロックデバイスの名前は B<hd>I<X>または、 B<hd>I<XP>という形態をとる。この、 I<X> の部分は物理的なドライブを表す文字で、 I<P> の部分はその物理的なドライブ上のパーティション (partition) を表す数字で ある。この最初の形式 B<hd>I<X> はドライブ全体を示すのに使われる。 パーティションナンバーは発見されたパーティションに順に割り付けられる。 パーティションナンバーが割り付けられるのは、空でなく (nonempty) かつ 拡張パーティションでない (nonextended) パーティションのみである。 このうち、パーティションナンバー 1 から 4 はそれが使われていなくても、 また拡張パーティションだとしても MBR に記述される四つのパーティション (いわゆる、プラマリ'パーティション) に与えられる。 従って、最初の論理パーティション (logical pertition) は、 B<hd>I<X>B<5>となるだろう。 (IDE ハードディスクでは) DOS タイプのパーティショニング (partitioning)  と BSD ディスクラベル (BSD-disklabel) によるパーティショニングの両方が サポートされている。また、IDE ディスク上に最高 63 のパーティションを 作成する事ができる。"
5228
5229 #. type: Plain text
5230 #: build/C/man4/hd.4:77
5231 msgid "For example, I</dev/hda> refers to all of the first IDE drive in the system; and I</dev/hdb3> refers to the third DOS \"primary\" partition on the second one."
5232 msgstr "例えば、 I</dev/hda> はシステムの最初の IDE ドライブ全体を参照する。そして、 I</dev/hdb3> はセカンドドライブの三つめの DOS `プライマリ'パーティションを参照する。"
5233
5234 #. type: Plain text
5235 #: build/C/man4/hd.4:79 build/C/man4/ttyS.4:34
5236 msgid "They are typically created by:"
5237 msgstr "これらは典型的には次のようにして作られる。"
5238
5239 #. type: Plain text
5240 #: build/C/man4/hd.4:82
5241 msgid "mknod -m 660 /dev/hda b 3 0"
5242 msgstr "mknod -m 660 /dev/hda b 3 0"
5243
5244 #. type: Plain text
5245 #: build/C/man4/hd.4:84
5246 msgid "mknod -m 660 /dev/hda1 b 3 1"
5247 msgstr "mknod -m 660 /dev/hda1 b 3 1"
5248
5249 #. type: Plain text
5250 #: build/C/man4/hd.4:86
5251 msgid "mknod -m 660 /dev/hda2 b 3 2"
5252 msgstr "mknod -m 660 /dev/hda2 b 3 2"
5253
5254 #. type: Plain text
5255 #: build/C/man4/hd.4:88 build/C/man4/hd.4:98
5256 msgid "\\&..."
5257 msgstr "\\&..."
5258
5259 #. type: Plain text
5260 #: build/C/man4/hd.4:90
5261 msgid "mknod -m 660 /dev/hda8 b 3 8"
5262 msgstr "mknod -m 660 /dev/hda8 b 3 8"
5263
5264 #. type: Plain text
5265 #: build/C/man4/hd.4:92
5266 msgid "mknod -m 660 /dev/hdb b 3 64"
5267 msgstr "mknod -m 660 /dev/hdb b 3 64"
5268
5269 #. type: Plain text
5270 #: build/C/man4/hd.4:94
5271 msgid "mknod -m 660 /dev/hdb1 b 3 65"
5272 msgstr "mknod -m 660 /dev/hdb1 b 3 65"
5273
5274 #. type: Plain text
5275 #: build/C/man4/hd.4:96
5276 msgid "mknod -m 660 /dev/hdb2 b 3 66"
5277 msgstr "mknod -m 660 /dev/hdb2 b 3 66"
5278
5279 #. type: Plain text
5280 #: build/C/man4/hd.4:100
5281 msgid "mknod -m 660 /dev/hdb8 b 3 72"
5282 msgstr "mknod -m 660 /dev/hdb8 b 3 72"
5283
5284 #. type: Plain text
5285 #: build/C/man4/hd.4:102
5286 msgid "chown root:disk /dev/hd*"
5287 msgstr "chown root:disk /dev/hd*"
5288
5289 #. type: Plain text
5290 #: build/C/man4/hd.4:105
5291 msgid "/dev/hd*"
5292 msgstr "/dev/hd*"
5293
5294 #. type: Plain text
5295 #: build/C/man4/hd.4:110
5296 msgid "B<chown>(1), B<mknod>(1), B<sd>(4), B<mount>(8)"
5297 msgstr "B<chown>(1), B<mknod>(1), B<sd>(4)  B<mount>(8),"
5298
5299 #. type: TH
5300 #: build/C/man4/hpsa.4:10
5301 #, no-wrap
5302 msgid "HPSA"
5303 msgstr "HPSA"
5304
5305 #. type: Plain text
5306 #: build/C/man4/hpsa.4:13
5307 msgid "hpsa - HP Smart Array SCSI driver"
5308 msgstr ""
5309
5310 #. type: Plain text
5311 #: build/C/man4/hpsa.4:16
5312 #, no-wrap
5313 msgid "modprobe hpsa [ hpsa_allow_any=1 ]\n"
5314 msgstr "modprobe hpsa [ hpsa_allow_any=1 ]\n"
5315
5316 #. type: Plain text
5317 #: build/C/man4/hpsa.4:20
5318 msgid "B<hpsa> is a SCSI driver for HP Smart Array RAID controllers."
5319 msgstr ""
5320
5321 #. type: Plain text
5322 #: build/C/man4/hpsa.4:39
5323 msgid "I<hpsa_allow_any=1>: This option allows the driver to attempt to operate on any HP Smart Array hardware RAID controller, even if it is not explicitly known to the driver.  This allows newer hardware to work with older drivers.  Typically this is used to allow installation of operating systems from media that predates the RAID controller, though it may also be used to enable B<hpsa> to drive older controllers that would normally be handled by the B<cciss>(4)  driver.  These older boards have not been tested and are not supported with B<hpsa>, and B<cciss>(4)  should still be used for these."
5324 msgstr ""
5325
5326 #. type: Plain text
5327 #: build/C/man4/hpsa.4:43
5328 msgid "The B<hpsa> driver supports the following Smart Array boards:"
5329 msgstr ""
5330
5331 #. type: Plain text
5332 #: build/C/man4/hpsa.4:54
5333 #, no-wrap
5334 msgid ""
5335 "    Smart Array P700M\n"
5336 "    Smart Array P212\n"
5337 "    Smart Array P410\n"
5338 "    Smart Array P410i\n"
5339 "    Smart Array P411\n"
5340 "    Smart Array P812\n"
5341 "    Smart Array P712m\n"
5342 "    Smart Array P711m\n"
5343 "    StorageWorks P1210m\n"
5344 msgstr ""
5345 "    Smart Array P700M\n"
5346 "    Smart Array P212\n"
5347 "    Smart Array P410\n"
5348 "    Smart Array P410i\n"
5349 "    Smart Array P411\n"
5350 "    Smart Array P812\n"
5351 "    Smart Array P712m\n"
5352 "    Smart Array P711m\n"
5353 "    StorageWorks P1210m\n"
5354
5355 #. type: Plain text
5356 #: build/C/man4/hpsa.4:78
5357 msgid "Logical drives are accessed via the SCSI disk driver (B<sd>(4)), tape drives via the SCSI tape driver (B<st>(4)), and the RAID controller via the SCSI generic driver (B<sg>(4)), with device nodes named I</dev/sd*>, I</dev/st*>, and I</dev/sg*>, respectively."
5358 msgstr ""
5359
5360 #. type: SS
5361 #: build/C/man4/hpsa.4:78
5362 #, no-wrap
5363 msgid "HPSA-specific host attribute files in /sys"
5364 msgstr ""
5365
5366 #. type: TP
5367 #: build/C/man4/hpsa.4:79
5368 #, no-wrap
5369 msgid "I</sys/class/scsi_host/host*/rescan>"
5370 msgstr "I</sys/class/scsi_host/host*/rescan>"
5371
5372 #. type: Plain text
5373 #: build/C/man4/hpsa.4:93
5374 msgid "This is a write-only attribute.  Writing to this attribute will cause the driver to scan for new, changed, or removed devices (e.g,. hot-plugged tape drives, or newly configured or deleted logical drives, etc.)  and notify the SCSI midlayer of any changes detected.  Normally a rescan is triggered automatically by HP's Array Configuration Utility (either the GUI or the command-line variety); thus, for logical drive changes, the user should not normally have to use this attribute.  This attribute may be useful when hot plugging devices like tape drives, or entire storage boxes containing preconfigured logical drives."
5375 msgstr ""
5376
5377 #. type: TP
5378 #: build/C/man4/hpsa.4:93
5379 #, no-wrap
5380 msgid "I</sys/class/scsi_host/host*/firmware_revision>"
5381 msgstr "I</sys/class/scsi_host/host*/firmware_revision>"
5382
5383 #. type: Plain text
5384 #: build/C/man4/hpsa.4:96
5385 msgid "This attribute contains the firmware version of the Smart Array."
5386 msgstr ""
5387
5388 #. type: Plain text
5389 #: build/C/man4/hpsa.4:98
5390 msgid "For example:"
5391 msgstr ""
5392
5393 #. type: Plain text
5394 #: build/C/man4/hpsa.4:103
5395 #, no-wrap
5396 msgid ""
5397 "    # B<cd /sys/class/scsi_host/host4>\n"
5398 "    # B<cat firmware_revision>\n"
5399 "    7.14\n"
5400 msgstr ""
5401 "    # B<cd /sys/class/scsi_host/host4>\n"
5402 "    # B<cat firmware_revision>\n"
5403 "    7.14\n"
5404
5405 #. type: SS
5406 #: build/C/man4/hpsa.4:104
5407 #, no-wrap
5408 msgid "HPSA-specific disk attribute files in /sys"
5409 msgstr ""
5410
5411 #. type: TP
5412 #: build/C/man4/hpsa.4:105
5413 #, no-wrap
5414 msgid "I</sys/class/scsi_disk/c:b:t:l/device/unique_id>"
5415 msgstr "I</sys/class/scsi_disk/c:b:t:l/device/unique_id>"
5416
5417 #. type: Plain text
5418 #: build/C/man4/hpsa.4:108
5419 msgid "This attribute contains a 32 hex-digit unique ID for each logical drive."
5420 msgstr ""
5421
5422 #. type: Plain text
5423 #: build/C/man4/hpsa.4:111 build/C/man4/hpsa.4:122 build/C/man4/hpsa.4:136
5424 #, no-wrap
5425 msgid "For example:\n"
5426 msgstr ""
5427
5428 #. type: Plain text
5429 #: build/C/man4/hpsa.4:115
5430 #, no-wrap
5431 msgid ""
5432 "    # B<cd /sys/class/scsi_disk/4:0:0:0/device>\n"
5433 "    # B<cat unique_id>\n"
5434 "    600508B1001044395355323037570F77\n"
5435 msgstr ""
5436 "    # B<cd /sys/class/scsi_disk/4:0:0:0/device>\n"
5437 "    # B<cat unique_id>\n"
5438 "    600508B1001044395355323037570F77\n"
5439
5440 #. type: TP
5441 #: build/C/man4/hpsa.4:116
5442 #, no-wrap
5443 msgid "I</sys/class/scsi_disk/c:b:t:l/device/raid_level>"
5444 msgstr "I</sys/class/scsi_disk/c:b:t:l/device/raid_level>"
5445
5446 #. type: Plain text
5447 #: build/C/man4/hpsa.4:119
5448 msgid "This attribute contains the RAID level of each logical drive."
5449 msgstr ""
5450
5451 #. type: Plain text
5452 #: build/C/man4/hpsa.4:126
5453 #, no-wrap
5454 msgid ""
5455 "    # B<cd /sys/class/scsi_disk/4:0:0:0/device>\n"
5456 "    # B<cat raid_level>\n"
5457 "    RAID 0\n"
5458 msgstr ""
5459 "    # B<cd /sys/class/scsi_disk/4:0:0:0/device>\n"
5460 "    # B<cat raid_level>\n"
5461 "    RAID 0\n"
5462
5463 #. type: TP
5464 #: build/C/man4/hpsa.4:127
5465 #, no-wrap
5466 msgid "I</sys/class/scsi_disk/c:b:t:l/device/lunid>"
5467 msgstr "I</sys/class/scsi_disk/c:b:t:l/device/lunid>"
5468
5469 #. type: Plain text
5470 #: build/C/man4/hpsa.4:133
5471 msgid "This attribute contains the 16 hex-digit (8 byte) LUN ID by which a logical drive or physical device can be addressed.  I<c>:I<b>:I<t>:I<l> are the controller, bus, target, and lun of the device."
5472 msgstr ""
5473
5474 #. type: Plain text
5475 #: build/C/man4/hpsa.4:140
5476 #, no-wrap
5477 msgid ""
5478 "    # B<cd /sys/class/scsi_disk/4:0:0:0/device>\n"
5479 "    # B<cat lunid>\n"
5480 "    0x0000004000000000\n"
5481 msgstr ""
5482 "    # B<cd /sys/class/scsi_disk/4:0:0:0/device>\n"
5483 "    # B<cat lunid>\n"
5484 "    0x0000004000000000\n"
5485
5486 #. type: SS
5487 #: build/C/man4/hpsa.4:141
5488 #, no-wrap
5489 msgid "Supported ioctl() operations"
5490 msgstr ""
5491
5492 #. type: Plain text
5493 #: build/C/man4/hpsa.4:153
5494 msgid "For compatibility with applications written for the B<cciss>(4)  driver, many, but not all of the ioctls supported by the B<cciss>(4)  driver are also supported by the B<hpsa> driver.  The data structures used by these ioctls are described in the Linux kernel source file I<include/linux/cciss_ioctl.h>."
5495 msgstr ""
5496
5497 #. type: TP
5498 #: build/C/man4/hpsa.4:153
5499 #, no-wrap
5500 msgid "B<CCISS_DEREGDISK>, B<CCISS_REGNEWDISK>, B<CCISS_REGNEWD>"
5501 msgstr "B<CCISS_DEREGDISK>, B<CCISS_REGNEWDISK>, B<CCISS_REGNEWD>"
5502
5503 #. type: Plain text
5504 #: build/C/man4/hpsa.4:159
5505 msgid "These three ioctls all do exactly the same thing, which is to cause the driver to rescan for new devices.  This does exactly the same thing as writing to the hpsa-specific host \"rescan\" attribute."
5506 msgstr ""
5507
5508 #. type: TP
5509 #: build/C/man4/hpsa.4:159
5510 #, no-wrap
5511 msgid "B<CCISS_GETPCIINFO>"
5512 msgstr "B<CCISS_GETPCIINFO>"
5513
5514 #. type: Plain text
5515 #: build/C/man4/hpsa.4:162
5516 msgid "Returns PCI domain, bus, device and function and \"board ID\" (PCI subsystem ID)."
5517 msgstr ""
5518
5519 #. type: TP
5520 #: build/C/man4/hpsa.4:162
5521 #, no-wrap
5522 msgid "B<CCISS_GETDRIVVER>"
5523 msgstr "B<CCISS_GETDRIVVER>"
5524
5525 #. type: Plain text
5526 #: build/C/man4/hpsa.4:165
5527 msgid "Returns driver version in three bytes encoded as:"
5528 msgstr ""
5529
5530 #. type: Plain text
5531 #: build/C/man4/hpsa.4:168
5532 #, no-wrap
5533 msgid ""
5534 "    (major_version E<lt>E<lt> 16) | (minor_version E<lt>E<lt> 8) |\n"
5535 "        (subminor_version)\n"
5536 msgstr ""
5537 "    (major_version E<lt>E<lt> 16) | (minor_version E<lt>E<lt> 8) |\n"
5538 "        (subminor_version)\n"
5539
5540 #. type: TP
5541 #: build/C/man4/hpsa.4:168
5542 #, no-wrap
5543 msgid "B<CCISS_PASSTHRU>, B<CCISS_BIG_PASSTHRU>"
5544 msgstr "B<CCISS_PASSTHRU>, B<CCISS_BIG_PASSTHRU>"
5545
5546 #. type: Plain text
5547 #: build/C/man4/hpsa.4:179
5548 msgid "Allows \"BMIC\" and \"CISS\" commands to be passed through to the Smart Array.  These are used extensively by the HP Array Configuration Utility, SNMP storage agents, and so on.  See I<cciss_vol_status> at E<.UR http://cciss.sf.net> E<.UE> for some examples."
5549 msgstr ""
5550
5551 #. type: Plain text
5552 #: build/C/man4/hpsa.4:186
5553 msgid "B<cciss>(4), B<sd>(4), B<st>(4), B<cciss_vol_status>(8), B<hpacucli>(8), B<hpacuxe>(8),"
5554 msgstr "B<cciss>(4), B<sd>(4), B<st>(4), B<cciss_vol_status>(8), B<hpacucli>(8), B<hpacuxe>(8),"
5555
5556 #.  .SH AUTHORS
5557 #.  Don Brace, Steve Cameron, Tom Lawler, Mike Miller, Scott Teel
5558 #.  and probably some other people.
5559 #. type: Plain text
5560 #: build/C/man4/hpsa.4:197
5561 msgid "E<.UR http://cciss.sf.net> E<.UE ,> and I<Documentation/scsi/hpsa.txt> and I<Documentation/ABI/testing/sysfs-bus-pci-devices-cciss> in the Linux kernel source tree"
5562 msgstr ""
5563
5564 #. type: TH
5565 #: build/C/man4/initrd.4:35
5566 #, no-wrap
5567 msgid "INITRD"
5568 msgstr "INITRD"
5569
5570 #. type: TH
5571 #: build/C/man4/initrd.4:35 build/C/man4/st.4:25
5572 #, no-wrap
5573 msgid "2010-09-04"
5574 msgstr "2010-09-04"
5575
5576 #. type: Plain text
5577 #: build/C/man4/initrd.4:38
5578 msgid "initrd - boot loader initialized RAM disk"
5579 msgstr "initrd - ブートローダによって初期化された RAM ディスク"
5580
5581 #. type: Plain text
5582 #: build/C/man4/initrd.4:51
5583 msgid "The I</dev/initrd> is a read-only block device assigned major number 1 and minor number 250.  Typically I</dev/initrd> is owned by I<root.disk> with mode 0400 (read access by root only).  If the Linux system does not have I</dev/initrd> already created, it can be created with the following commands:"
5584 msgstr "I</dev/initrd> は、メジャー番号 1、マイナー番号 250 が割り当てられた 読み込み専用のブロックデバイスである。 普通、 I</dev/initrd> の所有者は I<root.disk> であり、モードは 400 (root のみが読み出し可能) である。 もし、Linux システムに作成済の I</dev/initrd> ファイルがなかった場合、以下のコマンドで作成することができる:"
5585
5586 #. type: Plain text
5587 #: build/C/man4/initrd.4:56
5588 #, no-wrap
5589 msgid ""
5590 "B<\n"
5591 "        mknod -m 400 /dev/initrd b 1 250\n"
5592 "        chown root:disk /dev/initrd>\n"
5593 "\n"
5594 msgstr ""
5595 "B<\n"
5596 "        mknod -m 400 /dev/initrd b 1 250\n"
5597 "        chown root:disk /dev/initrd>\n"
5598 "\n"
5599
5600 #. type: Plain text
5601 #: build/C/man4/initrd.4:71
5602 msgid "Also, support for both \"RAM disk\" and \"Initial RAM disk\" (e.g., B<CONFIG_BLK_DEV_RAM=y> and B<CONFIG_BLK_DEV_INITRD=y>)  must be compiled directly into the Linux kernel to use I</dev/initrd>.  When using I</dev/initrd>, the RAM disk driver cannot be loaded as a module."
5603 msgstr "また、 I</dev/initrd> を使用するためには、 \"RAM disk\" と \"Initial RAM disk\" の両方の機能が Linux カーネルに直接組み込まれていなければならない (例えば、カーネルのコンパイル時の設定で B<CONFIG_BLK_DEV_RAM=y> かつ B<CONFIG_BLK_DEV_INITRD=y> とする)。 I</dev/initrd> を使用する場合には、RAM ディスクドライバをモジュールとして ロードすることはできない。"
5604
5605 #. type: Plain text
5606 #: build/C/man4/initrd.4:80
5607 msgid "The special file I</dev/initrd> is a read-only block device.  This device is a RAM disk that is initialized (e.g., loaded)  by the boot loader before the kernel is started.  The kernel then can use I</dev/initrd>'s contents for a two-phase system boot-up."
5608 msgstr "I</dev/initrd> スペシャルファイルは読み込み専用のブロックデバイスである。 このデバイスはカーネルが起動される前にブートローダ (boot loader)  によって初期化 (例えば、ロード) される RAM ディスクである。 その後、カーネルは I</dev/initrd> の内容を二段階のシステム起動 (two-phase system boot-up)  で利用することができる。"
5609
5610 #. type: Plain text
5611 #: build/C/man4/initrd.4:93
5612 msgid "In the first boot-up phase, the kernel starts up and mounts an initial root filesystem from the contents of I</dev/initrd> (e.g., RAM disk initialized by the boot loader).  In the second phase, additional drivers or other modules are loaded from the initial root device's contents.  After loading the additional modules, a new root filesystem (i.e., the normal root filesystem) is mounted from a different device."
5613 msgstr "最初のブートアップ段階 (first boot-up phase) では、カーネルは (例えば、ブートローダによって初期化された RAM disk である)  I</dev/initrd> の内容を初期ルートファイルシステム (root file-system) としてマウント して起動する。 第二段階では初期ルートデバイスに含まれているものから、追加のドライ バやその他のモジュールがロードされる。 追加のモジュールがロードされた後、新しいルートファイルシステム (すなわち、通常時のルートファイルシステム)  が別のデバイスからマウントされる。"
5614
5615 #. type: SS
5616 #: build/C/man4/initrd.4:93
5617 #, no-wrap
5618 msgid "Boot-up operation"
5619 msgstr "ブートアップ作業"
5620
5621 #. type: Plain text
5622 #: build/C/man4/initrd.4:97
5623 msgid "When booting up with B<initrd>, the system boots as follows:"
5624 msgstr "B<initrd> を利用した時は、システムは次のようにブートする:"
5625
5626 #. type: Plain text
5627 #: build/C/man4/initrd.4:101
5628 msgid "The boot loader loads the kernel program and I</dev/initrd>'s contents into memory."
5629 msgstr "ブートローダはカーネルプログラムと I</dev/initrd> の内容をメモリにロードする。"
5630
5631 #. type: Plain text
5632 #: build/C/man4/initrd.4:109
5633 msgid "On kernel startup, the kernel uncompresses and copies the contents of the device I</dev/initrd> onto device I</dev/ram0> and then frees the memory used by I</dev/initrd>."
5634 msgstr "カーネル起動時、カーネルは I</dev/initrd> デバイスの内容を展開 (uncompress) し、 I</dev/ram0> にコピーする。さらに、 I</dev/initrd> の使っていたメモリを解放する。"
5635
5636 #. type: IP
5637 #: build/C/man4/initrd.4:109 build/C/man4/initrd.4:339
5638 #: build/C/man4/initrd.4:458 build/C/man4/st.4:919
5639 #, no-wrap
5640 msgid "3."
5641 msgstr "3."
5642
5643 #. type: Plain text
5644 #: build/C/man4/initrd.4:113
5645 msgid "The kernel then read-write mounts the device I</dev/ram0> as the initial root filesystem."
5646 msgstr "カーネルは I</dev/ram0> デバイスを初期のルートファイルシステムとして読み書き可能な形式でマウン トする。"
5647
5648 #. type: IP
5649 #: build/C/man4/initrd.4:113 build/C/man4/initrd.4:343 build/C/man4/st.4:926
5650 #, no-wrap
5651 msgid "4."
5652 msgstr "4."
5653
5654 #. type: Plain text
5655 #: build/C/man4/initrd.4:118
5656 msgid "If the indicated normal root filesystem is also the initial root filesystem (e.g., I</dev/ram0>)  then the kernel skips to the last step for the usual boot sequence."
5657 msgstr "指示されたルートファイルシステムが初期ルートファイルシステム (例えば I</dev/ram0>)  と同一の場合は、カーネルは普通のブートシーケンスのための最後のステップを 省略する。"
5658
5659 #. type: IP
5660 #: build/C/man4/initrd.4:118 build/C/man4/initrd.4:349 build/C/man4/st.4:931
5661 #, no-wrap
5662 msgid "5."
5663 msgstr "5."
5664
5665 #. type: Plain text
5666 #: build/C/man4/initrd.4:130
5667 msgid "If the executable file I</linuxrc> is present in the initial root filesystem, I</linuxrc> is executed with UID 0.  (The file I</linuxrc> must have executable permission.  The file I</linuxrc> can be any valid executable, including a shell script.)"
5668 msgstr "I</linuxrc> という実行可能なファイルが初期ルートファイルシステムに存在すれば、 I</linuxrc> を UID 0 (すなわち、root) の権限で実行する。 (I</linuxrc> ファイルは実行可能パーミッションが与えられていなければならない。 I</linuxrc> は正当な実行ファイルであればよく、シェルスクリプトでも構わない。)"
5669
5670 #. type: IP
5671 #: build/C/man4/initrd.4:130 build/C/man4/initrd.4:358
5672 #, no-wrap
5673 msgid "6."
5674 msgstr "6."
5675
5676 #. type: Plain text
5677 #: build/C/man4/initrd.4:142
5678 msgid "If I</linuxrc> is not executed or when I</linuxrc> terminates, the normal root filesystem is mounted.  (If I</linuxrc> exits with any filesystems mounted on the initial root filesystem, then the behavior of the kernel is B<UNSPECIFIED>.  See the NOTES section for the current kernel behavior.)"
5679 msgstr "I</linuxrc> が実行されない、または、 I</linuxrc> の実行が終了した時は、通常時ルートファイルシステムがマウントされる。 (I</linuxrc> を終了した時、何らかのファイルシステムが初期ルートファイルシステム上に マウントされている場合のカーネルの動作は B<決められていない (不定である)>。 現在のカーネルがどのように動作するかは、 「注意」のセクションを参照のこと。)"
5680
5681 #. type: IP
5682 #: build/C/man4/initrd.4:142 build/C/man4/initrd.4:360
5683 #, no-wrap
5684 msgid "7."
5685 msgstr "7."
5686
5687 #. type: Plain text
5688 #: build/C/man4/initrd.4:173
5689 msgid "If the normal root filesystem has a directory I</initrd>, the device I</dev/ram0> is moved from I</> to I</initrd>.  Otherwise, if the directory I</initrd> does not exist, the device I</dev/ram0> is unmounted.  (When moved from I</> to I</initrd>, I</dev/ram0> is not unmounted and therefore processes can remain running from I</dev/ram0>.  If directory I</initrd> does not exist on the normal root filesystem and any processes remain running from I</dev/ram0> when I</linuxrc> exits, the behavior of the kernel is B<UNSPECIFIED>.  See the NOTES section for the current kernel behavior.)"
5690 msgstr "通常時ルートファイルシステムに ディレクトリ I</initrd> があれば、 I</dev/ram0> デバイスは I</> から I</initrd> に移動される。 I</initrd> ディレクトリが存在しない場合は、 I</dev/ram0> はアンマウントされる。 (I</> が I</initrd> に移動された場合には、 I</dev/ram0> はアンマウントされず、その結果、 I</dev/ram0> で走り始めたプロセスはそのまま残る事ができる。 もし、 I</initrd> ディレクトリが通常時ルートファイルシステムに存在せず、 I</linuxrc> が終了した時に I</dev/ram0> 上で実行された、なんらかのプロセスが走り続けていた場合の カーネルの動作は B<決められていない (不定である)>。 現在のカーネルが、この時どのような動作をするかについては、 「注意」を参照のこと。)"
5691
5692 #. type: IP
5693 #: build/C/man4/initrd.4:173 build/C/man4/initrd.4:363
5694 #, no-wrap
5695 msgid "8."
5696 msgstr "8."
5697
5698 #. type: Plain text
5699 #: build/C/man4/initrd.4:180
5700 msgid "The usual boot sequence (e.g., invocation of I</sbin/init>)  is performed on the normal root filesystem."
5701 msgstr "普通のブートシーケンス (例えば、 I</sbin/init> の起動) が通常時ルートファイルシステム上で行われる。"
5702
5703 #. type: Plain text
5704 #: build/C/man4/initrd.4:184
5705 msgid "The following boot loader options, when used with B<initrd>, affect the kernel's boot-up operation:"
5706 msgstr "B<initrd> を用いる場合に、カーネルのブートアップ操作に影響を与える ブートローダオプションは次のようなものがある、"
5707
5708 #. type: TP
5709 #: build/C/man4/initrd.4:184
5710 #, no-wrap
5711 msgid "B<initrd=>I<filename>"
5712 msgstr "B<initrd=>I<filename>"
5713
5714 #. type: Plain text
5715 #: build/C/man4/initrd.4:199
5716 msgid "Specifies the file to load as the contents of I</dev/initrd>.  For B<LOADLIN> this is a command-line option.  For B<LILO> you have to use this command in the B<LILO> configuration file I</etc/lilo.config>.  The filename specified with this option will typically be a gzipped filesystem image."
5717 msgstr "I</dev/initrd> の内容としてロードするファイルを指定する。 B<LOADLIN> では、これはコマンドラインオプションである。 B<LILO> では、 B<LILO> の設定ファイル I</etc/lilo.config> 内でコマンドとして使用しなければならない。 このオプションで指定されるファイルは、多くの場合 gzip 圧縮された ファイルシステムイメージである。"
5718
5719 #. type: TP
5720 #: build/C/man4/initrd.4:199
5721 #, no-wrap
5722 msgid "I<noinitrd>"
5723 msgstr "B<noinitrd>"
5724
5725 #. type: Plain text
5726 #: build/C/man4/initrd.4:214
5727 msgid "This boot option disables the two-phase boot-up operation.  The kernel performs the usual boot sequence as if I</dev/initrd> was not initialized.  With this option, any contents of I</dev/initrd> loaded into memory by the boot loader contents are preserved.  This option permits the contents of I</dev/initrd> to be any data and need not be limited to a filesystem image.  However, device I</dev/initrd> is read-only and can be read only one time after system startup."
5728 msgstr "この起動オプションは二段階の起動操作を無効にする。 カーネルは I</dev/initrd> が初期化されていない場合と同様の、通常のブートアップ動作を行う。 このオプションを用いると、ブートローダによってメモリ上にロードされた I</dev/initrd> の内容はそのまま保存される。 つまり、このオプションを用いることによって、 I</dev/initrd> の内容を (ブート以外の目的に) 利用することが可能になる。また、その内容は ファイルシステムイメージに限定されない。 しかし、 I</dev/initrd> デバイスは読みだしのみ可能であり、システムの起動後 1 度しか読み出す事 ができない。"
5729
5730 #. type: TP
5731 #: build/C/man4/initrd.4:214
5732 #, no-wrap
5733 msgid "B<root=>I<device-name>"
5734 msgstr "B<root=>I<device-name>"
5735
5736 #. type: Plain text
5737 #: build/C/man4/initrd.4:232
5738 msgid "Specifies the device to be used as the normal root filesystem.  For B<LOADLIN> this is a command-line option.  For B<LILO> this is a boot time option or can be used as an option line in the B<LILO> configuration file I</etc/lilo.config>.  The device specified by the this option must be a mountable device having a suitable root filesystem."
5739 msgstr "通常時ルートファイルシステムとして使われるデバイスを指定する。 B<LOADLIN> では、これはコマンドラインオプションである。 B<LILO> ではコマンドラインオプション、または、 B<LILO> の設定ファイルである I</etc/lilo.config> のオプションラインとして使用する。 このオプションで指定されるデバイスは、適切なルートファイルシステムとし てマウント可能なデバイスでなければならない。"
5740
5741 #. type: SS
5742 #: build/C/man4/initrd.4:232
5743 #, no-wrap
5744 msgid "Changing the normal root filesystem"
5745 msgstr "通常時ルートファイルシステムの変更"
5746
5747 #. type: Plain text
5748 #: build/C/man4/initrd.4:252
5749 msgid "By default, the kernel's settings (e.g., set in the kernel file with B<rdev>(8)  or compiled into the kernel file), or the boot loader option setting is used for the normal root filesystems.  For an NFS-mounted normal root filesystem, one has to use the B<nfs_root_name> and B<nfs_root_addrs> boot options to give the NFS settings.  For more information on NFS-mounted root see the kernel documentation file B<Documentation/filesystems/nfsroot.txt>.  For more information on setting the root filesystem see also the B<LILO> and B<LOADLIN> documentation."
5750 msgstr "デフォルトでは、カーネルの設定 (例えば、 B<rdev>(8)  を用いてカーネルファイル内にセットされたもの、または、コンパイル時にカー ネルファイル内に埋め込まれたもの)、 または、ブートローダのオプション設定によって指定されたものが通常時ルー トファイルシステムとして使われる。 NFS マウントされた通常時ルートファイルシステムを利用する場合、 B<nfs_root_name> と B<nfs_root_addrs> ブートオプションを使って NFS の設定を与えなければならない。 NFS マウントされたルート (ファイルシステム) についての より詳しい情報は、カーネルのドキュメントファイル B<Documentation/filesystems/nfsroot.txt> を参照のこと。 ルートファイルシステムの設定についてのより詳しい情報は、 B<LILO> と B<LOADLIN> のドキュメントも参照のこと。"
5751
5752 #. type: Plain text
5753 #: build/C/man4/initrd.4:284
5754 msgid "It is also possible for the I</linuxrc> executable to change the normal root device.  For I</linuxrc> to change the normal root device, I</proc> must be mounted.  After mounting I</proc>, I</linuxrc> changes the normal root device by writing into the proc files I</proc/sys/kernel/real-root-dev>, I</proc/sys/kernel/nfs-root-name>, and I</proc/sys/kernel/nfs-root-addrs>.  For a physical root device, the root device is changed by having I</linuxrc> write the new root filesystem device number into I</proc/sys/kernel/real-root-dev>.  For an NFS root filesystem, the root device is changed by having I</linuxrc> write the NFS setting into files I</proc/sys/kernel/nfs-root-name> and I</proc/sys/kernel/nfs-root-addrs> and then writing 0xff (e.g., the pseudo-NFS-device number) into file I</proc/sys/kernel/real-root-dev>.  For example, the following shell command line would change the normal root device to I</dev/hdb1>:"
5755 msgstr "また、 I</linuxrc> を用いる事によっても通常時ルートファイルシステムデバイスを変更すること ができる。 I</linuxrc> を用いて、通常時ルートデバイスを変更するためには、 I</proc> がマウントされていなければならない。 I</proc> をマウントした後で、 I</linuxrc> は proc ファイル I</proc/sys/kernel/real-root-dev>, I</proc/sys/kernel/nfs-root-name>, I</proc/sys/kernel/nfs-root-addrs> に書き込みを行い、通常時ルートデバイスを変更する。 (NFS ではない) 物理的なルートデバイスの場合、 I</linuxrc> が新しいルートファイルシステムのデバイス番号を I</proc/sys/kernel/real-root-dev> に書き込むことで、ルートデバイスが変更される。 NFS ルートファイルシステムの場合、 I</linuxrc> が NFS の設定を I</proc/sys/kernel/nfs-root-name> と I</proc/sys/kernel/nfs-root-addrs> に書き込み、それから I</proc/sys/kernel/real-root-dev> に (疑似 NFS デバイスナンバーである) 0xff を書き込むことで、 ルートデバイスが変更される。 例えば、次のシェルコマンドラインにより、通常時ルートデバイスを I</dev/hdb1> に変更できるだろう:"
5756
5757 #. type: Plain text
5758 #: build/C/man4/initrd.4:287
5759 #, no-wrap
5760 msgid "    echo 0x365 E<gt>/proc/sys/kernel/real-root-dev\n"
5761 msgstr "    echo 0x365 E<gt>/proc/sys/kernel/real-root-dev\n"
5762
5763 #. type: Plain text
5764 #: build/C/man4/initrd.4:294
5765 msgid "For an NFS example, the following shell command lines would change the normal root device to the NFS directory I</var/nfsroot> on a local networked NFS server with IP number 193.8.232.7 for a system with IP number 193.8.232.2 and named \"idefix\":"
5766 msgstr "また、NFS の場合、次のようなシェルコマンドラインにより、 193.8.232.2 という IP アドレスを持つ \"idefix\" という名前の システムの、通常時ルートデバイスとして、 ローカルネットワークの 193.8.232.2 という IP アドレスを持つ NFS サーバの NFS ディレクトリ I</var/nfsroot> をマウントするように変更できる:"
5767
5768 #. type: Plain text
5769 #: build/C/man4/initrd.4:300
5770 #, no-wrap
5771 msgid ""
5772 "    echo /var/nfsroot E<gt>/proc/sys/kernel/nfs-root-name\n"
5773 "    echo 193.8.232.2:193.8.232.7::255.255.255.0:idefix \\e\n"
5774 "        E<gt>/proc/sys/kernel/nfs-root-addrs\n"
5775 "    echo 255 E<gt>/proc/sys/kernel/real-root-dev\n"
5776 msgstr ""
5777 "    echo /var/nfsroot E<gt>/proc/sys/kernel/nfs-root-name\n"
5778 "    echo 193.8.232.2:193.8.232.7::255.255.255.0:idefix \\e\n"
5779 "        E<gt>/proc/sys/kernel/nfs-root-addrs\n"
5780 "    echo 255 E<gt>/proc/sys/kernel/real-root-dev\n"
5781
5782 #.  FIXME . Should this manual page  describe the pivot_root mechanism?
5783 #. type: Plain text
5784 #: build/C/man4/initrd.4:317
5785 msgid "B<Note>: The use of I</proc/sys/kernel/real-root-dev> to change the root filesystem is obsolete.  See the Linux kernel source file I<Documentation/initrd.txt> as well as B<pivot_root>(2)  and B<pivot_root>(8)  for information on the modern method of changing the root filesystem."
5786 msgstr "B<注意>: ルートファイルシステムを変更するために I</proc/sys/kernel/real-root-dev> を使うのは以前の方法である。 ルートファイルシステムを変更する新しい方法についての情報は、 Linux カーネルソースに含まれる I<Documentation/initrd.txt> ファイルや、 B<pivot_root>(2)  や B<pivot_root>(8)  を参照してほしい。"
5787
5788 #. type: SS
5789 #: build/C/man4/initrd.4:317 build/C/man4/random.4:91 build/C/man7/uri.7:109
5790 #, no-wrap
5791 msgid "Usage"
5792 msgstr "使い方"
5793
5794 #. type: Plain text
5795 #: build/C/man4/initrd.4:321
5796 msgid "The main motivation for implementing B<initrd> was to allow for modular kernel configuration at system installation."
5797 msgstr "B<initrd> が実装された主な目的は、システムインストール時に、モジュール化されたカー ネルの設定を可能にすることであった。"
5798
5799 #. type: Plain text
5800 #: build/C/man4/initrd.4:323
5801 msgid "A possible system installation scenario is as follows:"
5802 msgstr "次のような流れのシステムインストールが可能になる:"
5803
5804 #. type: Plain text
5805 #: build/C/man4/initrd.4:331
5806 msgid "The loader program boots from floppy or other media with a minimal kernel (e.g., support for I</dev/ram>, I</dev/initrd>, and the ext2 filesystem) and loads I</dev/initrd> with a gzipped version of the initial filesystem."
5807 msgstr "ローダプログラムは、フロッピーやその他のメディアから、 最小限のカーネル (例えば、 I</dev/ram>, I</dev/initrd>, ext2 ファイルシステムのみのサポートしたカーネル) をブートし、 gzip 圧縮された初期ファイルシステムイメージを I</dev/initrd> にロードする。"
5808
5809 #. type: Plain text
5810 #: build/C/man4/initrd.4:339
5811 msgid "The executable I</linuxrc> determines what is needed to (1) mount the normal root filesystem (i.e., device type, device drivers, filesystem) and (2) the distribution media (e.g., CD-ROM, network, tape, ...).  This can be done by asking the user, by auto-probing, or by using a hybrid approach."
5812 msgstr "実行ファイル I</linuxrc> は、(1) 通常時ルートファイルシステムのマウントに何が必要か (すなわち、デバイスタイプ、デバイスドライバ、ファイルシステム)、 (2) 配布メディアに何が必要か (例えば、CD-ROM, ネットワーク、テープなど)  を決定する。決定は、ユーザーへの問い合わせ、自動検出、あるいはその両者の 方法を組み合わせて行われる。"
5813
5814 #. type: Plain text
5815 #: build/C/man4/initrd.4:343
5816 msgid "The executable I</linuxrc> loads the necessary modules from the initial root filesystem."
5817 msgstr "実行ファイル I</linuxrc> は、初期ルートファイルシステムから必要なモジュールをロードする。"
5818
5819 #. type: Plain text
5820 #: build/C/man4/initrd.4:349
5821 msgid "The executable I</linuxrc> creates and populates the root filesystem.  (At this stage the normal root filesystem does not have to be a completed system yet.)"
5822 msgstr "実行ファイル I</linuxrc> は、ルートファイルシステムを作成し、配置する (この段階では、通常時ルー トファイルシステムは完全なシステムである必要はない)。"
5823
5824 #. type: Plain text
5825 #: build/C/man4/initrd.4:358
5826 msgid "The executable I</linuxrc> sets I</proc/sys/kernel/real-root-dev>, unmount I</proc>, the normal root filesystem and any other filesystems it has mounted, and then terminates."
5827 msgstr "実行ファイル I</linuxrc> は、 I</proc/sys/kernel/real-root-dev> を設定し、 I</proc>、 マウントされている通常時ファイルシステム及びその他のファイルシステム をアンマウントし、 実行を終了する。"
5828
5829 #. type: Plain text
5830 #: build/C/man4/initrd.4:360
5831 msgid "The kernel then mounts the normal root filesystem."
5832 msgstr "次に、カーネルは、通常時ルートファイルシステムをマウントする。"
5833
5834 #. type: Plain text
5835 #: build/C/man4/initrd.4:363
5836 msgid "Now that the filesystem is accessible and intact, the boot loader can be installed."
5837 msgstr "この段階で、ファイルシステムは全く変更が行われていない状態で、 アクセスできる状態になる。 また、ブートローダをインストールすることができる。"
5838
5839 #. type: Plain text
5840 #: build/C/man4/initrd.4:372
5841 msgid "The boot loader is configured to load into I</dev/initrd> a filesystem with the set of modules that was used to bring up the system.  (e.g., Device I</dev/ram0> can be modified, then unmounted, and finally, the image is written from I</dev/ram0> to a file.)"
5842 msgstr "ブートローダを設定し、システム起動時に使用されるカーネルモジュールのセッ トを含んだファイルシステムを I</dev/initrd> にロードする (例えば、 I</dev/ram0> デバイスの内容を修正し、アンマウントする。最後に、 I</dev/ram0> のイメージをファイルに書き出す)。"
5843
5844 #. type: IP
5845 #: build/C/man4/initrd.4:372
5846 #, no-wrap
5847 msgid "9."
5848 msgstr "9."
5849
5850 #. type: Plain text
5851 #: build/C/man4/initrd.4:375
5852 msgid "The system is now bootable and additional installation tasks can be performed."
5853 msgstr "これで、システムがブート可能になる。この後、さらにその他のインストール の作業を実行できる。"
5854
5855 #. type: Plain text
5856 #: build/C/man4/initrd.4:381
5857 msgid "The key role of I</dev/initrd> in the above is to reuse the configuration data during normal system operation without requiring initial kernel selection, a large generic kernel or, recompiling the kernel."
5858 msgstr "上記の動作での I</dev/initrd> の役割のキーポイントは、初期カーネルの選択や大きなジェネリックカーネル、 カーネルの再構築なしに、通常のシステム操作で再利用可能な設定データを利 用することにある。"
5859
5860 #. type: Plain text
5861 #: build/C/man4/initrd.4:394
5862 msgid "A second scenario is for installations where Linux runs on systems with different hardware configurations in a single administrative network.  In such cases, it may be desirable to use only a small set of kernels (ideally only one) and to keep the system-specific part of configuration information as small as possible.  In this case, create a common file with all needed modules.  Then, only the I</linuxrc> file or a file executed by I</linuxrc> would be different."
5863 msgstr "2 番目のケースは、一つの管理上のネットワークにおいて、異なる設定のハー ドウェアのシステム上で Linux を動作させるためのインストールを行う場合 である。 このようなケースの場合、ごく小数のカーネルのセット (理想的にはたった一 つのカーネル) のみを利用し、システム固有の設定情報は可能な限り小さくす ることが望ましいであろう。 この場合、全ての必要なモジュールが入った共通ファイルを作成する。 そして、 I</linuxrc> ファイル、または、 I</linuxrc> から実行されるファイルのみを異なったものにしておく。"
5864
5865 #. type: Plain text
5866 #: build/C/man4/initrd.4:401
5867 msgid "A third scenario is more convenient recovery disks.  Because information like the location of the root filesystem partition is not needed at boot time, the system loaded from I</dev/initrd> can use a dialog and/or auto-detection followed by a possible sanity check."
5868 msgstr "3 番目のケースは、より便利な復旧用ディスクを作る場合である。 ルートファイルシステムのパーティションの位置といった情報は ブート時に必要ないため、 I</dev/initrd> からロードされたシステムは、 必要な正常性チェックを行った後で、ユーザーへの問い合わせや自動検出 (もしくはその両方) を行うことができるようになる。"
5869
5870 #. type: Plain text
5871 #: build/C/man4/initrd.4:418
5872 msgid "Last but not least, Linux distributions on CD-ROM may use B<initrd> for easy installation from the CD-ROM.  The distribution can use B<LOADLIN> to directly load I</dev/initrd> from CD-ROM without the need of any floppies.  The distribution could also use a B<LILO> boot floppy and then bootstrap a bigger RAM disk via I</dev/initrd> from the CD-ROM."
5873 msgstr "(他にもたくさん例があるだろうが) 最後の例としては、 B<initrd> を利用すると、CD-ROM 上の Linux ディストリビューションを より簡単に CD-ROM からインストールすることができるだろう。 ディストリビューションは、 B<LOADLIN> を使って、フロッピーを全く利用せずに CD-ROM から I</dev/initrd> を直接ロードすることができる。 また、 B<LILO> ブートフロッピーを使ってブートを行い、 I</dev/initrd> を通して CD-ROM からより大きな RAM ディスクを起動することもできる。"
5874
5875 #. type: Plain text
5876 #: build/C/man4/initrd.4:420
5877 msgid "I</dev/initrd>"
5878 msgstr "I</dev/initrd>"
5879
5880 #. type: Plain text
5881 #: build/C/man4/initrd.4:422
5882 msgid "I</dev/ram0>"
5883 msgstr "I</dev/ram0>"
5884
5885 #. type: Plain text
5886 #: build/C/man4/initrd.4:424
5887 msgid "I</linuxrc>"
5888 msgstr "I</linuxrc>"
5889
5890 #. type: Plain text
5891 #: build/C/man4/initrd.4:429
5892 msgid "I</initrd>"
5893 msgstr "I</initrd>"
5894
5895 #. type: Plain text
5896 #: build/C/man4/initrd.4:441
5897 msgid "With the current kernel, any filesystems that remain mounted when I</dev/ram0> is moved from I</> to I</initrd> continue to be accessible.  However, the I</proc/mounts> entries are not updated."
5898 msgstr "現在のカーネルでは、 I</dev/ram0> が I</> から I</initrd> に移動された際に、移動時にマウントされていたファイルシステムは、 その後も継続的にアクセス可能である。しかし、 I</proc/mounts> のエントリは更新されない。"
5899
5900 #. type: Plain text
5901 #: build/C/man4/initrd.4:458
5902 msgid "With the current kernel, if directory I</initrd> does not exist, then I</dev/ram0> will B<not> be fully unmounted if I</dev/ram0> is used by any process or has any filesystem mounted on it.  If I</dev/ram0> is B<not> fully unmounted, then I</dev/ram0> will remain in memory."
5903 msgstr "現在のカーネルでは、ディレクトリ I</initrd> が存在しない場合、 I</dev/ram0> を何らかのプロセスが利用していたり、何らかのファイルシステムが I</dev/ram0> 上にマウントされていると、 I</dev/ram0> は完全にはアンマウント「されない」。 I</dev/ram0> が、完全にアンマウント「されなければ」、 I</dev/ram0> はメモリ上に残ってしまうはずである。"
5904
5905 #.  .SH AUTHORS
5906 #.  The kernel code for device
5907 #.  .BR initrd
5908 #.  was written by Werner Almesberger <almesber@lrc.epfl.ch> and
5909 #.  Hans Lermen <lermen@elserv.ffm.fgan.de>.
5910 #.  The code for
5911 #.  .BR initrd
5912 #.  was added to the baseline Linux kernel in development version 1.3.73.
5913 #. type: Plain text
5914 #: build/C/man4/initrd.4:474
5915 msgid "Users of I</dev/initrd> should not depend on the behavior give in the above notes.  The behavior may change in future versions of the Linux kernel."
5916 msgstr "I</dev/initrd> の利用者は、上記の注意事項で述べた動作に依存しないようにすべきである。 これらの動作は Linux カーネルの将来のバージョンでは変更される かもしれないからだ。"
5917
5918 #. type: Plain text
5919 #: build/C/man4/initrd.4:480
5920 msgid "B<chown>(1), B<mknod>(1), B<ram>(4), B<freeramdisk>(8), B<rdev>(8)"
5921 msgstr "B<chown>(1), B<mknod>(1), B<ram>(4), B<freeramdisk>(8), B<rdev>(8)"
5922
5923 #. type: Plain text
5924 #: build/C/man4/initrd.4:484
5925 msgid "I<Documentation/initrd.txt> in the Linux kernel source tree, the LILO documentation, the LOADLIN documentation, the SYSLINUX documentation"
5926 msgstr "Linux カーネルソースの I<initrd.txt>、 LILO のドキュメント、LOADLIN のドキュメント、SYSLINUX のドキュメント"
5927
5928 #. type: TH
5929 #: build/C/man4/lp.4:27
5930 #, no-wrap
5931 msgid "LP"
5932 msgstr "LP"
5933
5934 #. type: TH
5935 #: build/C/man4/lp.4:27
5936 #, no-wrap
5937 msgid "1995-01-15"
5938 msgstr "1995-01-15"
5939
5940 #. type: Plain text
5941 #: build/C/man4/lp.4:30
5942 msgid "lp - line printer devices"
5943 msgstr "lp - ラインプリンターデバイス"
5944
5945 #. type: Plain text
5946 #: build/C/man4/lp.4:32
5947 msgid "B<#include E<lt>linux/lp.hE<gt>>"
5948 msgstr "B<#include E<lt>linux/lp.hE<gt>>"
5949
5950 #. type: Plain text
5951 #: build/C/man4/lp.4:43
5952 msgid "B<lp>[0\\(en2] are character devices for the parallel line printers; they have major number 6 and minor number 0\\(en2.  The minor numbers correspond to the printer port base addresses 0x03bc, 0x0378 and 0x0278.  Usually they have mode 220 and are owned by root and group lp.  You can use printer ports either with polling or with interrupts.  Interrupts are recommended when high traffic is expected, for example, for laser printers.  For usual dot matrix printers polling will usually be enough.  The default is polling."
5953 msgstr "B<lp>[0\\(en2] はパラレルプリンターのためのキャラクタデバイスでメジャー ナンバー 6 マイナーナンバー 0\\(en2 を持つ。マイナーナンバーは、ベース アドレス 0x03bc, 0x0378, 0x0278 のそれぞれのプリンターポートに対応する 通常、このデバイスファイルはモード 220 オーナー root グループ lp となっ ている。プリンターポートはポーリング(polling)または割り込み (interrupts) のどちらを用いても利用できる。割り込みの利用は、高負荷が 予想される時、例えばレーザープリンターをプリンタポートに接続する場合な どに推奨される。普通のドットマトリクスプリンターでは、ポーリングの利用 で通常は十分である。デフォルトではポーリングを利用する。"
5954
5955 #. type: Plain text
5956 #: build/C/man4/lp.4:47
5957 msgid "The following B<ioctl>(2)  calls are supported:"
5958 msgstr "次の B<ioctl>(2)  コールがサポートされている。"
5959
5960 #. type: IP
5961 #: build/C/man4/lp.4:47
5962 #, no-wrap
5963 msgid "B<int ioctl(int >I<fd>B<, LPTIME, int >I<arg>B<)>"
5964 msgstr "B<int ioctl(int >I<fd>B<, LPTIME, int >I<arg>B<)>"
5965
5966 #. type: Plain text
5967 #: build/C/man4/lp.4:56
5968 msgid "Sets the amount of time that the driver sleeps before rechecking the printer when the printer's buffer appears to be filled to I<arg>.  If you have a fast printer, decrease this number; if you have a slow printer, then increase it.  This is in hundredths of a second, the default 2 being 0.02 seconds.  It only influences the polling driver."
5969 msgstr "プリンターのバッファー( buffer ) がいっぱいになった時、ドライバがプリンター を再チェックするまでに休止する時間を I<arg> とする。高速なプリンター の時はこれを減らし、遅いプリンターの時には増やす。単位は1秒の100分の1 で、デフォルトの2は0.02秒にあたる。ポーリングドライバ( polling driver )のみに影響する。"
5970
5971 #. type: IP
5972 #: build/C/man4/lp.4:56
5973 #, no-wrap
5974 msgid "B<int ioctl(int >I<fd>B<, LPCHAR, int >I<arg>B<)>"
5975 msgstr "B<int ioctl(int >I<fd>B<, LPCHAR, int >I<arg>B<)>"
5976
5977 #. type: Plain text
5978 #: build/C/man4/lp.4:64
5979 msgid "Sets the maximum number of busy-wait iterations which the polling driver does while waiting for the printer to get ready for receiving a character to I<arg>.  If printing is too slow, increase this number; if the system gets too slow, decrease this number.  The default is 1000.  It only influences the polling driver."
5980 msgstr "ポーリングドライバがプリンターの文字受取り準備ができるのを待 つビジーウエイト(busy-wait)の回数の最大値を I<arg>とする。 もし印刷が遅すぎる時はこれを増やし、システムが遅くなりすぎる時には 減らす。デフォルトは 1000 である。ポーリングドライバのみに影響する。"
5981
5982 #. type: IP
5983 #: build/C/man4/lp.4:64
5984 #, no-wrap
5985 msgid "B<int ioctl(int >I<fd>B<, LPABORT, int >I<arg>B<)>"
5986 msgstr "B<int ioctl(int >I<fd>B<, LPABORT, int >I<arg>B<)>"
5987
5988 #. type: Plain text
5989 #: build/C/man4/lp.4:70
5990 msgid "If I<arg> is 0, the printer driver will retry on errors, otherwise it will abort.  The default is 0."
5991 msgstr "もし、I<arg> が 0 なら、プリンタードライバはエラーについて再試行 を行う。それ以外の場合は中止する。デフォルトは 0 である。"
5992
5993 #. type: IP
5994 #: build/C/man4/lp.4:70
5995 #, no-wrap
5996 msgid "B<int ioctl(int >I<fd>B<, LPABORTOPEN, int >I<arg>B<)>"
5997 msgstr "B<int ioctl(int >I<fd>B<, LPABORTOPEN, int >I<arg>B<)>"
5998
5999 #. type: Plain text
6000 #: build/C/man4/lp.4:77
6001 msgid "If I<arg> is 0, B<open>(2)  will be aborted on error, otherwise error will be ignored.  The default is to ignore it."
6002 msgstr "もし、I<arg> が 0 なら B<open>(2)  の結果がエラーの場合、動作が中止される。それ以外ならエラーは無 視される。デフォルトではエラーは無視される。"
6003
6004 #. type: IP
6005 #: build/C/man4/lp.4:77
6006 #, no-wrap
6007 msgid "B<int ioctl(int >I<fd>B<, LPCAREFUL, int >I<arg>B<)>"
6008 msgstr "B<int ioctl(int >I<fd>B<, LPCAREFUL, int >I<arg>B<)>"
6009
6010 #. type: Plain text
6011 #: build/C/man4/lp.4:83
6012 msgid "If I<arg> is 0, then the out-of-paper, offline and error signals are required to be false on all writes, otherwise they are ignored.  The default is to ignore them."
6013 msgstr "I<arg>が0のときには、すべての書き出しの時に、紙切れ、オフライン、エ ラーのシグナルが偽(false)であることが必要とされるが、0 以外ならこれ らのシグナルは無視される。デフォルトでもこれらのシグナルは無視される。"
6014
6015 #. type: IP
6016 #: build/C/man4/lp.4:83
6017 #, no-wrap
6018 msgid "B<int ioctl(int >I<fd>B<, LPWAIT, int >I<arg>B<)>"
6019 msgstr "B<int ioctl(int >I<fd>B<, LPWAIT, int >I<arg>B<)>"
6020
6021 #. type: Plain text
6022 #: build/C/man4/lp.4:94
6023 msgid "Sets the number of busy waiting iterations to wait before strobing the printer to accept a just-written character, and the number of iterations to wait before turning the strobe off again, to I<arg>.  The specification says this time should be 0.5 microseconds, but experience has shown the delay caused by the code is already enough.  For that reason, the default value is 0.  This is used for both the polling and the interrupt driver."
6024 msgstr "プリンターが送られた文字を受け取るのを待つため、ドライバが文字を送っ てからストローブ(strobe)するまでの待ちの繰り返しの回数と、ストローブ を再びオフにするまでの待ちの繰り返しの回数を I<arg>に設定 する。仕様によればこの時間は 0.5 マイクロ秒とするべきだが、経験によれば このコードによって生じる遅れで十分である。そのため、デフォルトでは 0 で ある。これは、ポーリングと割り込みドライバの両方で使われる。"
6025
6026 #. type: IP
6027 #: build/C/man4/lp.4:94
6028 #, no-wrap
6029 msgid "B<int ioctl(int >I<fd>B<, LPSETIRQ, int >I<arg>B<)>"
6030 msgstr "B<int ioctl(int >I<fd>B<, LPSETIRQ, int >I<arg>B<)>"
6031
6032 #. type: Plain text
6033 #: build/C/man4/lp.4:105
6034 msgid "This B<ioctl>(2)  requires superuser privileges.  It takes an I<int> containing the new IRQ as argument.  As a side effect, the printer will be reset.  When I<arg> is 0, the polling driver will be used, which is also default."
6035 msgstr "この B<ioctl>(2)  を使うには、スーパーユーザーの権限が必要である。新しいIRQを示す I<int> を引数としてとる。また、副作用としてプリンターはリセットされる。 I<arg>が0の時またはデフォルトの動作では、ポーリングドライバーが使わ れる。"
6036
6037 #. type: IP
6038 #: build/C/man4/lp.4:105
6039 #, no-wrap
6040 msgid "B<int ioctl(int >I<fd>B<, LPGETIRQ, int *>I<arg>B<)>"
6041 msgstr "B<int ioctl(int >I<fd>B<, LPGETIRQ, int *>I<arg>B<)>"
6042
6043 #. type: Plain text
6044 #: build/C/man4/lp.4:108
6045 msgid "Stores the currently used IRQ in I<arg>."
6046 msgstr "現在使われているIRQをI<arg>にいれる。"
6047
6048 #. type: IP
6049 #: build/C/man4/lp.4:108
6050 #, no-wrap
6051 msgid "B<int ioctl(int >I<fd>B<, LPGETSTATUS, int *>I<arg>B<)>"
6052 msgstr "B<int ioctl(int >I<fd>B<, LPGETSTATUS, int *>I<arg>B<)>"
6053
6054 #. type: Plain text
6055 #: build/C/man4/lp.4:112
6056 msgid "Stores the value of the status port in I<arg>.  The bits have the following meaning:"
6057 msgstr "ステータスポートの値をI<arg>に収める。各ビットには次のような意味が ある:"
6058
6059 #. type: tbl table
6060 #: build/C/man4/lp.4:114
6061 #, no-wrap
6062 msgid "LP_PBUSY\tinverted busy input, active high\n"
6063 msgstr "LP_PBUSY\tビジー信号の反転、ハイがアクティブ\n"
6064
6065 #. type: tbl table
6066 #: build/C/man4/lp.4:115
6067 #, no-wrap
6068 msgid "LP_PACK\tunchanged acknowledge input, active low\n"
6069 msgstr "LP_PACK\t        アクノリッジ信号、ローがアクティブ\n"
6070
6071 #. type: tbl table
6072 #: build/C/man4/lp.4:116
6073 #, no-wrap
6074 msgid "LP_POUTPA\tunchanged out-of-paper input, active high\n"
6075 msgstr "LP_POUTPA\t紙切れ信号、ハイがアクティブ\n"
6076
6077 #. type: tbl table
6078 #: build/C/man4/lp.4:117
6079 #, no-wrap
6080 msgid "LP_PSELECD\tunchanged selected input, active high\n"
6081 msgstr "LP_PSELECD\t選択信号、ハイがアクティブ\n"
6082
6083 #. type: tbl table
6084 #: build/C/man4/lp.4:118
6085 #, no-wrap
6086 msgid "LP_PERRORP\tunchanged error input, active low\n"
6087 msgstr "LP_PERRORP\tエラー信号、ローがアクティブ\n"
6088
6089 #. type: Plain text
6090 #: build/C/man4/lp.4:123
6091 msgid "Refer to your printer manual for the meaning of the signals.  Note that undocumented bits may also be set, depending on your printer."
6092 msgstr "信号の意味については各自のプリンターのマニュアルを参照のこと。プリンター によっては記載のないビットもセットされるかもしれないので、注意のこと。"
6093
6094 #. type: IP
6095 #: build/C/man4/lp.4:123
6096 #, no-wrap
6097 msgid "B<int ioctl(int >I<fd>B<, LPRESET)>"
6098 msgstr "B<int ioctl(int >I<fd>B<, LPRESET)>"
6099
6100 #. type: Plain text
6101 #: build/C/man4/lp.4:126
6102 msgid "Resets the printer.  No argument is used."
6103 msgstr "プリンターをリセットする。引数はとらない。"
6104
6105 #.  .SH AUTHORS
6106 #.  The printer driver was originally written by Jim Weigand and Linus
6107 #.  Torvalds.
6108 #.  It was further improved by Michael K.\& Johnson.
6109 #.  The interrupt code was written by Nigel Gamble.
6110 #.  Alan Cox modularized it.
6111 #.  LPCAREFUL, LPABORT, LPGETSTATUS were added by Chris Metcalf.
6112 #. type: Plain text
6113 #: build/C/man4/lp.4:135
6114 msgid "/dev/lp*"
6115 msgstr "/dev/lp*"
6116
6117 #. type: Plain text
6118 #: build/C/man4/lp.4:141
6119 msgid "B<chmod>(1), B<chown>(1), B<mknod>(1), B<lpcntl>(8), B<tunelp>(8)"
6120 msgstr "B<chmod>(1), B<chown>(1), B<mknod>(1), B<lpcntl>(8), B<tunelp>(8)"
6121
6122 #. type: TH
6123 #: build/C/man3/makedev.3:26
6124 #, no-wrap
6125 msgid "MAKEDEV"
6126 msgstr "MAKEDEV"
6127
6128 #. type: TH
6129 #: build/C/man3/makedev.3:26
6130 #, no-wrap
6131 msgid "2014-05-28"
6132 msgstr "2014-05-28"
6133
6134 #. type: Plain text
6135 #: build/C/man3/makedev.3:29
6136 msgid "makedev, major, minor - manage a device number"
6137 msgstr "makedev, major, minor - デバイス番号の操作"
6138
6139 #. type: Plain text
6140 #: build/C/man3/makedev.3:33
6141 #, no-wrap
6142 msgid ""
6143 "B<#define _BSD_SOURCE>             /* See feature_test_macros(7) */\n"
6144 "B<#include E<lt>sys/types.hE<gt>>\n"
6145 msgstr ""
6146 "B<#define _BSD_SOURCE>             /* feature_test_macros(7) 参照 */\n"
6147 "B<#include E<lt>sys/types.hE<gt>>\n"
6148
6149 #. type: Plain text
6150 #: build/C/man3/makedev.3:35
6151 #, no-wrap
6152 msgid "B<dev_t makedev(unsigned int >I<maj>B<, unsigned int >I<min>B<);>\n"
6153 msgstr "B<dev_t makedev(unsigned int >I<maj>B<, unsigned int >I<min>B<);>\n"
6154
6155 #. type: Plain text
6156 #: build/C/man3/makedev.3:38
6157 #, no-wrap
6158 msgid ""
6159 "B<unsigned int major(dev_t >I<dev>B<);>\n"
6160 "B<unsigned int minor(dev_t >I<dev>B<);>\n"
6161 msgstr ""
6162 "B<unsigned int major(dev_t >I<dev>B<);>\n"
6163 "B<unsigned int minor(dev_t >I<dev>B<);>\n"
6164
6165 #. type: Plain text
6166 #: build/C/man3/makedev.3:45
6167 msgid "A device ID consists of two parts: a major ID, identifying the class of the device, and a minor ID, identifying a specific instance of a device in that class.  A device ID is represented using the type I<dev_t>."
6168 msgstr ""
6169 "デバイス ID は、メジャー ID とマイナー ID の二つの部分から構成される。\n"
6170 "メジャー ID はデバイスクラスの識別に使用され、マイナー ID は\n"
6171 "そのクラス内の特定のデバイスインスタンスの識別に使用される。\n"
6172 "デバイス ID は I<dev_t> 型を用いて表現される。"
6173
6174 #. type: Plain text
6175 #: build/C/man3/makedev.3:52
6176 msgid "Given major and minor device IDs, B<makedev>()  combines these to produce a device ID, returned as the function result.  This device ID can be given to B<mknod>(2), for example."
6177 msgstr ""
6178 "B<makedev>() は、指定されたメジャー ID とマイナー ID を組み合わせて\n"
6179 "デバイス ID を生成し、関数の結果として返す。\n"
6180 "このデバイス ID は B<mknod>(2) などに渡すことができる。"
6181
6182 #. type: Plain text
6183 #: build/C/man3/makedev.3:62
6184 msgid "The B<major>()  and B<minor>()  functions perform the converse task: given a device ID, they return, respectively, the major and minor components.  These macros can be useful to, for example, decompose the device IDs in the structure returned by B<stat>(2)."
6185 msgstr ""
6186 "関数 B<major>() と B<minor>() は B<makedev>() と反対の処理を行う。\n"
6187 "つまり、device ID を渡すと、それぞれメジャー ID 部分とマイナー ID 部分\n"
6188 "を返す。これらのマクロは、例えば、 B<stat>(2) が返す構造体に含まれる\n"
6189 "デバイス ID を分解する場合などで役に立つ。"
6190
6191 #.  The BSDs, HP-UX, Solaris, AIX, Irix
6192 #. type: Plain text
6193 #: build/C/man3/makedev.3:71
6194 msgid "The B<makedev>(), B<major>(), and B<minor>()  functions are not specified in POSIX.1, but are present on many other systems."
6195 msgstr ""
6196 "関数 B<makedev>(), B<major>(), B<minor>() は\n"
6197 "POSIX.1 では規定されていないが、他の多くのシステムにも存在する。"
6198
6199 #. type: Plain text
6200 #: build/C/man3/makedev.3:80
6201 msgid "These interfaces are defined as macros.  Since glibc 2.3.3, they have been aliases for three GNU-specific functions: B<gnu_dev_makedev>(), B<gnu_dev_major>(), and B<gnu_dev_minor>().  The latter names are exported, but the traditional names are more portable."
6202 msgstr ""
6203 "これらのインタフェースはマクロとして定義されている。\n"
6204 "glibc 2.3.3 以降では、これらは GNU 固有の 3 つの関数\n"
6205 "B<gnu_dev_makedev>(), B<gnu_dev_major>(), B<gnu_dev_minor>() の\n"
6206 "エイリアス (別名) となっている。後者の名前がエクスポートされるが、\n"
6207 "以前から使われている前者の名前の方が移植性がある。"
6208
6209 #. type: Plain text
6210 #: build/C/man3/makedev.3:83
6211 msgid "B<mknod>(2), B<stat>(2)"
6212 msgstr "B<mknod>(2), B<stat>(2)"
6213
6214 #. type: TH
6215 #: build/C/man4/mem.4:26
6216 #, no-wrap
6217 msgid "MEM"
6218 msgstr "MEM"
6219
6220 #. type: TH
6221 #: build/C/man4/mem.4:26
6222 #, no-wrap
6223 msgid "2015-01-02"
6224 msgstr "2015-01-02"
6225
6226 #. type: Plain text
6227 #: build/C/man4/mem.4:29
6228 msgid "mem, kmem, port - system memory, kernel memory and system ports"
6229 msgstr "mem, kmem, port - システムメモリ(system memory)、カーネルメモリ (kernel memory)、システムポート(sysmem ports)"
6230
6231 #. type: Plain text
6232 #: build/C/man4/mem.4:34
6233 msgid "B<mem> is a character device file that is an image of the main memory of the computer.  It may be used, for example, to examine (and even patch) the system."
6234 msgstr "B<mem> はコンピュータのメインメモリイメージのキャラクターデバイスファ イル(character device file)である。このデバイスは、例えば、システムを 検査するため(また、パッチ(patch)をあてるため)に使われるだろう。"
6235
6236 #. type: Plain text
6237 #: build/C/man4/mem.4:39
6238 msgid "Byte addresses in B<mem> are interpreted as physical memory addresses.  References to nonexistent locations cause errors to be returned."
6239 msgstr "B<mem> のバイトアドレス(byte address)は 物理メモリアドレスとして解釈される。 存在していない場所への参照はエラーが返される。"
6240
6241 #. type: Plain text
6242 #: build/C/man4/mem.4:42
6243 msgid "Examining and patching is likely to lead to unexpected results when read-only or write-only bits are present."
6244 msgstr "読み込み専用(read-only)あるいは書き込み専用(write-only)のビットへの検 査あるいはパッチ当ては予期せぬ結果をもたらすことがある。"
6245
6246 #. type: Plain text
6247 #: build/C/man4/mem.4:49
6248 msgid "Since 2.6.26, and depending on the architecture, the B<CONFIG_STRICT_DEVMEM> kernel configuration option limits the areas which can be accessed through this file.  For example: on x86, RAM access is not allowed but accessing memory-mapped PCI regions is."
6249 msgstr "Linux 2.6.26 以降では、 アーキテクチャーによっては、 カーネル設定オプション B<CONFIG_STRICT_DEVMEM> によりこのファイル経由でアクセスできる領域が制限される。 例えば、 x86 では、 RAM アクセスは許可されないが、メモリマップ PCI 領域へのアクセスは許可される。"
6250
6251 #. type: Plain text
6252 #: build/C/man4/mem.4:51 build/C/man4/mem.4:69 build/C/man4/mem.4:82
6253 #: build/C/man4/ram.4:35
6254 msgid "It is typically created by:"
6255 msgstr "典型的には次のようにして作られる。:"
6256
6257 #. type: Plain text
6258 #: build/C/man4/mem.4:54
6259 msgid "mknod -m 660 /dev/mem c 1 1"
6260 msgstr "mknod -m 660 /dev/mem c 1 1"
6261
6262 #. type: Plain text
6263 #: build/C/man4/mem.4:56
6264 msgid "chown root:kmem /dev/mem"
6265 msgstr "chown root:kmem /dev/mem"
6266
6267 #. type: Plain text
6268 #: build/C/man4/mem.4:67
6269 msgid "The file B<kmem> is the same as B<mem>, except that the kernel virtual memory rather than physical memory is accessed.  Since 2.6.26, this file is only available if the B<CONFIG_DEVKMEM> kernel configuration option is enabled."
6270 msgstr "B<kmem> ファイルは B<mem> と同じだが、 物理メモリへのアクセスではなく、カーネル(kernel)の仮想 メモリ(virtual memory)へのアクセスである点が異なる。 Linux 2.6.26 以降では、 このファイルが利用できるのは、 カーネル設定オプション B<CONFIG_DEVKMEM> が有効になっている場合だけである。"
6271
6272 #. type: Plain text
6273 #: build/C/man4/mem.4:72
6274 msgid "mknod -m 640 /dev/kmem c 1 2"
6275 msgstr "mknod -m 640 /dev/kmem c 1 2"
6276
6277 #. type: Plain text
6278 #: build/C/man4/mem.4:74
6279 msgid "chown root:kmem /dev/kmem"
6280 msgstr "chown root:kmem /dev/kmem"
6281
6282 #. type: Plain text
6283 #: build/C/man4/mem.4:80
6284 msgid "B<port> is similar to B<mem>, but the I/O ports are accessed."
6285 msgstr "B<port> は B<mem> に似ているが I/O ポート(I/O ports)へのアクセスが行われる。"
6286
6287 #. type: Plain text
6288 #: build/C/man4/mem.4:85
6289 msgid "mknod -m 660 /dev/port c 1 4"
6290 msgstr "mknod -m 660 /dev/port c 1 4"
6291
6292 #. type: Plain text
6293 #: build/C/man4/mem.4:87
6294 msgid "chown root:kmem /dev/port"
6295 msgstr "chown root:kmem /dev/port"
6296
6297 #. type: Plain text
6298 #: build/C/man4/mem.4:90
6299 msgid "I</dev/mem>"
6300 msgstr "I</dev/mem>"
6301
6302 #. type: Plain text
6303 #: build/C/man4/mem.4:92
6304 msgid "I</dev/kmem>"
6305 msgstr "I</dev/kmem>"
6306
6307 #. type: Plain text
6308 #: build/C/man4/mem.4:94
6309 msgid "I</dev/port>"
6310 msgstr "I</dev/port>"
6311
6312 #. type: Plain text
6313 #: build/C/man4/mem.4:98
6314 msgid "B<chown>(1), B<mknod>(1), B<ioperm>(2)"
6315 msgstr "B<chown>(1), B<mknod>(1), B<ioperm>(2)"
6316
6317 #. type: TH
6318 #: build/C/man3/mkfifo.3:28
6319 #, no-wrap
6320 msgid "MKFIFO"
6321 msgstr "MKFIFO"
6322
6323 #. type: TH
6324 #: build/C/man3/mkfifo.3:28
6325 #, no-wrap
6326 msgid "2014-03-24"
6327 msgstr "2014-03-24"
6328
6329 #. type: TH
6330 #: build/C/man3/mkfifo.3:28
6331 #, no-wrap
6332 msgid "GNU"
6333 msgstr "GNU"
6334
6335 #. type: Plain text
6336 #: build/C/man3/mkfifo.3:31
6337 msgid "mkfifo, mkfifoat - make a FIFO special file (a named pipe)"
6338 msgstr "mkfifo, mkfifoat - FIFOスペシャルファイル(名前付きパイプ)を作成する"
6339
6340 #. type: Plain text
6341 #: build/C/man3/mkfifo.3:35
6342 #, no-wrap
6343 msgid ""
6344 "B<#include E<lt>sys/types.hE<gt>>\n"
6345 "B<#include E<lt>sys/stat.hE<gt>>\n"
6346 msgstr ""
6347 "B<#include E<lt>sys/types.hE<gt>>\n"
6348 "B<#include E<lt>sys/stat.hE<gt>>\n"
6349
6350 #. type: Plain text
6351 #: build/C/man3/mkfifo.3:37
6352 #, no-wrap
6353 msgid "B<int mkfifo(const char *>I<pathname>B<, mode_t >I<mode>B<);>\n"
6354 msgstr "B<int mkfifo(const char *>I<pathname>B<, mode_t >I<mode>B<);>\n"
6355
6356 #. type: Plain text
6357 #: build/C/man3/mkfifo.3:40 build/C/man2/mknod.2:29
6358 #, no-wrap
6359 msgid ""
6360 "B<#include E<lt>fcntl.hE<gt>           >/* Definition of AT_* constants */\n"
6361 "B<#include E<lt>sys/stat.hE<gt>>\n"
6362 msgstr ""
6363 "B<#include E<lt>fcntl.hE<gt>           >/* AT_* 定数の定義 */\n"
6364 "B<#include E<lt>sys/stat.hE<gt>>\n"
6365
6366 #. type: Plain text
6367 #: build/C/man3/mkfifo.3:42
6368 #, no-wrap
6369 msgid "B<int mkfifoat(int >I<dirfd>B<, const char *>I<pathname>B<, mode_t >I<mode>B<);>\n"
6370 msgstr "B<int mkfifoat(int >I<dirfd>B<, const char *>I<pathname>B<, mode_t >I<mode>B<);>\n"
6371
6372 #. type: Plain text
6373 #: build/C/man3/mkfifo.3:47 build/C/man2/mknod.2:37 build/C/man3/syslog.3:55
6374 msgid "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
6375 msgstr "glibc 向けの機能検査マクロの要件 (B<feature_test_macros>(7)  参照):"
6376
6377 #. type: Plain text
6378 #: build/C/man3/mkfifo.3:50
6379 msgid "B<mkfifoat>():"
6380 msgstr "B<mkfifoat>():"
6381
6382 #. type: TP
6383 #: build/C/man3/mkfifo.3:53
6384 #, no-wrap
6385 msgid "Since glibc 2.10:"
6386 msgstr "glibc 2.10 以降:"
6387
6388 #. type: Plain text
6389 #: build/C/man3/mkfifo.3:56
6390 msgid "_XOPEN_SOURCE\\ E<gt>=\\ 700 || _POSIX_C_SOURCE\\ E<gt>=\\ 200809L"
6391 msgstr "_XOPEN_SOURCE\\ E<gt>=\\ 700 || _POSIX_C_SOURCE\\ E<gt>=\\ 200809L"
6392
6393 #. type: TP
6394 #: build/C/man3/mkfifo.3:56
6395 #, no-wrap
6396 msgid "Before glibc 2.10:"
6397 msgstr "glibc 2.10 より前:"
6398
6399 #. type: Plain text
6400 #: build/C/man3/mkfifo.3:59
6401 msgid "_ATFILE_SOURCE"
6402 msgstr "_ATFILE_SOURCE"
6403
6404 #. type: Plain text
6405 #: build/C/man3/mkfifo.3:69
6406 msgid "B<mkfifo>()  makes a FIFO special file with name I<pathname>.  I<mode> specifies the FIFO's permissions.  It is modified by the process's B<umask> in the usual way: the permissions of the created file are B<(>I<mode>B< & ~umask)>."
6407 msgstr "B<mkfifo>()  は名前 I<pathname> を持つFIFOスペシャルファイルを作成 する。FIFOの許可モードは I<mode> で指定され、プロセスの B<umask> によって通常の方式で変更を受ける: 作成されたファイルの許可 モードは B<(>I<mode>B< & ~umask)> となる。"
6408
6409 #. type: Plain text
6410 #: build/C/man3/mkfifo.3:76
6411 msgid "A FIFO special file is similar to a pipe, except that it is created in a different way.  Instead of being an anonymous communications channel, a FIFO special file is entered into the filesystem by calling B<mkfifo>()."
6412 msgstr "FIFOスペシャルファイルはパイプに似ているが、作成のされ方のみが異なって いる。FIFOスペシャルファイルは名前のない通信路ではなく、 B<mkfifo>()  の呼び出しによりファイルシステムの中に加えられる。"
6413
6414 #. type: Plain text
6415 #: build/C/man3/mkfifo.3:86
6416 msgid "Once you have created a FIFO special file in this way, any process can open it for reading or writing, in the same way as an ordinary file.  However, it has to be open at both ends simultaneously before you can proceed to do any input or output operations on it.  Opening a FIFO for reading normally blocks until some other process opens the same FIFO for writing, and vice versa.  See B<fifo>(7)  for nonblocking handling of FIFO special files."
6417 msgstr "ひとたびこのようにしてFIFOスペシャルファイルが作成されると、通常のファ イルと同じように、どのプロセスからでも読み出し、書き込み用にこれをオー プンすることができる。ただし、これに対する全ての入出力操作に先立って その両端がオープンされている必要がある。FIFOを読み出し用にオープンする と、通常他のプロセスによって同じFIFOが書き込み用にオープンされるまでブ ロックされ、逆の場合も同様である。 FIFOスペシャルファイルをブロックせずに扱う方法については B<fifo>(7)  を参照のこと。"
6418
6419 #. type: SS
6420 #: build/C/man3/mkfifo.3:86
6421 #, no-wrap
6422 msgid "mkfifoat()"
6423 msgstr "mkfifoat()"
6424
6425 #. type: Plain text
6426 #: build/C/man3/mkfifo.3:92
6427 msgid "The B<mkfifoat>()  function operates in exactly the same way as B<mkfifo>(), except for the differences described here."
6428 msgstr "B<mkfifoat>() システムコールは B<mkfifo>() と全く同様に動作するが、以下で説明する点が異なる。"
6429
6430 #. type: Plain text
6431 #: build/C/man3/mkfifo.3:102
6432 msgid "If the pathname given in I<pathname> is relative, then it is interpreted relative to the directory referred to by the file descriptor I<dirfd> (rather than relative to the current working directory of the calling process, as is done by B<mkfifo>()  for a relative pathname)."
6433 msgstr "I<pathname> で指定されたパス名が相対パスの場合、このパス名はファイルディスクリプター I<dirfd> が参照するディレクトリに対する相対パスと解釈される (B<mkfifo>() に相対パス名を渡した場合のように、呼び出したプロセスのカレントワーキングディレクトリに対する相対パスではない)。"
6434
6435 #. type: Plain text
6436 #: build/C/man3/mkfifo.3:114
6437 msgid "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, then I<pathname> is interpreted relative to the current working directory of the calling process (like B<mkfifo>())."
6438 msgstr "I<pathname> で指定されたパス名が相対パスで、 I<dirfd> が特別な値 B<AT_FDCWD> の場合、 (B<mkfifo>() と同様に) I<pathname> は呼び出したプロセスのカレントワーキングディレクトリに対する相対パスと解釈される。"
6439
6440 #. type: Plain text
6441 #: build/C/man3/mkfifo.3:120 build/C/man2/mknod.2:144
6442 msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
6443 msgstr "I<pathname> で指定されたパス名が絶対パスの場合、 I<dirfd> は無視される。"
6444
6445 #. type: Plain text
6446 #: build/C/man3/mkfifo.3:128
6447 msgid "On success B<mkfifo>()  and B<mkfifoat>()  return 0.  In the case of an error, -1 is returned (in which case, I<errno> is set appropriately)."
6448 msgstr "成功した場合 B<mkfifo>() と B<mkfifoat>() は 0 を返す。 エラーの場合 -1 を返す (また I<errno> が適切に設定される)。"
6449
6450 #. type: TP
6451 #: build/C/man3/mkfifo.3:129 build/C/man2/mknod.2:157 build/C/man4/st.4:829
6452 #, no-wrap
6453 msgid "B<EACCES>"
6454 msgstr "B<EACCES>"
6455
6456 #. type: Plain text
6457 #: build/C/man3/mkfifo.3:133
6458 msgid "One of the directories in I<pathname> did not allow search (execute) permission."
6459 msgstr "I<pathname> の中のディレクトリの一つに対し検索(実行)許可がない。"
6460
6461 #. type: TP
6462 #: build/C/man3/mkfifo.3:133 build/C/man2/mknod.2:165
6463 #, no-wrap
6464 msgid "B<EDQUOT>"
6465 msgstr "B<EDQUOT>"
6466
6467 #. type: Plain text
6468 #: build/C/man3/mkfifo.3:137 build/C/man2/mknod.2:169
6469 msgid "The user's quota of disk blocks or inodes on the filesystem has been exhausted."
6470 msgstr "ディスクブロックか inode がそのファイルシステムのユーザークォータに達していた。"
6471
6472 #. type: TP
6473 #: build/C/man3/mkfifo.3:137 build/C/man2/mknod.2:169
6474 #, no-wrap
6475 msgid "B<EEXIST>"
6476 msgstr "B<EEXIST>"
6477
6478 #. type: Plain text
6479 #: build/C/man3/mkfifo.3:143 build/C/man2/mknod.2:176
6480 msgid "I<pathname> already exists.  This includes the case where I<pathname> is a symbolic link, dangling or not."
6481 msgstr "I<pathname> がすでに存在する。 これには I<pathname> がシンボリックリンクである場合も含まれる (シンボリックリンクがリンク切れか (dangling) どうかは関係ない)。"
6482
6483 #. type: TP
6484 #: build/C/man3/mkfifo.3:143 build/C/man2/mknod.2:188
6485 #, no-wrap
6486 msgid "B<ENAMETOOLONG>"
6487 msgstr "B<ENAMETOOLONG>"
6488
6489 #. type: Plain text
6490 #: build/C/man3/mkfifo.3:151
6491 msgid "Either the total length of I<pathname> is greater than B<PATH_MAX>, or an individual filename component has a length greater than B<NAME_MAX>.  In the GNU system, there is no imposed limit on overall filename length, but some filesystems may place limits on the length of a component."
6492 msgstr "I<pathname> の長さが B<PATH_MAX> を超えているか、個々のファイル 名部分の長さが B<NAME_MAX> を超えている。GNUシステムにおいては、ファ イル名の全体の長さに対しては制限は課せられていないが、ファイルシステム によっては各部分の長さに制限のある可能性がある。"
6493
6494 #. type: TP
6495 #: build/C/man3/mkfifo.3:151 build/C/man2/mknod.2:191
6496 #, no-wrap
6497 msgid "B<ENOENT>"
6498 msgstr "B<ENOENT>"
6499
6500 #. type: Plain text
6501 #: build/C/man3/mkfifo.3:155 build/C/man2/mknod.2:196
6502 msgid "A directory component in I<pathname> does not exist or is a dangling symbolic link."
6503 msgstr "I<pathname> 中のディレクトリ部分が存在しない、 もしくはリンク先の無いシンボリックリンクである。"
6504
6505 #. type: TP
6506 #: build/C/man3/mkfifo.3:155 build/C/man2/mknod.2:199 build/C/man4/st.4:857
6507 #, no-wrap
6508 msgid "B<ENOSPC>"
6509 msgstr "B<ENOSPC>"
6510
6511 #. type: Plain text
6512 #: build/C/man3/mkfifo.3:158
6513 msgid "The directory or filesystem has no room for the new file."
6514 msgstr "ディレクトリまたはファイルシステムに新規ファイルを作成する余地がない。"
6515
6516 #. type: TP
6517 #: build/C/man3/mkfifo.3:158 build/C/man3/mkfifo.3:172
6518 #: build/C/man2/mknod.2:204 build/C/man2/mknod.2:234
6519 #, no-wrap
6520 msgid "B<ENOTDIR>"
6521 msgstr "B<ENOTDIR>"
6522
6523 #. type: Plain text
6524 #: build/C/man3/mkfifo.3:162 build/C/man2/mknod.2:209
6525 msgid "A component used as a directory in I<pathname> is not, in fact, a directory."
6526 msgstr "I<pathname> 中のディレクトリ要素が、実際にはディレクトリでない。"
6527
6528 #. type: TP
6529 #: build/C/man3/mkfifo.3:162 build/C/man2/mknod.2:223 build/C/man4/st.4:872
6530 #, no-wrap
6531 msgid "B<EROFS>"
6532 msgstr "B<EROFS>"
6533
6534 #. type: Plain text
6535 #: build/C/man3/mkfifo.3:165
6536 msgid "I<pathname> refers to a read-only filesystem."
6537 msgstr "I<pathname> が読み取り専用のファイルシステムを指している。"
6538
6539 #. type: Plain text
6540 #: build/C/man3/mkfifo.3:168
6541 msgid "The following additional errors can occur for B<mkfifoat>():"
6542 msgstr "B<mkfifoat>() では以下のエラーも発生する。"
6543
6544 #. type: Plain text
6545 #: build/C/man3/mkfifo.3:172 build/C/man2/mknod.2:234
6546 msgid "I<dirfd> is not a valid file descriptor."
6547 msgstr "I<dirfd> が有効なファイルディスクリプターでない。"
6548
6549 #. type: Plain text
6550 #: build/C/man3/mkfifo.3:178
6551 msgid "I<pathname> is a relative path and I<dirfd> is a file descriptor referring to a file other than a directory."
6552 msgstr "I<pathname> が相対パスで、 I<dirfd> がディレクトリ以外のファイルを参照しているファイルディスクリプターである。"
6553
6554 #. type: Plain text
6555 #: build/C/man3/mkfifo.3:184
6556 msgid "B<mkfifoat>()  was added to glibc in version 2.4.  It is implemented using B<mknodat>(2), available on Linux since kernel 2.6.16."
6557 msgstr "B<mkfifoat>() は glibc 2.4 で追加された。これは、カーネル 2.6.16 以降の Linux で利用できる B<mknodat>(2) を使って実装されている。"
6558
6559 #. type: SH
6560 #: build/C/man3/mkfifo.3:184 build/C/man3/stdarg.3:229
6561 #, no-wrap
6562 msgid "ATTRIBUTES"
6563 msgstr "属性"
6564
6565 #. type: SS
6566 #: build/C/man3/mkfifo.3:185 build/C/man3/stdarg.3:230
6567 #, no-wrap
6568 msgid "Multithreading (see pthreads(7))"
6569 msgstr "マルチスレッディング (pthreads(7) 参照)"
6570
6571 #. type: Plain text
6572 #: build/C/man3/mkfifo.3:191
6573 msgid "The B<mkfifo>()  and B<mkfifoat>()  functions are thread-safe."
6574 msgstr "関数 B<mkfifo>() と B<mkfifoat>() はスレッドセーフである。"
6575
6576 #. type: Plain text
6577 #: build/C/man3/mkfifo.3:194
6578 msgid "B<mkfifo>(): POSIX.1-2001, POSIX.1-2008."
6579 msgstr "B<mkfifo>(): POSIX.1-2001, POSIX.1-2008."
6580
6581 #. type: Plain text
6582 #: build/C/man3/mkfifo.3:197
6583 msgid "B<mkfifoat>(): POSIX.1-2008."
6584 msgstr "B<mkfifoat>(): POSIX.1-2008."
6585
6586 #. type: Plain text
6587 #: build/C/man3/mkfifo.3:206
6588 msgid "B<mkfifo>(1), B<close>(2), B<open>(2), B<read>(2), B<stat>(2), B<umask>(2), B<write>(2), B<fifo>(7)"
6589 msgstr "B<mkfifo>(1), B<close>(2), B<open>(2), B<read>(2), B<stat>(2), B<umask>(2), B<write>(2), B<fifo>(7)"
6590
6591 #. type: TH
6592 #: build/C/man2/mknod.2:15
6593 #, no-wrap
6594 msgid "MKNOD"
6595 msgstr "MKNOD"
6596
6597 #. type: TH
6598 #: build/C/man2/mknod.2:15
6599 #, no-wrap
6600 msgid "2014-02-21"
6601 msgstr "2014-02-21"
6602
6603 #. type: Plain text
6604 #: build/C/man2/mknod.2:18
6605 msgid "mknod, mknodat - create a special or ordinary file"
6606 msgstr "mknod, mknodat - 特殊ファイルや通常のファイルを作成する"
6607
6608 #. type: Plain text
6609 #: build/C/man2/mknod.2:24
6610 #, no-wrap
6611 msgid ""
6612 "B<#include E<lt>sys/types.hE<gt>>\n"
6613 "B<#include E<lt>sys/stat.hE<gt>>\n"
6614 "B<#include E<lt>fcntl.hE<gt>>\n"
6615 "B<#include E<lt>unistd.hE<gt>>\n"
6616 msgstr ""
6617 "B<#include E<lt>sys/types.hE<gt>>\n"
6618 "B<#include E<lt>sys/stat.hE<gt>>\n"
6619 "B<#include E<lt>fcntl.hE<gt>>\n"
6620 "B<#include E<lt>unistd.hE<gt>>\n"
6621
6622 #. type: Plain text
6623 #: build/C/man2/mknod.2:26
6624 #, no-wrap
6625 msgid "B<int mknod(const char *>I<pathname>B<, mode_t >I<mode>B<, dev_t >I<dev>B<);>\n"
6626 msgstr "B<int mknod(const char *>I<pathname>B<, mode_t >I<mode>B<, dev_t >I<dev>B<);>\n"
6627
6628 #. type: Plain text
6629 #: build/C/man2/mknod.2:32
6630 #, no-wrap
6631 msgid "B<int mknodat(int >I<dirfd>B<, const char *>I<pathname>B<, mode_t >I<mode>B<, dev_t >I<dev>B<);>\n"
6632 msgstr "B<int mknodat(int >I<dirfd>B<, const char *>I<pathname>B<, mode_t >I<mode>B<, dev_t >I<dev>B<);>\n"
6633
6634 #. type: Plain text
6635 #: build/C/man2/mknod.2:40
6636 msgid "B<mknod>():"
6637 msgstr "B<mknod>():"
6638
6639 #. type: Plain text
6640 #: build/C/man2/mknod.2:44
6641 msgid "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500 || _XOPEN_SOURCE\\ &&\\ _XOPEN_SOURCE_EXTENDED"
6642 msgstr "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500 || _XOPEN_SOURCE\\ &&\\ _XOPEN_SOURCE_EXTENDED"
6643
6644 #. type: Plain text
6645 #: build/C/man2/mknod.2:56
6646 msgid "The system call B<mknod>()  creates a filesystem node (file, device special file, or named pipe) named I<pathname>, with attributes specified by I<mode> and I<dev>."
6647 msgstr "システムコール B<mknod>()  は I<pathname> という名前のファイルシステムノード (ファイル、デバイススペシャルファイル、名前付きパイプ) を、 属性 I<mode> と I<dev> の指定にしたがって作成する。"
6648
6649 #. type: Plain text
6650 #: build/C/man2/mknod.2:63
6651 msgid "The I<mode> argument specifies both the permissions to use and the type of node to be created.  It should be a combination (using bitwise OR) of one of the file types listed below and the permissions for the new node."
6652 msgstr "I<mode> 引き数には、作成するノードの許可属性 (permission) とタイプを指定する。 I<mode> の指定は以下にあげるファイルタイプのうちの 1 つと、 許可属性の組合せ (ビットごとの OR を使用) で行う。"
6653
6654 #. type: Plain text
6655 #: build/C/man2/mknod.2:68
6656 msgid "The permissions are modified by the process's I<umask> in the usual way: the permissions of the created node are I<(mode & ~umask)>."
6657 msgstr "許可属性は通常通り、プロセスの I<umask> によって修正され、作成されたノードの許可属性は I<(mode & ~umask)> となる。"
6658
6659 #.  (S_IFSOCK since Linux 1.2.4)
6660 #. type: Plain text
6661 #: build/C/man2/mknod.2:82
6662 msgid "The file type must be one of B<S_IFREG>, B<S_IFCHR>, B<S_IFBLK>, B<S_IFIFO>, or B<S_IFSOCK> to specify a regular file (which will be created empty), character special file, block special file, FIFO (named pipe), or UNIX domain socket, respectively.  (Zero file type is equivalent to type B<S_IFREG>.)"
6663 msgstr "ファイルタイプには B<S_IFREG>, B<S_IFCHR>, B<S_IFBLK>, B<S_IFIFO>, B<S_IFSOCK> のいずれかを指定しなければならない。 それぞれ順に、通常のファイル (空のファイルとして作成される)・ キャラクタスペシャルファイル・ブロックスペシャルファイル・ FIFO (名前付きパイプ)・UNIX ドメインソケットである (ファイルタイプ 0 は B<S_IFREG> と同じである)。"
6664
6665 #. type: Plain text
6666 #: build/C/man2/mknod.2:95
6667 msgid "If the file type is B<S_IFCHR> or B<S_IFBLK>, then I<dev> specifies the major and minor numbers of the newly created device special file (B<makedev>(3)  may be useful to build the value for I<dev>); otherwise it is ignored."
6668 msgstr "ファイルタイプが B<S_IFCHR> または B<S_IFBLK> のとき、 I<dev> には作成するデバイススペシャルファイルのメジャー番号と マイナー番号を指定する (B<makedev>(3)  は I<dev> のこれらの番号を作成する際に役立つだろう)。 それ以外の場合は I<dev> は無視される。"
6669
6670 #. type: Plain text
6671 #: build/C/man2/mknod.2:101
6672 msgid "If I<pathname> already exists, or is a symbolic link, this call fails with an B<EEXIST> error."
6673 msgstr "I<pathname> が既に存在する場合、またはシンボリックリンクの場合、 この呼び出しは B<EEXIST> エラーで失敗する。"
6674
6675 #. type: Plain text
6676 #: build/C/man2/mknod.2:110
6677 msgid "The newly created node will be owned by the effective user ID of the process.  If the directory containing the node has the set-group-ID bit set, or if the filesystem is mounted with BSD group semantics, the new node will inherit the group ownership from its parent directory; otherwise it will be owned by the effective group ID of the process."
6678 msgstr "新しく作成されたノードの所有者はプロセスの実効ユーザー ID にセットされる。 新たに作られたノードを保持する 親ディレクトリの set-group-ID ビットがセットされていたり、 ファイルシステムが BSD のグループセマンティクスにしたがって マウントされている場合には、新しいノードのグループ所有権は親ディレクトリの グループ所有権を継承する (親ディレクトリと同じになる)。 また、そうでなかった場合の所有グループはプロセスの実効グループ ID となる。"
6679
6680 #. type: SS
6681 #: build/C/man2/mknod.2:110
6682 #, no-wrap
6683 msgid "mknodat()"
6684 msgstr "mknodat()"
6685
6686 #. type: Plain text
6687 #: build/C/man2/mknod.2:116
6688 msgid "The B<mknodat>()  system call operates in exactly the same way as B<mknod>(2), except for the differences described here."
6689 msgstr "B<mknodat>() システムコールは B<mknod>() と全く同様に動作するが、以下で説明する点が異なる。"
6690
6691 #. type: Plain text
6692 #: build/C/man2/mknod.2:126
6693 msgid "If the pathname given in I<pathname> is relative, then it is interpreted relative to the directory referred to by the file descriptor I<dirfd> (rather than relative to the current working directory of the calling process, as is done by B<mknod>(2)  for a relative pathname)."
6694 msgstr "I<pathname> で指定されたパス名が相対パスの場合、このパス名はファイルディスクリプター I<dirfd> が参照するディレクトリに対する相対パスと解釈される (B<mknod>() に相対パス名を渡した場合のように、呼び出したプロセスのカレントワーキングディレクトリに対する相対パスではない)。"
6695
6696 #. type: Plain text
6697 #: build/C/man2/mknod.2:138
6698 msgid "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, then I<pathname> is interpreted relative to the current working directory of the calling process (like B<mknod>(2))."
6699 msgstr "I<pathname> で指定されたパス名が相対パスで、 I<dirfd> が特別な値 B<AT_FDCWD> の場合、 (B<mknod>() と同様に) I<pathname> は呼び出したプロセスのカレントワーキングディレクトリに対する相対パスと解釈される。"
6700
6701 #. type: Plain text
6702 #: build/C/man2/mknod.2:149
6703 msgid "See B<openat>(2)  for an explanation of the need for B<mknodat>()."
6704 msgstr "B<mknodat>() の必要性についての説明については B<openat>(2) を参照。"
6705
6706 #. type: Plain text
6707 #: build/C/man2/mknod.2:156
6708 msgid "B<mknod>()  and B<mknodat>()  return zero on success, or -1 if an error occurred (in which case, I<errno> is set appropriately)."
6709 msgstr "B<mknod>() と B<mknodat>() は成功した場合 0 を、失敗した場合 -1 を返す (失敗した場合 I<errno> がエラーの内容にしたがってセットされる)。"
6710
6711 #. type: Plain text
6712 #: build/C/man2/mknod.2:165
6713 msgid "The parent directory does not allow write permission to the process, or one of the directories in the path prefix of I<pathname> did not allow search permission.  (See also B<path_resolution>(7).)"
6714 msgstr "プロセスが親ディレクトリへの書き込み許可を持たない。 もしくはパス名 I<pathname> 中のディレクトリ部分のどれかに検索許可属性が無い (B<path_resolution>(7)  も参照すること)。"
6715
6716 #. type: TP
6717 #: build/C/man2/mknod.2:176 build/C/man4/st.4:838
6718 #, no-wrap
6719 msgid "B<EFAULT>"
6720 msgstr "B<EFAULT>"
6721
6722 #. type: Plain text
6723 #: build/C/man2/mknod.2:179
6724 msgid "I<pathname> points outside your accessible address space."
6725 msgstr "I<pathname> がそのプロセスのアクセス可能なアドレス空間の外を指している。"
6726
6727 #. type: Plain text
6728 #: build/C/man2/mknod.2:184
6729 msgid "I<mode> requested creation of something other than a regular file, device special file, FIFO or socket."
6730 msgstr "I<mode> が通常のファイル・デバイススペシャルファイル・FIFO・ソケット以外を 作成するようにセットされている。"
6731
6732 #. type: TP
6733 #: build/C/man2/mknod.2:184
6734 #, no-wrap
6735 msgid "B<ELOOP>"
6736 msgstr "B<ELOOP>"
6737
6738 #. type: Plain text
6739 #: build/C/man2/mknod.2:188
6740 msgid "Too many symbolic links were encountered in resolving I<pathname>."
6741 msgstr "パス名 I<pathname> を解決するときに、含まれているシンボリックリンクが多すぎた。"
6742
6743 #. type: Plain text
6744 #: build/C/man2/mknod.2:191
6745 msgid "I<pathname> was too long."
6746 msgstr "I<pathname> が長過ぎる。"
6747
6748 #. type: TP
6749 #: build/C/man2/mknod.2:196 build/C/man4/st.4:850
6750 #, no-wrap
6751 msgid "B<ENOMEM>"
6752 msgstr "B<ENOMEM>"
6753
6754 #. type: Plain text
6755 #: build/C/man2/mknod.2:199
6756 msgid "Insufficient kernel memory was available."
6757 msgstr "十分なカーネルメモリが無い。"
6758
6759 #. type: Plain text
6760 #: build/C/man2/mknod.2:204
6761 msgid "The device containing I<pathname> has no room for the new node."
6762 msgstr "I<pathname> のあるデバイスに新たにノードを作成する空きが無い。"
6763
6764 #.  For UNIX domain sockets and regular files, EPERM is returned only in
6765 #.  Linux 2.2 and earlier; in Linux 2.4 and later, unprivileged can
6766 #.  use mknod() to make these files.
6767 #. type: Plain text
6768 #: build/C/man2/mknod.2:223
6769 msgid "I<mode> requested creation of something other than a regular file, FIFO (named pipe), or UNIX domain socket, and the caller is not privileged (Linux: does not have the B<CAP_MKNOD> capability); also returned if the filesystem containing I<pathname> does not support the type of node requested."
6770 msgstr "I<mode> は通常のファイル・FIFO (名前付きパイプ)・UNIX ドメインソケット以外を 作成するようにセットされているが、実行者が特権 (Linux では B<CAP_MKNOD> ケーパビリティ (capability)) を持っていない。 または I<pathname> を保持するファイルシステムが、指定されたノード形式をサポートしていない。"
6771
6772 #. type: Plain text
6773 #: build/C/man2/mknod.2:227
6774 msgid "I<pathname> refers to a file on a read-only filesystem."
6775 msgstr "I<pathname> が読み出し専用ファイルシステム上のファイルを指している。"
6776
6777 #. type: Plain text
6778 #: build/C/man2/mknod.2:230
6779 msgid "The following additional errors can occur for B<mknodat>():"
6780 msgstr "B<mknodat>() では以下のエラーも発生する。"
6781
6782 #. type: Plain text
6783 #: build/C/man2/mknod.2:240
6784 msgid "I<pathname> is relative and I<dirfd> is a file descriptor referring to a file other than a directory."
6785 msgstr "I<pathname> が相対パスで、 I<dirfd> がディレクトリ以外のファイルを参照しているファイルディスクリプターである。"
6786
6787 #. type: Plain text
6788 #: build/C/man2/mknod.2:244
6789 msgid "B<mknodat>()  was added to Linux in kernel 2.6.16; library support was added to glibc in version 2.4."
6790 msgstr "B<mknodat>()  はカーネル 2.6.16 で Linux に追加された。 ライブラリによるサポートはバージョン 2.4 で glibc に追加された。"
6791
6792 #.  The Linux version differs from the SVr4 version in that it
6793 #.  does not require root permission to create pipes, also in that no
6794 #.  EMULTIHOP, ENOLINK, or EINTR error is documented.
6795 #. type: Plain text
6796 #: build/C/man2/mknod.2:250
6797 msgid "B<mknod>(): SVr4, 4.4BSD, POSIX.1-2001 (but see below), POSIX.1-2008."
6798 msgstr "B<mknod>(): SVr4, 4.4BSD, POSIX.1-2001 (下記も参照), POSIX.1-2008."
6799
6800 #. type: Plain text
6801 #: build/C/man2/mknod.2:253
6802 msgid "B<mknodat>(): POSIX.1-2008."
6803 msgstr "B<mknodat>(): POSIX.1-2008."
6804
6805 #. type: Plain text
6806 #: build/C/man2/mknod.2:271
6807 msgid "POSIX.1-2001 says: \"The only portable use of B<mknod>()  is to create a FIFO-special file.  If I<mode> is not B<S_IFIFO> or I<dev> is not 0, the behavior of B<mknod>()  is unspecified.\" However, nowadays one should never use B<mknod>()  for this purpose; one should use B<mkfifo>(3), a function especially defined for this purpose."
6808 msgstr "POSIX.1-2001 では次のように書いている: 「B<mknod>()  の唯一の移植性のある使用法は、FIFO スペシャルファイルを作成することである。 I<mode> が B<S_IFIFO> ではない場合、または I<dev> が 0 ではない場合、 B<mknod>()  の挙動は規定されていない。」 しかしながら、現在ではこの目的のために B<mknod>()  を使用すべきではない。この目的のために特別に定義された関数である B<mkfifo>()  を使用すべきである。"
6809
6810 #.  and one should make UNIX domain sockets with socket(2) and bind(2).
6811 #. type: Plain text
6812 #: build/C/man2/mknod.2:278
6813 msgid "Under Linux, B<mknod>()  cannot be used to create directories.  One should make directories with B<mkdir>(2)."
6814 msgstr "Linux では、ディレクトリを作成するために B<mknod>() を使用することはできない。 ディレクトリは B<mkdir>(2)  で作成すべきである。"
6815
6816 #. type: Plain text
6817 #: build/C/man2/mknod.2:284
6818 msgid "There are many infelicities in the protocol underlying NFS.  Some of these affect B<mknod>()  and B<mknodat>(2)."
6819 msgstr "NFS を実現しているプロトコルには多くの不備が存在し、 それらのいくつかは B<mknod>() と B<mknodat>() に影響を与える。"
6820
6821 #. type: Plain text
6822 #: build/C/man2/mknod.2:297
6823 msgid "B<chmod>(2), B<chown>(2), B<fcntl>(2), B<mkdir>(2), B<mount>(2), B<socket>(2), B<stat>(2), B<umask>(2), B<unlink>(2), B<makedev>(3), B<mkfifo>(3), B<path_resolution>(7)"
6824 msgstr "B<chmod>(2), B<chown>(2), B<fcntl>(2), B<mkdir>(2), B<mknodat>(2), B<mount>(2), B<socket>(2), B<stat>(2), B<umask>(2), B<unlink>(2), B<makedev>(3), B<mkfifo>(3), B<path_resolution>(7)"
6825
6826 #. type: TH
6827 #: build/C/man4/mouse.4:26
6828 #, no-wrap
6829 msgid "MOUSE"
6830 msgstr "MOUSE"
6831
6832 #. type: TH
6833 #: build/C/man4/mouse.4:26
6834 #, no-wrap
6835 msgid "1996-02-10"
6836 msgstr "1996-02-10"
6837
6838 #. type: Plain text
6839 #: build/C/man4/mouse.4:29
6840 msgid "mouse - serial mouse interface"
6841 msgstr "mouse - シリアルマウスインターフェース"
6842
6843 #. type: Plain text
6844 #: build/C/man4/mouse.4:33
6845 msgid "Serial mice are connected to a serial RS232/V24 dialout line, see B<ttyS>(4)  for a description."
6846 msgstr "シリアルマウスは RS232/V24 ダイアルアウトラインに接続される。 RS232/V24 ダイアルアウトライン については B<ttyS>(4)  を参照のこと。"
6847
6848 #. type: SS
6849 #: build/C/man4/mouse.4:34
6850 #, no-wrap
6851 msgid "Introduction"
6852 msgstr "概説"
6853
6854 #. type: Plain text
6855 #: build/C/man4/mouse.4:36
6856 msgid "The pinout of the usual 9 pin plug as used for serial mice is:"
6857 msgstr "シリアルマウスで使われる普通の 9 ピンプラグのピン配列は以下である:"
6858
6859 #. type: tbl table
6860 #: build/C/man4/mouse.4:39
6861 #, no-wrap
6862 msgid "pin\tname\tused for\n"
6863 msgstr "pin\tname\tused for\n"
6864
6865 #. type: tbl table
6866 #: build/C/man4/mouse.4:40
6867 #, no-wrap
6868 msgid "2\tRX\tData\n"
6869 msgstr "2\tRX\tData\n"
6870
6871 #. type: tbl table
6872 #: build/C/man4/mouse.4:41
6873 #, no-wrap
6874 msgid "3\tTX\t-12 V, Imax = 10 mA\n"
6875 msgstr "3\tTX\t-12 V, Imax = 10 mA\n"
6876
6877 #. type: tbl table
6878 #: build/C/man4/mouse.4:42
6879 #, no-wrap
6880 msgid "4\tDTR\t+12 V, Imax = 10 mA\n"
6881 msgstr "4\tDTR\t+12 V, Imax = 10 mA\n"
6882
6883 #. type: tbl table
6884 #: build/C/man4/mouse.4:43
6885 #, no-wrap
6886 msgid "7\tRTS\t+12 V, Imax = 10 mA\n"
6887 msgstr "7\tRTS\t+12 V, Imax = 10 mA\n"
6888
6889 #. type: tbl table
6890 #: build/C/man4/mouse.4:44
6891 #, no-wrap
6892 msgid "5\tGND\tGround\n"
6893 msgstr "5\tGND\tGround\n"
6894
6895 #. type: Plain text
6896 #: build/C/man4/mouse.4:48
6897 msgid "This is the specification, in fact 9 V suffices with most mice."
6898 msgstr "これは仕様書であり、実際はほとんどのマウスでは 9 V で十分である。"
6899
6900 #. type: Plain text
6901 #: build/C/man4/mouse.4:54
6902 msgid "The mouse driver can recognize a mouse by dropping RTS to low and raising it again.  About 14 ms later the mouse will send 0x4D (\\(aqM\\(aq) on the data line.  After a further 63 ms, a Microsoft-compatible 3-button mouse will send 0x33 (\\(aq3\\(aq)."
6903 msgstr "マウスドライバは RTS をロー(low)に落し、再び上げることによって、マウスを認識でき る。およそ 14 ms 後、マウスはデータライン上に 0x4D (\\(aqM\\(aq) を送るだろう。さら に 63ms あと、マイクロソフト互換 3ボタンマウスは 0x33 (\\(aq3\\(aq) を送る。"
6904
6905 #. type: Plain text
6906 #: build/C/man4/mouse.4:66
6907 msgid "The relative mouse movement is sent as I<dx> (positive means right)  and I<dy> (positive means down).  Various mice can operate at different speeds.  To select speeds, cycle through the speeds 9600, 4800, 2400, and 1200 bit/s, each time writing the two characters from the table below and waiting 0.1 seconds.  The following table shows available speeds and the strings that select them:"
6908 msgstr "マウスの相対的な移動は、I<dx>(正が右)とI<dy>(正が下)として伝えられる。 各種のマウスは異なったスピードで操作できる。スピードを選択するには、 下の表の2文字を送ってから 0.1 秒待つことで、9600, 4800, 2400, 1200 bit/s を順に選べる。 以下の表では選択可能なスピードとそれを選択するための文字列を示している。"
6909
6910 #. type: tbl table
6911 #: build/C/man4/mouse.4:69
6912 #, no-wrap
6913 msgid "bit/s\tstring\n"
6914 msgstr "bit/s\tstring\n"
6915
6916 #. type: tbl table
6917 #: build/C/man4/mouse.4:70
6918 #, no-wrap
6919 msgid "9600\t*q\n"
6920 msgstr "9600\t*q\n"
6921
6922 #. type: tbl table
6923 #: build/C/man4/mouse.4:71
6924 #, no-wrap
6925 msgid "4800\t*p\n"
6926 msgstr "4800\t*p\n"
6927
6928 #. type: tbl table
6929 #: build/C/man4/mouse.4:72
6930 #, no-wrap
6931 msgid "2400\t*o\n"
6932 msgstr "2400\t*o\n"
6933
6934 #. type: tbl table
6935 #: build/C/man4/mouse.4:73
6936 #, no-wrap
6937 msgid "1200\t*n\n"
6938 msgstr "1200\t*n\n"
6939
6940 #. type: Plain text
6941 #: build/C/man4/mouse.4:77
6942 msgid "The first byte of a data packet can be used to synchronization purposes."
6943 msgstr "データパケットの第 1 バイトは同期をとるのに利用できる。"
6944
6945 #. type: SS
6946 #: build/C/man4/mouse.4:77
6947 #, no-wrap
6948 msgid "Microsoft protocol"
6949 msgstr "マイクロソフト プロトコル(Microsoft Protocol)"
6950
6951 #. type: Plain text
6952 #: build/C/man4/mouse.4:93
6953 msgid "The B<Microsoft> protocol uses 1 start bit, 7 data bits, no parity and one stop bit at the speed of 1200 bits/sec.  Data is sent to RxD in 3-byte packets.  The I<dx> and I<dy> movements are sent as two's-complement, I<lb> (I<rb>)  are set when the left (right)  button is pressed:"
6954 msgstr "B<マイクロソフト>プロトコルは、1200 bits/sec のスピードで、1 ス タートビット(1 start bit)、7 データビット(7 data bits)、パリティな し、1 ストップビット(1 stop bit)である。 データは RxD に 3 バイトのパケットとして送られる。I<dx> と I<dy> の動きは 2 の補数表示で送られ、左(右)のボタンが押された時には I<lb> (I<rb>)がセットされる。"
6955
6956 #. type: tbl table
6957 #: build/C/man4/mouse.4:96
6958 #, no-wrap
6959 msgid "byte\td6\td5\td4\td3\td2\td1\td0\n"
6960 msgstr "byte\td6\td5\td4\td3\td2\td1\td0\n"
6961
6962 #. type: tbl table
6963 #: build/C/man4/mouse.4:97
6964 #, no-wrap
6965 msgid "1\t1\tlb\trb\tdy7\tdy6\tdx7\tdx6\n"
6966 msgstr "1\t1\tlb\trb\tdy7\tdy6\tdx7\tdx6\n"
6967
6968 #. type: tbl table
6969 #: build/C/man4/mouse.4:98
6970 #, no-wrap
6971 msgid "2\t0\tdx5\tdx4\tdx3\tdx2\tdx1\tdx0\n"
6972 msgstr "2\t0\tdx5\tdx4\tdx3\tdx2\tdx1\tdx0\n"
6973
6974 #. type: tbl table
6975 #: build/C/man4/mouse.4:99
6976 #, no-wrap
6977 msgid "3\t0\tdy5\tdy4\tdy3\tdy2\tdy1\tdy0\n"
6978 msgstr "3\t0\tdy5\tdy4\tdy3\tdy2\tdy1\tdy0\n"
6979
6980 #. type: SS
6981 #: build/C/man4/mouse.4:101
6982 #, no-wrap
6983 msgid "3-button Microsoft protocol"
6984 msgstr "3つボタン マイクロソフト プロトコル(3-button Microsoft protocol)"
6985
6986 #. type: Plain text
6987 #: build/C/man4/mouse.4:110
6988 msgid "Original Microsoft mice only have two buttons.  However, there are some three button mice which also use the Microsoft protocol.  Pressing or releasing the middle button is reported by sending a packet with zero movement and no buttons pressed.  (Thus, unlike for the other two buttons, the status of the middle button is not reported in each packet.)"
6989 msgstr "本来のマイクロソフトマウスは 2 つのボタンしか持たない。しかし、3 つボタン のマウスでマイクロソフトプロトコルの物も存在する。真中のボタンを押す、 または放すということは、動きゼロでボタンが押されていないというパケット を送ることで伝えられる。(従って他の二つのボタンと違い、真中のボタ ンのステータスは、それぞれのパケットからは伝わって来ない。)"
6990
6991 #. type: SS
6992 #: build/C/man4/mouse.4:110
6993 #, no-wrap
6994 msgid "Logitech protocol"
6995 msgstr "ロジテック プロトコル(Logitech protocol)"
6996
6997 #. type: Plain text
6998 #: build/C/man4/mouse.4:119
6999 msgid "Logitech serial 3-button mice use a different extension of the Microsoft protocol: when the middle button is up, the above 3-byte packet is sent.  When the middle button is down a 4-byte packet is sent, where the 4th byte has value 0x20 (or at least has the 0x20 bit set).  In particular, a press of the middle button is reported as 0,0,0,0x20 when no other buttons are down."
7000 msgstr "ロジテック シリアル 3つボタンマウスは、マイクロソフト プロトコルとは 異なった拡張をしている。:真中のボタンが押されてないと、上記 3バイトの パケットが送られる。真中のボタンが押されていると、4バイトのパケットが 送られる。第4バイトは 0x20 の値を持っている(あるいは、少なくとも 0x20 ビットがセットされている)。 但し、他のボタンが押されていない状態で、 真中のボタンが押されると、0,0,0,0x20 と伝えられる。"
7001
7002 #. type: SS
7003 #: build/C/man4/mouse.4:119
7004 #, no-wrap
7005 msgid "Mousesystems protocol"
7006 msgstr "マウスシステムズ プロトコル(Mousesystems protocol)"
7007
7008 #. type: Plain text
7009 #: build/C/man4/mouse.4:137
7010 msgid "The B<Mousesystems> protocol uses 1 start bit, 8 data bits, no parity and two stop bits at the speed of 1200 bits/sec.  Data is sent to RxD in 5-byte packets.  I<dx> is sent as the sum of the two two's-complement values, I<dy> is send as negated sum of the two two's-complement values.  I<lb> (I<mb>, I<rb>)  are cleared when the left (middle, right) button is pressed:"
7011 msgstr "B<マウスシステムズ>プロトコルは、1200 bits/secで、1 スタートビット、 8 データビット、パリティなし、2 ストップビットである。 データは、RxD に 5 バイトのパケットとして送られる。I<dx> は 2 つの 2 の補数の和として送られ、I<dy> は 2 つの 2 の補数の和の否定 として送られる。左(中、右)のボタンが押された時にはI<lb> (I<mb>, I<rb>) がクリアされる。"
7012
7013 #. type: tbl table
7014 #: build/C/man4/mouse.4:140 build/C/man4/mouse.4:175
7015 #, no-wrap
7016 msgid "byte\td7\td6\td5\td4\td3\td2\td1\td0\n"
7017 msgstr "byte\td7\td6\td5\td4\td3\td2\td1\td0\n"
7018
7019 #. type: tbl table
7020 #: build/C/man4/mouse.4:141
7021 #, no-wrap
7022 msgid "1\t1\t0\t0\t0\t0\tlb\tmb\trb\n"
7023 msgstr "1\t1\t0\t0\t0\t0\tlb\tmb\trb\n"
7024
7025 #. type: tbl table
7026 #: build/C/man4/mouse.4:142
7027 #, no-wrap
7028 msgid "2\t0\tdxa6\tdxa5\tdxa4\tdxa3\tdxa2\tdxa1\tdxa0\n"
7029 msgstr "2\t0\tdxa6\tdxa5\tdxa4\tdxa3\tdxa2\tdxa1\tdxa0\n"
7030
7031 #. type: tbl table
7032 #: build/C/man4/mouse.4:143
7033 #, no-wrap
7034 msgid "3\t0\tdya6\tdya5\tdya4\tdya3\tdya2\tdya1\tdya0\n"
7035 msgstr "3\t0\tdya6\tdya5\tdya4\tdya3\tdya2\tdya1\tdya0\n"
7036
7037 #. type: tbl table
7038 #: build/C/man4/mouse.4:144
7039 #, no-wrap
7040 msgid "4\t0\tdxb6\tdxb5\tdxb4\tdxb3\tdxb2\tdxb1\tdxb0\n"
7041 msgstr "4\t0\tdxb6\tdxb5\tdxb4\tdxb3\tdxb2\tdxb1\tdxb0\n"
7042
7043 #. type: tbl table
7044 #: build/C/man4/mouse.4:145
7045 #, no-wrap
7046 msgid "5\t0\tdyb6\tdyb5\tdyb4\tdyb3\tdyb2\tdyb1\tdyb0\n"
7047 msgstr "5\t0\tdyb6\tdyb5\tdyb4\tdyb3\tdyb2\tdyb1\tdyb0\n"
7048
7049 #. type: Plain text
7050 #: build/C/man4/mouse.4:150
7051 msgid "Bytes 4 and 5 describe the change that occurred since bytes 2 and 3 were transmitted."
7052 msgstr "第 4,5 バイトには、第 2,3 バイトが送られたあと生じた変更が記述される。"
7053
7054 #. type: SS
7055 #: build/C/man4/mouse.4:150
7056 #, no-wrap
7057 msgid "Sun protocol"
7058 msgstr "サン プロトコル(Sun protocol)"
7059
7060 #. type: Plain text
7061 #: build/C/man4/mouse.4:155
7062 msgid "The B<Sun> protocol is the 3-byte version of the above 5-byte Mousesystems protocol: the last two bytes are not sent."
7063 msgstr "B<サン> プロトコルは、上記の 5 バイト マウスシステムプロトコルの 3 バイト版です。後の 2 バイトは送られません。"
7064
7065 #. type: SS
7066 #: build/C/man4/mouse.4:155
7067 #, no-wrap
7068 msgid "MM protocol"
7069 msgstr "MM プロトコル(MM protocol)"
7070
7071 #. type: Plain text
7072 #: build/C/man4/mouse.4:172
7073 msgid "The B<MM> protocol uses 1 start bit, 8 data bits, odd parity and one stop bit at the speed of 1200 bits/sec.  Data is sent to RxD in 3-byte packets.  I<dx> and I<dy> are sent as single signed values, the sign bit indicating a negative value.  I<lb> (I<mb>, I<rb>)  are set when the left (middle, right) button is pressed:"
7074 msgstr "B<MM> プロトコルは 1200 bits/sec で 1 スタートビット、8 データビッ ト、奇数パリティ、 1 ストップビットを使う。データは RxD に 3 バイトのパ ケットとして送られる。I<dx> と I<dy> は一つの符号つきの値として 送られ、サインビットは負の値を表す。左(中、右)のボタンが押された時には I<lb> (I<mb>, I<rb>)がセットされる。"
7075
7076 #. type: tbl table
7077 #: build/C/man4/mouse.4:176
7078 #, no-wrap
7079 msgid "1\t1\t0\t0\tdxs\tdys\tlb\tmb\trb\n"
7080 msgstr "1\t1\t0\t0\tdxs\tdys\tlb\tmb\trb\n"
7081
7082 #. type: tbl table
7083 #: build/C/man4/mouse.4:177
7084 #, no-wrap
7085 msgid "2\t0\tdx6\tdx5\tdx4\tdx3\tdx2\tdx1\tdx0\n"
7086 msgstr "2\t0\tdx6\tdx5\tdx4\tdx3\tdx2\tdx1\tdx0\n"
7087
7088 #. type: tbl table
7089 #: build/C/man4/mouse.4:178
7090 #, no-wrap
7091 msgid "3\t0\tdy6\tdy5\tdy4\tdy3\tdy2\tdy1\tdy0\n"
7092 msgstr "3\t0\tdy6\tdy5\tdy4\tdy3\tdy2\tdy1\tdy0\n"
7093
7094 #. type: TP
7095 #: build/C/man4/mouse.4:181
7096 #, no-wrap
7097 msgid "I</dev/mouse>"
7098 msgstr "I</dev/mouse>"
7099
7100 #. type: Plain text
7101 #: build/C/man4/mouse.4:184
7102 msgid "A commonly used symlink pointing to a mouse device."
7103 msgstr "一般的にマウスデバイスをさすのに使われるシンボリックリンク"
7104
7105 #. type: Plain text
7106 #: build/C/man4/mouse.4:187
7107 msgid "B<ttyS>(4), B<gpm>(8)"
7108 msgstr "B<ttyS>(4), B<gpm>(8)"
7109
7110 #. type: TH
7111 #: build/C/man4/msr.4:26
7112 #, no-wrap
7113 msgid "MSR"
7114 msgstr "MSR"
7115
7116 #. type: Plain text
7117 #: build/C/man4/msr.4:29
7118 msgid "msr - x86 CPU MSR access device"
7119 msgstr "msr - x86 CPU MSR へアクセスするためのデバイス"
7120
7121 #. type: Plain text
7122 #: build/C/man4/msr.4:36
7123 msgid "I</dev/cpu/CPUNUM/msr> provides an interface to read and write the model-specific registers (MSRs) of an x86 CPU.  I<CPUNUM> is the number of the CPU to access as listed in I</proc/cpuinfo>."
7124 msgstr "I</dev/cpu/CPUNUM/msr> は x86 CPU の モデル固有レジスタ (model-specific registers; MSRs) の読み書きインターフェースを提供する。 I<CPUNUM> はアクセスする CPU の番号で、 I</proc/cpuinfo> に表示される値である。"
7125
7126 #. type: Plain text
7127 #: build/C/man4/msr.4:42
7128 msgid "The register access is done by opening the file and seeking to the MSR number as offset in the file, and then reading or writing in chunks of 8 bytes.  An I/O transfer of more than 8 bytes means multiple reads or writes of the same register."
7129 msgstr "レジスタアクセスは、 ファイルをオープンし、 MSR 番号分だけファイルのオフセットを変更し、 8 バイト単位での読み書きを行う形で行われる。 つまり、 8 バイトを超える I/O 転送は、同じレジスタに対する複数回の読み書きとなる。"
7130
7131 #. type: Plain text
7132 #: build/C/man4/msr.4:47
7133 msgid "This file is protected so that it can be read and written only by the user I<root>, or members of the group I<root>."
7134 msgstr "このファイルは保護されており、 I<root> ユーザー、もしくは I<root> グループのメンバだけが読み書きできる。"
7135
7136 #. type: Plain text
7137 #: build/C/man4/msr.4:53
7138 msgid "The I<msr> driver is not auto-loaded.  On modular kernels you might need to use the following command to load it explicitly before use:"
7139 msgstr "I<msr> ドライバは自動ではロードされない。 モジュールが有効になったカーネルでは、 以下のコマンドを使って、 使用する前に明示的にドライバをロードする必要があるだろう。"
7140
7141 #. type: Plain text
7142 #: build/C/man4/msr.4:55
7143 #, no-wrap
7144 msgid "    $ I<modprobe msr>\n"
7145 msgstr "    $ I<modprobe msr>\n"
7146
7147 #. type: Plain text
7148 #: build/C/man4/msr.4:59
7149 msgid "Intel Corporation Intel 64 and IA-32 Architectures Software Developer's Manual Volume 3B Appendix B, for an overview of the Intel CPU MSRs."
7150 msgstr "Intel CPU MSR の概要については Intel Corporation Intel 64 and IA-32 Architectures Software Developer's Manual Volume 3B Appendix B を参照。"
7151
7152 #. type: TH
7153 #: build/C/man4/null.4:26
7154 #, no-wrap
7155 msgid "NULL"
7156 msgstr "NULL"
7157
7158 #. type: TH
7159 #: build/C/man4/null.4:26
7160 #, no-wrap
7161 msgid "2009-02-23"
7162 msgstr "2009-02-23"
7163
7164 #. type: Plain text
7165 #: build/C/man4/null.4:29
7166 msgid "null, zero - data sink"
7167 msgstr "null, zero - データの掃きだめ"
7168
7169 #. type: Plain text
7170 #: build/C/man4/null.4:35
7171 msgid "Data written to a B<null> or B<zero> special file is discarded."
7172 msgstr "B<null> または B<zero> スペシャルファイル(special file)に 書かれたデータは捨てられる。"
7173
7174 #. type: Plain text
7175 #: build/C/man4/null.4:44
7176 msgid "Reads from the B<null> special file always return end of file (i.e., B<read>(2)  returns 0), whereas reads from B<zero> always return bytes containing zero (\\e0 characters)."
7177 msgstr "B<null> スペシャルファイルを読むと常に end of file が返され (つまり、 B<read>(2)  は 0 を返す)、対照的 に B<zero> を読むと常にバイト数 0 (\\e0 文字) が返される。"
7178
7179 #. type: Plain text
7180 #: build/C/man4/null.4:49
7181 msgid "B<null> and B<zero> are typically created by:"
7182 msgstr "B<null> と B<zero> は一般的に次のようにして作られる:"
7183
7184 #. type: Plain text
7185 #: build/C/man4/null.4:52
7186 msgid "mknod -m 666 /dev/null c 1 3"
7187 msgstr "mknod -m 666 /dev/null c 1 3"
7188
7189 #. type: Plain text
7190 #: build/C/man4/null.4:54
7191 msgid "mknod -m 666 /dev/zero c 1 5"
7192 msgstr "mknod -m 666 /dev/zero c 1 5"
7193
7194 #. type: Plain text
7195 #: build/C/man4/null.4:56
7196 msgid "chown root:root /dev/null /dev/zero"
7197 msgstr "chown root:root /dev/null /dev/zero"
7198
7199 #. type: Plain text
7200 #: build/C/man4/null.4:59
7201 msgid "I</dev/null>"
7202 msgstr "I</dev/null>"
7203
7204 #. type: Plain text
7205 #: build/C/man4/null.4:61
7206 msgid "I</dev/zero>"
7207 msgstr "I</dev/zero>"
7208
7209 #. type: Plain text
7210 #: build/C/man4/null.4:64
7211 msgid "If these devices are not writable and readable for all users, many programs will act strangely."
7212 msgstr "これらのデバイスが全てのユーザーに対して読み書き可能でない場合、 多くのプログラムの動作がおかしくなるだろう。"
7213
7214 #. type: Plain text
7215 #: build/C/man4/null.4:68
7216 msgid "B<chown>(1), B<mknod>(1), B<full>(4)"
7217 msgstr "B<chown>(1), B<mknod>(1), B<full>(4)"
7218
7219 #. type: TH
7220 #: build/C/man7/pipe.7:25
7221 #, no-wrap
7222 msgid "PIPE"
7223 msgstr "PIPE"
7224
7225 #. type: TH
7226 #: build/C/man7/pipe.7:25 build/C/man2/syslog.2:33
7227 #, no-wrap
7228 msgid "2014-07-08"
7229 msgstr "2014-07-08"
7230
7231 #. type: Plain text
7232 #: build/C/man7/pipe.7:28
7233 msgid "pipe - overview of pipes and FIFOs"
7234 msgstr "pipe - パイプと FIFO の概要"
7235
7236 #. type: Plain text
7237 #: build/C/man7/pipe.7:37
7238 msgid "Pipes and FIFOs (also known as named pipes)  provide a unidirectional interprocess communication channel.  A pipe has a I<read end> and a I<write end>.  Data written to the write end of a pipe can be read from the read end of the pipe."
7239 msgstr "パイプと FIFO (名前付きパイプともいう) は、 単方向のプロセス間通信チャネルを提供する。 パイプには「読み出し側」と「書き込み側」がある。 パイプの書き込み側で書き込まれたデータは、 パイプの読み出し側から読み出すことができる。"
7240
7241 #. type: Plain text
7242 #: build/C/man7/pipe.7:47
7243 msgid "A pipe is created using B<pipe>(2), which creates a new pipe and returns two file descriptors, one referring to the read end of the pipe, the other referring to the write end.  Pipes can be used to create a communication channel between related processes; see B<pipe>(2)  for an example."
7244 msgstr "パイプを作成するには B<pipe>(2)  を使用する。 B<pipe>(2)  は新しいパイプを作成し、ファイルディスクリプターを二つ返す。 ディスクリプターのうち、一方はパイプの読み出し側を、もう一方は 書き込み側を参照している。 パイプは関連するプロセス間の通信を作成するのに使用できる。 例は B<pipe>(2)  を参照。"
7245
7246 #. type: Plain text
7247 #: build/C/man7/pipe.7:66
7248 msgid "A FIFO (short for First In First Out) has a name within the filesystem (created using B<mkfifo>(3)), and is opened using B<open>(2).  Any process may open a FIFO, assuming the file permissions allow it.  The read end is opened using the B<O_RDONLY> flag; the write end is opened using the B<O_WRONLY> flag.  See B<fifo>(7)  for further details.  I<Note>: although FIFOs have a pathname in the filesystem, I/O on FIFOs does not involve operations on the underlying device (if there is one)."
7249 msgstr "FIFO (First In First Out の省略) はファイルシステムでの名前を持ち、 B<open>(2)  を使ってオープンできる (B<mkfifo>(3)  を使って作成される)。 どんなプロセスでも、ファイルのアクセス許可があれば FIFO をオープンする ことができる。 読み出し側をオープンするには B<O_RDONLY> フラグを使用し、書き込み側をオープンするには B<O_WRONLY> フラグを使用する。詳細は B<fifo>(7)  を参照。 【注意】 FIFO はファイルシステム内のパス名を持つが、 FIFO に対して入出力を行っても、(ファイルシステムが存在するデバイスが あったとしても) そのデバイスに対する操作は発生しない。"
7250
7251 #. type: SS
7252 #: build/C/man7/pipe.7:66
7253 #, no-wrap
7254 msgid "I/O on pipes and FIFOs"
7255 msgstr "パイプや FIFO に対する入出力"
7256
7257 #. type: Plain text
7258 #: build/C/man7/pipe.7:71
7259 msgid "The only difference between pipes and FIFOs is the manner in which they are created and opened.  Once these tasks have been accomplished, I/O on pipes and FIFOs has exactly the same semantics."
7260 msgstr "パイプと FIFO の違いは作成やオープンの方法だけである。 これらの操作が完了した後は、パイプと FIFO に対する入出力は 全く同じ仕組みで行われる。"
7261
7262 #. type: Plain text
7263 #: build/C/man7/pipe.7:85
7264 msgid "If a process attempts to read from an empty pipe, then B<read>(2)  will block until data is available.  If a process attempts to write to a full pipe (see below), then B<write>(2)  blocks until sufficient data has been read from the pipe to allow the write to complete.  Nonblocking I/O is possible by using the B<fcntl>(2)  B<F_SETFL> operation to enable the B<O_NONBLOCK> open file status flag."
7265 msgstr "プロセスが空のパイプから読み出しを行おうとした場合、 B<read>(2)  はデータが読み出し可能になるまで停止する。 プロセスがフル状態のパイプに書き込みを行おうとした場合、 B<write>(2)  は書き込みを完了するのに十分な量のパイプからの読み出しが 行われるまで停止する。 非停止 (nonblocking) I/O を使うこともできる。 非停止 I/O を使うには、 B<fcntl>(2)  B<F_SETFL> 操作を使って、 B<O_NONBLOCK> オープンファイル状態フラグを有効にする。"
7266
7267 #. type: Plain text
7268 #: build/C/man7/pipe.7:89
7269 msgid "The communication channel provided by a pipe is a I<byte stream>: there is no concept of message boundaries."
7270 msgstr "パイプにより提供される通信チャネルは「バイトストリーム」であり、 メッセージ境界の概念はない。"
7271
7272 #. type: Plain text
7273 #: build/C/man7/pipe.7:116
7274 msgid "If all file descriptors referring to the write end of a pipe have been closed, then an attempt to B<read>(2)  from the pipe will see end-of-file (B<read>(2)  will return 0).  If all file descriptors referring to the read end of a pipe have been closed, then a B<write>(2)  will cause a B<SIGPIPE> signal to be generated for the calling process.  If the calling process is ignoring this signal, then B<write>(2)  fails with the error B<EPIPE>.  An application that uses B<pipe>(2)  and B<fork>(2)  should use suitable B<close>(2)  calls to close unnecessary duplicate file descriptors; this ensures that end-of-file and B<SIGPIPE>/B<EPIPE> are delivered when appropriate."
7275 msgstr "パイプの書き込み側を参照しているファイルディスクリプターが すべてクローズされた後で、そのパイプから B<read>(2)  を行おうとした場合、 end-of-file (ファイル末尾) が見える (B<read>(2)  は 0 を返す)。 パイプの読み出し側を参照しているファイルディスクリプターが すべてクローズされた後で、 B<write>(2)  を行うと、呼び出し元プロセスに B<SIGPIPE> シグナルが送られる。 呼び出し元プロセスがこのシグナルを無視しているときには、 B<write>(2)  はエラー B<EPIPE> で失敗する。 B<pipe>(2)  と B<fork>(2)  を使用するアプリケーションでは、 B<close>(2)  を適切に使って不必要なファイルディスクリプターの複製を クローズすべきである。こうすることで、必要な時に確実に end-of-file や B<SIGPIPE>/B<EPIPE> が配送されるようになる。"
7276
7277 #. type: Plain text
7278 #: build/C/man7/pipe.7:120
7279 msgid "It is not possible to apply B<lseek>(2)  to a pipe."
7280 msgstr "パイプには B<lseek>(2)  を行うことはできない。"
7281
7282 #. type: SS
7283 #: build/C/man7/pipe.7:120
7284 #, no-wrap
7285 msgid "Pipe capacity"
7286 msgstr "パイプの容量"
7287
7288 #. type: Plain text
7289 #: build/C/man7/pipe.7:132
7290 msgid "A pipe has a limited capacity.  If the pipe is full, then a B<write>(2)  will block or fail, depending on whether the B<O_NONBLOCK> flag is set (see below).  Different implementations have different limits for the pipe capacity.  Applications should not rely on a particular capacity: an application should be designed so that a reading process consumes data as soon as it is available, so that a writing process does not remain blocked."
7291 msgstr "パイプの容量には上限がある。 パイプがフルの場合、 B<write>(2)  は停止したり失敗したりする。どちらになるかは B<O_NONBLOCK> フラグがセットされているかどうかに依存する (下記参照)。 実装により、パイプの容量の上限は異なる。 アプリケーションは特定の容量を前提にすべきではない。 書き込み側のプロセスが停止したままにならないよう、 読み出し側のプロセスはデータが利用可能になったらできるだけすぐに 読み出しを行うように、アプリケーションを設計すべきである。"
7292
7293 #. type: Plain text
7294 #: build/C/man7/pipe.7:146
7295 msgid "In Linux versions before 2.6.11, the capacity of a pipe was the same as the system page size (e.g., 4096 bytes on i386).  Since Linux 2.6.11, the pipe capacity is 65536 bytes.  Since Linux 2.6.35, the default pipe capacity is 65536 bytes, but the capacity can be queried and set using the B<fcntl>(2)  B<F_GETPIPE_SZ> and B<F_SETPIPE_SZ> operations.  See B<fcntl>(2)  for more information."
7296 msgstr "バージョン 2.6.11 より前の Linux ではパイプの容量はシステムのページサイズ と同じであった (例えば i386 では 4096 バイト)。 Linux 2.6.11 以降では、パイプの容量は 65536 バイトである。 Linux 2.6.35 以降では、パイプの容量のデフォルト値は 65536 バイトだが、 パイプの容量を参照、設定を B<fcntl>(2) の B<F_GETPIPE_SZ> と B<F_SETPIPE_SZ> 操作を使って行うことができる。 詳細は B<fcntl>(2) 参照。"
7297
7298 #. type: SS
7299 #: build/C/man7/pipe.7:147
7300 #, no-wrap
7301 msgid "PIPE_BUF"
7302 msgstr "PIPE_BUF"
7303
7304 #. type: Plain text
7305 #: build/C/man7/pipe.7:169
7306 msgid "POSIX.1-2001 says that B<write>(2)s of less than B<PIPE_BUF> bytes must be atomic: the output data is written to the pipe as a contiguous sequence.  Writes of more than B<PIPE_BUF> bytes may be nonatomic: the kernel may interleave the data with data written by other processes.  POSIX.1-2001 requires B<PIPE_BUF> to be at least 512 bytes.  (On Linux, B<PIPE_BUF> is 4096 bytes.)  The precise semantics depend on whether the file descriptor is nonblocking (B<O_NONBLOCK>), whether there are multiple writers to the pipe, and on I<n>, the number of bytes to be written:"
7307 msgstr "POSIX.1-2001 では、 B<PIPE_BUF> バイト以下の B<write>(2)  は atomic に行われること、つまりパイプへの出力データの書き込みは 連続したシーケンスとして行われることを必須としている (MUST)。 B<PIPE_BUF> バイトより多くのデータを書き込み場合は atomic とはならない、 つまりパイプへの他のプロセスによるデータの書き込みが間に入る 可能性がある。 POSIX.1-2001 の仕様では、 B<PIPE_BUF> は最小でも 512 バイトであることが要求されている (Linux では B<PIPE_BUF> は 4096 バイトである)。 正確な動作は、ファイルディスクリプターが nonblocking (B<O_NONBLOCK>)  かどうか、パイプへの書き込みが複数から行われるかどうか、および 書き込みを行うバイト数 I<n> により決定される。"
7308
7309 #. type: TP
7310 #: build/C/man7/pipe.7:169
7311 #, no-wrap
7312 msgid "B<O_NONBLOCK> disabled, I<n> E<lt>= B<PIPE_BUF>"
7313 msgstr "B<O_NONBLOCK> 無効, I<n> E<lt>= B<PIPE_BUF>"
7314
7315 #. type: Plain text
7316 #: build/C/man7/pipe.7:178
7317 msgid "All I<n> bytes are written atomically; B<write>(2)  may block if there is not room for I<n> bytes to be written immediately"
7318 msgstr "I<n> バイト全部の書き込みが atomic に行われる。 I<n> バイト分をすぐに書き込む余地がない場合は B<write>(2)  は停止 (block) することがある。"
7319
7320 #. type: TP
7321 #: build/C/man7/pipe.7:178
7322 #, no-wrap
7323 msgid "B<O_NONBLOCK> enabled, I<n> E<lt>= B<PIPE_BUF>"
7324 msgstr "B<O_NONBLOCK> 有効, I<n> E<lt>= B<PIPE_BUF>"
7325
7326 #. type: Plain text
7327 #: build/C/man7/pipe.7:192
7328 msgid "If there is room to write I<n> bytes to the pipe, then B<write>(2)  succeeds immediately, writing all I<n> bytes; otherwise B<write>(2)  fails, with I<errno> set to B<EAGAIN>."
7329 msgstr "パイプに I<n> バイトを書き込む余地がある場合は、 I<n> バイト全部がすぐに書き込まれる。 余地がない場合は、 B<write>(2)  は失敗し、 I<errno> に B<EAGAIN> がセットされる。"
7330
7331 #. type: TP
7332 #: build/C/man7/pipe.7:192
7333 #, no-wrap
7334 msgid "B<O_NONBLOCK> disabled, I<n> E<gt> B<PIPE_BUF>"
7335 msgstr "B<O_NONBLOCK> 無効, I<n> E<gt> B<PIPE_BUF>"
7336
7337 #. type: Plain text
7338 #: build/C/man7/pipe.7:204
7339 msgid "The write is nonatomic: the data given to B<write>(2)  may be interleaved with B<write>(2)s by other process; the B<write>(2)  blocks until I<n> bytes have been written."
7340 msgstr "書き込みは atomic とはならない。 B<write>(2)  に渡されたデータの間に、他のプロセスにより B<write>(2)  されたデータが入ることがある。 B<write>(2)  は I<n> バイトの書き込みが完了するまで停止する。"
7341
7342 #. type: TP
7343 #: build/C/man7/pipe.7:204
7344 #, no-wrap
7345 msgid "B<O_NONBLOCK> enabled, I<n> E<gt> B<PIPE_BUF>"
7346 msgstr "B<O_NONBLOCK> 有効, I<n> E<gt> B<PIPE_BUF>"
7347
7348 #. type: Plain text
7349 #: build/C/man7/pipe.7:219
7350 msgid "If the pipe is full, then B<write>(2)  fails, with I<errno> set to B<EAGAIN>.  Otherwise, from 1 to I<n> bytes may be written (i.e., a \"partial write\" may occur; the caller should check the return value from B<write>(2)  to see how many bytes were actually written), and these bytes may be interleaved with writes by other processes."
7351 msgstr "パイプがフルの場合、 B<write>(2)  は失敗し、 I<errno> に B<EAGAIN> がセットされる。 それ以外の場合、1 バイト以上 I<n> バイト以下のデータが書き込まれる (つまり「一部分だけ書き込まれる」場合もあり得る)。 呼び出し元は B<write>(2)  の返り値を参照し、実際に何バイト書き込まれたのかを確認すべきである。 また、書き込みに成功したデータも、他のプロセスが書き込んだデータが 間に入ることがある。"
7352
7353 #. type: SS
7354 #: build/C/man7/pipe.7:219
7355 #, no-wrap
7356 msgid "Open file status flags"
7357 msgstr "オープンファイル状態フラグ"
7358
7359 #. type: Plain text
7360 #: build/C/man7/pipe.7:225
7361 msgid "The only open file status flags that can be meaningfully applied to a pipe or FIFO are B<O_NONBLOCK> and B<O_ASYNC>."
7362 msgstr "オープンファイル状態フラグのうち、パイプや FIFO に対して意味を持つのは B<O_NONBLOCK> と B<O_ASYNC> だけである。"
7363
7364 #. type: Plain text
7365 #: build/C/man7/pipe.7:237
7366 msgid "Setting the B<O_ASYNC> flag for the read end of a pipe causes a signal (B<SIGIO> by default) to be generated when new input becomes available on the pipe (see B<fcntl>(2)  for details).  On Linux, B<O_ASYNC> is supported for pipes and FIFOs only since kernel 2.6."
7367 msgstr "パイプの読み出し側に B<O_ASYNC> フラグをセットすると、パイプに新たな入力があるとシグナル (デフォルトでは B<SIGIO>)  が生成される (詳細は B<fcntl>(2)  を参照)。 Linux では、 パイプと FIFO に対する B<O_ASYNC> はカーネル 2.6 以降でのみサポートされている。"
7368
7369 #. type: SS
7370 #: build/C/man7/pipe.7:237
7371 #, no-wrap
7372 msgid "Portability notes"
7373 msgstr "移植に関する注意"
7374
7375 #. type: Plain text
7376 #: build/C/man7/pipe.7:243
7377 msgid "On some systems (but not Linux), pipes are bidirectional: data can be transmitted in both directions between the pipe ends.  According to POSIX.1-2001, pipes only need to be unidirectional.  Portable applications should avoid reliance on bidirectional pipe semantics."
7378 msgstr "いくつかのシステム (Linux ではない) では、パイプは双方向である、 つまりパイプの両端間でデータを両方向に送信することができる。 POSIX.1-2001 では、パイプは一方向の通信だけに対応していればよい。 移植を考慮したアプリケーションでは、双方向パイプの仕組みを 前提にすべきではない。"
7379
7380 #. type: Plain text
7381 #: build/C/man7/pipe.7:255
7382 msgid "B<dup>(2), B<fcntl>(2), B<open>(2), B<pipe>(2), B<poll>(2), B<select>(2), B<socketpair>(2), B<stat>(2), B<mkfifo>(3), B<epoll>(7), B<fifo>(7)"
7383 msgstr "B<dup>(2), B<fcntl>(2), B<open>(2), B<pipe>(2), B<poll>(2), B<select>(2), B<socketpair>(2), B<stat>(2), B<mkfifo>(3), B<epoll>(7), B<fifo>(7)"
7384
7385 #. type: TH
7386 #: build/C/man4/ram.4:26
7387 #, no-wrap
7388 msgid "RAM"
7389 msgstr "RAM"
7390
7391 #. type: TH
7392 #: build/C/man4/ram.4:26
7393 #, no-wrap
7394 msgid "1992-11-21"
7395 msgstr "1992-11-21"
7396
7397 #. type: Plain text
7398 #: build/C/man4/ram.4:29
7399 msgid "ram - ram disk device"
7400 msgstr "ram - RAM ディスクデバイス"
7401
7402 #. type: Plain text
7403 #: build/C/man4/ram.4:33
7404 msgid "The I<ram> device is a block device to access the ram disk in raw mode."
7405 msgstr "I<ram> デバイスは RAM ディスクにローモード (raw mode) でアクセスするための ブロックデバイス (block device) である。"
7406
7407 #. type: Plain text
7408 #: build/C/man4/ram.4:38
7409 msgid "mknod -m 660 /dev/ram b 1 1"
7410 msgstr "mknod -m 660 /dev/ram b 1 1"
7411
7412 #. type: Plain text
7413 #: build/C/man4/ram.4:40
7414 msgid "chown root:disk /dev/ram"
7415 msgstr "chown root:disk /dev/ram"
7416
7417 #. type: Plain text
7418 #: build/C/man4/ram.4:43
7419 msgid "/dev/ram"
7420 msgstr "/dev/ram"
7421
7422 #. type: Plain text
7423 #: build/C/man4/ram.4:47
7424 msgid "B<chown>(1), B<mknod>(1), B<mount>(8)"
7425 msgstr "B<chown>(1), B<mknod>(1), B<mount>(8)"
7426
7427 #. type: TH
7428 #: build/C/man4/random.4:19
7429 #, no-wrap
7430 msgid "RANDOM"
7431 msgstr "RANDOM"
7432
7433 #. type: TH
7434 #: build/C/man4/random.4:19
7435 #, no-wrap
7436 msgid "2015-01-10"
7437 msgstr "2015-01-10"
7438
7439 #. type: Plain text
7440 #: build/C/man4/random.4:22
7441 msgid "random, urandom - kernel random number source devices"
7442 msgstr "random, urandom - カーネル乱数ソースデバイス"
7443
7444 #. type: Plain text
7445 #: build/C/man4/random.4:24
7446 msgid "#include E<lt>linux/random.hE<gt>"
7447 msgstr "#include E<lt>linux/random.hE<gt>"
7448
7449 #. type: Plain text
7450 #: build/C/man4/random.4:26
7451 msgid "B<int ioctl(>I<fd>B<, RND>I<request>B<, >I<param>B<);>"
7452 msgstr "B<int ioctl(>I<fd>B<, RND>I<request>B<, >I<param>B<);>"
7453
7454 #. type: Plain text
7455 #: build/C/man4/random.4:33
7456 msgid "The character special files I</dev/random> and I</dev/urandom> (present since Linux 1.3.30)  provide an interface to the kernel's random number generator.  File I</dev/random> has major device number 1 and minor device number 8.  File I</dev/urandom> has major device number 1 and minor device number 9."
7457 msgstr "(Linux 1.3.30 から提供されている) I</dev/random> 、 I</dev/urandom> キャラクタスペシャルファイルは カーネル乱数ジェネレータへのインタフェースを提供する。 I</dev/random> ファイルはメジャーデバイス番号 1 マイナーデバイス番号 8 である。 I</dev/urandom> はメジャーデバイス番号 1 マイナーデバイス番号 9 である。"
7458
7459 #. type: Plain text
7460 #: build/C/man4/random.4:39
7461 msgid "The random number generator gathers environmental noise from device drivers and other sources into an entropy pool.  The generator also keeps an estimate of the number of bits of noise in the entropy pool.  From this entropy pool random numbers are created."
7462 msgstr "乱数ジェネレータはデバイスドライバやその他の源からの環境ノイズを エントロピープールへ集める。 また、ジェネレータはエントロピープール内のノイズのビット数の推定値を 保持する。 このエントロピープールから乱数が生成される。"
7463
7464 #. type: Plain text
7465 #: build/C/man4/random.4:63
7466 msgid "When read, the I</dev/random> device will only return random bytes within the estimated number of bits of noise in the entropy pool.  I</dev/random> should be suitable for uses that need very high quality randomness such as one-time pad or key generation.  When the entropy pool is empty, reads from I</dev/random> will block until additional environmental noise is gathered.  If B<open>(2)  is called for I</dev/random> with flag B<O_NONBLOCK>, a subsequent B<read>(2)  will not block if the requested number of bytes is not available.  Instead, the available bytes are returned.  If no byte is available B<read>(2)  will return -1 and I<errno> will be set to B<EAGAIN>."
7467 msgstr "読み込みが行われると、 I</dev/random> デバイスはエントロピープールのノイズビットの数の推定値のうち、 ランダムバイトのみを返す。 I</dev/random> はワンタイムパッド (one-time pad) や鍵の生成のような 非常に高い品質を持った無作為性が必要になる用途に向いているだろう。 エントロピープールが空の時は、I</dev/random> からの読み出しは、 更なる環境ノイズが得られるまで、ブロックされる。 B<open>(2) が I</dev/random> に対して B<O_NONBLOCK> フラグ付きで呼ばれると、 それ以降の B<read>(2) は要求したバイト数のデータが利用可能になるまで停止しない。 その代わり、 利用可能なデータが返される。 利用可能なバイトが全くない場合、 B<read>(2) は -1 を返し、 I<errno> に B<EAGAIN> が設定される。"
7468
7469 #. type: Plain text
7470 #: build/C/man4/random.4:84
7471 msgid "A read from the I</dev/urandom> device will not block waiting for more entropy.  If there is not sufficient entropy, a pseudorandom number generator is used to create the requested bytes.  As a result, in this case the returned values are theoretically vulnerable to a cryptographic attack on the algorithms used by the driver.  Knowledge of how to do this is not available in the current unclassified literature, but it is theoretically possible that such an attack may exist.  If this is a concern in your application, use I</dev/random> instead.  B<O_NONBLOCK> has no effect when opening I</dev/urandom>.  When calling B<read>(2)  for device I</dev/urandom> signals will not be handled until after the requested random bytes have been generated."
7472 msgstr "I</dev/urandom> デバイスから読み出しでは、 エントロピーがより高くなるのを待つためのブロックは行われない。 十分なエントロピーがない場合、 要求されたバイトを作成するのに疑似乱数生成器が使用される。 その結果、 この場合の返り値はこのドライバで使われているアルゴリズムに基づく暗号攻撃に対して、 論理的には弱くなることになる。 この攻撃をどのように行うかという事については、現在研究論文などの 形で入手できる資料はない、しかし、そのような攻撃は論理的に存在可能である。 もし、この事が心配なら、(I</dev/urandom> ではなく)  I</dev/random> を利用すればいい。 B<O_NONBLOCK> は I</dev/urandom> をオープンする際には効果がない。 デバイス I</dev/urandom> に対して B<read>(2) を呼び出した際、 要求されたランダムバイトが生成されるまでシグナルは処理されない。"
7473
7474 #. type: Plain text
7475 #: build/C/man4/random.4:91
7476 msgid "Writing to I</dev/random> or I</dev/urandom> will update the entropy pool with the data written, but this will not result in a higher entropy count.  This means that it will impact the contents read from both files, but it will not make reads from I</dev/random> faster."
7477 msgstr "I</dev/random> や I</dev/urandom> に書き込みを行うと、 書き込まれたデータでエントロピープールが更新される。 しかし、 エントロピーカウントが増えるわけではない。 つまり、 I</dev/random> と I</dev/urandom> の両方のファイルから読み出される内容に影響があるが、 I</dev/random> からの読み出しが早くなるわけではないということだ。"
7478
7479 #. type: Plain text
7480 #: build/C/man4/random.4:100
7481 msgid "If you are unsure about whether you should use I</dev/random> or I</dev/urandom>, then probably you want to use the latter.  As a general rule, I</dev/urandom> should be used for everything except long-lived GPG/SSL/SSH keys."
7482 msgstr "I</dev/random> と I</dev/urandom> のどちらを使うべきか迷った場合、たいていは I</dev/urandom> の方を使いたいと思っているはずだろう。 一般に、長期に渡って使われる GPG/SSL/SSH のキー以外の全てのものに I</dev/urandom> を使用すべきである。"
7483
7484 #. type: Plain text
7485 #: build/C/man4/random.4:112
7486 msgid "If a seed file is saved across reboots as recommended below (all major Linux distributions have done this since 2000 at least), the output is cryptographically secure against attackers without local root access as soon as it is reloaded in the boot sequence, and perfectly adequate for network encryption session keys.  Since reads from I</dev/random> may block, users will usually want to open it in nonblocking mode (or perform a read with timeout), and provide some sort of user notification if the desired entropy is not immediately available."
7487 msgstr "下記で推奨しているように再起動の前後で乱数種ファイルが保存される場合 (全ての主な Linux のディストリビューションは少なくとも 2000 年以降は 乱数種を保存するようになっている)、起動シーケンスにおいて乱数種が 再ロードされた直後から、その出力はローカルのルートアクセスができない 攻撃者に対して暗号的に安全なものとなり、ネットワーク暗号化のセッションキー として使うには完全に最適なものとなる。 I</dev/random> からの読み出しは停止 (block) する可能性があるので、ユーザーは普通 このファイルを非停止 (nonblocking) モードで開こうとし (もしくはタイムアウトを指定して読み出しを実行し)、希望するレベルの エントロピーはすぐには利用できない場合には、何らかの通知を行うことだろう。"
7488
7489 #. type: Plain text
7490 #: build/C/man4/random.4:125
7491 msgid "The kernel random-number generator is designed to produce a small amount of high-quality seed material to seed a cryptographic pseudo-random number generator (CPRNG).  It is designed for security, not speed, and is poorly suited to generating large amounts of random data.  Users should be very economical in the amount of seed material that they read from I</dev/urandom> (and I</dev/random>); unnecessarily reading large quantities of data from this device will have a negative impact on other users of the device."
7492 msgstr "カーネルの乱数ジェネレータは、暗号疑似乱数ジェネレータ (Cryptographic pseudo-random number generator; CPRNG) の種として使用できる 高品質な乱数種の材料を少し生成するために設計されている。 これは速度ではなく安全性を重視して設計されており、 ランダムなデータを大量に生成するのには全くもって適していない。 ユーザーは I</dev/urandom> (と I</dev/random>)  から読み出す乱数種の材料の量をできるだけ節約すべきである。 このデバイスから不必要に大量のデータを読み出すと、このデバイスを使う 他のユーザーにマイナスの影響を与えてしまうだろう。"
7493
7494 #. type: Plain text
7495 #: build/C/man4/random.4:133
7496 msgid "The amount of seed material required to generate a cryptographic key equals the effective key size of the key.  For example, a 3072-bit RSA or Diffie-Hellman private key has an effective key size of 128 bits (it requires about 2^128 operations to break) so a key generator only needs 128 bits (16 bytes) of seed material from I</dev/random>."
7497 msgstr "暗号鍵を生成するのに必要な乱数種の材料の量は、鍵の実効サイズと同じである。 例えば、3072 ビットの RSA および Diffie-Hellman の秘密鍵の実効サイズは 128 ビット (この秘密鍵を破るには 2^128 回の操作が必要ということ) であり、 そのため鍵生成器が I</dev/random> から読み出す必要がある乱数種の材料の量は 128 ビット (16 バイト) だけである。"
7498
7499 #. type: Plain text
7500 #: build/C/man4/random.4:142
7501 msgid "While some safety margin above that minimum is reasonable, as a guard against flaws in the CPRNG algorithm, no cryptographic primitive available today can hope to promise more than 256 bits of security, so if any program reads more than 256 bits (32 bytes) from the kernel random pool per invocation, or per reasonable reseed interval (not less than one minute), that should be taken as a sign that its cryptography is I<not> skillfully implemented."
7502 msgstr "CPRNG アルゴリズムの欠陥に対する保護として、この最小値に対していくらかの 安全上のマージンを取るのはもっともだが、現在利用可能な暗号プリミティブで 256 ビットより多くの安全な乱数を必要とするようなものはない。 起動する度に、もしくは乱数種を変更する妥当な間隔 (1 分より短くなることはない)  の度に、カーネルの乱数プールから 256 ビット (32 バイト) よりたくさん読み出す ような場合には、そのプログラムの暗号処理がうまく実装されて「いない」可能性が あると考えるべきであろう。"
7503
7504 #. type: SS
7505 #: build/C/man4/random.4:142
7506 #, no-wrap
7507 msgid "Configuration"
7508 msgstr "Configuration"
7509
7510 #. type: Plain text
7511 #: build/C/man4/random.4:146
7512 msgid "If your system does not have I</dev/random> and I</dev/urandom> created already, they can be created with the following commands:"
7513 msgstr "システムにあらかじめ作成された I</dev/random> と I</dev/urandom> が存在しないなら、次のようなコマンドで作成できる。"
7514
7515 #. type: Plain text
7516 #: build/C/man4/random.4:151
7517 #, no-wrap
7518 msgid ""
7519 "    mknod -m 644 /dev/random c 1 8\n"
7520 "    mknod -m 644 /dev/urandom c 1 9\n"
7521 "    chown root:root /dev/random /dev/urandom\n"
7522 msgstr ""
7523 "    mknod -m 644 /dev/random c 1 8\n"
7524 "    mknod -m 644 /dev/urandom c 1 9\n"
7525 "    chown root:root /dev/random /dev/urandom\n"
7526
7527 #. type: Plain text
7528 #: build/C/man4/random.4:161
7529 msgid "When a Linux system starts up without much operator interaction, the entropy pool may be in a fairly predictable state.  This reduces the actual amount of noise in the entropy pool below the estimate.  In order to counteract this effect, it helps to carry entropy pool information across shut-downs and start-ups.  To do this, add the following lines to an appropriate script which is run during the Linux system start-up sequence:"
7530 msgstr "オペレータの操作なしに Linux システムが起動した直後は、 エントロピープールは意外性の乏しい均一な状態にあるだろう。 これにより、エントロピープールの実際のノイズ量は評価値より少なくなる。 この効果を打ち消すために、シャットダウンから (次の) 起動時まで持ち越した エントロピープールの情報が助けになる。 エントロピープールを持ち越すためには、 Linux システムの起動時に実行される適切なスクリプトに、 以下の行を追加すればよい:"
7531
7532 #. type: Plain text
7533 #: build/C/man4/random.4:176
7534 #, no-wrap
7535 msgid ""
7536 "    echo \"Initializing random number generator...\"\n"
7537 "    random_seed=/var/run/random-seed\n"
7538 "    # Carry a random seed from start-up to start-up\n"
7539 "    # Load and then save the whole entropy pool\n"
7540 "    if [ -f $random_seed ]; then\n"
7541 "        cat $random_seed E<gt>/dev/urandom\n"
7542 "    else\n"
7543 "        touch $random_seed\n"
7544 "    fi\n"
7545 "    chmod 600 $random_seed\n"
7546 "    poolfile=/proc/sys/kernel/random/poolsize\n"
7547 "    [ -r $poolfile ] && bytes=\\`cat $poolfile\\` || bytes=512\n"
7548 "    dd if=/dev/urandom of=$random_seed count=1 bs=$bytes\n"
7549 msgstr ""
7550 "    echo \"Initializing random number generator...\"\n"
7551 "    random_seed=/var/run/random-seed\n"
7552 "    # 乱数種を今回のスタートアップから次回のスタートアップまで持ち越す。\n"
7553 "    # ロードを行い、その後、全てのエントロピープールを保存する。\n"
7554 "    if [ -f $random_seed ]; then\n"
7555 "        cat $random_seed E<gt>/dev/urandom\n"
7556 "    else\n"
7557 "        touch $random_seed\n"
7558 "    fi\n"
7559 "    chmod 600 $random_seed\n"
7560 "    poolfile=/proc/sys/kernel/random/poolsize\n"
7561 "    [ -r $poolfile ] && bytes=\\`cat $poolfile\\` || bytes=512\n"
7562 "    dd if=/dev/urandom of=$random_seed count=1 bs=$bytes\n"
7563
7564 #. type: Plain text
7565 #: build/C/man4/random.4:180
7566 msgid "Also, add the following lines in an appropriate script which is run during the Linux system shutdown:"
7567 msgstr "また、Linux システムのシャットダウン時に実行される適切なスクリプトに、 以下の行を追加すればよい:"
7568
7569 #. type: Plain text
7570 #: build/C/man4/random.4:191
7571 #, no-wrap
7572 msgid ""
7573 "    # Carry a random seed from shut-down to start-up\n"
7574 "    # Save the whole entropy pool\n"
7575 "    echo \"Saving random seed...\"\n"
7576 "    random_seed=/var/run/random-seed\n"
7577 "    touch $random_seed\n"
7578 "    chmod 600 $random_seed\n"
7579 "    poolfile=/proc/sys/kernel/random/poolsize\n"
7580 "    [ -r $poolfile ] && bytes=\\`cat $poolfile\\` || bytes=512\n"
7581 "    dd if=/dev/urandom of=$random_seed count=1 bs=$bytes\n"
7582 msgstr ""
7583 "    # 乱数種を今回のシャットダウンから次回のスタートアップまで持ち越す。\n"
7584 "    # 全てのエントロピープールを保存する。\n"
7585 "    echo \"Saving random seed...\"\n"
7586 "    random_seed=/var/run/random-seed\n"
7587 "    touch $random_seed\n"
7588 "    chmod 600 $random_seed\n"
7589 "    poolfile=/proc/sys/kernel/random/poolsize\n"
7590 "    [ -r $poolfile ] && bytes=\\`cat $poolfile\\` || bytes=512\n"
7591 "    dd if=/dev/urandom of=$random_seed count=1 bs=$bytes\n"
7592
7593 #. type: SS
7594 #: build/C/man4/random.4:192
7595 #, no-wrap
7596 msgid "/proc Interface"
7597 msgstr "/proc インタフェース"
7598
7599 #. type: Plain text
7600 #: build/C/man4/random.4:198
7601 msgid "The files in the directory I</proc/sys/kernel/random> (present since 2.3.16) provide an additional interface to the I</dev/random> device."
7602 msgstr "ディレクトリ I</proc/sys/kernel/random> にあるファイル (2.3.16 から存在する) は、 I</dev/random> デバイスへのその他のインタフェースを提供する。"
7603
7604 #. type: Plain text
7605 #: build/C/man4/random.4:204
7606 msgid "The read-only file I<entropy_avail> gives the available entropy.  Normally, this will be 4096 (bits), a full entropy pool."
7607 msgstr "読み込み専用のファイル I<entropy_avail> は使用可能なエントロピーを表す。 通常、これは 4096 (ビット) になり、エントロピープールが満杯の状態である。"
7608
7609 #. type: Plain text
7610 #: build/C/man4/random.4:209
7611 msgid "The file I<poolsize> gives the size of the entropy pool.  The semantics of this file vary across kernel versions:"
7612 msgstr "ファイル I<poolsize> はエントロピープールのサイズを表す。 このファイルの意味はカーネルバージョンにより異なる。"
7613
7614 #. type: TP
7615 #: build/C/man4/random.4:210
7616 #, no-wrap
7617 msgid "Linux 2.4:"
7618 msgstr "Linux 2.4:"
7619
7620 #. type: Plain text
7621 #: build/C/man4/random.4:217
7622 msgid "This file gives the size of the entropy pool in I<bytes>.  Normally, this file will have the value 512, but it is writable, and can be changed to any value for which an algorithm is available.  The choices are 32, 64, 128, 256, 512, 1024, or 2048."
7623 msgstr "このファイルはエントロピープールのサイズを「バイト」単位で規定する。 通常、このファイルの値は 512 になるが、書き込み可能であり、 アルゴリズムで利用可能な任意の値に変更できる。 選択可能な値は 32, 64, 128, 256, 512, 1024, 2048 である。"
7624
7625 #. type: TP
7626 #: build/C/man4/random.4:217
7627 #, no-wrap
7628 msgid "Linux 2.6:"
7629 msgstr "Linux 2.6:"
7630
7631 #. type: Plain text
7632 #: build/C/man4/random.4:222
7633 msgid "This file is read-only, and gives the size of the entropy pool in I<bits>.  It contains the value 4096."
7634 msgstr "このファイルは読み出し専用であり、 エントロピープールのサイズを「ビット」単位で規定する。 値は 4096 である。"
7635
7636 #. type: Plain text
7637 #: build/C/man4/random.4:240
7638 msgid "The file I<read_wakeup_threshold> contains the number of bits of entropy required for waking up processes that sleep waiting for entropy from I</dev/random>.  The default is 64.  The file I<write_wakeup_threshold> contains the number of bits of entropy below which we wake up processes that do a B<select>(2)  or B<poll>(2)  for write access to I</dev/random>.  These values can be changed by writing to the files."
7639 msgstr "ファイル I<read_wakeup_threshold> は I</dev/random> からのエントロピーを待って休止しているプロセスを起こすのに必要な エントロピーのビット数を保持している。 デフォルトは 64 である。 ファイル I<write_wakeup_threshold> はエントロピーのビット数を保持しており、この値以下になったら I</dev/random> への書き込みアクセスのために B<select>(2)  または B<poll>(2)  を実行するプロセスを起こす。 この値はファイルに書き込みを行うことによって変更できる。"
7640
7641 #. type: Plain text
7642 #: build/C/man4/random.4:248
7643 msgid "The read-only files I<uuid> and I<boot_id> contain random strings like 6fd5a44b-35f4-4ad4-a9b9-6b9be13e1fe9.  The former is generated afresh for each read, the latter was generated once."
7644 msgstr "読み込み専用のファイル I<uuid> と I<boot_id> は 6fd5a44b-35f4-4ad4-a9b9-6b9be13e1fe9 のような ランダムな文字列を保持している。 前者は読み込みの度に新たに生成され、 後者は 1 度だけ生成される。"
7645
7646 #. type: SS
7647 #: build/C/man4/random.4:248
7648 #, no-wrap
7649 msgid "ioctl(2) interface"
7650 msgstr "ioctl(2) インタフェース"
7651
7652 #. type: Plain text
7653 #: build/C/man4/random.4:259
7654 msgid "The following B<ioctl>(2)  requests are defined on file descriptors connected to either I</dev/random> or I</dev/urandom>.  All requests performed will interact with the input entropy pool impacting both I</dev/random> and I</dev/urandom>.  The B<CAP_SYS_ADMIN> capability is required for all requests except B<RNDGETENTCNT>."
7655 msgstr "以下の B<ioctl>(2) 要求が I</dev/random> や I</dev/urandom> に接続されたファイルディスクリプターに対して定義されている。 実行されたすべての要求は、 I</dev/random> と I</dev/urandom> に影響を与える入力エントロピープールとやり取りを行う。 B<RNDGETENTCNT> 以外のすべての要求には B<CAP_SYS_ADMIN> ケーパビリティが必要である。"
7656
7657 #. type: TP
7658 #: build/C/man4/random.4:259
7659 #, no-wrap
7660 msgid "B<RNDGETENTCNT>"
7661 msgstr "B<RNDGETENTCNT>"
7662
7663 #. type: Plain text
7664 #: build/C/man4/random.4:266
7665 msgid "Retrieve the entropy count of the input pool, the contents will be the same as the I<entropy_avail> file under proc.  The result will be stored in the int pointed to by the argument."
7666 msgstr "入力エントロピープールのカウントを取得する。 取得される内容は proc の I<entropy_avail> ファイルと同じである。 結果は引き数が指す整数 (int) に格納される。"
7667
7668 #. type: TP
7669 #: build/C/man4/random.4:266
7670 #, no-wrap
7671 msgid "B<RNDADDTOENTCNT>"
7672 msgstr "B<RNDADDTOENTCNT>"
7673
7674 #. type: Plain text
7675 #: build/C/man4/random.4:270
7676 msgid "Increment or decrement the entropy count of the input pool by the value pointed to by the argument."
7677 msgstr "入力エントロピープールのカウントを引き数が指す値だけ加算または減算する。"
7678
7679 #. type: TP
7680 #: build/C/man4/random.4:270
7681 #, no-wrap
7682 msgid "B<RNDGETPOOL>"
7683 msgstr "B<RNDGETPOOL>"
7684
7685 #. type: Plain text
7686 #: build/C/man4/random.4:273
7687 msgid "Removed in Linux 2.6.9."
7688 msgstr "Linux 2.6.9 で削除された。"
7689
7690 #. type: TP
7691 #: build/C/man4/random.4:273
7692 #, no-wrap
7693 msgid "B<RNDADDENTROPY>"
7694 msgstr "B<RNDADDENTROPY>"
7695
7696 #. type: Plain text
7697 #: build/C/man4/random.4:281
7698 msgid "Add some additional entropy to the input pool, incrementing the entropy count.  This differs from writing to I</dev/random> or I</dev/urandom>, which only adds some data but does not increment the entropy count.  The following structure is used:"
7699 msgstr "入力プールに追加のエントロピーを追加し、エントロピーカウントを増やす。 この要求は I</dev/random> や I</dev/urandom> への書き込みとは異なる。 I</dev/random> や I</dev/urandom> への書き込みでは、 何らかのデータが追加されるだけで、 エントロピーカウントは増やされない。 以下の構造体が使用される。"
7700
7701 #. type: Plain text
7702 #: build/C/man4/random.4:288
7703 #, no-wrap
7704 msgid ""
7705 "    struct rand_pool_info {\n"
7706 "        int    entropy_count;\n"
7707 "        int    buf_size;\n"
7708 "        __u32  buf[0];\n"
7709 "    };\n"
7710 msgstr ""
7711 "    struct rand_pool_info {\n"
7712 "        int    entropy_count;\n"
7713 "        int    buf_size;\n"
7714 "        __u32  buf[0];\n"
7715 "    };\n"
7716
7717 #. type: Plain text
7718 #: build/C/man4/random.4:297
7719 msgid "Here I<entropy_count> is the value added to (or subtracted from) the entropy count, and I<buf> is the buffer of size I<buf_size> which gets added to the entropy pool."
7720 msgstr "I<entropy_count> はエントロピーカウントに加算 (または減算) する値である。 I<buf> は大きさが I<buf_size> のバッファーで、この内容がエントロピープールに追加される。"
7721
7722 #. type: TP
7723 #: build/C/man4/random.4:297
7724 #, no-wrap
7725 msgid "B<RNDZAPENTCNT>, B<RNDCLEARPOOL>"
7726 msgstr "B<RNDZAPENTCNT>, B<RNDCLEARPOOL>"
7727
7728 #. type: Plain text
7729 #: build/C/man4/random.4:301
7730 msgid "Zero the entropy count of all pools and add some system data (such as wall clock) to the pools."
7731 msgstr "すべてのプールのエントロピーカウントを 0 にし、何らかのシステムデータ (現在の時刻など) をプールに追加する。"
7732
7733 #. type: Plain text
7734 #: build/C/man4/random.4:303
7735 msgid "/dev/random"
7736 msgstr "/dev/random"
7737
7738 #.  .SH AUTHOR
7739 #.  The kernel's random number generator was written by
7740 #.  Theodore Ts'o (tytso@athena.mit.edu).
7741 #. type: Plain text
7742 #: build/C/man4/random.4:308
7743 msgid "/dev/urandom"
7744 msgstr "/dev/urandom"
7745
7746 #. type: Plain text
7747 #: build/C/man4/random.4:310
7748 msgid "B<mknod>(1)"
7749 msgstr "B<mknod>(1)"
7750
7751 #. type: Plain text
7752 #: build/C/man4/random.4:312
7753 msgid "RFC\\ 1750, \"Randomness Recommendations for Security\""
7754 msgstr "RFC\\ 1750, \"Randomness Recommendations for Security\""
7755
7756 #. type: TH
7757 #: build/C/man4/sd.4:26
7758 #, no-wrap
7759 msgid "SD"
7760 msgstr "SD"
7761
7762 #. type: TH
7763 #: build/C/man4/sd.4:26
7764 #, no-wrap
7765 msgid "2012-05-03"
7766 msgstr "2012-05-03"
7767
7768 #. type: Plain text
7769 #: build/C/man4/sd.4:29
7770 msgid "sd - driver for SCSI disk drives"
7771 msgstr "sd - SCSI ディスクドライブのためのドライバ"
7772
7773 #. type: Plain text
7774 #: build/C/man4/sd.4:33
7775 #, no-wrap
7776 msgid ""
7777 "B<#include E<lt>linux/hdreg.hE<gt>        >/* for HDIO_GETGEO */\n"
7778 "B<#include E<lt>linux/fs.hE<gt>           >/* for BLKGETSIZE and BLKRRPART */\n"
7779 msgstr ""
7780 "B<#include E<lt>linux/hdreg.hE<gt>        >/* for HDIO_GETGEO */\n"
7781 "B<#include E<lt>linux/fs.hE<gt>           >/* for BLKGETSIZE and BLKRRPART */\n"
7782
7783 #. type: Plain text
7784 #: build/C/man4/sd.4:45
7785 msgid "The block device name has the following form: B<sd>I<lp,> where I<l> is a letter denoting the physical drive, and I<p> is a number denoting the partition on that physical drive.  Often, the partition number, I<p>, will be left off when the device corresponds to the whole drive."
7786 msgstr "このブロックデバイス (block device) の名前は、次のような形式をとる: B<sd>I<lp,> このうち、 I<l> は物理ドライブを意味する文字であり、 I<p> はその物理ドライブ上のパーティション (partition) を意味する数字である。 パーティションナンバー I<p> がない場合は、そのデバイスファイルはドライブ全体をさす。"
7787
7788 #. type: Plain text
7789 #: build/C/man4/sd.4:54
7790 msgid "SCSI disks have a major device number of 8, and a minor device number of the form (16 * I<drive_number>) + I<partition_number>, where I<drive_number> is the number of the physical drive in order of detection, and I<partition_number> is as follows:"
7791 msgstr "SCSI ディスクはメジャーナンバー 8 を持ち、次のような形式のマイナーナンバー を持つ。(16 * I<drive_number>) + I<partition_number>、 この I<drive_number> は検出された物理ドライブの番号であり、 I<partition_number> は次のようになる:"
7792
7793 #. type: Plain text
7794 #: build/C/man4/sd.4:56
7795 msgid "partition 0 is the whole drive"
7796 msgstr "パーティション 0 はドライブ全体"
7797
7798 #. type: Plain text
7799 #: build/C/man4/sd.4:58
7800 msgid "partitions 1-4 are the DOS \"primary\" partitions"
7801 msgstr "パーティション 1 〜 4 は DOS の \"基本 (primary)\" パーティション"
7802
7803 #. type: Plain text
7804 #: build/C/man4/sd.4:60
7805 msgid "partitions 5-8 are the DOS \"extended\" (or \"logical\") partitions"
7806 msgstr "パーティション 5 〜 8 は DOS の \"拡張 (extended)\" (または、\"論理 (logical)\") パーティション。"
7807
7808 #. type: Plain text
7809 #: build/C/man4/sd.4:68
7810 msgid "For example, I</dev/sda> will have major 8, minor 0, and will refer to all of the first SCSI drive in the system; and I</dev/sdb3> will have major 8, minor 19, and will refer to the third DOS \"primary\" partition on the second SCSI drive in the system."
7811 msgstr "例えば、 I</dev/sda> はメジャーナンバー 8 マイナーナンバー 0 を持ち、システムの最初の SCSI ドライブ全体を参照する。そして、 I</dev/sdb3> はメジャーナンバー 8 マイナーナンバー 19 を持ち、システムの二つ目の SCSI ドライブの三番目の DOS \"基本\" パーティションを参照する。"
7812
7813 #. type: Plain text
7814 #: build/C/man4/sd.4:71
7815 msgid "At this time, only block devices are provided.  Raw devices have not yet been implemented."
7816 msgstr "現在は、ブロックデバイスだけが提供されている。ローデバイス (raw device)  はまだ実装されていない。"
7817
7818 #. type: Plain text
7819 #: build/C/man4/sd.4:75
7820 msgid "The following I<ioctl>s are provided:"
7821 msgstr "次の I<ioctl> が提供されている:"
7822
7823 #. type: TP
7824 #: build/C/man4/sd.4:75
7825 #, no-wrap
7826 msgid "B<HDIO_GETGEO>"
7827 msgstr "B<HDIO_GETGEO>"
7828
7829 #. type: Plain text
7830 #: build/C/man4/sd.4:79
7831 msgid "Returns the BIOS disk parameters in the following structure:"
7832 msgstr "次のような構造体を用いて BIOS のディスクパラメーターを返す:"
7833
7834 #. type: Plain text
7835 #: build/C/man4/sd.4:88
7836 #, no-wrap
7837 msgid ""
7838 "struct hd_geometry {\n"
7839 "    unsigned char  heads;\n"
7840 "    unsigned char  sectors;\n"
7841 "    unsigned short cylinders;\n"
7842 "    unsigned long  start;\n"
7843 "};\n"
7844 msgstr ""
7845 "struct hd_geometry {\n"
7846 "    unsigned char  heads;\n"
7847 "    unsigned char  sectors;\n"
7848 "    unsigned short cylinders;\n"
7849 "    unsigned long  start;\n"
7850 "};\n"
7851
7852 #. type: Plain text
7853 #: build/C/man4/sd.4:94
7854 msgid "A pointer to this structure is passed as the B<ioctl>(2)  parameter."
7855 msgstr "この構造体へのポインターが B<ioctl>(2)  へのパラメーターとして渡される。"
7856
7857 #. type: Plain text
7858 #: build/C/man4/sd.4:109
7859 msgid "The information returned in the parameter is the disk geometry of the drive I<as understood by DOS!> This geometry is I<not> the physical geometry of the drive.  It is used when constructing the drive's partition table, however, and is needed for convenient operation of B<fdisk>(1), B<efdisk>(1), and B<lilo>(1).  If the geometry information is not available, zero will be returned for all of the parameters."
7860 msgstr "このパラメーターに入れられて返される情報は、 I<DOS によって理解されるような> ドライブのジオメトリである。 このジオメトリは、ドライブの物理的なジオメトリ I<ではない。> この情報はドライブのパーティションテーブルを作成する時に用いられる、 また、 B<fdisk>(1), B<efdisk>(1), B<lilo>(1)  の適切な操作に必要である。 もし、ジオメトリの情報が得られなければ、それぞれの値全てにゼロが入れ られて返される。"
7861
7862 #. type: TP
7863 #: build/C/man4/sd.4:110
7864 #, no-wrap
7865 msgid "B<BLKGETSIZE>"
7866 msgstr "B<BLKGETSIZE>"
7867
7868 #. type: Plain text
7869 #: build/C/man4/sd.4:117
7870 msgid "Returns the device size in sectors.  The B<ioctl>(2)  parameter should be a pointer to a I<long>."
7871 msgstr "セクタの数で表したデバイスのサイズが返される。 B<ioctl>(2)  のパラメーターは、 I<long> へのポインターでなければならない。"
7872
7873 #. type: TP
7874 #: build/C/man4/sd.4:117
7875 #, no-wrap
7876 msgid "B<BLKRRPART>"
7877 msgstr "B<BLKRRPART>"
7878
7879 #. type: Plain text
7880 #: build/C/man4/sd.4:121
7881 msgid "Forces a reread of the SCSI disk partition tables.  No parameter is needed."
7882 msgstr "強制的に、SCSI ディスクのパーティションテーブルの再読み込みを行う。 パラメーターは必要ない。"
7883
7884 #. type: Plain text
7885 #: build/C/man4/sd.4:131
7886 msgid "The SCSI B<ioctl>(2)  operations are also supported.  If the B<ioctl>(2)  parameter is required, and it is NULL, then B<ioctl>(2)  will fail with the error B<EINVAL>."
7887 msgstr ""
7888 "SCSI の B<ioctl>(2) 操作も同様にサポートされる。 B<ioctl>(2) の\n"
7889 "パラメーターが必要で、そのパラメーターが NULL の場合は、 \n"
7890 "B<ioctl>(2) はエラー B<EINVAL> で失敗する。"
7891
7892 #. type: Plain text
7893 #: build/C/man4/sd.4:133
7894 msgid "/dev/sd[a-h]: the whole device"
7895 msgstr "/dev/sd[a-h]: ドライブ全体"
7896
7897 #. .SH "SEE ALSO"
7898 #. .BR scsi (4)
7899 #. type: Plain text
7900 #: build/C/man4/sd.4:137
7901 msgid "/dev/sd[a-h][0-8]: individual block partitions"
7902 msgstr "/dev/sd[a-h][0-8]: 個々のブロックパーティション"
7903
7904 #. type: TH
7905 #: build/C/man3/setlogmask.3:25
7906 #, no-wrap
7907 msgid "SETLOGMASK"
7908 msgstr "SETLOGMASK"
7909
7910 #. type: TH
7911 #: build/C/man3/setlogmask.3:25
7912 #, no-wrap
7913 msgid "2001-10-05"
7914 msgstr "2001-10-05"
7915
7916 #. type: Plain text
7917 #: build/C/man3/setlogmask.3:28
7918 msgid "setlogmask - set log priority mask"
7919 msgstr "setlogmask - ログの優先度マスクを設定する"
7920
7921 #. type: Plain text
7922 #: build/C/man3/setlogmask.3:31
7923 #, no-wrap
7924 msgid "B<#include E<lt>syslog.hE<gt>>\n"
7925 msgstr "B<#include E<lt>syslog.hE<gt>>\n"
7926
7927 #. type: Plain text
7928 #: build/C/man3/setlogmask.3:33
7929 #, no-wrap
7930 msgid "B<int setlogmask(int >I<mask>B<);>\n"
7931 msgstr "B<int setlogmask(int >I<mask>B<);>\n"
7932
7933 #. type: Plain text
7934 #: build/C/man3/setlogmask.3:43
7935 msgid "A process has a log priority mask that determines which calls to B<syslog>(3)  may be logged.  All other calls will be ignored.  Logging is enabled for the priorities that have the corresponding bit set in I<mask>.  The initial mask is such that logging is enabled for all priorities."
7936 msgstr "プロセスにはログ優先度マスク(log priority mask)が用意されていて、 これを用いて B<syslog>(3)  が呼び出された場合にログ記録を行うかどうかを決定する。 他のすべての関数が呼び出された場合はログ記録が行われない。 I<mask> の各ビットは優先度に対応しており、対応するビットが 1 にセットされている 優先度に対してログ収集(logging)が有効になる。 マスクの初期値は、すべての優先度に対してログ収集が有効になるような値である。"
7937
7938 #. type: Plain text
7939 #: build/C/man3/setlogmask.3:49
7940 msgid "The B<setlogmask>()  function sets this logmask for the calling process, and returns the previous mask.  If the mask argument is 0, the current logmask is not modified."
7941 msgstr "B<setlogmask>()  関数は、呼び出し元のプロセスに対するログマスクを設定し、 変更前のマスクを返す。 I<mask> 引き数が 0 ならば、現在のログマスクは変更されない。"
7942
7943 #. type: Plain text
7944 #: build/C/man3/setlogmask.3:69
7945 msgid "The eight priorities are B<LOG_EMERG>, B<LOG_ALERT>, B<LOG_CRIT>, B<LOG_ERR>, B<LOG_WARNING>, B<LOG_NOTICE>, B<LOG_INFO>, and B<LOG_DEBUG>.  The bit corresponding to a priority I<p> is I<LOG_MASK(p)>.  Some systems also provide a macro I<LOG_UPTO(p)> for the mask of all priorities in the above list up to and including I<p>."
7946 msgstr "以下の8レベルの優先度が定義されている(優先度の高い順): B<LOG_EMERG>, B<LOG_ALERT>, B<LOG_CRIT>, B<LOG_ERR>, B<LOG_WARNING>, B<LOG_NOTICE>, B<LOG_INFO>, B<LOG_DEBUG>。 優先度 I<p> に対応するビット列は I<LOG_MASK(p)> によって求められる。 優先度 I<p> 以上のすべての優先度 (I<p> を含む) のマスクビットを 求めることができるマクロ I<LOG_UPTO(p)> を使用できるシステムもある。"
7947
7948 #. type: Plain text
7949 #: build/C/man3/setlogmask.3:71
7950 msgid "This function returns the previous log priority mask."
7951 msgstr "変更前のログ優先度マスクの値を返す。"
7952
7953 #.  .SH NOTES
7954 #.  The glibc logmask handling was broken in versions before glibc 2.1.1.
7955 #. type: Plain text
7956 #: build/C/man3/setlogmask.3:75
7957 msgid "None."
7958 msgstr "なし。"
7959
7960 #. type: Plain text
7961 #: build/C/man3/setlogmask.3:78
7962 msgid "POSIX.1-2001.  Note that the description in POSIX.1-2001 is flawed."
7963 msgstr "POSIX.1-2001.  POSIX.1-2001 での説明には欠陥があることに注意すること。"
7964
7965 #. type: Plain text
7966 #: build/C/man3/setlogmask.3:82
7967 msgid "B<closelog>(3), B<openlog>(3), B<syslog>(3)"
7968 msgstr "B<closelog>(3), B<openlog>(3), B<syslog>(3)"
7969
7970 #. type: TH
7971 #: build/C/man4/sk98lin.4:27
7972 #, no-wrap
7973 msgid "SK98LIN"
7974 msgstr "SK98LIN"
7975
7976 #. type: Plain text
7977 #: build/C/man4/sk98lin.4:30
7978 msgid "sk98lin - Marvell/SysKonnect Gigabit Ethernet driver v6.21"
7979 msgstr "sk98lin - Marvell/SysKonnect ギガビットイーサネットドライバ v6.21"
7980
7981 #. type: Plain text
7982 #: build/C/man4/sk98lin.4:62
7983 msgid "B<insmod sk98lin.o> [B<Speed_A=>I<i,j,...>] [B<Speed_B=>I<i,j,...>] [B<AutoNeg_A=>I<i,j,...>] [B<AutoNeg_B=>I<i,j,...>] [B<DupCap_A=>I<i,j,...>] [B<DupCap_B=>I<i,j,...>] [B<FlowCtrl_A=>I<i,j,...>] [B<FlowCtrl_B=>I<i,j,...>] [B<Role_A=>I<i,j,...>] [B<Role_B=>I<i,j,...>] [B<ConType=>I<i,j,...>] [B<Moderation=>I<i,j,...>] [B<IntsPerSec=>I<i,j,...>] [B<PrefPort=>I<i,j,...>] [B<RlmtMode=>I<i,j,...>]"
7984 msgstr "B<insmod sk98lin.o> [B<Speed_A=>I<i,j,...>] [B<Speed_B=>I<i,j,...>] [B<AutoNeg_A=>I<i,j,...>] [B<AutoNeg_B=>I<i,j,...>] [B<DupCap_A=>I<i,j,...>] [B<DupCap_B=>I<i,j,...>] [B<FlowCtrl_A=>I<i,j,...>] [B<FlowCtrl_B=>I<i,j,...>] [B<Role_A=>I<i,j,...>] [B<Role_B=>I<i,j,...>] [B<ConType=>I<i,j,...>] [B<Moderation=>I<i,j,...>] [B<IntsPerSec=>I<i,j,...>] [B<PrefPort=>I<i,j,...>] [B<RlmtMode=>I<i,j,...>]"
7985
7986 #. type: Plain text
7987 #: build/C/man4/sk98lin.4:67
7988 msgid "B<Note>: This obsolete driver was removed from the kernel in version 2.6.26."
7989 msgstr "B<注意>: この時代遅れのドライバはカーネル 2.6.26 で削除された。"
7990
7991 #. type: Plain text
7992 #: build/C/man4/sk98lin.4:74
7993 msgid "B<sk98lin> is the Gigabit Ethernet driver for Marvell and SysKonnect network adapter cards.  It supports SysKonnect SK-98xx/SK-95xx compliant Gigabit Ethernet Adapter and any Yukon compliant chipset."
7994 msgstr "B<sk98lin> は Marvell と SysKonnect のネットワークアダプタカードの ギガビットイーサネットドライバである。 これは SysKonnect SK-98xx/SK-95xx 互換のギガビットイーサネットアダプタと Yukon 互換のチップセットをサポートしている。"
7995
7996 #. type: Plain text
7997 #: build/C/man4/sk98lin.4:81
7998 msgid "When loading the driver using insmod, parameters for the network adapter cards might be stated as a sequence of comma separated commands.  If for instance two network adapters are installed and AutoNegotiation on Port A of the first adapter should be ON, but on the Port A of the second adapter switched OFF, one must enter:"
7999 msgstr "insmod を使ってドライバをロードする際、 ネットワークアダプタカードのパラメーターを コンマで区切られたコマンドの列として指定することができる。 2 つのネットワークアダプタが取り付けられている時に、 例えば、1 つ目のアダプタのポート A の自動ネゴシエーションは ON にするが、 2 つ目のアダプタのポート A は OFF にする場合は、 以下のように入力すればよい:"
8000
8001 #. type: Plain text
8002 #: build/C/man4/sk98lin.4:83
8003 #, no-wrap
8004 msgid "   insmod sk98lin.o AutoNeg_A=On,Off\n"
8005 msgstr "   insmod sk98lin.o AutoNeg_A=On,Off\n"
8006
8007 #. type: Plain text
8008 #: build/C/man4/sk98lin.4:98
8009 msgid "After B<sk98lin> is bound to one or more adapter cards and the I</proc> filesystem is mounted on your system, a dedicated statistics file will be created in the folder I</proc/net/sk98lin> for all ports of the installed network adapter cards.  Those files are named I<eth[x]>, where I<x> is the number of the interface that has been assigned to a dedicated port by the system."
8010 msgstr "B<sk98lin> が 1 つ以上のアダプタカードに関連づけられていて、 かつ I</proc> ファイルシステムがシステムにマウントされている場合、 取り付けられているネットワークアダプタカードの全てのポートについて、 (ポート単位に) 専用の統計ファイルがフォルダ I</proc/net/sk98lin> に作られる。 これらのファイルは I<eth[x]> という名前であり、 I<x> はインタフェースの番号である。 この番号はシステムによってポート毎に割り当てられたものである。"
8011
8012 #. type: Plain text
8013 #: build/C/man4/sk98lin.4:108
8014 msgid "If loading is finished, any desired IP address can be assigned to the respective I<eth[x]> interface using the B<ifconfig>(8)  command.  This causes the adapter to connect to the Ethernet and to display a status message on the console saying \"ethx: network connection up using port y\" followed by the configured or detected connection parameters."
8015 msgstr "ロードが完了すると、 B<ifconfig>(8)  コマンドを使って、各 I<eth[x]> インタフェースに希望する IP アドレスを割り当てることができる。 これによりアダプタがイーサネットに接続され、 コンソールに状態メッセージが表示される。 このメッセージでは、 \"ethx: network connection up using port y\" の後に 設定されたり検出された接続パラメーターが表示される。"
8016
8017 #. type: Plain text
8018 #: build/C/man4/sk98lin.4:124
8019 msgid "The B<sk98lin> also supports large frames (also called jumbo frames).  Using jumbo frames can improve throughput tremendously when transferring large amounts of data.  To enable large frames, the MTU (maximum transfer unit) size for an interface is to be set to a high value.  The default MTU size is 1500 and can be changed up to 9000 (bytes).  Setting the MTU size can be done when assigning the IP address to the interface or later by using the B<ifconfig>(8)  command with the mtu parameter.  If for instance eth0 needs an IP address and a large frame MTU size, the following two commands might be used:"
8020 msgstr "B<sk98lin> はラージフレーム (ジャンボフレームとも呼ばれる) もサポートする。 ジャンボフレームを使うと、大量のデータを転送する際に、 スループットを大幅に向上させることができる。 ラージフレームを有効にするには、 インタフェースの MTU (maximum transfer unit, 最大転送単位) サイズを 大きな値に設定すればよい。 デフォルトの MTU サイズは 1500 であり、 最大で 9000 (バイト) まで設定することができる。 MTU サイズを設定するのは、 インタフェースに IP アドレスを割り当てるときにもできるし、後から B<ifconfig>(8)  コマンドに mtu 引き数を指定することで設定することもできる。 例えば、eth0 に IP アドレスとラージフレーム MTU サイズを 割り当てたい場合、以下の 2 つのコマンドを実行すればよい:"
8021
8022 #. type: Plain text
8023 #: build/C/man4/sk98lin.4:127
8024 #, no-wrap
8025 msgid ""
8026 "    ifconfig eth0 10.1.1.1\n"
8027 "    ifconfig eth0 mtu 9000\n"
8028 msgstr ""
8029 "    ifconfig eth0 10.1.1.1\n"
8030 "    ifconfig eth0 mtu 9000\n"
8031
8032 #. type: Plain text
8033 #: build/C/man4/sk98lin.4:129
8034 msgid "Those two commands might even be combined into one:"
8035 msgstr "これらの 2 つのコマンドは 1 つにまとめることもできる:"
8036
8037 #. type: Plain text
8038 #: build/C/man4/sk98lin.4:131
8039 #, no-wrap
8040 msgid "    ifconfig eth0 10.1.1.1 mtu 9000\n"
8041 msgstr "    ifconfig eth0 10.1.1.1 mtu 9000\n"
8042
8043 #. type: Plain text
8044 #: build/C/man4/sk98lin.4:144
8045 msgid "Note that large frames can be used only if permitted by your network infrastructure.  This means, that any switch being used in your Ethernet must also support large frames.  Quite some switches support large frames, but need to be configured to do so.  Most of the times, their default setting is to support only standard frames with an MTU size of 1500 (bytes).  In addition to the switches inside the network, all network adapters that are to be used must also be enabled regarding jumbo frames.  If an adapter is not set to receive large frames, it will simply drop them."
8046 msgstr "ラージフレームを使用できるのは、ネットワーク環境全体で ラージフレームの使用が認められている場合のみである点に注意すること。 つまり、イーサネットで使われている全てのスイッチでも ラージフレームがサポートされていなければならない。 多くのスイッチがラージフレームをサポートしてはいるが、 設定を行う必要がある。 多くの場合、デフォルトの設定では標準フレーム (1500 バイトの MTU サイズ) だけしかサポートしない。 ネットワーク内のスイッチに加え、 使用される全てのネットワークアダプタでも ジャンボフレームが有効になっていなければならない。 アダプタがラージフレームを受け取るように設定されていない場合、 アダプタはそのフレームを単純に捨ててしまう。"
8047
8048 #. type: Plain text
8049 #: build/C/man4/sk98lin.4:148
8050 msgid "Switching back to the standard Ethernet frame size can be done by using the B<ifconfig>(8)  command again:"
8051 msgstr "標準のイーサネットフレームサイズに戻すのは、再び B<ifconfig>(8)  コマンドを使えばよい:"
8052
8053 #. type: Plain text
8054 #: build/C/man4/sk98lin.4:150
8055 #, no-wrap
8056 msgid "    ifconfig eth0 mtu 1500\n"
8057 msgstr "    ifconfig eth0 mtu 1500\n"
8058
8059 #. type: Plain text
8060 #: build/C/man4/sk98lin.4:156
8061 msgid "The Marvell/SysKonnect Gigabit Ethernet driver for Linux is able to support VLAN and Link Aggregation according to IEEE standards 802.1, 802.1q, and 802.3ad.  Those features are available only after installation of open source modules which can be found on the Internet:"
8062 msgstr "Linux の Marvell/SysKonnect ギガビットイーサネットドライバは、 IEEE 規格 802.1, 802.1q, 802.3ad に準拠する VLAN と Link Aggregation に対応している。 これらの機能は、インターネットにあるオープンソースモジュールを インストールした後でのみ利用可能である:"
8063
8064 #. type: Plain text
8065 #: build/C/man4/sk98lin.4:161
8066 msgid "I<VLAN>: E<.UR http://www.candelatech.com\\:/~greear\\:/vlan.html> E<.UE>"
8067 msgstr "I<VLAN>: E<.UR http://www.candelatech.com\\:/~greear\\:/vlan.html> E<.UE>"
8068
8069 #. type: Plain text
8070 #: build/C/man4/sk98lin.4:167
8071 msgid "I<Link> I<Aggregation>: E<.UR http://www.st.rim.or.jp\\:/~yumo> E<.UE>"
8072 msgstr "I<Link> I<Aggregation>: E<.UR http://www.st.rim.or.jp\\:/~yumo> E<.UE>"
8073
8074 #. type: Plain text
8075 #: build/C/man4/sk98lin.4:172
8076 msgid "Note that Marvell/SysKonnect does not offer any support for these open source modules and does not take the responsibility for any kind of failures or problems arising when using these modules."
8077 msgstr "Marvell/SysKonnect は、これらのオープンソースモジュールに対するサポートは 行っておらず、これらを使った場合に生じるいかなる失敗や問題についても 責任を負わない点に注意すること。"
8078
8079 #. type: SS
8080 #: build/C/man4/sk98lin.4:172 build/C/man4/wavelan.4:39
8081 #, no-wrap
8082 msgid "Parameters"
8083 msgstr "パラメーター"
8084
8085 #. type: TP
8086 #: build/C/man4/sk98lin.4:173
8087 #, no-wrap
8088 msgid "B<Speed_A=>I<i,j,...>"
8089 msgstr "B<Speed_A=>I<i,j,...>"
8090
8091 #. type: Plain text
8092 #: build/C/man4/sk98lin.4:190
8093 msgid "This parameter is used to set the speed capabilities of port A of an adapter card.  It is valid only for Yukon copper adapters.  Possible values are: I<10>, I<100>, I<1000>, or I<Auto>; I<Auto> is the default.  Usually, the speed is negotiated between the two ports during link establishment.  If this fails, a port can be forced to a specific setting with this parameter."
8094 msgstr "このパラメーターはアダプタカードのポート A がサポートするリンク速度を 設定するのに使われる。これは Yukon copper アダプタでのみ有効である。 使用可能な値は以下の通り: I<10>, I<100>, I<1000>, I<Auto>。 デフォルトは I<Auto> である。 通常、リンク速度はリンクの確立時に 2 つのポートの間で自動設定される。 これに失敗した場合、ポートはこの引き数で指定された設定になる。"
8095
8096 #. type: TP
8097 #: build/C/man4/sk98lin.4:190
8098 #, no-wrap
8099 msgid "B<Speed_B=>I<i,j,...>"
8100 msgstr "B<Speed_B=>I<i,j,...>"
8101
8102 #. type: Plain text
8103 #: build/C/man4/sk98lin.4:207
8104 msgid "This parameter is used to set the speed capabilities of port B of an adapter card.  It is valid only for Yukon copper adapters.  Possible values are: I<10>, I<100>, I<1000>, or I<Auto>; I<Auto> is the default.  Usually, the speed is negotiated between the two ports during link establishment.  If this fails, a port can be forced to a specific setting with this parameter."
8105 msgstr "このパラメーターはアダプタカードのポート B がサポートするリンク速度を 設定するのに使われる。これは Yukon copper アダプタでのみ有効である。 使用可能な値は以下の通り: I<10>, I<100>, I<1000>, I<Auto>。 デフォルトは I<Auto> である。 通常、リンク速度はリンクの確立時に 2 つのポートの間で自動設定される。 これに失敗した場合、ポートはこの引き数で指定された設定になる。"
8106
8107 #. type: TP
8108 #: build/C/man4/sk98lin.4:207
8109 #, no-wrap
8110 msgid "B<AutoNeg_A=>I<i,j,...>"
8111 msgstr "B<AutoNeg_A=>I<i,j,...>"
8112
8113 #. type: Plain text
8114 #: build/C/man4/sk98lin.4:221
8115 msgid "Enables or disables the use of autonegotiation of port A of an adapter card.  Possible values are: I<On>, I<Off>, or I<Sense>; I<On> is the default.  The I<Sense> mode automatically detects whether the link partner supports auto-negotiation or not."
8116 msgstr "アダプタカードのポート A の自動設定 (autonegotiation) の使用を 有効または無効にする。使用可能な値は以下の通り: I<On>, I<Off>, I<Sense>。 デフォルトは I<On> である。 I<Sense> モードはリンクパートナが自動設定をサポートしているか否かを 自動的に検知する。"
8117
8118 #. type: TP
8119 #: build/C/man4/sk98lin.4:221
8120 #, no-wrap
8121 msgid "B<AutoNeg_B=>I<i,j,...>"
8122 msgstr "B<AutoNeg_B=>I<i,j,...>"
8123
8124 #. type: Plain text
8125 #: build/C/man4/sk98lin.4:235
8126 msgid "Enables or disables the use of autonegotiation of port B of an adapter card.  Possible values are: I<On>, I<Off>, or I<Sense>; I<On> is the default.  The I<Sense> mode automatically detects whether the link partner supports auto-negotiation or not."
8127 msgstr "アダプタカードのポート B の自動設定 (autonegotiation) の使用を 有効または無効にする。使用可能な値は以下の通り: I<On>, I<Off>, I<Sense>。 デフォルトは I<On> である。 I<Sense> モードはリンクパートナが自動設定をサポートしているか否かを 自動的に検知する。"
8128
8129 #. type: TP
8130 #: build/C/man4/sk98lin.4:235
8131 #, no-wrap
8132 msgid "B<DupCap_A=>I<i,j,...>"
8133 msgstr "B<DupCap_A=>I<i,j,...>"
8134
8135 #. type: Plain text
8136 #: build/C/man4/sk98lin.4:265
8137 msgid "This parameter indicates the duplex mode to be used for port A of an adapter card.  Possible values are: I<Half>, I<Full>, or I<Both>; I<Both> is the default.  This parameter is relevant only if AutoNeg_A of port A is not set to I<Sense>.  If AutoNeg_A is set to I<On>, all three values of DupCap_A ( I<Half>, I<Full> or I<Both>)  might be stated.  If AutoNeg_A is set to I<Off>, only DupCap_A values I<Full> and I<Half> are allowed.  This DupCap_A parameter is useful if your link partner does not support all possible duplex combinations."
8138 msgstr "この引き数はアダプタカードのポート A で使う二重通信 (duplex) モードを示す。 使用可能な値は以下の通り: I<Half>, I<Full>, I<Both>。 デフォルトは I<Both> である。 この引き数はポート A の AutoNeg_A が I<Sense> に設定されていない場合にのみ有効である。 AutoNeg_A が I<On> の場合、DupCap_A の 3 つの値 (I<Half>, I<Full>, I<Both>)  のうちどれでも指定することができる。 AutoNeg_A が I<Off> の場合、DupCap_A の値 I<Full> と I<Half> のみを指定することができる。 この DupCap_A 引き数は、リンクパートナが全ての二重通信の組み合わせを サポートしていない場合に役に立つ。"
8139
8140 #. type: TP
8141 #: build/C/man4/sk98lin.4:265
8142 #, no-wrap
8143 msgid "B<DupCap_B=>I<i,j,...>"
8144 msgstr "B<DupCap_B=>I<i,j,...>"
8145
8146 #. type: Plain text
8147 #: build/C/man4/sk98lin.4:295
8148 msgid "This parameter indicates the duplex mode to be used for port B of an adapter card.  Possible values are: I<Half>, I<Full>, or I<Both>; I<Both> is the default.  This parameter is relevant only if AutoNeg_B of port B is not set to I<Sense>.  If AutoNeg_B is set to I<On>, all three values of DupCap_B ( I<Half>, I<Full> or I<Both>)  might be stated.  If AutoNeg_B is set to I<Off>, only DupCap_B values I<Full> and I<Half> are allowed.  This DupCap_B parameter is useful if your link partner does not support all possible duplex combinations."
8149 msgstr "この引き数はアダプタカードのポート B で使う二重通信モードを示す。 使用可能な値は以下の通り: I<Half>, I<Full>, I<Both>。 デフォルトは I<Both> である。 この引き数はポート B の AutoNeg_B が I<Sense> に設定されていない場合にのみ有効である。 AutoNeg_B が I<On> の場合、DupCap_B の 3 つの値 (I<Half>, I<Full>, I<Both>)  のうちどれでも指定することができる。 AutoNeg_B が I<Off> の場合、DupCap_B の値 I<Full> と I<Half> のみを指定することができる。 この DupCap_B 引き数は、リンクパートナが全ての二重通信の組み合わせを サポートしていない場合に役に立つ。"
8150
8151 #. type: TP
8152 #: build/C/man4/sk98lin.4:295
8153 #, no-wrap
8154 msgid "B<FlowCtrl_A=>I<i,j,...>"
8155 msgstr "B<FlowCtrl_A=>I<i,j,...>"
8156
8157 #. type: Plain text
8158 #: build/C/man4/sk98lin.4:308 build/C/man4/sk98lin.4:341
8159 msgid "This parameter can be used to set the flow control capabilities the port reports during auto-negotiation.  Possible values are: I<Sym>, I<SymOrRem>, I<LocSend>, or I<None>; I<SymOrRem> is the default.  The different modes have the following meaning:"
8160 msgstr "この引き数は自動設定時にポートが対向に伝える フロー制御機能を設定する。 使用可能な値は以下の通り: I<Sym>, I<SymOrRem>, I<LocSend>, I<None>。 デフォルトは I<SymOrRem> である。 それぞれのモードには以下のような意味がある:"
8161
8162 #. type: Plain text
8163 #: build/C/man4/sk98lin.4:313 build/C/man4/sk98lin.4:345
8164 #, no-wrap
8165 msgid ""
8166 "I<Sym>\n"
8167 "= Symmetric\n"
8168 " both link partners are allowed to send PAUSE frames\n"
8169 msgstr ""
8170 "I<Sym>\n"
8171 "= Symmetric\n"
8172 " リンクパートナの双方が PAUSE フレームを送ることができる。\n"
8173
8174 #. type: Plain text
8175 #: build/C/man4/sk98lin.4:317 build/C/man4/sk98lin.4:349
8176 #, no-wrap
8177 msgid ""
8178 "I<SymOrRem>\n"
8179 "= SymmetricOrRemote\n"
8180 " both or only remote partner are allowed to send PAUSE frames\n"
8181 msgstr ""
8182 "I<SymOrRem>\n"
8183 "= SymmetricOrRemote\n"
8184 " リンクパートナの双方またはリモートパートナのみが\n"
8185 "PAUSE フレームを送ることができる。\n"
8186
8187 #. type: Plain text
8188 #: build/C/man4/sk98lin.4:321 build/C/man4/sk98lin.4:353
8189 #, no-wrap
8190 msgid ""
8191 "I<LocSend>\n"
8192 "= LocalSend\n"
8193 " only local link partner is allowed to send PAUSE frames\n"
8194 msgstr ""
8195 "I<LocSend>\n"
8196 "= LocalSend\n"
8197 " ローカルリンクパートナのみが PAUSE フレームを送ることができる。\n"
8198
8199 #. type: Plain text
8200 #: build/C/man4/sk98lin.4:325 build/C/man4/sk98lin.4:357
8201 #, no-wrap
8202 msgid ""
8203 "I<None>\n"
8204 "= None\n"
8205 " no link partner is allowed to send PAUSE frames\n"
8206 msgstr ""
8207 "I<None>\n"
8208 "= None\n"
8209 " リンクパートナのどちらも PAUSE フレームを送ることはできない。\n"
8210
8211 #. type: Plain text
8212 #: build/C/man4/sk98lin.4:328
8213 msgid "Note that this parameter is ignored if AutoNeg_A is set to I<Off>."
8214 msgstr "このパラメーターは AutoNeg_A が I<Off> の場合には無視される点に注意すること。"
8215
8216 #. type: TP
8217 #: build/C/man4/sk98lin.4:328
8218 #, no-wrap
8219 msgid "B<FlowCtrl_B=>I<i,j,...>"
8220 msgstr "B<FlowCtrl_B=>I<i,j,...>"
8221
8222 #. type: Plain text
8223 #: build/C/man4/sk98lin.4:361
8224 msgid "Note that this parameter is ignored if AutoNeg_B is set to I<Off>."
8225 msgstr "このパラメーターは AutoNeg_B が I<Off> の場合には無視される点に注意すること。"
8226
8227 #. type: TP
8228 #: build/C/man4/sk98lin.4:361
8229 #, no-wrap
8230 msgid "B<Role_A=>I<i,j,...>"
8231 msgstr "B<Role_A=>I<i,j,...>"
8232
8233 #. type: Plain text
8234 #: build/C/man4/sk98lin.4:377
8235 msgid "This parameter is valid only for 1000Base-T adapter cards.  For two 1000Base-T ports to communicate, one must take the role of the master (providing timing information), while the other must be the slave.  Possible values are: I<Auto>, I<Master>, or I<Slave>; I<Auto> is the default.  Usually, the role of a port is negotiated between two ports during link establishment, but if that fails the port A of an adapter card can be forced to a specific setting with this parameter."
8236 msgstr "この引き数は 1000Base-T アダプタカードでのみ有効である。 2 つの 1000Base-T ポートが通信する場合、 片方が (タイミング情報を提供する) マスタの役割をしなければならず、 もう片方がスレーブにならなければならない。 使用可能な値は以下の通り: I<Auto>, I<Master>, I<Slave>。 デフォルトは I<Auto> である。 通常、ポートの役割は 2 つのポートでリンクを確立するときに自動設定される。 自動設定に失敗した場合、 アダプタカードのポート A はこの引き数で指定された設定になる。"
8237
8238 #. type: TP
8239 #: build/C/man4/sk98lin.4:377
8240 #, no-wrap
8241 msgid "B<Role_B=>I<i,j,...>"
8242 msgstr "B<Role_B=>I<i,j,...>"
8243
8244 #. type: Plain text
8245 #: build/C/man4/sk98lin.4:394
8246 msgid "This parameter is valid only for 1000Base-T adapter cards.  For two 1000Base-T ports to communicate, one must take the role of the master (providing timing information), while the other must be the slave.  Possible values are: I<Auto>, I<Master>, or I<Slave>; I<Auto> is the default.  Usually, the role of a port is negotiated between two ports during link establishment, but if that fails the port B of an adapter card can be forced to a specific setting with this parameter."
8247 msgstr "この引き数は 1000Base-T アダプタカードでのみ有効である。 2 つの 1000Base-T ポートが通信する場合、 片方が (タイミング情報を提供する) マスタの役割をしなければならず、 もう片方がスレーブにならなければならない。 使用可能な値は以下の通り: I<Auto>, I<Master>, I<Slave>。 デフォルトは I<Auto> である。 通常、ポートの役割は 2 つのポートでリンクを確立するときに自動設定される。 自動設定に失敗した場合、 アダプタカードのポート B はこの引き数で指定された設定になる。"
8248
8249 #. type: TP
8250 #: build/C/man4/sk98lin.4:394
8251 #, no-wrap
8252 msgid "B<ConType=>I<i,j,...>"
8253 msgstr "B<ConType=>I<i,j,...>"
8254
8255 #. type: Plain text
8256 #: build/C/man4/sk98lin.4:402
8257 msgid "This parameter is a combination of all five per-port parameters within one single parameter.  This simplifies the configuration of both ports of an adapter card.  The different values of this variable reflect the most meaningful combinations of port parameters.  Possible values and their corresponding combination of per-port parameters:"
8258 msgstr "この引き数は、ポート毎に指定する、全部で 5 個の引き数の組み合わせを、 1 つの引き数にしたものである。 これによりアダプタカードの 2 つのポートの設定を簡略化できる。 この変数のそれぞれの値は、 ポート引き数の最も意味のある組み合わせを反映したものである。 使用可能な値とそれに対応するポート毎のパラメーターの組み合わせは、 以下の通り:"
8259
8260 #. type: Plain text
8261 #: build/C/man4/sk98lin.4:407
8262 #, no-wrap
8263 msgid ""
8264 "ConType | DupCap   AutoNeg   FlowCtrl   Role   Speed\n"
8265 "--------+-------------------------------------------\n"
8266 "I<Auto>    |  Both      On      SymOrRem   Auto   Auto\n"
8267 msgstr ""
8268 "ConType | DupCap   AutoNeg   FlowCtrl   Role   Speed\n"
8269 "--------+-------------------------------------------\n"
8270 "I<Auto>    |  Both      On      SymOrRem   Auto   Auto\n"
8271
8272 #. type: Plain text
8273 #: build/C/man4/sk98lin.4:409
8274 #, no-wrap
8275 msgid "I<100FD>   |  Full      Off       None     Auto   100\n"
8276 msgstr "I<100FD>   |  Full      Off       None     Auto   100\n"
8277
8278 #. type: Plain text
8279 #: build/C/man4/sk98lin.4:411
8280 #, no-wrap
8281 msgid "I<100HD>   |  Half      Off       None     Auto   100\n"
8282 msgstr "I<100HD>   |  Half      Off       None     Auto   100\n"
8283
8284 #. type: Plain text
8285 #: build/C/man4/sk98lin.4:413
8286 #, no-wrap
8287 msgid "I<10FD>    |  Full      Off       None     Auto   10\n"
8288 msgstr "I<10FD>    |  Full      Off       None     Auto   10\n"
8289
8290 #. type: Plain text
8291 #: build/C/man4/sk98lin.4:415
8292 #, no-wrap
8293 msgid "I<10HD>    |  Half      Off       None     Auto   10\n"
8294 msgstr "I<10HD>    |  Half      Off       None     Auto   10\n"
8295
8296 #. type: Plain text
8297 #: build/C/man4/sk98lin.4:425
8298 msgid "Stating any other port parameter together with this I<ConType> parameter will result in a merged configuration of those settings.  This is due to the fact, that the per-port parameters (e.g., I<Speed_A>)  have a higher priority than the combined variable I<ConType>."
8299 msgstr "その他のポート引き数を I<ConType> 引き数と組み合わせて指定すると、それらの設定を結合した設定となる。 これは、ポート毎の引き数 (例えば I<Speed_A>)  の方が組み合わせ変数 I<ConType> より優先順位が高いためである。"
8300
8301 #. type: TP
8302 #: build/C/man4/sk98lin.4:425
8303 #, no-wrap
8304 msgid "B<Moderation=>I<i,j,...>"
8305 msgstr "B<Moderation=>I<i,j,...>"
8306
8307 #. type: Plain text
8308 #: build/C/man4/sk98lin.4:442
8309 msgid "Interrupt moderation is employed to limit the maximum number of interrupts the driver has to serve.  That is, one or more interrupts (which indicate any transmit or receive packet to be processed) are queued until the driver processes them.  When queued interrupts are to be served, is determined by the I<IntsPerSec> parameter, which is explained later below.  Possible moderation modes are: I<None>, I<Static>, or I<Dynamic>; I<None> is the default.  The different modes have the following meaning:"
8310 msgstr "割り込み調停 (interrupt moderation) は、ドライバが処理を開始しなければ ならない割り込み回数の最大値を設定するために使用される。 つまり、ドライバが処理を行うまで、1回以上の割り込み (送信または受信パケットが処理されること) がキューに入れられる。 キューに入れられた割り込みがいつ処理されるかは、 以下で説明する I<IntsPerSec> 引き数で決定される。 使用可能な調停モードは以下の通り: I<None>, I<Static>, I<Dynamic>。 デフォルトは I<None> である。 それぞれのモードは以下の意味を持つ:"
8311
8312 #. type: Plain text
8313 #: build/C/man4/sk98lin.4:447
8314 msgid "I<None> No interrupt moderation is applied on the adapter card.  Therefore, each transmit or receive interrupt is served immediately as soon as it appears on the interrupt line of the adapter card."
8315 msgstr "I<None> アダプタカードに対して割り込み調停を適用しない。 よって送信または受信割り込みは、 アダプタカードの割り込み線に現れると直ぐに処理される。"
8316
8317 #. type: Plain text
8318 #: build/C/man4/sk98lin.4:462
8319 msgid "I<Static> Interrupt moderation is applied on the adapter card.  All transmit and receive interrupts are queued until a complete moderation interval ends.  If such a moderation interval ends, all queued interrupts are processed in one big bunch without any delay.  The term I<Static> reflects the fact, that interrupt moderation is always enabled, regardless how much network load is currently passing via a particular interface.  In addition, the duration of the moderation interval has a fixed length that never changes while the driver is operational."
8320 msgstr "I<Static> アダプタカードに対して割り込み調停が適用される。 全ての送信または受信割り込みは、調停間隔が完全に終わるまで キューに入れられる。 この調停間隔が終わると、キューに入れられた全ての割り込みは、 1個の大きな塊として遅延なく処理される。 I<Static> という用語は、あるインタフェースに現在どれだけの ネットワーク負荷がかかっているかに関わらず、 割り込み調停が常に有効になることを表している。 さらに、調停間隔の時間は固定で、ドライバが動作している間は変化しない。"
8321
8322 #. type: Plain text
8323 #: build/C/man4/sk98lin.4:473
8324 msgid "I<Dynamic> Interrupt moderation might be applied on the adapter card, depending on the load of the system.  If the driver detects that the system load is too high, the driver tries to shield the system against too much network load by enabling interrupt moderation.  If\\(emat a later time\\(emthe CPU utilization decreases again (or if the network load is negligible), the interrupt moderation will automatically be disabled."
8325 msgstr "I<Dynamic> システムの負荷に応じて、アダプタカードに対して割り込み調停が適用される。 ドライバがシステムの負荷が高すぎると検出した場合、 割り込み調停を有効にすることにより、 過剰なネットワーク負荷からシステムを保護しようとする。 \\(emその後に\\(emCPU 利用率が再び下がった場合 (またはネットワーク負荷が極わずかになった場合)、 割り込み調停は自動的に無効にされる。"
8326
8327 #. type: Plain text
8328 #: build/C/man4/sk98lin.4:479
8329 msgid "Interrupt moderation should be used when the driver has to handle one or more interfaces with a high network load, which\\(emas a consequence\\(emleads also to a high CPU utilization.  When moderation is applied in such high network load situations, CPU load might be reduced by 20-30% on slow computers."
8330 msgstr "ドライバが扱わなければならないインタフェースのうち ネットワーク負荷が高いものが 1 つ以上あり、 \\(emその結果\\(emCPU 利用率が高くなっている場合、 割り込み調停を使うべきである。 ネットワーク負荷が高い状況で調停が適用されると、 遅いコンピュータでは CPU 負荷が 20-30% 削減されるだろう。"
8331
8332 #. type: Plain text
8333 #: build/C/man4/sk98lin.4:483
8334 msgid "Note that the drawback of using interrupt moderation is an increase of the round-trip-time (RTT), due to the queuing and serving of interrupts at dedicated moderation times."
8335 msgstr "割り込み調停を使うことの欠点として、 往復遅延時間 (round-trip-time, RTT) の増加がある点に注意すること。 これは、割り込みがキューに入れられ、まとめて処理されるためである。"
8336
8337 #. type: TP
8338 #: build/C/man4/sk98lin.4:483
8339 #, no-wrap
8340 msgid "B<IntsPerSec=>I<i,j,...>"
8341 msgstr "B<IntsPerSec=>I<i,j,...>"
8342
8343 #. type: Plain text
8344 #: build/C/man4/sk98lin.4:493
8345 msgid "This parameter determines the length of any interrupt moderation interval.  Assuming that static interrupt moderation is to be used, an I<IntsPerSec> parameter value of 2000 will lead to an interrupt moderation interval of 500 microseconds.  Possible values for this parameter are in the range of 30...40000 (interrupts per second).  The default value is 2000."
8346 msgstr "この引き数は割り込み調停の間隔を決定する。 静的 (static) 割り込み調停が使われている場合、 I<IntsPerSec> 引き数の値が 2000 であれば、割り込み調停の間隔は 500 ミリ秒になる。 この引き数に設定可能な値は 30...40000 の範囲で、 これは 1 秒毎の割り込み回数である。 デフォルト値は 2000 である。"
8347
8348 #. type: Plain text
8349 #: build/C/man4/sk98lin.4:497
8350 msgid "This parameter is used only if either static or dynamic interrupt moderation is enabled on a network adapter card.  This parameter is ignored if no moderation is applied."
8351 msgstr "この引き数は静的 (static) または動的 (dynamic) 割り込み調停が 有効になっているときにのみ使用される。 この引き数は割り込み調停が適用されていない場合には無視される。"
8352
8353 #. type: Plain text
8354 #: build/C/man4/sk98lin.4:504
8355 msgid "Note that the duration of the moderation interval is to be chosen with care.  At first glance, selecting a very long duration (e.g., only 100 interrupts per second) seems to be meaningful, but the increase of packet-processing delay is tremendous.  On the other hand, selecting a very short moderation time might compensate the use of any moderation being applied."
8356 msgstr "調停間隔の期間は注意して選ぶこと。 一見したところでは、とても長い期間 (例えば 1 秒間に 100 回だけの割り込み) を 選ぶことに意味があるように見えるかもしれないが、そうすると パケット処理の遅延が激しく増加する。 一方で、とても短い調停時間を選ぶと、割り込み調停を使う意味がなくなってしまう。"
8357
8358 #. type: TP
8359 #: build/C/man4/sk98lin.4:504
8360 #, no-wrap
8361 msgid "B<PrefPort=>I<i,j,...>"
8362 msgstr "B<PrefPort=>I<i,j,...>"
8363
8364 #. type: Plain text
8365 #: build/C/man4/sk98lin.4:516
8366 msgid "This parameter is used to force the preferred port to A or B (on dual-port network adapters).  The preferred port is the one that is used if both ports A and B are detected as fully functional.  Possible values are: I<A> or I<B>; I<A> is the default."
8367 msgstr "この引き数は (2 ポートのネットワークアダプタで)  優先 (preferred) ポートを A または B のどちらにするかを指定するのに使われる。 優先ポートとは、A と B の両方のポートが完全に機能していると検知された場合に 使用されるポートである。 使用可能な値は以下の通り: I<A> または I<B>。 デフォルトは I<A> である。"
8368
8369 #. type: TP
8370 #: build/C/man4/sk98lin.4:516
8371 #, no-wrap
8372 msgid "B<RlmtMode=>I<i,j,...>"
8373 msgstr "B<RlmtMode=>I<i,j,...>"
8374
8375 #. type: Plain text
8376 #: build/C/man4/sk98lin.4:532
8377 msgid "RLMT monitors the status of the port.  If the link of the active port fails, RLMT switches immediately to the standby link.  The virtual link is maintained as long as at least one \"physical\" link is up.  This parameters states how RLMT should monitor both ports.  Possible values are: I<CheckLinkState>, I<CheckLocalPort>, I<CheckSeg>, or I<DualNet>; I<CheckLinkState> is the default.  The different modes have the following meaning:"
8378 msgstr "RLMT はポートの状態を監視する。 アクティブなポートのリンクが落ちた場合、 RLMT は即時に待機しているリンクに切り替える。 少なくとも 1 つの「物理的」リンクが起動するまでは、仮想リンクが維持される。 この引き数は RLMT が両方のポートをどのように監視するかを決める。 使用可能な値は以下の通り: I<CheckLinkState>, I<CheckLocalPort>, I<CheckSeg>, I<DualNet>。 デフォルトは I<CheckLinkState> である。 各モードは以下のような意味を持つ。"
8379
8380 #. type: Plain text
8381 #: build/C/man4/sk98lin.4:537
8382 msgid "I<CheckLinkState> Check link state only: RLMT uses the link state reported by the adapter hardware for each individual port to determine whether a port can be used for all network traffic or not."
8383 msgstr "I<CheckLinkState> リンク状態のチェックのみ: RLMT は、各ポートについてアダプタハードウェアが報告するリンク状態を使い、 そのポートが全てのネットワークトラフィックを送受信するのに使用可能かを 決定する。"
8384
8385 #. type: Plain text
8386 #: build/C/man4/sk98lin.4:545
8387 msgid "I<CheckLocalPort> In this mode, RLMT monitors the network path between the two ports of an adapter by regularly exchanging packets between them.  This mode requires a network configuration in which the two ports are able to \"see\" each other (i.e., there must not be any router between the ports)."
8388 msgstr "I<CheckLocalPort> このモードでは、RLMT はアダプタカードの 2 つのポートの間で 定期的にパケットを交換することにより、 2 つのポートの間のネットワーク経路を監視する。 このモードでは 2 つのポートが互いに「見える」ような ネットワーク設定が必要である (つまり、ポート間にルータがあってはならない)。"
8389
8390 #. type: Plain text
8391 #: build/C/man4/sk98lin.4:554
8392 msgid "I<CheckSeg> Check local port and segmentation: This mode supports the same functions as the CheckLocalPort mode and additionally checks network segmentation between the ports.  Therefore, this mode is to be used only if Gigabit Ethernet switches are installed on the network that have been configured to use the Spanning Tree protocol."
8393 msgstr "I<CheckSeg> ローカルポートとセグメントをチェックする。 このモードは CheckLocalPort モードと同じ機能を提供し、 更にポート間のネットワークセグメントをチェックする。 よって、このモードはネットワーク上に スパニングツリープロトコル (Spanning Tree protocol) を 使うように設定されたギガビットイーサネットスイッチが 設置されている場合にのみ使用できる。"
8394
8395 #. type: Plain text
8396 #: build/C/man4/sk98lin.4:565
8397 msgid "I<DualNet> In this mode, ports A and B are used as separate devices.  If you have a dual port adapter, port A will be configured as I<eth[x]> and port B as I<eth[x+1]>.  Both ports can be used independently with distinct IP addresses.  The preferred port setting is not used.  RLMT is turned off."
8398 msgstr "I<DualNet> このモードでは、ポート A と B が別々のデバイスとして使用される。 2 ポートのアダプタを持っている場合、ポート A を I<eth[x]> に、ポート B を I<eth[x+1]> に設定することができる。 2 つのポートは別々の IP アドレスを付けて独立に使用することができる。 優先ポートの設定は使用されない。 RLMT は無効にされる。"
8399
8400 #. type: Plain text
8401 #: build/C/man4/sk98lin.4:574
8402 msgid "Note that RLMT modes I<CheckLocalPort> and I<CheckLinkState> are designed to operate in configurations where a network path between the ports on one adapter exists.  Moreover, they are not designed to work where adapters are connected back-to-back."
8403 msgstr "RLMT モード I<CheckLocalPort> と I<CheckLinkState> は、1 つのアダプタ上のポート間でネットワーク経路があるような設定で 動作するように設計されている。 さらに、このモードはアダプタ同士が直結 (back-to-back) で 接続されている状態で動作するようには設計されていない。"
8404
8405 #. type: TP
8406 #: build/C/man4/sk98lin.4:575
8407 #, no-wrap
8408 msgid "I</proc/net/sk98lin/eth[x]>"
8409 msgstr "I</proc/net/sk98lin/eth[x]>"
8410
8411 #. type: Plain text
8412 #: build/C/man4/sk98lin.4:581
8413 msgid "The statistics file of a particular interface of an adapter card.  It contains generic information about the adapter card plus a detailed summary of all transmit and receive counters."
8414 msgstr "アダプタカードの特定のインタフェースの統計ファイル。 このファイルには、アダプタカードの一般的な情報と、 全ての送信・受信カウンタの詳細な一覧が含まれる。"
8415
8416 #. type: TP
8417 #: build/C/man4/sk98lin.4:581
8418 #, no-wrap
8419 msgid "I</usr/src/linux/Documentation/networking/sk98lin.txt>"
8420 msgstr "I</usr/src/linux/Documentation/networking/sk98lin.txt>"
8421
8422 #. type: Plain text
8423 #: build/C/man4/sk98lin.4:592
8424 msgid "This is the I<README> file of the I<sk98lin> driver.  It contains a detailed installation HOWTO and describes all parameters of the driver.  It denotes also common problems and provides the solution to them."
8425 msgstr "I<sk98lin> ドライバの I<README> ファイルである。 これには詳細なインストール HOWTO が含まれており、 ドライバの全ての引き数が記述されている。 また一般的な問題とその解決法についても書かれている。"
8426
8427 #.  .SH AUTHORS
8428 #.  Ralph Roesler \(em rroesler@syskonnect.de
8429 #.  .br
8430 #.  Mirko Lindner \(em mlindner@syskonnect.de
8431 #. type: Plain text
8432 #: build/C/man4/sk98lin.4:598
8433 msgid "Report any bugs to linux@syskonnect.de"
8434 msgstr "バグは linux@syskonnect.de に報告してほしい。"
8435
8436 #. type: Plain text
8437 #: build/C/man4/sk98lin.4:602
8438 msgid "B<ifconfig>(8), B<insmod>(8), B<modprobe>(8)"
8439 msgstr "B<insmod>(8), B<ifconfig>(8), B<modprobe>(8)"
8440
8441 #. type: TH
8442 #: build/C/man4/st.4:25
8443 #, no-wrap
8444 msgid "ST"
8445 msgstr "ST"
8446
8447 #. type: Plain text
8448 #: build/C/man4/st.4:28
8449 msgid "st - SCSI tape device"
8450 msgstr "st - SCSI テープデバイス"
8451
8452 #. type: Plain text
8453 #: build/C/man4/st.4:31
8454 #, no-wrap
8455 msgid "B<#include E<lt>sys/mtio.hE<gt>>\n"
8456 msgstr "B<#include E<lt>sys/mtio.hE<gt>>\n"
8457
8458 #. type: Plain text
8459 #: build/C/man4/st.4:36
8460 #, no-wrap
8461 msgid ""
8462 "B<int ioctl(int >I<fd>B<, int >I<request>B< [, (void *)>I<arg3>B<]);>\n"
8463 "B<int ioctl(int >I<fd>B<, MTIOCTOP, (struct mtop *)>I<mt_cmd>B<);>\n"
8464 "B<int ioctl(int >I<fd>B<, MTIOCGET, (struct mtget *)>I<mt_status>B<);>\n"
8465 "B<int ioctl(int >I<fd>B<, MTIOCPOS, (struct mtpos *)>I<mt_pos>B<);>\n"
8466 msgstr ""
8467 "B<int ioctl(int >I<fd>B<, int >I<request>B< [, (void *)>I<arg3>B<]);>\n"
8468 "B<int ioctl(int >I<fd>B<, MTIOCTOP, (struct mtop *)>I<mt_cmd>B<);>\n"
8469 "B<int ioctl(int >I<fd>B<, MTIOCGET, (struct mtget *)>I<mt_status>B<);>\n"
8470 "B<int ioctl(int >I<fd>B<, MTIOCPOS, (struct mtpos *)>I<mt_pos>B<);>\n"
8471
8472 #. type: Plain text
8473 #: build/C/man4/st.4:46
8474 msgid "The B<st> driver provides the interface to a variety of SCSI tape devices.  Currently, the driver takes control of all detected devices of type \\(lqsequential-access\\(rq.  The B<st> driver uses major device number 9."
8475 msgstr "B<st> ドライバーは様々な SCSI テープデバイスのインターフェイスを提供する。 現在では、ドライバーは検出された全ての \\(lqシーケンシャルアクセス (sequential-access) \\(rq タイプのデバイスへの 制御を行う。 B<st> ドライバーはメジャーデバイス番号 9 を用いる。"
8476
8477 #. type: Plain text
8478 #: build/C/man4/st.4:66
8479 msgid "Each device uses eight minor device numbers.  The lowermost five bits in the minor numbers are assigned sequentially in the order of detection.  In the 2.6 kernel, the bits above the eight lowermost bits are concatenated to the five lowermost bits to form the tape number.  The minor numbers can be grouped into two sets of four numbers: the principal (auto-rewind) minor device numbers, I<n>, and the \\(lqno-rewind\\(rq device numbers, (I<n> + 128).  Devices opened using the principal device number will be sent a B<REWIND> command when they are closed.  Devices opened using the \\(lqno-rewind\\(rq device number will not.  (Note that using an auto-rewind device for positioning the tape with, for instance, mt does not lead to the desired result: the tape is rewound after the mt command and the next command starts from the beginning of the tape)."
8480 msgstr "それぞれのデバイスは 8 つのマイナーデバイス番号を使う。 マイナー番号の低位側の 5 ビットは、検出された順に割り当てられる。 カーネル 2.6 では、 低位側 8 ビットよりも上位にあるビット群がこの 5 ビットに連結 (concatenate)  され、テープ番号となる。 マイナー番号は、それぞれ 4 つの数字からなる二つのセットに グループ分けされる。 基本 (自動巻き戻し) デバイス番号 I<n>、 および \\(lq非巻き戻し (no-rewind) \\(rq デバイス番号 (I<n> + 128).  である。 基本デバイス番号を用いてオープンされたデバイスには、 クローズする時に B<REWIND> コマンドが送られる。 \\(lq非巻き戻し\\(rq デバイス番号を用いてオープンされた場合は \\s-1REWIND\\s+1 コマンドは送られない (自動巻き戻しデバイスをテープの位置決めに (例えば mt で) 用いても、 望む結果は得られない。テープは mt コマンドの後で巻き戻され、 次のコマンドはテープの先頭から始まってしまう)。"
8481
8482 #. type: Plain text
8483 #: build/C/man4/st.4:80
8484 msgid "Within each group, four minor numbers are available to define devices with different characteristics (block size, compression, density, etc.)  When the system starts up, only the first device is available.  The other three are activated when the default characteristics are defined (see below).  (By changing compile-time constants, it is possible to change the balance between the maximum number of tape drives and the number of minor numbers for each drive.  The default allocation allows control of 32 tape drives.  For instance, it is possible to control up to 64 tape drives with two minor numbers for different options.)"
8485 msgstr "それぞれのグループで、異なった特性 (ブロックサイズ・圧縮・ 密度など) のデバイスを定義するために 4 つのマイナー番号が利用できる。 システムが起動したときには、最初のデバイスだけが使える。 他の 3 つはデフォルトの特性が定義されて初めて使えるようになる (後述)。 (コンパイル時の定数を変更することによって、テープドライブの最大数と、 それぞれのドライブに割り当てられるマイナー番号の個数とを調整できる。 デフォルトの割り当てでは 32 台までのテープドライブを制御できる。 例えば 64 台までのテープドライブを、異なったオプションを持つ 二つのマイナー番号で制御するようにもできる。)"
8486
8487 #. type: Plain text
8488 #: build/C/man4/st.4:82
8489 msgid "Devices are typically created by:"
8490 msgstr "デバイスは普通次のように作られる:"
8491
8492 #. type: Plain text
8493 #: build/C/man4/st.4:93
8494 #, no-wrap
8495 msgid ""
8496 "mknod -m 666 /dev/st0 c 9 0\n"
8497 "mknod -m 666 /dev/st0l c 9 32\n"
8498 "mknod -m 666 /dev/st0m c 9 64\n"
8499 "mknod -m 666 /dev/st0a c 9 96\n"
8500 "mknod -m 666 /dev/nst0 c 9 128\n"
8501 "mknod -m 666 /dev/nst0l c 9 160\n"
8502 "mknod -m 666 /dev/nst0m c 9 192\n"
8503 "mknod -m 666 /dev/nst0a c 9 224\n"
8504 msgstr ""
8505 "mknod -m 666 /dev/st0 c 9 0\n"
8506 "mknod -m 666 /dev/st0l c 9 32\n"
8507 "mknod -m 666 /dev/st0m c 9 64\n"
8508 "mknod -m 666 /dev/st0a c 9 96\n"
8509 "mknod -m 666 /dev/nst0 c 9 128\n"
8510 "mknod -m 666 /dev/nst0l c 9 160\n"
8511 "mknod -m 666 /dev/nst0m c 9 192\n"
8512 "mknod -m 666 /dev/nst0a c 9 224\n"
8513
8514 #. type: Plain text
8515 #: build/C/man4/st.4:97
8516 msgid "There is no corresponding block device."
8517 msgstr "これらには対応するブロックデバイスは存在しない。"
8518
8519 #. type: Plain text
8520 #: build/C/man4/st.4:112
8521 msgid "The driver uses an internal buffer that has to be large enough to hold at least one tape block.  In kernels before 2.1.121, the buffer is allocated as one contiguous block.  This limits the block size to the largest contiguous block of memory the kernel allocator can provide.  The limit is currently 128 kB for 32-bit architectures and 256 kB for 64-bit architectures.  In newer kernels the driver allocates the buffer in several parts if necessary.  By default, the maximum number of parts is 16.  This means that the maximum block size is very large (2 MB if allocation of 16 blocks of 128 kB succeeds)."
8522 msgstr "ドライバは内部バッファーを使い、その大きさは少なくともテープの 1 ブロックを保持できるように取られる。 2.1.121 以前のカーネルでは、 バッファーは連続する一つのブロックとして割り当てられる。この方法だと、 ブロックサイズの最大値はカーネルの割り当て可能な連続メモリブロックに 制限される。この制限は 32 ビットアーキテクチャーでは 128 kB、 64 ビットアーキテクチャーでは 256 kB である。これ以降のカーネルでは、 ドライバは必要に応じていくつかにわかれたバッファーを割り当てる。 デフォルトでは 16 個までの部分に分割できる。すなわち ブロックサイズの最大値は非常に大きい (128 kB のブロック 16 個の 割り当てに成功すれば 2 MB となる)。"
8523
8524 #. type: Plain text
8525 #: build/C/man4/st.4:121
8526 msgid "The driver's internal buffer size is determined by a compile-time constant which can be overridden with a kernel startup option.  In addition to this, the driver tries to allocate a larger temporary buffer at run time if necessary.  However, run-time allocation of large contiguous blocks of memory may fail and it is advisable not to rely too much on dynamic buffer allocation with kernels older than 2.1.121 (this applies also to demand-loading the driver with kerneld or kmod)."
8527 msgstr "ドライバの内部バッファーのサイズはコンパイル時の定数で定義される。 これはカーネルの起動時オプションによって上書き可能である。 さらにドライバは実行時にも、必要に応じてより大きな一時バッファーを 割り当てようとする。しかし実行時に大きな連続メモリブロックを 割り当てようとすると失敗することがあるので、 2.1.121 以前のカーネルでは、動的なバッファー割り当てはあまりあてにしないほうが良い (これは kerneld や kmod によるドライバのデマンドロードに関しても当てはまる)。"
8528
8529 #. type: Plain text
8530 #: build/C/man4/st.4:134
8531 msgid "The driver does not specifically support any tape drive brand or model.  After system start-up the tape device options are defined by the drive firmware.  For example, if the drive firmware selects fixed-block mode, the tape device uses fixed-block mode.  The options can be changed with explicit B<ioctl>(2)  calls and remain in effect when the device is closed and reopened.  Setting the options affects both the auto-rewind and the nonrewind device."
8532 msgstr "ドライバはドライブのメーカやモデルを特定してサポートするわけではない。 システムが起動すると、テープデバイスのオプションがドライブの ファームウェアによって定義される。例えば、 ドライブのファームウェアが固定長ブロックモードを選択すれば、 テープデバイスは固定長ブロックモードを使うことになる。このオプションは B<ioctl>(2)  コールを明示的に使えば変更でき、 その変更はデバイスがクローズされて再びオープンされたときも残る。 オプションの設定は、 自動巻き戻しデバイスと非巻き戻しデバイスの両方に影響する。"
8533
8534 #. type: Plain text
8535 #: build/C/man4/st.4:143
8536 msgid "Different options can be specified for the different devices within the subgroup of four.  The options take effect when the device is opened.  For example, the system administrator can define one device that writes in fixed-block mode with a certain block size, and one which writes in variable-block mode (if the drive supports both modes)."
8537 msgstr "4 つのサブグループそれぞれのデバイスに対して異なるオプションを 与えることができる。オプションはデバイスがオープンされたときに 効力を発揮する。例えば、システム管理者はあるデバイスを 適当なブロックサイズの固定長ブロックモードで書き込むように定義し、 別のデバイスを可変長ブロックモードで書き込むようにできる (ドライブが 両方のモードをサポートしていれば)。"
8538
8539 #. type: Plain text
8540 #: build/C/man4/st.4:166
8541 msgid "The driver supports B<tape partitions> if they are supported by the drive.  (Note that the tape partitions have nothing to do with disk partitions.  A partitioned tape can be seen as several logical tapes within one medium.)  Partition support has to be enabled with an B<ioctl>(2).  The tape location is preserved within each partition across partition changes.  The partition used for subsequent tape operations is selected with an B<ioctl>(2).  The partition switch is executed together with the next tape operation in order to avoid unnecessary tape movement.  The maximum number of partitions on a tape is defined by a compile-time constant (originally four).  The driver contains an B<ioctl>(2)  that can format a tape with either one or two partitions."
8542 msgstr "このドライバは、 B<テープのパーティション> をサポートしている (ドライブがサポートしている場合)。 (テープのパーティションはディスクパーティションとはなんの関係もない。 パーティション化されたテープは、一つのメディアに複数の論理テープが 存在するかのように見える。)  パーティションのサポートは B<ioctl>(2)  によって有効にできる。 パーティションが変更されると、 テープの位置はそれぞれのパーティション内部で保存される。 パーティションの選択は B<ioctl>(2)  で行う。 それ以降のテープ操作の対象は、そのパーティションになる。 パーティションの切り替えは、次のテープ操作と同時に行われ、 不必要なテープ移動をしなくてすむようになっている。 一つのテープにおけるパーティションの最大数は コンパイル時の定数によって定義される (通常は 4)。 ドライバには、テープの 1 つまたは 2 つのパーティションをフォーマットできるような B<ioctl>(2)  が用意されている。"
8543
8544 #. type: Plain text
8545 #: build/C/man4/st.4:171
8546 msgid "Device I</dev/tape> is usually created as a hard or soft link to the default tape device on the system."
8547 msgstr "通常、システムのデフォルトのテープデバイスに対するハードリンク またはソフトリンクとして、デバイス I</dev/tape> が作成される。"
8548
8549 #. type: Plain text
8550 #: build/C/man4/st.4:175
8551 msgid "Starting from kernel 2.6.2, the driver exports in the sysfs directory I</sys/class/scsi_tape> the attached devices and some parameters assigned to the devices."
8552 msgstr "カーネル 2.6.2 以降では、このドライバは sysfs ディレクトリ I</sys/class/scsi_tape> に、アタッチしたデバイスとそのデバイスに割当てたパラメーターをエクスポートする。"
8553
8554 #. type: SS
8555 #: build/C/man4/st.4:175
8556 #, no-wrap
8557 msgid "Data transfer"
8558 msgstr "データ転送"
8559
8560 #. type: Plain text
8561 #: build/C/man4/st.4:188
8562 msgid "The driver supports operation in both fixed-block mode and variable-block mode (if supported by the drive).  In fixed-block mode the drive writes blocks of the specified size and the block size is not dependent on the byte counts of the write system calls.  In variable-block mode one tape block is written for each write call and the byte count determines the size of the corresponding tape block.  Note that the blocks on the tape don't contain any information about the writing mode: when reading, the only important thing is to use commands that accept the block sizes on the tape."
8563 msgstr "このドライバは固定長ブロックモードと可変長ブロックモードの 両方をサポートしている (ドライブがサポートしていれば)。 固定長ブロックモードでは、ドライブは決まったサイズのブロックを (複数個) 書き込む。このブロックサイズは write システムコールのバイト数によらない。 可変長ブロックモードでは、 write コールごとに一つのテープブロックに書き込みが行われる。 したがってバイト数が対応するテープブロックのサイズを決める。 テープ上のブロックには、書き込みモードの情報は一切含まれない。 読み込みのときに重要なことは、テープのブロックサイズを受け入れる コマンドを使うかどうかだけである。"
8564
8565 #. type: Plain text
8566 #: build/C/man4/st.4:197
8567 msgid "In variable-block mode the read byte count does not have to match the tape block size exactly.  If the byte count is larger than the next block on tape, the driver returns the data and the function returns the actual block size.  If the block size is larger than the byte count, the requested amount of data from the start of the block is returned and the rest of the block is discarded."
8568 msgstr "可変長ブロックモードでは、読み込みバイト数はテープのブロックサイズと 必ずしも一致していなくても良い。バイト数がテープの次のブロックよりも 大きければ、ドライバはそのデータを返し、関数は実際のブロックサイズを返す。 ブロックサイズがバイト数よりも大きければ、要求された分のデータが ブロックの先頭から読み込まれて返され、ブロックの残りは破棄される。"
8569
8570 #. type: Plain text
8571 #: build/C/man4/st.4:206
8572 msgid "In fixed-block mode the read byte counts can be arbitrary if buffering is enabled, or a multiple of the tape block size if buffering is disabled.  Kernels before 2.1.121 allow writes with arbitrary byte count if buffering is enabled.  In all other cases (kernel before 2.1.121 with buffering disabled or newer kernel) the write byte count must be a multiple of the tape block size."
8573 msgstr "固定長ブロックモードでは、バッファーリングが有効になっていれば 読み込みバイト数は任意の大きさでよい。バッファーリングが無効の場合は、 テープのブロックサイズの整数倍でなければならない。 2.1.121 以前の カーネルでは、バッファーリングが有効な場合には 任意のバイト数の書き込みができる。その他の場合すべて (2.1.121 以前のカーネルでバッファーが無効な場合と、新しいカーネルの場合)  では、書き込みバイト数はテープブロックサイズの整数倍でなければならない。"
8574
8575 #. type: Plain text
8576 #: build/C/man4/st.4:215
8577 msgid "In the 2.6 kernel, the driver tries to use direct transfers between the user buffer and the device.  If this is not possible, the driver's internal buffer is used.  The reasons for not using direct transfers include improper alignment of the user buffer (default is 512 bytes but this can be changed by the HBA driver), one or more pages of the user buffer not reachable by the SCSI adapter, and so on."
8578 msgstr "2.6 カーネルでは、このドライバはユーザーバッファーとデバイス間で、 データの直接転送 (direct transfer) を試みる。 これが不可能な場合は、ドライバの内部バッファーを用いる。 直接転送ができない理由としては、ユーザーバッファーのアラインメントが適切でない (デフォルトは 512 バイトだが HBA ドライバによって変更されている可能性がある)、 ユーザーバッファーのページが SCSI アダプタから見えない、 などが考えられる。"
8579
8580 #. type: Plain text
8581 #: build/C/man4/st.4:218
8582 msgid "A filemark is automatically written to tape if the last tape operation before close was a write."
8583 msgstr "テープをクローズする直前のテープ操作命令が書き込みであれば、 ファイルマークが自動的にテープへ書き込まれる。"
8584
8585 #. type: Plain text
8586 #: build/C/man4/st.4:230
8587 msgid "When a filemark is encountered while reading, the following happens.  If there are data remaining in the buffer when the filemark is found, the buffered data is returned.  The next read returns zero bytes.  The following read returns data from the next file.  The end of recorded data is signaled by returning zero bytes for two consecutive read calls.  The third read returns an error."
8588 msgstr "読み込み時にファイルマークに出会うと、以下が実行される。 ファイルマークが見付かったときにバッファーにデータが残っていると、 バッファーのデータが返される。次の読み込み操作は 0 バイトを返す。 その次の読み込みは次のファイルからのデータを返す。 記録データの末尾は、読み込み操作が二回続けて 0 バイトを返して来るかたちで通知される。三回目の読み込みはエラーを返す。"
8589
8590 #. type: SS
8591 #: build/C/man4/st.4:230
8592 #, no-wrap
8593 msgid "Ioctls"
8594 msgstr "ioctl"
8595
8596 #. type: Plain text
8597 #: build/C/man4/st.4:241
8598 msgid "The driver supports three B<ioctl>(2)  requests.  Requests not recognized by the B<st> driver are passed to the B<SCSI> driver.  The definitions below are from I</usr/include/linux/mtio.h>:"
8599 msgstr "ドライバは 3 つの B<ioctl>(2)  要求をサポートしている。 B<st> ドライバによって認識されなかった要求は B<SCSI> ドライバにわたされる。 以下の定義は I</usr/include/linux/mtio.h> による。"
8600
8601 #. type: SS
8602 #: build/C/man4/st.4:241
8603 #, no-wrap
8604 msgid "MTIOCTOP \\(em perform a tape operation"
8605 msgstr "MTIOCTOP \\(em テープ操作の実行"
8606
8607 #. type: Plain text
8608 #: build/C/man4/st.4:249
8609 msgid "This request takes an argument of type I<(struct mtop\\ *)>.  Not all drives support all operations.  The driver returns an B<EIO> error if the drive rejects an operation."
8610 msgstr "この要求は I<(struct mtop\\ *)> 型の引数をとる。全てのドライブが全ての操作をサポートしているわけではない。 ドライブが操作を拒否すると、ドライバは B<EIO> エラーを返す。"
8611
8612 #. type: Plain text
8613 #: build/C/man4/st.4:257
8614 #, no-wrap
8615 msgid ""
8616 "/* Structure for MTIOCTOP - mag tape op command: */\n"
8617 "struct mtop {\n"
8618 "    short   mt_op;       /* operations defined below */\n"
8619 "    int     mt_count;    /* how many of them */\n"
8620 "};\n"
8621 msgstr ""
8622 "/* Structure for MTIOCTOP - mag tape op command: */\n"
8623 "struct mtop {\n"
8624 "    short   mt_op;       /* operations defined below */\n"
8625 "    int     mt_count;    /* how many of them */\n"
8626 "};\n"
8627
8628 #. type: Plain text
8629 #: build/C/man4/st.4:261
8630 msgid "Magnetic Tape operations for normal tape use:"
8631 msgstr "通常のテープ利用のための磁気テープ操作:"
8632
8633 #. type: TP
8634 #: build/C/man4/st.4:261
8635 #, no-wrap
8636 msgid "B<MTBSF>"
8637 msgstr "B<MTBSF>"
8638
8639 #. type: Plain text
8640 #: build/C/man4/st.4:266
8641 msgid "Backward space over I<mt_count> filemarks."
8642 msgstr "I<mt_count> 個のファイルマーク (filemark) 分の後方スペース (backward space)。"
8643
8644 #. type: TP
8645 #: build/C/man4/st.4:266
8646 #, no-wrap
8647 msgid "B<MTBSFM>"
8648 msgstr "B<MTBSFM>"
8649
8650 #. type: Plain text
8651 #: build/C/man4/st.4:272
8652 msgid "Backward space over I<mt_count> filemarks.  Reposition the tape to the EOT side of the last filemark."
8653 msgstr "I<mt_count> 個のファイルマーク分の後方スペース。 テープの位置を最後のファイルマークの EOT 側に変更する。"
8654
8655 #. type: TP
8656 #: build/C/man4/st.4:272
8657 #, no-wrap
8658 msgid "B<MTBSR>"
8659 msgstr "B<MTBSR>"
8660
8661 #. type: Plain text
8662 #: build/C/man4/st.4:277
8663 msgid "Backward space over I<mt_count> records (tape blocks)."
8664 msgstr "I<mt_count> 個のレコード (テープブロック) 分の後方スペース。"
8665
8666 #. type: TP
8667 #: build/C/man4/st.4:277
8668 #, no-wrap
8669 msgid "B<MTBSS>"
8670 msgstr "B<MTBSS>"
8671
8672 #. type: Plain text
8673 #: build/C/man4/st.4:282
8674 msgid "Backward space over I<mt_count> setmarks."
8675 msgstr "I<mt_count> 個のセットマーク分の後方スペース。"
8676
8677 #. type: TP
8678 #: build/C/man4/st.4:282
8679 #, no-wrap
8680 msgid "B<MTCOMPRESSION>"
8681 msgstr "B<MTCOMPRESSION>"
8682
8683 #. type: Plain text
8684 #: build/C/man4/st.4:290
8685 msgid "Enable compression of tape data within the drive if I<mt_count> is nonzero and disable compression if I<mt_count> is zero.  This command uses the MODE page 15 supported by most DATs."
8686 msgstr "I<mt_count> が 0 以外なら、ドライブのデータ圧縮を有効にする。 0 なら圧縮を無効にする。このコマンドは MODE ページ 15 を用いる。 これはほとんどの DAT でサポートされている。"
8687
8688 #. type: TP
8689 #: build/C/man4/st.4:290
8690 #, no-wrap
8691 msgid "B<MTEOM>"
8692 msgstr "B<MTEOM>"
8693
8694 #. type: Plain text
8695 #: build/C/man4/st.4:293
8696 msgid "Go to the end of the recorded media (for appending files)."
8697 msgstr "(ファイルを追加するために) メディアの記録部分の最後まで進める。"
8698
8699 #. type: TP
8700 #: build/C/man4/st.4:293
8701 #, no-wrap
8702 msgid "B<MTERASE>"
8703 msgstr "B<MTERASE>"
8704
8705 #. type: Plain text
8706 #: build/C/man4/st.4:299
8707 msgid "Erase tape.  With 2.6 kernel, short erase (mark tape empty) is performed if the argument is zero.  Otherwise, long erase (erase all) is done."
8708 msgstr "テープの内容を消去する。 2.6 カーネルでは、引数が 0 ならば short erase (テープが空だと印をつける)  を行う。それ以外の場合は long erase (全体を消去する) を行う。"
8709
8710 #. type: TP
8711 #: build/C/man4/st.4:299
8712 #, no-wrap
8713 msgid "B<MTFSF>"
8714 msgstr "B<MTFSF>"
8715
8716 #. type: Plain text
8717 #: build/C/man4/st.4:304
8718 msgid "Forward space over I<mt_count> filemarks."
8719 msgstr "I<mt_count> 個のファイルマーク分の前方スペース (forward space)。"
8720
8721 #. type: TP
8722 #: build/C/man4/st.4:304
8723 #, no-wrap
8724 msgid "B<MTFSFM>"
8725 msgstr "B<MTFSFM>"
8726
8727 #. type: Plain text
8728 #: build/C/man4/st.4:310
8729 msgid "Forward space over I<mt_count> filemarks.  Reposition the tape to the BOT side of the last filemark."
8730 msgstr "I<mt_count> 個のファイルマーク分の前方スペース。 テープの位置は最後のファイルマークの BOT 側変更される。"
8731
8732 #. type: TP
8733 #: build/C/man4/st.4:310
8734 #, no-wrap
8735 msgid "B<MTFSR>"
8736 msgstr "B<MTFSR>"
8737
8738 #. type: Plain text
8739 #: build/C/man4/st.4:315
8740 msgid "Forward space over I<mt_count> records (tape blocks)."
8741 msgstr "I<mt_count> 個のレコード (テープブロック) 分の前方スペース。"
8742
8743 #. type: TP
8744 #: build/C/man4/st.4:315
8745 #, no-wrap
8746 msgid "B<MTFSS>"
8747 msgstr "B<MTFSS>"
8748
8749 #. type: Plain text
8750 #: build/C/man4/st.4:320
8751 msgid "Forward space over I<mt_count> setmarks."
8752 msgstr "I<mt_count> 個のセットマーク分の前方スペース。"
8753
8754 #. type: TP
8755 #: build/C/man4/st.4:320
8756 #, no-wrap
8757 msgid "B<MTLOAD>"
8758 msgstr "B<MTLOAD>"
8759
8760 #. type: Plain text
8761 #: build/C/man4/st.4:331
8762 msgid "Execute the SCSI load command.  A special case is available for some HP autoloaders.  If I<mt_count> is the constant B<MT_ST_HPLOADER_OFFSET> plus a number, the number is sent to the drive to control the autoloader."
8763 msgstr "SCSI ロードコマンドを実行する。 HP オートローダに限って利用できる。 I<mt_count> が定数 B<MT_ST_HPLOADER_OFFSET> とある数値の和である場合、 その数値がドライブに送られ、オートローダの制御に用いられる。"
8764
8765 #. type: TP
8766 #: build/C/man4/st.4:331
8767 #, no-wrap
8768 msgid "B<MTLOCK>"
8769 msgstr "B<MTLOCK>"
8770
8771 #. type: Plain text
8772 #: build/C/man4/st.4:334
8773 msgid "Lock the tape drive door."
8774 msgstr "テープドライブの扉をロックする。"
8775
8776 #. type: TP
8777 #: build/C/man4/st.4:334
8778 #, no-wrap
8779 msgid "B<MTMKPART>"
8780 msgstr "B<MTMKPART>"
8781
8782 #. type: Plain text
8783 #: build/C/man4/st.4:348
8784 msgid "Format the tape into one or two partitions.  If I<mt_count> is nonzero, it gives the size of the first partition and the second partition contains the rest of the tape.  If I<mt_count> is zero, the tape is formatted into one partition.  This command is not allowed for a drive unless the partition support is enabled for the drive (see B<MT_ST_CAN_PARTITIONS> below)."
8785 msgstr "テープを 1 または 2 パーティションにフォーマットする。 I<mt_count> が 0 でなければ、これが最初のパーティションのサイズを与え、 二番目のパーティションがテープの残りになる。 I<mt_count> が 0 の場合は、テープは一つのパーティションとしてフォーマットされる。 このコマンドは、パーティションのサポートが有効にされた ドライブでなければ使えない (以下の B<MT_ST_CAN_PARTITIONS> を見よ)。"
8786
8787 #. type: TP
8788 #: build/C/man4/st.4:348
8789 #, no-wrap
8790 msgid "B<MTNOP>"
8791 msgstr "B<MTNOP>"
8792
8793 #. type: Plain text
8794 #: build/C/man4/st.4:353
8795 msgid "No op\\(emflushes the driver's buffer as a side effect.  Should be used before reading status with B<MTIOCGET>."
8796 msgstr "何も操作を行わない。\\(em副次的な効果として、ドライバーのバッファー をフラッシュする。 B<MTIOCGET> を使って状態を読み出す前にはこの操作を行うべきである。"
8797
8798 #. type: TP
8799 #: build/C/man4/st.4:353
8800 #, no-wrap
8801 msgid "B<MTOFFL>"
8802 msgstr "B<MTOFFL>"
8803
8804 #. type: Plain text
8805 #: build/C/man4/st.4:356
8806 msgid "Rewind and put the drive off line."
8807 msgstr "巻き戻し (rewind) を行い、ドライブをオフライン (off line) にする。"
8808
8809 #. type: TP
8810 #: build/C/man4/st.4:356
8811 #, no-wrap
8812 msgid "B<MTRESET>"
8813 msgstr "B<MTRESET>"
8814
8815 #. type: Plain text
8816 #: build/C/man4/st.4:359
8817 msgid "Reset drive."
8818 msgstr "ドライブをリセットする。"
8819
8820 #. type: TP
8821 #: build/C/man4/st.4:359
8822 #, no-wrap
8823 msgid "B<MTRETEN>"
8824 msgstr "B<MTRETEN>"
8825
8826 #. type: Plain text
8827 #: build/C/man4/st.4:362
8828 msgid "Re-tension tape."
8829 msgstr "テープをリテンション (re-tension) する (テープを最後まで巻いた後、最初まで巻き戻す)。"
8830
8831 #. type: TP
8832 #: build/C/man4/st.4:362
8833 #, no-wrap
8834 msgid "B<MTREW>"
8835 msgstr "B<MTREW>"
8836
8837 #. type: Plain text
8838 #: build/C/man4/st.4:365
8839 msgid "Rewind."
8840 msgstr "巻き戻し。"
8841
8842 #. type: TP
8843 #: build/C/man4/st.4:365
8844 #, no-wrap
8845 msgid "B<MTSEEK>"
8846 msgstr "B<MTSEEK>"
8847
8848 #. type: Plain text
8849 #: build/C/man4/st.4:377
8850 msgid "Seek to the tape block number specified in I<mt_count>.  This operation requires either a SCSI-2 drive that supports the B<LOCATE> command (device-specific address)  or a Tandberg-compatible SCSI-1 drive (Tandberg, Archive Viper, Wangtek, ...).  The block number should be one that was previously returned by B<MTIOCPOS> if device-specific addresses are used."
8851 msgstr "I<mt_count> で指定されたテープブロック番号をシークする。 この操作が行えるのは、 \\s-1LOCATE\\s+1 コマンド (デバイス固有のアドレス)  をサポートする SCSI-2 ドライブか、あるいは Tandberg 互換の SCSI-1 ドライブ (Tandberg, Archive, Viper, Wangtek,…) である。 デバイス固有のアドレスが利用されている場合は、ブロック番号は 以前に \\s-1MTIOCPOS\\s+1 によって返されたものにすべきである。"
8852
8853 #. type: TP
8854 #: build/C/man4/st.4:377
8855 #, no-wrap
8856 msgid "B<MTSETBLK>"
8857 msgstr "B<MTSETBLK>"
8858
8859 #. type: Plain text
8860 #: build/C/man4/st.4:382
8861 msgid "Set the drive's block length to the value specified in I<mt_count>.  A block length of zero sets the drive to variable block size mode."
8862 msgstr "I<mt_count> の値をドライブのブロック長 (block length) としてセットする。 ブロック長を 0 にするとドライブは可変長ブロックサイズモードにセッ トされる。"
8863
8864 #. type: TP
8865 #: build/C/man4/st.4:382
8866 #, no-wrap
8867 msgid "B<MTSETDENSITY>"
8868 msgstr "B<MTSETDENSITY>"
8869
8870 #. type: Plain text
8871 #: build/C/man4/st.4:388
8872 msgid "Set the tape density to the code in I<mt_count>.  The density codes supported by a drive can be found from the drive documentation."
8873 msgstr "テープ密度 (tape density) を I<mt_count> で示されるコードに変更する。ドライブでサポートされている密度コード については、ドライブの文書に書いてあるだろう。"
8874
8875 #. type: TP
8876 #: build/C/man4/st.4:388
8877 #, no-wrap
8878 msgid "B<MTSETPART>"
8879 msgstr "B<MTSETPART>"
8880
8881 #. type: Plain text
8882 #: build/C/man4/st.4:397
8883 msgid "The active partition is switched to I<mt_count>.  The partitions are numbered from zero.  This command is not allowed for a drive unless the partition support is enabled for the drive (see B<MT_ST_CAN_PARTITIONS> below)."
8884 msgstr "アクティブなパーティションを第 I<mt_count> 番目に切り替える。パーティションは 0 から数える。 このコマンドは、パーティションのサポートが有効にされた ドライブでなければ使えない (以下の B<MT_ST_CAN_PARTITIONS> を見よ)。"
8885
8886 #. type: TP
8887 #: build/C/man4/st.4:397
8888 #, no-wrap
8889 msgid "B<MTUNLOAD>"
8890 msgstr "B<MTUNLOAD>"
8891
8892 #. type: Plain text
8893 #: build/C/man4/st.4:400
8894 msgid "Execute the SCSI unload command (does not eject the tape)."
8895 msgstr "SCSI unload コマンドを実行する (テープのイジェクトは行わない)。"
8896
8897 #. type: TP
8898 #: build/C/man4/st.4:400
8899 #, no-wrap
8900 msgid "B<MTUNLOCK>"
8901 msgstr "B<MTUNLOCK>"
8902
8903 #. type: Plain text
8904 #: build/C/man4/st.4:403
8905 msgid "Unlock the tape drive door."
8906 msgstr "テープドライブの扉のロックを解除する。"
8907
8908 #. type: TP
8909 #: build/C/man4/st.4:403
8910 #, no-wrap
8911 msgid "B<MTWEOF>"
8912 msgstr "B<MTWEOF>"
8913
8914 #. type: Plain text
8915 #: build/C/man4/st.4:408
8916 msgid "Write I<mt_count> filemarks."
8917 msgstr "I<mt_count> 個のファイルマークを書き込む。"
8918
8919 #. type: TP
8920 #: build/C/man4/st.4:408
8921 #, no-wrap
8922 msgid "B<MTWSM>"
8923 msgstr "B<MTWSM>"
8924
8925 #. type: Plain text
8926 #: build/C/man4/st.4:413
8927 msgid "Write I<mt_count> setmarks."
8928 msgstr "I<mt_count> 個のセットマークを書き込む。"
8929
8930 #. type: Plain text
8931 #: build/C/man4/st.4:415
8932 msgid "Magnetic Tape operations for setting of device options (by the superuser):"
8933 msgstr "デバイスオプションの設定のための (スーパーユーザーによる) 磁気テープ操作:"
8934
8935 #. type: TP
8936 #: build/C/man4/st.4:415
8937 #, no-wrap
8938 msgid "B<MTSETDRVBUFFER>"
8939 msgstr "B<MTSETDRVBUFFER>"
8940
8941 #. type: Plain text
8942 #: build/C/man4/st.4:424
8943 msgid "Set various drive and driver options according to bits encoded in I<mt_count>.  These consist of the drive's buffering mode, a set of Boolean driver options, the buffer write threshold, defaults for the block size and density, and timeouts (only in kernels 2.1 and later).  A single operation can affect only one item in the list above (the Booleans counted as one item.)"
8944 msgstr "いろいろなドライブとドライバーのオプションを I<mt_count> にエンコードされた各ビットに従って設定する。 オプションには、ドライブのバッファーリングモード、 ブール値のドライバオプションの集合、 バッファーの書き込み閾値 (デフォルトはブロックサイズと密度)、 タイムアウト値が含まれる (カーネル 2.1 以降)。 一回の操作で変えられるのは、上記のリストのどれか一つだけである (複数のブール値はまとめて一つと勘定される)。"
8945
8946 #. type: Plain text
8947 #: build/C/man4/st.4:428
8948 msgid "A value having zeros in the high-order 4 bits will be used to set the drive's buffering mode.  The buffering modes are:"
8949 msgstr "高位の4ビットがゼロである値は、 ドライブのバッファーリングモードの設定に使われる。 バッファーリングモードは以下の通り:"
8950
8951 #. type: IP
8952 #: build/C/man4/st.4:429
8953 #, no-wrap
8954 msgid "0"
8955 msgstr "0"
8956
8957 #. type: Plain text
8958 #: build/C/man4/st.4:434
8959 msgid "The drive will not report B<GOOD> status on write commands until the data blocks are actually written to the medium."
8960 msgstr "ドライブはライトコマンドに対し、 データブロックが実際に媒体に書き込まれるまで B<GOOD> のステータスを返さない。"
8961
8962 #. type: IP
8963 #: build/C/man4/st.4:434
8964 #, no-wrap
8965 msgid "1"
8966 msgstr "1"
8967
8968 #. type: Plain text
8969 #: build/C/man4/st.4:439
8970 msgid "The drive may report B<GOOD> status on write commands as soon as all the data has been transferred to the drive's internal buffer."
8971 msgstr "ドライブはライトコマンドに対し、 すべてのデータがドライブの内部バッファーに転送されるとすぐに、 B<GOOD> のステータスを返すことができる。"
8972
8973 #. type: IP
8974 #: build/C/man4/st.4:439
8975 #, no-wrap
8976 msgid "2"
8977 msgstr "2"
8978
8979 #. type: Plain text
8980 #: build/C/man4/st.4:446
8981 msgid "The drive may report B<GOOD> status on write commands as soon as (a) all the data has been transferred to the drive's internal buffer, and (b) all buffered data from different initiators has been successfully written to the medium."
8982 msgstr "ライトコマンドに対し、以下の 2 つの条件がそろった場合、 ドライブはすぐに B<GOOD> ステータスを返す事ができる。 (a) すべてのデータがドライブの内部バッファーに転送された。 (b) 別々のイニシエーターから来たバッファーデータが、 すべて媒体へ問題なく書き込まれた。"
8983
8984 #. type: Plain text
8985 #: build/C/man4/st.4:457
8986 msgid "To control the write threshold the value in I<mt_count> must include the constant B<MT_ST_WRITE_THRESHOLD> bitwise ORed with a block count in the low 28 bits.  The block count refers to 1024-byte blocks, not the physical block size on the tape.  The threshold cannot exceed the driver's internal buffer size (see DESCRIPTION, above)."
8987 msgstr "書き込み閾値を制御するには、 I<mt_count> には、定数 B<MT_ST_WRITE_THRESHOLD> とブロックカウントのビット毎の OR をとった値を 下位の 28ビットに含まねばならない。 このブロックカウントは 1024 バイトブロックを単位としたもので、 テープの物理ブロックサイズを単位としたものではない。 また、閾値はドライバの内部バッファー (上記の説明参照)  のサイズを越える事はできない。"
8988
8989 #. type: Plain text
8990 #: build/C/man4/st.4:478
8991 msgid "To set and clear the Boolean options the value in I<mt_count> must include one of the constants B<MT_ST_BOOLEANS>, B<MT_ST_SETBOOLEANS>, B<MT_ST_CLEARBOOLEANS>, or B<MT_ST_DEFBOOLEANS> bitwise ORed with whatever combination of the following options is desired.  Using B<MT_ST_BOOLEANS> the options can be set to the values defined in the corresponding bits.  With B<MT_ST_SETBOOLEANS> the options can be selectively set and with B<MT_ST_DEFBOOLEANS> selectively cleared."
8992 msgstr "ブール値のフラグを設定・解除するには、 I<mt_count> の値は B<MT_ST_BOOLEANS>, B<MT_ST_SETBOOLEANS>, B<MT_ST_CLEARBOOLEANS>, B<MT_ST_DEFBOOLEANS> のいずれか一つの値に、以下のオプションの任意の組み合わせに対して ビット毎の OR を取ったものを指定する。 B<MT_ST_BOOLEANS>を用いると、 オプションを対応するビットに対して定義されている値に設定できる。 B<MT_ST_SETBOOLEANS>を用いると、 オプションは選択的に設定され、 B<MT_ST_DEFBOOLEANS>を用いると 選択的に解除される。"
8993
8994 #. type: Plain text
8995 #: build/C/man4/st.4:486
8996 msgid "The default options for a tape device are set with B<MT_ST_DEFBOOLEANS>.  A nonactive tape device (e.g., device with minor 32 or 160) is activated when the default options for it are defined the first time.  An activated device inherits from the device activated at start-up the options not set explicitly."
8997 msgstr "テープデバイスのデフォルトのオプションは B<MT_ST_DEFBOOLEANS> によって設定される。 アクティブでないテープデバイス (例: マイナー番号 が 32 や 160 のデバイス)  は、それらに対するデフォルトのオプションが最初に定義されたときに アクティブになる。アクティブにされたデバイスは、 起動時にアクティブにされたデバイスから、 明示的に指定されなかったオプションを継承する。"
8998
8999 #. type: Plain text
9000 #: build/C/man4/st.4:488
9001 msgid "The Boolean options are:"
9002 msgstr "ブール値のオプションは以下の通り:"
9003
9004 #. type: TP
9005 #: build/C/man4/st.4:489
9006 #, no-wrap
9007 msgid "B<MT_ST_BUFFER_WRITES> (Default: true)"
9008 msgstr "B<MT_ST_BUFFER_WRITES> (デフォルト: 真)"
9009
9010 #. type: Plain text
9011 #: build/C/man4/st.4:495
9012 msgid "Buffer all write operations in fixed-block mode.  If this option is false and the drive uses a fixed block size, then all write operations must be for a multiple of the block size.  This option must be set false to write reliable multivolume archives."
9013 msgstr "固定長ブロックモードにおけるすべての書き込み操作をバッファーリングする。 このオプションが偽であり、かつドライブが固定長ブロックサイズの時は、 すべての書き込み操作はブロックサイズの倍数の大きさで行わなければならない。 信頼性のあるマルチボリュームアーカイブを書き込むためには、 このオプションは偽に設定されていなければならない。"
9014
9015 #. type: TP
9016 #: build/C/man4/st.4:495
9017 #, no-wrap
9018 msgid "B<MT_ST_ASYNC_WRITES> (Default: true)"
9019 msgstr "B<MT_ST_ASYNC_WRITES> (デフォルト: 真)"
9020
9021 #. type: Plain text
9022 #: build/C/man4/st.4:505
9023 msgid "When this option is true, write operations return immediately without waiting for the data to be transferred to the drive if the data fits into the driver's buffer.  The write threshold determines how full the buffer must be before a new SCSI write command is issued.  Any errors reported by the drive will be held until the next operation.  This option must be set false to write reliable multivolume archives."
9024 msgstr "このオプションが真の時には、データがドライバのバッファーに収まる時には データがドライブに転送されるのを待たずに、すぐに書き込み操作が返って来る。 バッファーがどのくらい空いたら次の SCSI write コマンドを発行できるかは、 書き込み閾値によって決まる。 ドライブが返すすべてのエラーは、次の操作まで保存される。 信頼性のあるマルチボリュームアーカイブを書き込むためには、 このオプションは偽に設定されていなければならない。"
9025
9026 #. type: TP
9027 #: build/C/man4/st.4:505
9028 #, no-wrap
9029 msgid "B<MT_ST_READ_AHEAD> (Default: true)"
9030 msgstr "B<MT_ST_READ_AHEAD> (デフォルト: 真)"
9031
9032 #. type: Plain text
9033 #: build/C/man4/st.4:511
9034 msgid "This option causes the driver to provide read buffering and read-ahead in fixed-block mode.  If this option is false and the drive uses a fixed block size, then all read operations must be for a multiple of the block size."
9035 msgstr "このオプションを指定すると、 ドライバは固定長ブロックモードで読み込みバッファーリングと先読みをするようになる。 このオプションが偽であり、かつドライブが固定長ブロックサイズの時は、 すべての読み込み操作はブロックサイズの倍数の大きさで行わなければならない。"
9036
9037 #. type: TP
9038 #: build/C/man4/st.4:511
9039 #, no-wrap
9040 msgid "B<MT_ST_TWO_FM> (Default: false)"
9041 msgstr "B<MT_ST_TWO_FM> (デフォルト: 偽)"
9042
9043 #. type: Plain text
9044 #: build/C/man4/st.4:517
9045 msgid "This option modifies the driver behavior when a file is closed.  The normal action is to write a single filemark.  If the option is true, the driver will write two filemarks and backspace over the second one."
9046 msgstr "このオプションはファイルがクローズされた時のドライバーの振舞いを変更する。 一つのファイルマークを書き込むのが通常の動作である。 このオプションが真の時には、 ドライバーは 2 つのファイルマークを書き込んで、 2 つめのファイルマークのところに戻る。"
9047
9048 #. type: Plain text
9049 #: build/C/man4/st.4:526
9050 msgid "Note: This option should not be set true for QIC tape drives since they are unable to overwrite a filemark.  These drives detect the end of recorded data by testing for blank tape rather than two consecutive filemarks.  Most other current drives also detect the end of recorded data and using two filemarks is usually necessary only when interchanging tapes with some other systems."
9051 msgstr "注意: QICテープドライブはファイルマークに上書きすることができないので、 このオプションを真にしてはならない。 これらのドライブは記録データの末尾の検知に、 ファイルマークが 2つ続けてあるかではなく、 ブランクテープかどうかのテストを用いる。 現在の他のほとんどのドライブも、記録データの末尾を検知する。 2 つのファイルマークが必要になるのは、 他のシステムとテープをやりとりする場合である。"
9052
9053 #. type: TP
9054 #: build/C/man4/st.4:526
9055 #, no-wrap
9056 msgid "B<MT_ST_DEBUGGING> (Default: false)"
9057 msgstr "B<MT_ST_DEBUGGING> (デフォルト: 偽)"
9058
9059 #. type: Plain text
9060 #: build/C/man4/st.4:532
9061 msgid "This option turns on various debugging messages from the driver (effective only if the driver was compiled with B<DEBUG> defined nonzero)."
9062 msgstr "このオプションを真にすると、 ドライバはいろいろなデバッグ用メッセージを出すようになる (B<DEBUG> を非ゼロに定義してドライバをコンパイルしている時のみ有効)。"
9063
9064 #. type: TP
9065 #: build/C/man4/st.4:532
9066 #, no-wrap
9067 msgid "B<MT_ST_FAST_EOM> (Default: false)"
9068 msgstr "B<MT_ST_FAST_EOM> (デフォルト: 偽)"
9069
9070 #. type: Plain text
9071 #: build/C/man4/st.4:546
9072 msgid "This option causes the B<MTEOM> operation to be sent directly to the drive, potentially speeding up the operation but causing the driver to lose track of the current file number normally returned by the B<MTIOCGET> request.  If B<MT_ST_FAST_EOM> is false, the driver will respond to an B<MTEOM> request by forward spacing over files."
9073 msgstr "このオプションを真にすると、 B<MTEOM> 操作が直接ドライブに送られるようになる。 操作が早くなるはずだが、 ドライバが現在のファイル番号を見失うことになる (これは通常なら B<MTIOCGET> リクエストによって返される)。 B<MT_ST_FAST_EOM> が偽の時には、ドライバは B<MTEOM> リクエストに応えるとき、前方にファイルを一つ一つ進めていく。"
9074
9075 #. type: TP
9076 #: build/C/man4/st.4:546
9077 #, no-wrap
9078 msgid "B<MT_ST_AUTO_LOCK> (Default: false)"
9079 msgstr "B<MT_ST_AUTO_LOCK> (デフォルト: 偽)"
9080
9081 #. type: Plain text
9082 #: build/C/man4/st.4:550
9083 msgid "When this option is true, the drive door is locked when the device is opened and unlocked when it is closed."
9084 msgstr "このオプションが真の時には、 デバイスがオープンされるとドライブの扉がロックされ、 クローズされるとアンロックされる。"
9085
9086 #. type: TP
9087 #: build/C/man4/st.4:550
9088 #, no-wrap
9089 msgid "B<MT_ST_DEF_WRITES> (Default: false)"
9090 msgstr "B<MT_ST_DEF_WRITES> (デフォルト: 偽)"
9091
9092 #. type: Plain text
9093 #: build/C/man4/st.4:567
9094 msgid "The tape options (block size, mode, compression, etc.) may change when changing from one device linked to a drive to another device linked to the same drive depending on how the devices are defined.  This option defines when the changes are enforced by the driver using SCSI-commands and when the drives auto-detection capabilities are relied upon.  If this option is false, the driver sends the SCSI-commands immediately when the device is changed.  If the option is true, the SCSI-commands are not sent until a write is requested.  In this case, the drive firmware is allowed to detect the tape structure when reading and the SCSI-commands are used only to make sure that a tape is written according to the correct specification."
9095 msgstr "テープオプション (ブロックサイズ、モード、圧縮など)  があるドライブにリンクされたデバイスで変更されると、 その同じドライブにリンクされた他のデバイスでも変更されることがある (そのデバイスの定義による)。このオプションは、 ドライバによる変更をいつ SCSI コマンドによって反映させるかと、 ドライブの自動検知機能がいつ信頼して良いのかを定義する。 このオプションを偽にしておくと、 デバイスの変更があるとドライバはすぐに SCSI コマンドを送る。 真にしておくと、 SCSI コマンドは書き込みが要求されるまで送られない。 後者の場合は、読み込みの際にドライブのファームウェアによって テープ構造の検知が行える。また SCSI コマンドは、 テープが正しい指定に沿って書き込まれているかどうかの 確認のためだけに用いられる。"
9096
9097 #. type: TP
9098 #: build/C/man4/st.4:567
9099 #, no-wrap
9100 msgid "B<MT_ST_CAN_BSR> (Default: false)"
9101 msgstr "B<MT_ST_CAN_BSR> (デフォルト: 偽)"
9102
9103 #. type: Plain text
9104 #: build/C/man4/st.4:580
9105 msgid "When read-ahead is used, the tape must sometimes be spaced backward to the correct position when the device is closed and the SCSI command to space backward over records is used for this purpose.  Some older drives can't process this command reliably and this option can be used to instruct the driver not to use the command.  The end result is that, with read-ahead and fixed-block mode, the tape may not be correctly positioned within a file when the device is closed.  With 2.6 kernel, the default is true for drives supporting SCSI-3."
9106 msgstr "先読みを使うと、テープをクローズするときに、 場合によってはテープを正しい位置に逆戻ししなければならないことがある。 これには、レコードを越えて逆戻しする SCSI コマンドが用いられる。 古いドライブでは、このコマンド処理の信頼性が低いことがあるが、 このオプションを指定すると、 ドライバにこのコマンドの利用を禁止することができる。 先読みと固定長ブロックモードを用いていると、最終的な結果として、 デバイスのクローズ時にテープが正しい位置にならないことがある。 2.6 カーネルでは、SCSI-3 をサポートしているドライブに対して、 この値のデフォルトは真となる。"
9107
9108 #. type: TP
9109 #: build/C/man4/st.4:580
9110 #, no-wrap
9111 msgid "B<MT_ST_NO_BLKLIMS> (Default: false)"
9112 msgstr "B<MT_ST_NO_BLKLIMS> (デフォルト: 偽)"
9113
9114 #. type: Plain text
9115 #: build/C/man4/st.4:589
9116 msgid "Some drives don't accept the B<READ BLOCK LIMITS> SCSI command.  If this is used, the driver does not use the command.  The drawback is that the driver can't check before sending commands if the selected block size is acceptable to the drive."
9117 msgstr "ドライブによっては B<READ BLOCK LIMITS SCSI> コマンドを受けつけないことがある。 このオプションを用いると、ドライバはこのコマンドを用いない。 欠点は、指定したブロックサイズがドライブに受理されてしまうと、 ドライバのコマンド送信前チェックができなくなる点である。"
9118
9119 #. type: TP
9120 #: build/C/man4/st.4:589
9121 #, no-wrap
9122 msgid "B<MT_ST_CAN_PARTITIONS> (Default: false)"
9123 msgstr "B<MT_ST_CAN_PARTITIONS> (デフォルト: 偽)"
9124
9125 #. type: Plain text
9126 #: build/C/man4/st.4:594
9127 msgid "This option enables support for several partitions within a tape.  The option applies to all devices linked to a drive."
9128 msgstr "このオプションは、一つのテープに複数パーティションを置くことを サポートするかどうかを決める。 このオプションはドライブにリンクされた全てのデバイスに適用される。"
9129
9130 #. type: TP
9131 #: build/C/man4/st.4:594
9132 #, no-wrap
9133 msgid "B<MT_ST_SCSI2LOGICAL> (Default: false)"
9134 msgstr "このオプションは、"
9135
9136 #. type: Plain text
9137 #: build/C/man4/st.4:609
9138 msgid "This option instructs the driver to use the logical block addresses defined in the SCSI-2 standard when performing the seek and tell operations (both with B<MTSEEK> and B<MTIOCPOS> commands and when changing tape partition).  Otherwise, the device-specific addresses are used.  It is highly advisable to set this option if the drive supports the logical addresses because they count also filemarks.  There are some drives that support only the logical block addresses."
9139 msgstr "seek および tell 操作 (両者とも B<MTSEEK>・B<MTIOCPOS> コマンドを伴い、テープ位置を変更するとき) の際に、 SCSI-2 の標準で定義されている論理ブロックアドレスを用いるかどうかを ドライバに伝える。 偽だとデバイス固有のアドレスが用いられる。 ドライブが論理アドレスをサポートしているときは、 このオプションをセットすることを強く勧める。 このモードではファイルマークもカウントするからである。 論理ブロックアドレスしかサポートしないドライブもいくつか存在している。"
9140
9141 #. type: TP
9142 #: build/C/man4/st.4:609
9143 #, no-wrap
9144 msgid "B<MT_ST_SYSV> (Default: false)"
9145 msgstr "B<MT_ST_SYSV> (デフォルト: 偽)"
9146
9147 #. type: Plain text
9148 #: build/C/man4/st.4:620
9149 msgid "When this option is enabled, the tape devices use the SystemV semantics.  Otherwise, the BSD semantics are used.  The most important difference between the semantics is what happens when a device used for reading is closed: in System V semantics the tape is spaced forward past the next filemark if this has not happened while using the device.  In BSD semantics the tape position is not changed."
9150 msgstr "このオプションが真になっていると、テープデバイスは SystemV のルールを用いる。偽だと BSD のルールを用いる。 これらのルール間の最も大きな違いは、読み込みを行っていた デバイスがクローズされたときの振舞いである。 System V のルールでは、テープは次のファイルマークを越えて移動する (デバイスの利用時にこれが行われなかった場合)。 BSD のルールではテープ位置は変更されない。"
9151
9152 #. type: TP
9153 #: build/C/man4/st.4:620
9154 #, no-wrap
9155 msgid "B<MT_NO_WAIT> (Default: false)"
9156 msgstr "B<MT_NO_WAIT> (デフォルト: 偽)"
9157
9158 #. type: Plain text
9159 #: build/C/man4/st.4:624
9160 msgid "Enables immediate mode (i.e., don't wait for the command to finish) for some commands (e.g., rewind)."
9161 msgstr "即時モード (immediate mode; コマンドの終了を待たない)  を、ある種のコマンド (rewind など) に対して有効にする。"
9162
9163 #. type: Plain text
9164 #: build/C/man4/st.4:626
9165 msgid "An example:"
9166 msgstr "例:"
9167
9168 #. type: Plain text
9169 #: build/C/man4/st.4:634
9170 #, no-wrap
9171 msgid ""
9172 "struct mtop mt_cmd;\n"
9173 "mt_cmd.mt_op = MTSETDRVBUFFER;\n"
9174 "mt_cmd.mt_count = MT_ST_BOOLEANS |\n"
9175 "        MT_ST_BUFFER_WRITES | MT_ST_ASYNC_WRITES;\n"
9176 "ioctl(fd, MTIOCTOP, mt_cmd);\n"
9177 msgstr ""
9178 "struct mtop mt_cmd;\n"
9179 "mt_cmd.mt_op = MTSETDRVBUFFER;\n"
9180 "mt_cmd.mt_count = MT_ST_BOOLEANS |\n"
9181 "        MT_ST_BUFFER_WRITES | MT_ST_ASYNC_WRITES;\n"
9182 "ioctl(fd, MTIOCTOP, mt_cmd);\n"
9183
9184 #. type: Plain text
9185 #: build/C/man4/st.4:644
9186 msgid "The default block size for a device can be set with B<MT_ST_DEF_BLKSIZE> and the default density code can be set with B<MT_ST_DEFDENSITY>.  The values for the parameters are or'ed with the operation code."
9187 msgstr "デバイスのデフォルトのブロックサイズは B<MT_ST_DEF_BLKSIZE> によって設定でき、デフォルトの密度コードは B<MT_ST_DEFDENSITY> によって設定できる。 これらのパラメーターの値は操作コードと OR して与える。"
9188
9189 #. type: Plain text
9190 #: build/C/man4/st.4:661
9191 msgid "With kernels 2.1.x and later, the timeout values can be set with the subcommand B<MT_ST_SET_TIMEOUT> ORed with the timeout in seconds.  The long timeout (used for rewinds and other commands that may take a long time) can be set with B<MT_ST_SET_LONG_TIMEOUT>.  The kernel defaults are very long to make sure that a successful command is not timed out with any drive.  Because of this the driver may seem stuck even if it is only waiting for the timeout.  These commands can be used to set more practical values for a specific drive.  The timeouts set for one device apply for all devices linked to the same drive."
9192 msgstr "2.1.x 以降のカーネルでは、タイムアウト値の設定は、 サブコマンド B<MT_ST_SET_TIMEOUT> に秒単位のタイムアウト値を OR して与えることによって行える。 long タイムアウト (巻き戻しなど、長い時間がかかるコマンドに対して用いられる) は B<MT_ST_SET_LONG_TIMEOUT> で設定できる。 カーネルのデフォルトは非常に長く、どのドライブでも 成功しているコマンドが決してタイムアウトしないようになっている。 したがって、ドライバはタイムアウトを待っているだけなのに、 刺さった (stuck した) ように見えることがある。これらのコマンドを使えば、 特定のドライブに対してもう少し実際的な値に設定することができる。 一つのデバイスに設定したタイムアウト値は、 それと同じドライブにリンクした全てのデバイスに適用される。"
9193
9194 #. type: Plain text
9195 #: build/C/man4/st.4:682
9196 msgid "Starting from kernels 2.4.19 and 2.5.43, the driver supports a status bit which indicates whether the drive requests cleaning.  The method used by the drive to return cleaning information is set using the B<MT_ST_SEL_CLN> subcommand.  If the value is zero, the cleaning bit is always zero.  If the value is one, the TapeAlert data defined in the SCSI-3 standard is used (not yet implemented).  Values 2-17 are reserved.  If the lowest eight bits are E<gt>= 18, bits from the extended sense data are used.  The bits 9-16 specify a mask to select the bits to look at and the bits 17-23 specify the bit pattern to look for.  If the bit pattern is zero, one or more bits under the mask indicate the cleaning request.  If the pattern is nonzero, the pattern must match the masked sense data byte."
9197 msgstr "2.4.19 および 2.5.43 以降のカーネルでは、 このドライバはドライブのクリーニングが必要かどうかを示す 状態ビットをサポートする。 ドライブがクリーニング情報を返させるかどうかは、 B<MT_ST_SEL_CLN> サブコマンドによって設定できる。 この値が 0 だと、クリーニングビットは常に 0 となる。 値を 1 にすると、SCSI-3 標準で規定されている TapeAlert データが用いられる (まだ実装されていない)  値としては 2 から 17 が予約されている。 低位側の 8 ビットが 18 以上だと、拡張状態データ (extended sense data)  が用いられる。第 9-16 ビットは注目すべきビットを選択するためのマスクを指定し、 第 17-23 ビットは探すべきビットパターンを指定する。 このビットパターンが 0 のときは、 マスク下のビット (群) がクリーニング要求を示す。パターンが 0 でなければ、 このパターンがマスク後の状態データバイトにマッチしなければならない。"
9198
9199 #. type: SS
9200 #: build/C/man4/st.4:682
9201 #, no-wrap
9202 msgid "MTIOCGET \\(em get status"
9203 msgstr "MTIOCGET \\(em ステータスの取得"
9204
9205 #. type: Plain text
9206 #: build/C/man4/st.4:686
9207 msgid "This request takes an argument of type I<(struct mtget\\ *)>."
9208 msgstr "このリクエストは I<(struct mtget\\ *)> という型の引数をとる。"
9209
9210 #. type: Plain text
9211 #: build/C/man4/st.4:701
9212 #, no-wrap
9213 msgid ""
9214 "/* structure for MTIOCGET - mag tape get status command */\n"
9215 "struct mtget {\n"
9216 "    long     mt_type;\n"
9217 "    long     mt_resid;\n"
9218 "    /* the following registers are device dependent */\n"
9219 "    long     mt_dsreg;\n"
9220 "    long     mt_gstat;\n"
9221 "    long     mt_erreg;\n"
9222 "    /* The next two fields are not always used */\n"
9223 "    daddr_t  mt_fileno;\n"
9224 "    daddr_t  mt_blkno;\n"
9225 "};\n"
9226 msgstr ""
9227 "/* structure for MTIOCGET - mag tape get status command */\n"
9228 "struct mtget {\n"
9229 "    long     mt_type;\n"
9230 "    long     mt_resid;\n"
9231 "    /* the following registers are device dependent */\n"
9232 "    long     mt_dsreg;\n"
9233 "    long     mt_gstat;\n"
9234 "    long     mt_erreg;\n"
9235 "    /* The next two fields are not always used */\n"
9236 "    daddr_t  mt_fileno;\n"
9237 "    daddr_t  mt_blkno;\n"
9238 "};\n"
9239
9240 #. type: IP
9241 #: build/C/man4/st.4:703
9242 #, no-wrap
9243 msgid "I<mt_type>"
9244 msgstr "I<mt_type>"
9245
9246 #. type: Plain text
9247 #: build/C/man4/st.4:712
9248 msgid "The header file defines many values for I<mt_type>, but the current driver reports only the generic types B<MT_ISSCSI1> (Generic SCSI-1 tape)  and B<MT_ISSCSI2> (Generic SCSI-2 tape)."
9249 msgstr "ヘッダファイル中には多くの I<mt_type> の値が定義されているが、現行のドライバは汎用のタイプである B<MT_ISSCSI1> (汎用 SCSI-1 テープ) および B<MT_ISSCSI2> (汎用 SCSI-2 テープ) のみを返す。"
9250
9251 #. type: IP
9252 #: build/C/man4/st.4:712
9253 #, no-wrap
9254 msgid "I<mt_resid>"
9255 msgstr "I<mt_resid>"
9256
9257 #. type: Plain text
9258 #: build/C/man4/st.4:714
9259 msgid "contains the current tape partition number."
9260 msgstr "現在のテープ位置番号。"
9261
9262 #. type: IP
9263 #: build/C/man4/st.4:714
9264 #, no-wrap
9265 msgid "I<mt_dsreg>"
9266 msgstr "I<mt_dsreg>"
9267
9268 #. type: Plain text
9269 #: build/C/man4/st.4:723
9270 msgid "reports the drive's current settings for block size (in the low 24 bits) and density (in the high 8 bits).  These fields are defined by B<MT_ST_BLKSIZE_SHIFT>, B<MT_ST_BLKSIZE_MASK>, B<MT_ST_DENSITY_SHIFT>, and B<MT_ST_DENSITY_MASK>."
9271 msgstr "ドライブのブロックサイズと密度の現在の設定を報告する (下位 24 ビットがブロックサイズ、上位 8 ビットが密度)。 これらのフィールドは、 B<MT_ST_BLKSIZE_SHIFT>, B<MT_ST_BLKSIZE_MASK>, B<MT_ST_DENSITY_SHIFT>, B<MT_ST_DENSITY_MASK> で定義されている。"
9272
9273 #. type: IP
9274 #: build/C/man4/st.4:723
9275 #, no-wrap
9276 msgid "I<mt_gstat>"
9277 msgstr "I<mt_gstat>"
9278
9279 #. type: Plain text
9280 #: build/C/man4/st.4:726
9281 msgid "reports generic (device independent) status information.  The header file defines macros for testing these status bits:"
9282 msgstr "汎用の (デバイスに依存しない) ステータスを報告する。 これらのステータスビットをテストするためのマクロが ヘッダファイルで定義されている。"
9283
9284 #. type: Plain text
9285 #: build/C/man4/st.4:733
9286 msgid "B<GMT_EOF>(I<x>): The tape is positioned just after a filemark (always false after an B<MTSEEK> operation)."
9287 msgstr "B<GMT_EOF>(I<x>): テープはファイルマークの直後に位置している。 (B<MTSEEK> 操作の後では常に偽)"
9288
9289 #. type: Plain text
9290 #: build/C/man4/st.4:739
9291 msgid "B<GMT_BOT>(I<x>): The tape is positioned at the beginning of the first file (always false after an B<MTSEEK> operation)."
9292 msgstr "B<GMT_BOT>(I<x>): テープは最初のファイルの先頭に位置している。 (B<MTSEEK> 操作の後では常に偽)"
9293
9294 #. type: Plain text
9295 #: build/C/man4/st.4:742
9296 msgid "B<GMT_EOT>(I<x>): A tape operation has reached the physical End Of Tape."
9297 msgstr "B<GMT_EOT>(I<x>): テープ操作はテープの物理的な終点に達した。"
9298
9299 #. type: Plain text
9300 #: build/C/man4/st.4:748
9301 msgid "B<GMT_SM>(I<x>): The tape is currently positioned at a setmark (always false after an B<MTSEEK> operation)."
9302 msgstr "\\s-1GMT_SM(\\s+1I<x>\\s-1)\\s+1: テープは現在セットマークに位置している。 (B<MTSEEK> 操作の後では常に偽)"
9303
9304 #. type: Plain text
9305 #: build/C/man4/st.4:751
9306 msgid "B<GMT_EOD>(I<x>): The tape is positioned at the end of recorded data."
9307 msgstr "B<GMT_EOD>(I<x>): テープは記録データの末尾に位置している。"
9308
9309 #. type: Plain text
9310 #: build/C/man4/st.4:756
9311 msgid "B<GMT_WR_PROT>(I<x>): The drive is write-protected.  For some drives this can also mean that the drive does not support writing on the current medium type."
9312 msgstr "B<GMT_WR_PROT>(I<x>): ドライブはライトプロテクトされている。 これはドライブによっては、 ドライブが現在のメディアタイプへの書き込みを サポートしていない事を意味する場合もある。"
9313
9314 #. type: Plain text
9315 #: build/C/man4/st.4:761
9316 msgid "B<GMT_ONLINE>(I<x>): The last B<open>(2)  found the drive with a tape in place and ready for operation."
9317 msgstr "B<GMT_ONLINE>(I<x>): もっとも最近の B<open>(2)  が、テープが入っていて操作の準備ができているドライブを検知した。"
9318
9319 #. type: Plain text
9320 #: build/C/man4/st.4:765
9321 msgid "B<GMT_D_6250>(I<x>), B<GMT_D_1600>(I<x>), B<GMT_D_800>(I<x>): This \\(lqgeneric\\(rq status information reports the current density setting for 9-track \\(12\" tape drives only."
9322 msgstr "B<GMT_D_6250>(I<x>), B<GMT_D_1600>(I<x>), B<GMT_D_800>(I<x>): この「汎用」のステータス情報は、 9-トラック \\(12\" テープドライブの場合にのみ、 現在の密度の設定を報告する。"
9323
9324 #. type: Plain text
9325 #: build/C/man4/st.4:768
9326 msgid "B<GMT_DR_OPEN>(I<x>): The drive does not have a tape in place."
9327 msgstr "B<GMT_DR_OPEN>(I<x>): ドライブにテープが入っていない。"
9328
9329 #. type: Plain text
9330 #: build/C/man4/st.4:776
9331 msgid "B<GMT_IM_REP_EN>(I<x>): Immediate report mode.  This bit is set if there are no guarantees that the data has been physically written to the tape when the write call returns.  It is set zero only when the driver does not buffer data and the drive is set not to buffer data."
9332 msgstr "B<GMT_IM_REP_EN>(I<x>): 即時報告モード。 write コールが戻ったとき、 テープに対して物理的な書き込みが行われたかどうかを保証できない場合に、 このビットがセットされる。ドライバがデータをバッファーリングせず、 ドライブもデータをバッファーリングしない場合に限って、 この値は 0 にセットされる。"
9333
9334 #. type: Plain text
9335 #: build/C/man4/st.4:780
9336 msgid "B<GMT_CLN>(I<x>): The drive has requested cleaning.  Implemented in kernels since 2.4.19 and 2.5.43."
9337 msgstr "B<GMT_CLN>(I<x>): ドライブがクリーニングを要求している。 カーネル 2.4.19 および 2.5.43 以降で実装された。"
9338
9339 #. type: IP
9340 #: build/C/man4/st.4:781
9341 #, no-wrap
9342 msgid "I<mt_erreg>"
9343 msgstr "I<mt_erreg>"
9344
9345 #. type: Plain text
9346 #: build/C/man4/st.4:791
9347 msgid "The only field defined in I<mt_erreg> is the recovered error count in the low 16 bits (as defined by B<MT_ST_SOFTERR_SHIFT> and B<MT_ST_SOFTERR_MASK>.  Due to inconsistencies in the way drives report recovered errors, this count is often not maintained (most drives do not by default report soft errors but this can be changed with a SCSI MODE SELECT command)."
9348 msgstr "I<mt_erreg> で定義されているフィールドは一つだけで、 下位の 16 ビットがエラーをリカバーした回数である (B<MT_ST_SOFTERR_SHIFT> と B<MT_ST_SOFTERR_MASK> で定義されている)。 ドライブの報告するエラーリカバー数と矛盾することがあるので、 この数はほとんどの場合維持されない (ほとんどのドライブでは、デフォルトではソフトエラーを報告しない。 しかしこれは SCSI MODE SELECT コマンドによって変更できる)。"
9349
9350 #. type: IP
9351 #: build/C/man4/st.4:791
9352 #, no-wrap
9353 msgid "I<mt_fileno>"
9354 msgstr "I<mt_fileno>"
9355
9356 #. type: Plain text
9357 #: build/C/man4/st.4:797
9358 msgid "reports the current file number (zero-based).  This value is set to -1 when the file number is unknown (e.g., after B<MTBSS> or B<MTSEEK>)."
9359 msgstr "(ゼロから数えた) 現在のファイル番号を報告する。 ファイル番号がわからない時 (例えば B<MTBSS> や B<MTSEEK> の後など) には -1 にセットされる。"
9360
9361 #. type: IP
9362 #: build/C/man4/st.4:797
9363 #, no-wrap
9364 msgid "I<mt_blkno>"
9365 msgstr "I<mt_blkno>"
9366
9367 #. type: Plain text
9368 #: build/C/man4/st.4:804
9369 msgid "reports the block number (zero-based) within the current file.  This value is set to -1 when the block number is unknown (e.g., after B<MTBSF>, B<MTBSS>, or B<MTSEEK>)."
9370 msgstr "現在のファイル中の(ゼロから数えた)ブロック番号を報告する。 ブロック番号がわからない時 (例えば B<MTBSF>, B<MTBSS>, B<MTSEEK> の後など) には -1 にセットされる。"
9371
9372 #. type: SS
9373 #: build/C/man4/st.4:804
9374 #, no-wrap
9375 msgid "MTIOCPOS \\(em get tape position"
9376 msgstr "MTIOCPOS \\(em テープ位置の取得"
9377
9378 #. type: Plain text
9379 #: build/C/man4/st.4:818
9380 msgid "This request takes an argument of type I<(struct mtpos\\ *)> and reports the drive's notion of the current tape block number, which is not the same as I<mt_blkno> returned by B<MTIOCGET>.  This drive must be a SCSI-2 drive that supports the B<READ POSITION> command (device-specific address)  or a Tandberg-compatible SCSI-1 drive (Tandberg, Archive Viper, Wangtek, ... )."
9381 msgstr "このリクエストは I<(struct mtpos\\ *)> 型の引数をとり、ドライブが保持している現在のテープブロック番号を報告する。 これは、 B<MTIOCGET> により返される I<mt_blkno> と同じではない。 ドライブは B<READ POSITION> コマンド (デバイス固有アドレス)  をサポートする SCSI-2ドライブか、 Tandberg 互換の SCSI-1 ドライブ (Tandberg, Archive, Viper, Wangtek, ... ) でなければならない。"
9382
9383 #. type: Plain text
9384 #: build/C/man4/st.4:825
9385 #, no-wrap
9386 msgid ""
9387 "/* structure for MTIOCPOS - mag tape get position command */\n"
9388 "struct mtpos {\n"
9389 "    long mt_blkno;    /* current block number */\n"
9390 "};\n"
9391 msgstr ""
9392 "/* structure for MTIOCPOS - mag tape get position command */\n"
9393 "struct mtpos {\n"
9394 "    long mt_blkno;    /* current block number */\n"
9395 "};\n"
9396
9397 #. type: Plain text
9398 #: build/C/man4/st.4:834
9399 msgid "An attempt was made to write or erase a write-protected tape.  (This error is not detected during B<open>(2).)"
9400 msgstr "書き込み保護されているテープに書き込みまたは消去を行おうとした。 (このエラーは B<open>(2)  中には検知されない。)"
9401
9402 #. type: TP
9403 #: build/C/man4/st.4:834
9404 #, no-wrap
9405 msgid "B<EBUSY>"
9406 msgstr "B<EBUSY>"
9407
9408 #. type: Plain text
9409 #: build/C/man4/st.4:838
9410 msgid "The device is already in use or the driver was unable to allocate a buffer."
9411 msgstr "デバイスがすでに使われているか、 ドライバがバッファーを割当てられなかった。"
9412
9413 #. type: Plain text
9414 #: build/C/man4/st.4:842
9415 msgid "The command parameters point to memory not belonging to the calling process."
9416 msgstr "コマンドの引数が、 呼びだしプロセスに属していないメモリ位置を指している。"
9417
9418 #. type: Plain text
9419 #: build/C/man4/st.4:847
9420 msgid "An B<ioctl>(2)  had an invalid argument, or a requested block size was invalid."
9421 msgstr "B<ioctl>(2)  の引数が不正であるか、要求したブロックサイズが不正。"
9422
9423 #. type: TP
9424 #: build/C/man4/st.4:847
9425 #, no-wrap
9426 msgid "B<EIO>"
9427 msgstr "B<EIO 14>"
9428
9429 #. type: Plain text
9430 #: build/C/man4/st.4:850
9431 msgid "The requested operation could not be completed."
9432 msgstr "要求された操作が最後まで行えなかった。"
9433
9434 #. type: Plain text
9435 #: build/C/man4/st.4:857
9436 msgid "The byte count in B<read>(2)  is smaller than the next physical block on the tape.  (Before 2.2.18 and 2.4.0-test6 the extra bytes have been silently ignored.)"
9437 msgstr "B<read>(2)  のバイト数が、テープにある次の物理ブロックより小さい (2.2.18 および 2.4.0-test6 以前では、黙って余分のバイトを無視していた)。"
9438
9439 #. type: Plain text
9440 #: build/C/man4/st.4:861
9441 msgid "A write operation could not be completed because the tape reached end-of-medium."
9442 msgstr "メディアの終点に達したため、書き込み操作が完了しなかった。"
9443
9444 #. type: TP
9445 #: build/C/man4/st.4:861 build/C/man2/syslog.2:355
9446 #, no-wrap
9447 msgid "B<ENOSYS>"
9448 msgstr "B<ENOSYS>"
9449
9450 #. type: Plain text
9451 #: build/C/man4/st.4:865
9452 msgid "Unknown B<ioctl>(2)."
9453 msgstr "不明な B<ioctl>(2)。"
9454
9455 #. type: TP
9456 #: build/C/man4/st.4:865
9457 #, no-wrap
9458 msgid "B<ENXIO>"
9459 msgstr "B<ENXIO>"
9460
9461 #. type: Plain text
9462 #: build/C/man4/st.4:868
9463 msgid "During opening, the tape device does not exist."
9464 msgstr "オープンする時にテープデバイスが存在しなかった。"
9465
9466 #. type: TP
9467 #: build/C/man4/st.4:868
9468 #, no-wrap
9469 msgid "B<EOVERFLOW>"
9470 msgstr "B<EOVERFLOW>"
9471
9472 #. type: Plain text
9473 #: build/C/man4/st.4:872
9474 msgid "An attempt was made to read or write a variable-length block that is larger than the driver's internal buffer."
9475 msgstr "ドライバの内部バッファーより大きいサイズの可変長ブロックを 読み書きしようとした。"
9476
9477 #. type: Plain text
9478 #: build/C/man4/st.4:879
9479 msgid "Open is attempted with B<O_WRONLY> or B<O_RDWR> when the tape in the drive is write-protected."
9480 msgstr "ドライブに入っているテープがライトプロテクトされている場合に、 B<O_WRONLY> または B<O_RDWR> で open を行おうとした。"
9481
9482 #. type: TP
9483 #: build/C/man4/st.4:880
9484 #, no-wrap
9485 msgid "I</dev/st*>"
9486 msgstr "I</dev/st*>"
9487
9488 #. type: Plain text
9489 #: build/C/man4/st.4:883
9490 msgid "the auto-rewind SCSI tape devices"
9491 msgstr "自動巻き戻しの SCSI テープデバイス。"
9492
9493 #. type: TP
9494 #: build/C/man4/st.4:883
9495 #, no-wrap
9496 msgid "I</dev/nst*>"
9497 msgstr "I</dev/nst*>"
9498
9499 #.  .SH AUTHOR
9500 #.  The driver has been written by Kai M\(:akisara (Kai.Makisara@metla.fi)
9501 #.  starting from a driver written by Dwayne Forsyth.
9502 #.  Several other
9503 #.  people have also contributed to the driver.
9504 #. type: Plain text
9505 #: build/C/man4/st.4:891
9506 msgid "the nonrewind SCSI tape devices"
9507 msgstr "巻き戻しをしない SCSI テープデバイス。"
9508
9509 #. type: Plain text
9510 #: build/C/man4/st.4:912
9511 msgid "When exchanging data between systems, both systems have to agree on the physical tape block size.  The parameters of a drive after startup are often not the ones most operating systems use with these devices.  Most systems use drives in variable-block mode if the drive supports that mode.  This applies to most modern drives, including DATs, 8mm helical scan drives, DLTs, etc.  It may be advisable to use these drives in variable-block mode also in Linux (i.e., use B<MTSETBLK> or B<MTSETDEFBLK> at system startup to set the mode), at least when exchanging data with a foreign system.  The drawback of this is that a fairly large tape block size has to be used to get acceptable data transfer rates on the SCSI bus."
9512 msgstr "異なるシステムでデータを相互にやりとりする場合、 両方のシステムで物理的なテープブロックサイズを一致させる必要がある。 起動直後のドライブのパラメーターは、大多数の OS がそのデバイスに対して 用いている値と異なっていることもよくある。多くのシステムは、 ドライブが対応していれば可変長ブロックモードを用いる。 DAT、 8mm ヘリカルスキャンドライブ、 DLT などの最近のドライブの ほとんどは可変長ブロックモードに対応しているから。 これらのドライブは (少なくとも他のシステムとのデータ交換が ある場合は)、 Linux でも可変長ブロックモードで使うほうが 良いかもしれない (つまりシステムの起動時のモード設定に B<MTSETBLK> または B<MTSETDEFBLK> を用いる)。 欠点としては、比較的大きなテープブロックサイズを用いなければ、 SCSI バス上で満足のいく転送速度が得られないことである。"
9513
9514 #. type: Plain text
9515 #: build/C/man4/st.4:919
9516 msgid "Many programs (e.g., B<tar>(1))  allow the user to specify the blocking factor on the command line.  Note that this determines the physical block size on tape only in variable-block mode."
9517 msgstr "多くのプログラム (B<tar>(1)  など) では、 コマンドラインからユーザーがブロック関連の値を指定できる。 この値によってテープ上の物理的なブロックサイズを決定できるのは、 可変長ブロックモードに限られることに注意。"
9518
9519 #. type: Plain text
9520 #: build/C/man4/st.4:926
9521 msgid "In order to use SCSI tape drives, the basic SCSI driver, a SCSI-adapter driver and the SCSI tape driver must be either configured into the kernel or loaded as modules.  If the SCSI-tape driver is not present, the drive is recognized but the tape support described in this page is not available."
9522 msgstr "SCSI テープドライブを用いるには、基本の SCSI ドライバ、 SCSI アダプタのドライバ、 SCSI テープドライバのすべてが カーネルに組み込まれているか、あるいはモジュールとしてロードされている 必要がある。 SCSI テープドライバがないと、 ドライブは認識されるが、 このページで記述されているテープのサポートは利用できない。"
9523
9524 #. type: Plain text
9525 #: build/C/man4/st.4:931
9526 msgid "The driver writes error messages to the console/log.  The SENSE codes written into some messages are automatically translated to text if verbose SCSI messages are enabled in kernel configuration."
9527 msgstr "ドライバはエラーメッセージをコンソールとログとに書き出す。 カーネル設定で verbose SCSI messages が有効にされていると、 SENSE コードが自動的にテキストに変換されて、 いくつかのメッセージに書きだされる。"
9528
9529 #.  .SH COPYRIGHT
9530 #.  Copyright \(co 1995 Robert K. Nichols.
9531 #.  .br
9532 #.  Copyright \(co 1999-2005 Kai M\(:akisara.
9533 #.  .PP
9534 #.  %%%LICENSE_START(VERBATIM)
9535 #.  Permission is granted to make and distribute verbatim copies of this
9536 #.  manual provided the copyright notice and this permission notice are
9537 #.  preserved on all copies.
9538 #.  Additional permissions are contained in the header of the source file.
9539 #. type: Plain text
9540 #: build/C/man4/st.4:954
9541 msgid "The driver's internal buffering allows good throughput in fixed-block mode also with small B<read>(2)  and B<write>(2)  byte counts.  With direct transfers this is not possible and may cause a surprise when moving to the 2.6 kernel.  The solution is to tell the software to use larger transfers (often telling it to use larger blocks).  If this is not possible, direct transfers can be disabled."
9542 msgstr "このドライバの内部バッファーリングは、固定ブロックモードなら B<read>(2)  や B<write>(2)  のバイト数が小さくても良いスループットを出す。 直接転送ではこれは不可能なので、2.6 カーネルに移行したときに驚くかもしれない。 解決法としては、ソフトウェアにより大きな転送を行うよう伝える (たいていはより大きなブロックを使わせる) ことである。 これが不可能なら、直接転送を無効にすることもできる。"
9543
9544 #. type: Plain text
9545 #: build/C/man4/st.4:956
9546 msgid "B<mt>(1)"
9547 msgstr "B<mt>(1)"
9548
9549 #. type: Plain text
9550 #: build/C/man4/st.4:964
9551 msgid "The file I<drivers/scsi/README.st> or I<Documentation/scsi/st.txt> (kernel E<gt>= 2.6) in the Linux kernel source tree contains the most recent information about the driver and its configuration possibilities"
9552 msgstr "Linux カーネルソースの I<drivers/scsi/README.st> や I<Documentation/scsi/st.txt> (カーネル 2.6 以降) の各ファイルには、 ドライバに関するより新しい情報や、 その設定可能な範囲に関する内容が含まれている。"
9553
9554 #. type: TH
9555 #: build/C/man3/stdarg.3:43
9556 #, no-wrap
9557 msgid "STDARG"
9558 msgstr "STDARG"
9559
9560 #. type: TH
9561 #: build/C/man3/stdarg.3:43
9562 #, no-wrap
9563 msgid "2013-12-10"
9564 msgstr "2013-12-10"
9565
9566 #. type: Plain text
9567 #: build/C/man3/stdarg.3:46
9568 msgid "stdarg, va_start, va_arg, va_end, va_copy - variable argument lists"
9569 msgstr "stdarg, va_start, va_arg, va_end, va_copy - 個数、型が可変な引数リスト"
9570
9571 #. type: Plain text
9572 #: build/C/man3/stdarg.3:48 build/C/man3/syslog.3:49
9573 msgid "B<#include E<lt>stdarg.hE<gt>>"
9574 msgstr "B<#include E<lt>stdarg.hE<gt>>"
9575
9576 #. type: Plain text
9577 #: build/C/man3/stdarg.3:50
9578 msgid "B<void va_start(va_list >I<ap>B<, >I<last>B<);>"
9579 msgstr "B<void va_start(va_list >I<ap>B<, >I<last>B<);>"
9580
9581 #. type: Plain text
9582 #: build/C/man3/stdarg.3:52
9583 msgid "I<type>B< va_arg(va_list >I<ap>B<, >I<type>B<);>"
9584 msgstr "I<type>B< va_arg(va_list >I<ap>B<, >I<type>B<);>"
9585
9586 #. type: Plain text
9587 #: build/C/man3/stdarg.3:54
9588 msgid "B<void va_end(va_list >I<ap>B<);>"
9589 msgstr "B<void va_end(va_list >I<ap>B<);>"
9590
9591 #. type: Plain text
9592 #: build/C/man3/stdarg.3:56
9593 msgid "B<void va_copy(va_list >I<dest>B<, va_list >I<src>B<);>"
9594 msgstr "B<void va_copy(va_list >I<dest>B<, va_list >I<src>B<);>"
9595
9596 #. type: Plain text
9597 #: build/C/man3/stdarg.3:65
9598 msgid "A function may be called with a varying number of arguments of varying types.  The include file I<E<lt>stdarg.hE<gt>> declares a type I<va_list> and defines three macros for stepping through a list of arguments whose number and types are not known to the called function."
9599 msgstr "関数は呼び出しに際して、個数や型が可変な引数をとることができる。 インクルードファイル I<E<lt>stdarg.hE<gt>> では I<va_list> 型が宣言されており、3 つのマクロが定義されている。これらを用いると、 呼び出された関数側では個数や型を知らない引き数のリストを、順に一 つづつ読み込むことができる。"
9600
9601 #. type: Plain text
9602 #: build/C/man3/stdarg.3:73
9603 msgid "The called function must declare an object of type I<va_list> which is used by the macros B<va_start>(), B<va_arg>(), and B<va_end>()."
9604 msgstr "呼び出される関数では、 I<va_list> 型のオブジェクトが宣言されていなければならない。このオブジェクトが B<va_start>(), B<va_arg>(), B<va_end>()  の各マクロによって扱われる。"
9605
9606 #. type: SS
9607 #: build/C/man3/stdarg.3:73
9608 #, no-wrap
9609 msgid "va_start()"
9610 msgstr "va_start()"
9611
9612 #. type: Plain text
9613 #: build/C/man3/stdarg.3:83
9614 msgid "The B<va_start>()  macro initializes I<ap> for subsequent use by B<va_arg>()  and B<va_end>(), and must be called first."
9615 msgstr "B<va_start>()  マクロは最初に呼び出さなければならない。これは I<ap> を初期化し、 B<va_arg>()  と B<va_end>()  で用いることができるようにする。"
9616
9617 #. type: Plain text
9618 #: build/C/man3/stdarg.3:88
9619 msgid "The argument I<last> is the name of the last argument before the variable argument list, that is, the last argument of which the calling function knows the type."
9620 msgstr "引き数 I<last> は引き数リストのうち、可変な部分の直前に置かれる引き数の名前であ る。つまり呼び出された関数が型を知っている最後の引き数である。"
9621
9622 #. type: Plain text
9623 #: build/C/man3/stdarg.3:93
9624 msgid "Because the address of this argument may be used in the B<va_start>()  macro, it should not be declared as a register variable, or as a function or an array type."
9625 msgstr "この引き数はレジスタ変数や関数、配列として 宣言してはならない。この引き数のアドレスが B<va_start>()  マクロで用いられるかもしれないからである。"
9626
9627 #. type: SS
9628 #: build/C/man3/stdarg.3:93
9629 #, no-wrap
9630 msgid "va_arg()"
9631 msgstr "va_arg()"
9632
9633 #. type: Plain text
9634 #: build/C/man3/stdarg.3:115
9635 msgid "The B<va_arg>()  macro expands to an expression that has the type and value of the next argument in the call.  The argument I<ap> is the I<va_list> I<ap> initialized by B<va_start>().  Each call to B<va_arg>()  modifies I<ap> so that the next call returns the next argument.  The argument I<type> is a type name specified so that the type of a pointer to an object that has the specified type can be obtained simply by adding a * to I<type>."
9636 msgstr "B<va_arg>()  マクロは、呼び出し時に指定された引き数のうち、 次の位置にあるものを指定した型 I<type> の値として取得する。 引き数 I<ap> は I<va_list> I<ap> で、 B<va_start>()  によって初期化されている必要がある。 B<va_arg>()  を呼び出すごとに I<ap> は変更され、次回の呼び出しの際に、さらに次の引き数を返すようになる。 引き数 I<type> は型の名前である。 I<type> の前に * を付ければ、オブジェクトへの型付きポインターが得られる。"
9637
9638 #. type: Plain text
9639 #: build/C/man3/stdarg.3:123
9640 msgid "The first use of the B<va_arg>()  macro after that of the B<va_start>()  macro returns the argument after I<last>.  Successive invocations return the values of the remaining arguments."
9641 msgstr "B<va_start>()  マクロの直後に B<va_arg>()  を最初に実行すると、 I<last> の次の引き数が返る。続けて実行すると、残りの引き数がそれぞれ返る。"
9642
9643 #. type: Plain text
9644 #: build/C/man3/stdarg.3:128
9645 msgid "If there is no next argument, or if I<type> is not compatible with the type of the actual next argument (as promoted according to the default argument promotions), random errors will occur."
9646 msgstr "次の引き数がなかったり、 I<type> が次の引き数の実際の型と互換でない場合 (デフォルトの引き数変換で扱 えなかった場合) には、予測できないエラーが起こる。"
9647
9648 #. type: Plain text
9649 #: build/C/man3/stdarg.3:136
9650 msgid "If I<ap> is passed to a function that uses B<va_arg(>I<ap>B<,>I<type>B<),> then the value of I<ap> is undefined after the return of that function."
9651 msgstr "I<ap> が B<va_arg(>I<ap>B<,>I<type>B<)> の形で関数に渡されると、 I<ap> の値は関数から返って来た後は不定となる。"
9652
9653 #. type: SS
9654 #: build/C/man3/stdarg.3:136
9655 #, no-wrap
9656 msgid "va_end()"
9657 msgstr "va_end()"
9658
9659 #. type: Plain text
9660 #: build/C/man3/stdarg.3:155
9661 msgid "Each invocation of B<va_start>()  must be matched by a corresponding invocation of B<va_end>()  in the same function.  After the call B<va_end(>I<ap>B<)> the variable I<ap> is undefined.  Multiple traversals of the list, each bracketed by B<va_start>()  and B<va_end>()  are possible.  B<va_end>()  may be a macro or a function."
9662 msgstr "B<va_start>()  が実行される毎に、同じ関数内で対応する B<va_end>()  が実行されなければならない。 B<va_end(>I<ap>B<)> が呼び出された後、変数 I<ap> の値は不定となる。 B<va_start>()  と B<va_end>()  の組を何回も並べて使うことも可能である。 B<va_end>()  はマクロかもしれないし関数かもしれない。"
9663
9664 #. type: SS
9665 #: build/C/man3/stdarg.3:155
9666 #, no-wrap
9667 msgid "va_copy()"
9668 msgstr "va_copy()"
9669
9670 #. type: Plain text
9671 #: build/C/man3/stdarg.3:172
9672 msgid "The B<va_copy>()  macro copies the (previously initialized) variable argument list I<src> to I<dest>.  The behavior is as if B<va_start>()  were applied to I<dest> with the same I<last> argument, followed by the same number of B<va_arg>()  invocations that was used to reach the current state of I<src>."
9673 msgstr "B<va_copy>() マクロは (初期化済みの) 可変長引き数リスト I<src> を I<dest> にコピーする。動作は、 I<last> 引き数に I<dest> を渡して B<va_start>() を I<dest> に適用し、それから I<src> が現在の状態に達するまでに呼び出したのと同じ回数だけ B<va_arg>() を呼び出す、のと同じことを行う。"
9674
9675 #.  Proposal from clive@demon.net, 1997-02-28
9676 #. type: Plain text
9677 #: build/C/man3/stdarg.3:179
9678 msgid "An obvious implementation would have a I<va_list> be a pointer to the stack frame of the variadic function.  In such a setup (by far the most common) there seems nothing against an assignment"
9679 msgstr "すぐ分かる I<va_list> の実装は、variadic な関数のスタックフレームのポインターである。 このような場合(ほとんどはそうである)、 単に以下のようにすればいいように思える。"
9680
9681 #. type: Plain text
9682 #: build/C/man3/stdarg.3:183
9683 #, no-wrap
9684 msgid "va_list aq = ap;\n"
9685 msgstr "va_list aq = ap;\n"
9686
9687 #. type: Plain text
9688 #: build/C/man3/stdarg.3:188
9689 msgid "Unfortunately, there are also systems that make it an array of pointers (of length 1), and there one needs"
9690 msgstr "残念ながら、(長さ 1の)ポインターの配列として扱うシステムもある。 そのような場合、以下のようにする必要がある。"
9691
9692 #. type: Plain text
9693 #: build/C/man3/stdarg.3:193
9694 #, no-wrap
9695 msgid ""
9696 "va_list aq;\n"
9697 "*aq = *ap;\n"
9698 msgstr ""
9699 "va_list aq;\n"
9700 "*aq = *ap;\n"
9701
9702 #. type: Plain text
9703 #: build/C/man3/stdarg.3:209
9704 msgid "Finally, on systems where arguments are passed in registers, it may be necessary for B<va_start>()  to allocate memory, store the arguments there, and also an indication of which argument is next, so that B<va_arg>()  can step through the list.  Now B<va_end>()  can free the allocated memory again.  To accommodate this situation, C99 adds a macro B<va_copy>(), so that the above assignment can be replaced by"
9705 msgstr "最後に、引き数をレジスタで渡すシステムの場合、 B<va_start>()  でメモリを割り当て、引き数を格納し、 次の引き数がどれかを指し示すようにする必要がある。 そして B<va_arg>()  でリストを順番にたどり、 B<va_end>()  で割り当てたメモリを開放する。 このような状況に対応するため、C99 では B<va_copy>()  マクロを追加し、 前述のような割り当ては以下のように置き換えられるようにした。"
9706
9707 #. type: Plain text
9708 #: build/C/man3/stdarg.3:216
9709 #, no-wrap
9710 msgid ""
9711 "va_list aq;\n"
9712 "va_copy(aq, ap);\n"
9713 "\\&...\n"
9714 "va_end(aq);\n"
9715 msgstr ""
9716 "va_list aq;\n"
9717 "va_copy(aq, ap);\n"
9718 "\\&...\n"
9719 "va_end(aq);\n"
9720
9721 #. type: Plain text
9722 #: build/C/man3/stdarg.3:229
9723 msgid "Each invocation of B<va_copy>()  must be matched by a corresponding invocation of B<va_end>()  in the same function.  Some systems that do not supply B<va_copy>()  have B<__va_copy> instead, since that was the name used in the draft proposal."
9724 msgstr "B<va_copy>()  が実行されるごとに、 対応する B<va_end>()  を同じ関数内で実行しなければならない。 この名前はまだ draft proposal なので、 B<va_copy>()  の代わりに B<__va_copy> を用いるシステムもある。"
9725
9726 #. type: Plain text
9727 #: build/C/man3/stdarg.3:238
9728 msgid "The B<va_start>(), B<va_arg>(), B<va_end>(), and B<va_copy>()  macros are thread-safe."
9729 msgstr "マクロ B<va_start>(), B<va_arg>(), B<va_end>(), B<va_copy>() はスレッドセーフである。"
9730
9731 #. type: Plain text
9732 #: build/C/man3/stdarg.3:248
9733 msgid "The B<va_start>(), B<va_arg>(), and B<va_end>()  macros conform to C89.  C99 defines the B<va_copy>()  macro."
9734 msgstr "B<va_start>(), B<va_arg>(), B<va_end>()  マクロは C89 準拠である。 B<va_copy>()  は C99 で定義されている。"
9735
9736 #. type: Plain text
9737 #: build/C/man3/stdarg.3:254
9738 msgid "These macros are I<not> compatible with the historic macros they replace.  A backward-compatible version can be found in the include file I<E<lt>varargs.hE<gt>>."
9739 msgstr "これらのマクロは、以前から用いられてきた同等のマクロ群と 互換ではI<ない>。過去のものと互換なバージョンは、 インクルードファイル I<E<lt>varargs.hE<gt>> に存在する。"
9740
9741 #. type: Plain text
9742 #: build/C/man3/stdarg.3:256
9743 msgid "The historic setup is:"
9744 msgstr "歴史的なセットアップは以下のとおりである。"
9745
9746 #. type: Plain text
9747 #: build/C/man3/stdarg.3:260
9748 #, no-wrap
9749 msgid "#include E<lt>varargs.hE<gt>\n"
9750 msgstr "#include E<lt>varargs.hE<gt>\n"
9751
9752 #. type: Plain text
9753 #: build/C/man3/stdarg.3:266
9754 #, no-wrap
9755 msgid ""
9756 "void\n"
9757 "foo(va_alist)\n"
9758 "    va_dcl\n"
9759 "{\n"
9760 "    va_list ap;\n"
9761 msgstr ""
9762 "void\n"
9763 "foo(va_alist)\n"
9764 "    va_dcl\n"
9765 "{\n"
9766 "    va_list ap;\n"
9767
9768 #. type: Plain text
9769 #: build/C/man3/stdarg.3:275
9770 #, no-wrap
9771 msgid ""
9772 "    va_start(ap);\n"
9773 "    while (...) {\n"
9774 "        ...\n"
9775 "        x = va_arg(ap, type);\n"
9776 "        ...\n"
9777 "    }\n"
9778 "    va_end(ap);\n"
9779 "}\n"
9780 msgstr ""
9781 "    va_start(ap);\n"
9782 "    while (...) {\n"
9783 "        ...\n"
9784 "        x = va_arg(ap, type);\n"
9785 "        ...\n"
9786 "    }\n"
9787 "    va_end(ap);\n"
9788 "}\n"
9789
9790 #. type: Plain text
9791 #: build/C/man3/stdarg.3:284
9792 msgid "On some systems, I<va_end> contains a closing \\(aq}\\(aq matching a \\(aq{\\(aq in I<va_start>, so that both macros must occur in the same function, and in a way that allows this."
9793 msgstr "I<va_start> マクロに \\(aq}\\(aq を含み、 I<va_end> マクロに対応する \\(aq{\\(aq を含むシステムもあるので、 この二つのマクロは同じ関数になければならない。"
9794
9795 #. type: Plain text
9796 #: build/C/man3/stdarg.3:300
9797 msgid "Unlike the B<varargs> macros, the B<stdarg> macros do not permit programmers to code a function with no fixed arguments.  This problem generates work mainly when converting B<varargs> code to B<stdarg> code, but it also creates difficulties for variadic functions that wish to pass all of their arguments on to a function that takes a I<va_list> argument, such as B<vfprintf>(3)."
9798 msgstr "B<varargs> マクロとは異なり、 B<stdarg> マクロでは固定引き数なしで関数を指定することが許されていない。 これは B<varargs> ベースのコードを B<stdarg> のコードに書き換えるときに、面倒な作業のもとになる。 また、すべての引き数を I<va_list> として可変個指定したいような場合 (B<vfprintf>(3)  など) にも障害となる。"
9799
9800 #. type: Plain text
9801 #: build/C/man3/stdarg.3:305
9802 msgid "The function I<foo> takes a string of format characters and prints out the argument associated with each format character based on the type."
9803 msgstr "関数 I<foo> は書式文字からなる文字列を受け入れ、その書式文字に対応する型で可変個の 引き数を読み込み、印字する。"
9804
9805 #. type: Plain text
9806 #: build/C/man3/stdarg.3:309
9807 #, no-wrap
9808 msgid ""
9809 "#include E<lt>stdio.hE<gt>\n"
9810 "#include E<lt>stdarg.hE<gt>\n"
9811 msgstr ""
9812 "#include E<lt>stdio.hE<gt>\n"
9813 "#include E<lt>stdarg.hE<gt>\n"
9814
9815 #. type: Plain text
9816 #: build/C/man3/stdarg.3:316
9817 #, no-wrap
9818 msgid ""
9819 "void\n"
9820 "foo(char *fmt, ...)\n"
9821 "{\n"
9822 "    va_list ap;\n"
9823 "    int d;\n"
9824 "    char c, *s;\n"
9825 msgstr ""
9826 "void\n"
9827 "foo(char *fmt, ...)\n"
9828 "{\n"
9829 "    va_list ap;\n"
9830 "    int d;\n"
9831 "    char c, *s;\n"
9832
9833 #. type: Plain text
9834 #: build/C/man3/stdarg.3:337
9835 #, no-wrap
9836 msgid ""
9837 "    va_start(ap, fmt);\n"
9838 "    while (*fmt)\n"
9839 "        switch (*fmt++) {\n"
9840 "        case \\(aqs\\(aq:              /* string */\n"
9841 "            s = va_arg(ap, char *);\n"
9842 "            printf(\"string %s\\en\", s);\n"
9843 "            break;\n"
9844 "        case \\(aqd\\(aq:              /* int */\n"
9845 "            d = va_arg(ap, int);\n"
9846 "            printf(\"int %d\\en\", d);\n"
9847 "            break;\n"
9848 "        case \\(aqc\\(aq:              /* char */\n"
9849 "            /* need a cast here since va_arg only\n"
9850 "               takes fully promoted types */\n"
9851 "            c = (char) va_arg(ap, int);\n"
9852 "            printf(\"char %c\\en\", c);\n"
9853 "            break;\n"
9854 "        }\n"
9855 "    va_end(ap);\n"
9856 "}\n"
9857 msgstr ""
9858 "    va_start(ap, fmt);\n"
9859 "    while (*fmt)\n"
9860 "        switch (*fmt++) {\n"
9861 "        case \\(aqs\\(aq:              /* string */\n"
9862 "            s = va_arg(ap, char *);\n"
9863 "            printf(\"string %s\\en\", s);\n"
9864 "            break;\n"
9865 "        case \\(aqd\\(aq:              /* int */\n"
9866 "            d = va_arg(ap, int);\n"
9867 "            printf(\"int %d\\en\", d);\n"
9868 "            break;\n"
9869 "        case \\(aqc\\(aq:              /* char */\n"
9870 "            /* need a cast here since va_arg only\n"
9871 "               takes fully promoted types */\n"
9872 "            c = (char) va_arg(ap, int);\n"
9873 "            printf(\"char %c\\en\", c);\n"
9874 "            break;\n"
9875 "        }\n"
9876 "    va_end(ap);\n"
9877 "}\n"
9878
9879 #. type: TH
9880 #: build/C/man2/syslog.2:33 build/C/man3/syslog.3:36
9881 #, no-wrap
9882 msgid "SYSLOG"
9883 msgstr "SYSLOG"
9884
9885 #. type: Plain text
9886 #: build/C/man2/syslog.2:37
9887 msgid "syslog, klogctl - read and/or clear kernel message ring buffer; set console_loglevel"
9888 msgstr "syslog, klogctl - カーネルのメッセージリングバッファーを読んだり消去したりする; console_loglevel の設定を行う"
9889
9890 #. type: Plain text
9891 #: build/C/man2/syslog.2:41
9892 #, no-wrap
9893 msgid ""
9894 "B<int syslog(int >I<type>B<, char *>I<bufp>B<, int >I<len>B<);>\n"
9895 "B</* No wrapper provided in glibc */>\n"
9896 msgstr ""
9897 "B<int syslog(int >I<type>B<, char *>I<bufp>B<, int >I<len>B<);>\n"
9898 "B</* glibc ではラッパー関数は提供されていない */>\n"
9899
9900 #. type: Plain text
9901 #: build/C/man2/syslog.2:43
9902 #, no-wrap
9903 msgid "/* The glibc interface */\n"
9904 msgstr "/* glibc のインタフェース */\n"
9905
9906 #. type: Plain text
9907 #: build/C/man2/syslog.2:45
9908 #, no-wrap
9909 msgid "B<#include E<lt>sys/klog.hE<gt>>\n"
9910 msgstr "B<#include E<lt>sys/klog.hE<gt>>\n"
9911
9912 #. type: Plain text
9913 #: build/C/man2/syslog.2:47
9914 #, no-wrap
9915 msgid "B<int klogctl(int >I<type>B<, char *>I<bufp>B<, int >I<len>B<);>\n"
9916 msgstr "B<int klogctl(int >I<type>B<, char *>I<bufp>B<, int >I<len>B<);>\n"
9917
9918 #. type: Plain text
9919 #: build/C/man2/syslog.2:57
9920 msgid "I<Note>: Probably, you are looking for the C library function B<syslog>(), which talks to B<syslogd>(8); see B<syslog>(3)  for details."
9921 msgstr "I<注意>: おそらく、あなたが探しているのは、 B<syslogd>(8) と通信する C ライブラリ関数の B<syslog>() でしょう。詳細は B<syslog>(3) を参照のこと。"
9922
9923 #. type: Plain text
9924 #: build/C/man2/syslog.2:64
9925 msgid "This page describes the kernel B<syslog>()  system call, which is used to control the kernel I<printk>()  buffer; the glibc wrapper function for the system call is called B<klogctl>()."
9926 msgstr "このページはカーネルの B<syslog>() システムコールについて説明している。 B<syslog>() システムコールはカーネルの I<printk>() バッファーを制御するために使用される。 このシステムコールに対する glibc ラッパー関数は B<klogctl>() と呼ばれている。"
9927
9928 #. type: SS
9929 #: build/C/man2/syslog.2:64
9930 #, no-wrap
9931 msgid "The kernel log buffer"
9932 msgstr "カーネルログバッファー (kernel log buffer)"
9933
9934 #.  Under "General setup" ==> "Kernel log buffer size"
9935 #.  For 2.6, precisely the option seems to have appeared in 2.5.55.
9936 #. type: Plain text
9937 #: build/C/man2/syslog.2:81
9938 msgid "The kernel has a cyclic buffer of length B<LOG_BUF_LEN> in which messages given as arguments to the kernel function B<printk>()  are stored (regardless of their log level).  In early kernels, B<LOG_BUF_LEN> had the value 4096; from kernel 1.3.54, it was 8192; from kernel 2.1.113, it was 16384; since kernel 2.4.23/2.6, the value is a kernel configuration option (B<CONFIG_LOG_BUF_SHIFT>, default value dependent on the architecture).  Since Linux 2.6.6, the size can be queried with command type 10 (see below)."
9939 msgstr "カーネルは長さ B<LOG_BUF_LEN> の巡回式のバッファーを持っており、 それにはカーネル関数の B<printk>()  の引き数として与えられた メッセージが (そのログレベルにかかわらず) 格納される。 初期のカーネルでは B<LOG_BUF_LEN> の値は 4096 であった。 カーネル 1.3.54 からは 8192、 カーネル 2.1.113 からは 16384 になり、 カーネル 2.4.23 以降および 2.6 以降ではカーネル設定オプション (B<CONFIG_LOG_BUF_SHIFT>、 デフォルト値はアーキテクチャー依存) で値を設定できるようになっている。 Linux 2.6.6 以降では、コマンド 10 (下記参照) でバッファーのサイズを問い合わせできる。"
9940
9941 #. type: SS
9942 #: build/C/man2/syslog.2:81
9943 #, no-wrap
9944 msgid "Commands"
9945 msgstr "コマンド"
9946
9947 #. type: Plain text
9948 #: build/C/man2/syslog.2:88
9949 msgid "The I<type> argument determines the action taken by this function.  The list below specifies the values for I<type>.  The symbolic names are defined in the kernel source, but are not exported to user space; you will either need to use the numbers, or define the names yourself."
9950 msgstr "I<type> 引き数はこの関数が行う動作を決定する。 以下のリストに示す値を I<type> に指定できる。 シンボル名はカーネルソースで定義されているが、ユーザー空間には公開されていない。 したがって、数字を使うか、名前を自分で定義する必要がある。"
9951
9952 #. type: TP
9953 #: build/C/man2/syslog.2:88
9954 #, no-wrap
9955 msgid "B<SYSLOG_ACTION_CLOSE> (0)"
9956 msgstr "B<SYSLOG_ACTION_CLOSE> (0)"
9957
9958 #. type: Plain text
9959 #: build/C/man2/syslog.2:92
9960 msgid "Close the log.  Currently a NOP."
9961 msgstr "ログをクローズする。現在のところ NOP である。"
9962
9963 #. type: TP
9964 #: build/C/man2/syslog.2:92
9965 #, no-wrap
9966 msgid "B<SYSLOG_ACTION_OPEN> (1)"
9967 msgstr "B<SYSLOG_ACTION_OPEN> (1)"
9968
9969 #. type: Plain text
9970 #: build/C/man2/syslog.2:96
9971 msgid "Open the log.  Currently a NOP."
9972 msgstr "ログをオープンする。現在のところ NOP である。"
9973
9974 #. type: TP
9975 #: build/C/man2/syslog.2:96
9976 #, no-wrap
9977 msgid "B<SYSLOG_ACTION_READ> (2)"
9978 msgstr "B<SYSLOG_ACTION_READ> (2)"
9979
9980 #. type: Plain text
9981 #: build/C/man2/syslog.2:108
9982 msgid "Read from the log.  The call waits until the kernel log buffer is nonempty, and then reads at most I<len> bytes into the buffer pointed to by I<bufp>.  The call returns the number of bytes read.  Bytes read from the log disappear from the log buffer: the information can be read only once.  This is the function executed by the kernel when a user program reads I</proc/kmsg>."
9983 msgstr "ログを読み出す。 この呼び出しは、 カーネルログバッファーが空でなくなるまで待って、 最大 I<len> バイトまで I<bufp> が指すバッファーに読み込み、 読み込んだバイト数を返す。 ログから読まれたバイトはログバッファーから消える。 つまり、情報は一度しか読むことができない。 これはユーザーのプログラムが I</proc/kmsg> を読んだ時にカーネルによって実行される関数でもある。"
9984
9985 #. type: TP
9986 #: build/C/man2/syslog.2:108
9987 #, no-wrap
9988 msgid "B<SYSLOG_ACTION_READ_ALL> (3)"
9989 msgstr "B<SYSLOG_ACTION_READ_ALL> (3)"
9990
9991 #. type: Plain text
9992 #: build/C/man2/syslog.2:118
9993 msgid "Read all messages remaining in the ring buffer, placing them in the buffer pointed to by I<bufp>.  The call reads the last I<len> bytes from the log buffer (nondestructively), but will not read more than was written into the buffer since the last \"clear ring buffer\" command (see command 5 below)).  The call returns the number of bytes read."
9994 msgstr "リングバッファーに残っているメッセージをすべて読み出し、 I<bufp> が指すバッファーに格納する。 この呼び出しログバッファーの最後の I<len> バイトを (非破壊的に) 読み出すが、 最後の「リングバッファー消去」命令 (下記のコマンド 5 参照) 以降にバッファーに書き込まれた情報しか読み出せない。 返り値は読み込んだバイト数である。"
9995
9996 #. type: TP
9997 #: build/C/man2/syslog.2:118
9998 #, no-wrap
9999 msgid "B<SYSLOG_ACTION_READ_CLEAR> (4)"
10000 msgstr "B<SYSLOG_ACTION_READ_CLEAR> (4)"
10001
10002 #. type: Plain text
10003 #: build/C/man2/syslog.2:124
10004 msgid "Read and clear all messages remaining in the ring buffer.  The call does precisely the same as for a I<type> of 3, but also executes the \"clear ring buffer\" command."
10005 msgstr "リングバッファーに残っているメッセージをすべて読み出し、クリアする。 この呼び出しは I<type> 3 と全く同じことを行い、追加で「リングバッファー消去」 (\"clear ring buffer\") コマンドも実行する。"
10006
10007 #. type: TP
10008 #: build/C/man2/syslog.2:124
10009 #, no-wrap
10010 msgid "B<SYSLOG_ACTION_CLEAR> (5)"
10011 msgstr "B<SYSLOG_ACTION_CLEAR> (5)"
10012
10013 #. type: Plain text
10014 #: build/C/man2/syslog.2:132
10015 msgid "The call executes just the \"clear ring buffer\" command.  The I<bufp> and I<len> arguments are ignored."
10016 msgstr "「リングバッファー消去」 (\\\"clear ring buffer\\\") コマンドのみを実行する。 引き数 I<bufp> と I<len> は無視される。"
10017
10018 #. type: Plain text
10019 #: build/C/man2/syslog.2:143
10020 msgid "This command does not really clear the ring buffer.  Rather, it sets a kernel bookkeeping variable that determines the results returned by commands 3 (B<SYSLOG_ACTION_READ_ALL>)  and 4 (B<SYSLOG_ACTION_READ_CLEAR>).  This command has no effect on commands 2 (B<SYSLOG_ACTION_READ>)  and 9 (B<SYSLOG_ACTION_SIZE_UNREAD>)."
10021 msgstr "このコマンドは実際にリングバッファーをクリアするわけではなく、 コマンド 3 (B<SYSLOG_ACTION_READ_ALL>) と 4 (B<SYSLOG_ACTION_READ_CLEAR> で返す内容を決定するカーネルの管理変数を設定する。 このコマンドはコマンド 2 (B<SYSLOG_ACTION_READ>) と 9 (B<SYSLOG_ACTION_SIZE_UNREAD>) には影響を与えない。"
10022
10023 #. type: TP
10024 #: build/C/man2/syslog.2:143
10025 #, no-wrap
10026 msgid "B<SYSLOG_ACTION_CONSOLE_OFF> (6)"
10027 msgstr "B<SYSLOG_ACTION_CONSOLE_OFF> (6)"
10028
10029 #.  commit 1aaad49e856ce41adc07d8ae0c8ef35fc4483245
10030 #. type: Plain text
10031 #: build/C/man2/syslog.2:161
10032 msgid "The command saves the current value of I<console_loglevel> and then sets I<console_loglevel> to I<minimum_console_loglevel>, so that no messages are printed to the console.  Before Linux 2.6.32, the command simply sets I<console_loglevel> to I<minimum_console_loglevel>.  See the discussion of I</proc/sys/kernel/printk>, below."
10033 msgstr "このコマンドは I<console_loglevel> の現在の値を保存し、それから I<console_loglevel> を I<minimum_console_loglevel> に設定する。 これにより、コンソールにメッセージが出力されなくなる。 Linux 2.6.32 より前では、 このコマンドは I<console_loglevel> を I<minimum_console_loglevel> に設定するだけであった。 下記の I</proc/sys/kernel/printk> の議論を参照。"
10034
10035 #. type: Plain text
10036 #: build/C/man2/syslog.2:167 build/C/man2/syslog.2:190
10037 msgid "The I<bufp> and I<len> arguments are ignored."
10038 msgstr "引き数 I<bufp> と I<len> は無視される。"
10039
10040 #. type: TP
10041 #: build/C/man2/syslog.2:167
10042 #, no-wrap
10043 msgid "B<SYSLOG_ACTION_CONSOLE_ON> (7)"
10044 msgstr "B<SYSLOG_ACTION_CONSOLE_ON> (7)"
10045
10046 #.  commit 1aaad49e856ce41adc07d8ae0c8ef35fc4483245
10047 #. type: Plain text
10048 #: build/C/man2/syslog.2:184
10049 msgid "If a previous B<SYSLOG_ACTION_CONSOLE_OFF> command has been performed, this command restores I<console_loglevel> to the value that was saved by that command.  Before Linux 2.6.32, this command simply sets I<console_loglevel> to I<default_console_loglevel>.  See the discussion of I</proc/sys/kernel/printk>, below."
10050 msgstr "直前に B<SYSLOG_ACTION_CONSOLE_OFF> コマンドがされた場合、 このコマンドは I<console_loglevel> を前のコマンドが保存した値に戻す。 Linux 2.6.32 より前では、 このコマンドは単に I<console_loglevel> を I<default_console_loglevel> に設定するだけであった。 下記の I</proc/sys/kernel/printk> の議論を参照。"
10051
10052 #. type: TP
10053 #: build/C/man2/syslog.2:190
10054 #, no-wrap
10055 msgid "B<SYSLOG_ACTION_CONSOLE_LEVEL> (8)"
10056 msgstr "B<SYSLOG_ACTION_CONSOLE_LEVEL> (8)"
10057
10058 #. type: Plain text
10059 #: build/C/man2/syslog.2:207
10060 msgid "The call sets I<console_loglevel> to the value given in I<len>, which must be an integer between 1 and 8 (inclusive).  The kernel silently enforces a minimum value of I<minimum_console_loglevel> for I<len>.  See the I<log level> section for details.  The I<bufp> argument is ignored."
10061 msgstr "I<console_loglevel> を I<len> で指定された値に設定する。 I<len> は 1 以上 8 以下の整数でなければならない。 カーネルにより、暗黙のうちに I<len> に I<minimum_console_loglevel> で指定される最小値が適用される。 詳細は「ログレベル」の節を参照のこと。 引き数 I<bufp> は無視される。"
10062
10063 #. type: TP
10064 #: build/C/man2/syslog.2:207
10065 #, no-wrap
10066 msgid "B<SYSLOG_ACTION_SIZE_UNREAD> (9) (since Linux 2.4.10)"
10067 msgstr "B<SYSLOG_ACTION_SIZE_UNREAD> (9) (Linux 2.4.10 以降)"
10068
10069 #. type: Plain text
10070 #: build/C/man2/syslog.2:218
10071 msgid "The call returns the number of bytes currently available to be read from the kernel log buffer via command 2 (B<SYSLOG_ACTION_READ>).  The I<bufp> and I<len> arguments are ignored."
10072 msgstr "コマンド 2 (B<SYSLOG_ACTION_READ>) でカーネルログバッファーから読み出せるバイト数を返す。 引き数 I<bufp> と I<len> は無視される。"
10073
10074 #. type: TP
10075 #: build/C/man2/syslog.2:218
10076 #, no-wrap
10077 msgid "B<SYSLOG_ACTION_SIZE_BUFFER> (10) (since Linux 2.6.6)"
10078 msgstr "B<SYSLOG_ACTION_SIZE_BUFFER> (10) (Linux 2.6.6 以降)"
10079
10080 #. type: Plain text
10081 #: build/C/man2/syslog.2:226
10082 msgid "This command returns the total size of the kernel log buffer.  The I<bufp> and I<len> arguments are ignored."
10083 msgstr "カーネルログバッファーの全体のサイズを返す。 引き数 I<bufp> と I<len> は無視される。"
10084
10085 #. type: Plain text
10086 #: build/C/man2/syslog.2:245
10087 msgid "All commands except 3 and 10 require privilege.  In Linux kernels before 2.6.37, command types 3 and 10 are allowed to unprivileged processes; since Linux 2.6.37, these commands are allowed to unprivileged processes only if I</proc/sys/kernel/dmesg_restrict> has the value 0.  Before Linux 2.6.37, \"privileged\" means that the caller has the B<CAP_SYS_ADMIN> capability.  Since Linux 2.6.37, \"privileged\" means that the caller has either the B<CAP_SYS_ADMIN> capability (now deprecated for this purpose) or the (new)  B<CAP_SYSLOG> capability."
10088 msgstr ""
10089 "コマンド種別 3 と 10 以外のコマンドは全て特権が必要である。\n"
10090 "バージョン 2.6.37 より前の Linux カーネルでは、\n"
10091 "コマンド種別 3 と 10 は非特権プロセスも呼び出すことができる。\n"
10092 "Linux 2.6.37 以降では、I</proc/sys/kernel/dmesg_restrict> が値 0 の場合に限り、\n"
10093 "非特権プロセスはこれらのコマンドを呼び出すことができる。\n"
10094 "Linux 2.6.37 より前では、「特権を持つ (privileged)」とは呼び出し者が\n"
10095 "B<CAP_SYS_ADMIN> ケーパビリティを持つことを意味する。\n"
10096 "Linux 2.6.37 以降では、「特権を持つ」とは呼び出し者が\n"
10097 "B<CAP_SYS_ADMIN> ケーパビリティか\n"
10098 "(新しい) B<CAP_SYSLOG> ケーパビリティのいずれかを持つことを意味する\n"
10099 "(この目的で B<CAP_SYS_ADMIN> ケーパビリティを使うのは今は非推奨である)。"
10100
10101 #. type: SS
10102 #: build/C/man2/syslog.2:245
10103 #, no-wrap
10104 msgid "/proc/sys/kernel/printk"
10105 msgstr "/proc/sys/kernel/printk"
10106
10107 #. type: Plain text
10108 #: build/C/man2/syslog.2:251
10109 msgid "I</proc/sys/kernel/printk> is a writable file containing four integer values that influence kernel I<printk()> behavior when printing or logging error messages.  The four values are:"
10110 msgstr "I</proc/sys/kernel/printk> は書き込み可能なファイルで、 エラーメッセージのログ出力を行う際にカーネルの I<printk()> の動作に影響を持つ 4 つの整数値が入っている。 4 つの値は以下のとおりである。"
10111
10112 #. type: TP
10113 #: build/C/man2/syslog.2:251
10114 #, no-wrap
10115 msgid "I<console_loglevel>"
10116 msgstr "I<console_loglevel>"
10117
10118 #.  since Linux 2.4
10119 #. type: Plain text
10120 #: build/C/man2/syslog.2:269
10121 msgid "Only messages with a log level lower than this value will be printed to the console.  The default value for this field is B<DEFAULT_CONSOLE_LOGLEVEL> (7), but it is set to 4 if the kernel command line contains the word \"quiet\", 10 if the kernel command line contains the word \"debug\", and to 15 in case of a kernel fault (the 10 and 15 are just silly, and equivalent to 8).  The value of I<console_loglevel> can be set (to a value in the range 1-8) by a B<syslog>()  call with a I<type> of 8."
10122 msgstr "メッセージのログレベルがこの値よりも小さい場合のみ、メッセージだけがコンソールに出力される。 このフィールドのデフォルト値は B<DEFAULT_CONSOLE_LOGLEVEL> (7) だが、 カーネルのコマンドラインに \"quiet\" という単語が含まれている場合は 4 に設定され、 \"debug\" という単語が含まれている場合は 10 に設定され、 カーネルフォールトが発生した場合には 15 に設定される (但し、10 や 15 という数字に意味はなく、8 と同等である)。 I<console_loglevel> の値は I<type> が 8 の B<syslog>() の呼び出しによって設定でき、 設定できる値の範囲は 1-8 である。"
10123
10124 #. type: TP
10125 #: build/C/man2/syslog.2:269
10126 #, no-wrap
10127 msgid "I<default_message_loglevel>"
10128 msgstr "I<default_message_loglevel>"
10129
10130 #.  commit 5af5bcb8d37f99ba415a1adc6da71051b84f93a5
10131 #. type: Plain text
10132 #: build/C/man2/syslog.2:282
10133 msgid "This value will be used as the log level for I<printk()> messages that do not have an explicit level.  Up to and including Linux 2.6.38, the hard-coded default value for this field was 4 (B<KERN_WARNING>); since Linux 2.6.39, the default value is a defined by the kernel configuration option B<CONFIG_DEFAULT_MESSAGE_LOGLEVEL>, which defaults to 4."
10134 msgstr "この値は、明示的にログレベルが指定されていない I<printk()> メッセージのログレベルとして使用される。 Linux 2.6.38 以前では、 このフィールドのデフォルト値は 4 (B<KERN_WARNING>) にハードコードされていた。 Linux 2.6.39 以降では、 デフォルト値はカーネルの設定オプション B<CONFIG_DEFAULT_MESSAGE_LOGLEVEL> で定義されており、 デフォルト値は 4 である。"
10135
10136 #. type: TP
10137 #: build/C/man2/syslog.2:282
10138 #, no-wrap
10139 msgid "I<minimum_console_loglevel>"
10140 msgstr "I<minimum_console_loglevel>"
10141
10142 #. type: Plain text
10143 #: build/C/man2/syslog.2:287
10144 msgid "The value in this field is the minimum value to which I<console_loglevel> can be set."
10145 msgstr "このフィールドの値は I<console_loglevel> に設定できる最小値である。"
10146
10147 #. type: TP
10148 #: build/C/man2/syslog.2:287
10149 #, no-wrap
10150 msgid "I<default_console_loglevel>"
10151 msgstr "I<default_console_loglevel>"
10152
10153 #. type: Plain text
10154 #: build/C/man2/syslog.2:293
10155 msgid "This is the default value for I<console_loglevel>."
10156 msgstr "I<console_loglevel> のデフォルト値である。"
10157
10158 #. type: SS
10159 #: build/C/man2/syslog.2:293
10160 #, no-wrap
10161 msgid "The log level"
10162 msgstr "ログレベル"
10163
10164 #. type: Plain text
10165 #: build/C/man2/syslog.2:301
10166 msgid "Every I<printk>()  message has its own log level.  If the log level is not explicitly specified as part of the message, it defaults to I<default_message_loglevel>.  The conventional meaning of the log level is as follows:"
10167 msgstr "すべての I<printk>() メッセージにはそれぞれログレベルがある。 ログレベルがメッセージの一部として明示的に指定されなかった場合は、 ログレベルは I<default_message_loglevel> になる。ログレベルの一般的な意味は以下のとおりである。"
10168
10169 #. type: tbl table
10170 #: build/C/man2/syslog.2:305
10171 #, no-wrap
10172 msgid "Kernel constant\tLevel value\tMeaning\n"
10173 msgstr "カーネル定数\tレベル値\t意味\n"
10174
10175 #. type: tbl table
10176 #: build/C/man2/syslog.2:306
10177 #, no-wrap
10178 msgid "KERN_EMERG\t0\tSystem is unusable\n"
10179 msgstr "KERN_EMERG\t0\tシステムが使用不可\n"
10180
10181 #. type: tbl table
10182 #: build/C/man2/syslog.2:307
10183 #, no-wrap
10184 msgid "KERN_ALERT\t1\tAction must be taken immediately\n"
10185 msgstr "KERN_ALERT\t1\t直ちに対応しなければならない\n"
10186
10187 #. type: tbl table
10188 #: build/C/man2/syslog.2:308
10189 #, no-wrap
10190 msgid "KERN_CRIT\t2\tCritical conditions\n"
10191 msgstr "KERN_CRIT\t2\t危険な状況\n"
10192
10193 #. type: tbl table
10194 #: build/C/man2/syslog.2:309
10195 #, no-wrap
10196 msgid "KERN_ERR\t3\tError conditions\n"
10197 msgstr "KERN_ERR\t3\tエラー状況\n"
10198
10199 #. type: tbl table
10200 #: build/C/man2/syslog.2:310
10201 #, no-wrap
10202 msgid "KERN_WARNING\t4\tWarning conditions\n"
10203 msgstr "KERN_WARNING\t4\t警告状況\n"
10204
10205 #. type: tbl table
10206 #: build/C/man2/syslog.2:311
10207 #, no-wrap
10208 msgid "KERN_NOTICE\t5\tNormal but significant condition\n"
10209 msgstr "KERN_NOTICE\t5\t通常だが重要な状況\n"
10210
10211 #. type: tbl table
10212 #: build/C/man2/syslog.2:312
10213 #, no-wrap
10214 msgid "KERN_INFO\t6\tInformational\n"
10215 msgstr "KERN_INFO\t6\t参考情報\n"
10216
10217 #. type: tbl table
10218 #: build/C/man2/syslog.2:313
10219 #, no-wrap
10220 msgid "KERN_DEBUG\t7\tDebug-level messages\n"
10221 msgstr "KERN_DEBUG\t7\tデバッグレベルのメッセージ\n"
10222
10223 #. type: Plain text
10224 #: build/C/man2/syslog.2:321
10225 msgid "The kernel I<printk()> routine will print a message on the console only if it has a log level less than the value of I<console_loglevel>."
10226 msgstr "カーネルの I<printk()> ルーチンは、メッセージのログレベルが I<console_loglevel> よりも小さい値の場合にのみ、 メッセージをコンソールに出力する。"
10227
10228 #. type: Plain text
10229 #: build/C/man2/syslog.2:334
10230 msgid "For I<type> equal to 2, 3, or 4, a successful call to B<syslog>()  returns the number of bytes read.  For I<type> 9, B<syslog>()  returns the number of bytes currently available to be read on the kernel log buffer.  For I<type> 10, B<syslog>()  returns the total size of the kernel log buffer.  For other values of I<type>, 0 is returned on success."
10231 msgstr "I<type> が 2, 3, 4 の場合、成功すると B<syslog>()  は読み出したバイト数を返す。 I<type> が 9 の場合、 カーネルログバッファーにある現在読み出し可能なバイト数を返す。 I<type> が 10 の場合、 カーネルログバッファーの総量を返す。 I<type> がそれ以外の値の場合、成功すると 0 が返される。"
10232
10233 #. type: Plain text
10234 #: build/C/man2/syslog.2:337
10235 msgid "In case of error, -1 is returned, and I<errno> is set to indicate the error."
10236 msgstr "エラーの場合は、-1\\ が返り、 I<errno> にエラーを示す値が設定される。"
10237
10238 #. type: Plain text
10239 #: build/C/man2/syslog.2:355
10240 msgid "Bad arguments (e.g., bad I<type>; or for I<type> 2, 3, or 4, I<buf> is NULL, or I<len> is less than zero; or for I<type> 8, the I<level> is outside the range 1 to 8)."
10241 msgstr "不正な引き数 (具体的には、 I<type> が正しくない、もしくは I<type> が 2, 3, 4 の場合に I<buf> が NULL か I<len> が 0 未満である、もしくは I<type> が 8 の場合に I<level> が 1 以上 8 以下の範囲に入っていない)。"
10242
10243 #. type: Plain text
10244 #: build/C/man2/syslog.2:362
10245 msgid "This B<syslog>()  system call is not available, because the kernel was compiled with the B<CONFIG_PRINTK> kernel-configuration option disabled."
10246 msgstr "カーネルの設定オプション B<CONFIG_PRINTK> を無効にしてカーネルがコンパイルされているため、 B<syslog>()  システムコールが利用できない。"
10247
10248 #. type: Plain text
10249 #: build/C/man2/syslog.2:373
10250 msgid "An attempt was made to change I<console_loglevel> or clear the kernel message ring buffer by a process without sufficient privilege (more precisely: without the B<CAP_SYS_ADMIN> or B<CAP_SYSLOG> capability)."
10251 msgstr "十分な権限を持たないプロセス (正確にはケーパビリティ B<CAP_SYS_ADMIN> も B<CAP_SYSLOG> も持たないプロセス) が I<console_loglevel> を変更しようとしたか、 カーネルメッセージリングを消去しようとした。"
10252
10253 #. type: TP
10254 #: build/C/man2/syslog.2:373
10255 #, no-wrap
10256 msgid "B<ERESTARTSYS>"
10257 msgstr "B<ERESTARTSYS>"
10258
10259 #. type: Plain text
10260 #: build/C/man2/syslog.2:377
10261 msgid "System call was interrupted by a signal; nothing was read.  (This can be seen only during a trace.)"
10262 msgstr "システムコールがシグナルによって割り込まれ、何も読み出せなかった。 (トレース中にしか発生することはない)"
10263
10264 #. type: Plain text
10265 #: build/C/man2/syslog.2:380
10266 msgid "This system call is Linux-specific and should not be used in programs intended to be portable."
10267 msgstr "このシステムコールは Linux 特有であり、移植を意図したプログラムでは 使用してはいけない。"
10268
10269 #.  In libc4 and libc5 the number of this call was defined by
10270 #.  .BR SYS_klog .
10271 #.  In glibc 2.0 the syscall is baptized
10272 #.  .BR klogctl ().
10273 #. type: Plain text
10274 #: build/C/man2/syslog.2:388
10275 msgid "From the very start, people noted that it is unfortunate that a system call and a library routine of the same name are entirely different animals."
10276 msgstr ""
10277 "かなり初期の頃から、同じ名前を持つシステムコールとライブラリルーチンが\n"
10278 "全く異なる別物であるのは不幸なことだと指摘されてきた。"
10279
10280 #. type: Plain text
10281 #: build/C/man2/syslog.2:391
10282 msgid "B<syslog>(3), B<capabilities>(7)"
10283 msgstr "B<syslog>(3), B<capabilities>(7)"
10284
10285 #. type: TH
10286 #: build/C/man3/syslog.3:36
10287 #, no-wrap
10288 msgid "2012-08-17"
10289 msgstr "2012-08-17"
10290
10291 #. type: Plain text
10292 #: build/C/man3/syslog.3:39
10293 msgid "closelog, openlog, syslog, vsyslog - send messages to the system logger"
10294 msgstr "closelog, openlog, syslog, vsyslog - システムロガーにメッセージを送る"
10295
10296 #. type: Plain text
10297 #: build/C/man3/syslog.3:41
10298 msgid "B<#include E<lt>syslog.hE<gt>>"
10299 msgstr "B<#include E<lt>syslog.hE<gt>>"
10300
10301 #. type: Plain text
10302 #: build/C/man3/syslog.3:43
10303 msgid "B<void openlog(const char *>I<ident>B<, int >I<option>B<, int >I<facility>B<);>"
10304 msgstr "B<void openlog(const char *>I<ident>B<, int >I<option>B<, int >I<facility>B<);>"
10305
10306 #. type: Plain text
10307 #: build/C/man3/syslog.3:45
10308 msgid "B<void syslog(int >I<priority>B<, const char *>I<format>B<, ...);>"
10309 msgstr "B<void syslog(int >I<priority>B<, const char *>I<format>B<, ...);>"
10310
10311 #. type: Plain text
10312 #: build/C/man3/syslog.3:47
10313 msgid "B<void closelog(void);>"
10314 msgstr "B<void closelog(void);>"
10315
10316 #. type: Plain text
10317 #: build/C/man3/syslog.3:51
10318 msgid "B<void vsyslog(int >I<priority>B<, const char *>I<format>B<, va_list >I<ap>B<);>"
10319 msgstr "B<void vsyslog(int >I<priority>B<, const char *>I<format>B<, va_list >I<ap>B<);>"
10320
10321 #. type: Plain text
10322 #: build/C/man3/syslog.3:59
10323 msgid "B<vsyslog>(): _BSD_SOURCE"
10324 msgstr "B<vsyslog>(): _BSD_SOURCE"
10325
10326 #. type: Plain text
10327 #: build/C/man3/syslog.3:65
10328 msgid "B<closelog>()  closes the descriptor being used to write to the system logger.  The use of B<closelog>()  is optional."
10329 msgstr "B<closelog>()  はシステムのログ記録用プログラム(システムロガー B<syslogd>(8))  ヘの接続を終了する。 B<closelog>()  は必須ではない。"
10330
10331 #. type: Plain text
10332 #: build/C/man3/syslog.3:77
10333 msgid "B<openlog>()  opens a connection to the system logger for a program.  The string pointed to by I<ident> is prepended to every message, and is typically set to the program name.  If I<ident> is NULL, the program name is used.  (POSIX.1-2008 does not specify the behavior when I<ident> is NULL.)"
10334 msgstr ""
10335 "B<openlog>() はログを出力しようとしているプログラムからログ記録用\n"
10336 "プログラム (system logger) への 接続を開始する。 \n"
10337 "I<ident> で指定した文字列は各メッセージの前に付与される。\n"
10338 "通常は I<ident> にはプログラム名が設定される。\n"
10339 "I<ident> が NULL の場合、プログラムが I<ident> として使用される\n"
10340 "(POSIX.1-2008 では I<ident> が NULL の場合の動作は規定されていない)。"
10341
10342 #. type: Plain text
10343 #: build/C/man3/syslog.3:101
10344 msgid "The I<option> argument specifies flags which control the operation of B<openlog>()  and subsequent calls to B<syslog>().  The I<facility> argument establishes a default to be used if none is specified in subsequent calls to B<syslog>().  Values for I<option> and I<facility> are given below.  The use of B<openlog>()  is optional; it will automatically be called by B<syslog>()  if necessary, in which case I<ident> will default to NULL."
10345 msgstr ""
10346 "I<option> 引き数は、 B<openlog>() の動作とその後の B<syslog>() の呼び\n"
10347 "出しを制御するフラグを指定する。 I<facility> 引き数は、後で B<syslog>()\n"
10348 "を呼び出す際に facility が指定されなかった場合に使用される デフォルト値\n"
10349 "を決定する。 I<option> と I<facility> については後述する。\n"
10350 "B<openlog>() は必須ではなく、必要に応じて B<syslog>() から呼び出される。\n"
10351 "B<syslog>() が呼び出した場合、 I<ident> のデフォルト値は NULL になる。"
10352
10353 #. type: Plain text
10354 #: build/C/man3/syslog.3:125
10355 msgid "B<syslog>()  generates a log message, which will be distributed by B<syslogd>(8).  The I<priority> argument is formed by ORing the I<facility> and the I<level> values (explained below).  The remaining arguments are a I<format>, as in B<printf>(3)  and any arguments required by the I<format>, except that the two character sequence B<%m> will be replaced by the error message string I<strerror>(I<errno>).  A trailing newline may be added if needed."
10356 msgstr "B<syslog>()  はログメッセージを出力し、 B<syslogd>(8)  がそのメッセージを記録する。 I<priority> 引き数は I<facility> と I<level> との組合せで指定する。 I<facility> と I<level> の取りうる値は後述する。 残りの I<format> 引き数は B<printf>(3)  と似たスタイルの書式とその書式に与える値である。 I<format> 中の2文字 B<%m> はその時点での I<errno> に関連するエラーメッセージ文字列 (I<strerror>)  によって置き換えられる。 必要な場合は末尾に改行が加えられる。"
10357
10358 #. type: Plain text
10359 #: build/C/man3/syslog.3:134
10360 msgid "The function B<vsyslog>()  performs the same task as B<syslog>()  with the difference that it takes a set of arguments which have been obtained using the B<stdarg>(3)  variable argument list macros."
10361 msgstr "B<vsyslog>()  関数は B<syslog>()  と同じ機能を持つが、可変引き数リストを指定することができる点が異なる。 指定された引き数は、 B<stdarg>(3)  可変引き数リストマクロを用いて取得される。"
10362
10363 #. type: Plain text
10364 #: build/C/man3/syslog.3:137
10365 msgid "The subsections below list the parameters used to set the values of I<option>,I< facility>, and I<priority>."
10366 msgstr "以下のサブセクションでは、 I<option> と I<facility> と I<priority> の値を設定するのに使用されるパラメーターを説明する。"
10367
10368 #. type: SS
10369 #: build/C/man3/syslog.3:137
10370 #, no-wrap
10371 msgid "option"
10372 msgstr "option"
10373
10374 #. type: Plain text
10375 #: build/C/man3/syslog.3:143
10376 msgid "The I<option> argument to B<openlog>()  is an OR of any of these:"
10377 msgstr "下記の値を OR したものが B<openlog>()  の I<option> 引き数になる:"
10378
10379 #. type: TP
10380 #: build/C/man3/syslog.3:143
10381 #, no-wrap
10382 msgid "B<LOG_CONS>"
10383 msgstr "B<LOG_CONS>"
10384
10385 #. type: Plain text
10386 #: build/C/man3/syslog.3:147
10387 msgid "Write directly to system console if there is an error while sending to system logger."
10388 msgstr "エラーがあれば、システムロガーに送る一方でシステムコンソールにも直接書く。"
10389
10390 #. type: TP
10391 #: build/C/man3/syslog.3:147
10392 #, no-wrap
10393 msgid "B<LOG_NDELAY>"
10394 msgstr "B<LOG_NDELAY>"
10395
10396 #. type: Plain text
10397 #: build/C/man3/syslog.3:151
10398 msgid "Open the connection immediately (normally, the connection is opened when the first message is logged)."
10399 msgstr "ログ記録用プログラムとの接続を即座に開始する (通常は、最初のメッセージが記録される時に接続を開く)。"
10400
10401 #. type: TP
10402 #: build/C/man3/syslog.3:151
10403 #, no-wrap
10404 msgid "B<LOG_NOWAIT>"
10405 msgstr "B<LOG_NOWAIT>"
10406
10407 #. type: Plain text
10408 #: build/C/man3/syslog.3:157
10409 msgid "Don't wait for child processes that may have been created while logging the message.  (The GNU C library does not create a child process, so this option has no effect on Linux.)"
10410 msgstr "メッセージを記録する際に生成される子プロセスの終了を待たない。 (GNU C ライブラリは子プロセスを生成しない。 したがって、このオプションは Linux では無効である。)"
10411
10412 #. type: TP
10413 #: build/C/man3/syslog.3:157
10414 #, no-wrap
10415 msgid "B<LOG_ODELAY>"
10416 msgstr "B<LOG_ODELAY>"
10417
10418 #. type: Plain text
10419 #: build/C/man3/syslog.3:165
10420 msgid "The converse of B<LOG_NDELAY>; opening of the connection is delayed until B<syslog>()  is called.  (This is the default, and need not be specified.)"
10421 msgstr "B<LOG_NDELAY> の反対。 B<syslog>()  が呼ばれるまで、接続の開始を行わない。 (このオプションはデフォルトであり、特に指定する必要はない。)"
10422
10423 #. type: TP
10424 #: build/C/man3/syslog.3:165
10425 #, no-wrap
10426 msgid "B<LOG_PERROR>"
10427 msgstr "B<LOG_PERROR>"
10428
10429 #. type: Plain text
10430 #: build/C/man3/syslog.3:169
10431 msgid "(Not in POSIX.1-2001 or POSIX.1-2008.)  Print to I<stderr> as well."
10432 msgstr ""
10433 "stderr にも出力する。\n"
10434 "(POSIX.1-2001 と POSIX.1-2008 では定義されていない)"
10435
10436 #. type: TP
10437 #: build/C/man3/syslog.3:169
10438 #, no-wrap
10439 msgid "B<LOG_PID>"
10440 msgstr "B<LOG_PID>"
10441
10442 #. type: Plain text
10443 #: build/C/man3/syslog.3:172
10444 msgid "Include PID with each message."
10445 msgstr "個々のメッセージに PID を含める。"
10446
10447 #. type: SS
10448 #: build/C/man3/syslog.3:172
10449 #, no-wrap
10450 msgid "facility"
10451 msgstr "facility"
10452
10453 #. type: Plain text
10454 #: build/C/man3/syslog.3:178
10455 msgid "The I<facility> argument is used to specify what type of program is logging the message.  This lets the configuration file specify that messages from different facilities will be handled differently."
10456 msgstr "I<facility> 引き数はメッセージに記録されるプログラムのタイプを指定するために使われる。 これによって異なるタイプのプログラムからのメッセージは異なる扱いを するように設定ファイル( B<syslog.conf>(5))  に定義できる。"
10457
10458 #. type: TP
10459 #: build/C/man3/syslog.3:178
10460 #, no-wrap
10461 msgid "B<LOG_AUTH>"
10462 msgstr "B<LOG_AUTH>"
10463
10464 #. type: Plain text
10465 #: build/C/man3/syslog.3:181
10466 msgid "security/authorization messages"
10467 msgstr "セキュリティ/認証 メッセージ"
10468
10469 #. type: TP
10470 #: build/C/man3/syslog.3:181
10471 #, no-wrap
10472 msgid "B<LOG_AUTHPRIV>"
10473 msgstr "B<LOG_AUTHPRIV>"
10474
10475 #. type: Plain text
10476 #: build/C/man3/syslog.3:184
10477 msgid "security/authorization messages (private)"
10478 msgstr "セキュリティ/認証 メッセージ (プライベート)"
10479
10480 #. type: TP
10481 #: build/C/man3/syslog.3:184
10482 #, no-wrap
10483 msgid "B<LOG_CRON>"
10484 msgstr "B<LOG_CRON>"
10485
10486 #. type: Plain text
10487 #: build/C/man3/syslog.3:188
10488 msgid "clock daemon (B<cron> and B<at>)"
10489 msgstr "クロックデーモン (B<cron> と atB<)>"
10490
10491 #. type: TP
10492 #: build/C/man3/syslog.3:188
10493 #, no-wrap
10494 msgid "B<LOG_DAEMON>"
10495 msgstr "B<LOG_DAEMON>"
10496
10497 #. type: Plain text
10498 #: build/C/man3/syslog.3:191
10499 msgid "system daemons without separate facility value"
10500 msgstr "特定の facility 値を持たないシステムデーモン"
10501
10502 #. type: TP
10503 #: build/C/man3/syslog.3:191
10504 #, no-wrap
10505 msgid "B<LOG_FTP>"
10506 msgstr "B<LOG_FTP>"
10507
10508 #. type: Plain text
10509 #: build/C/man3/syslog.3:194
10510 msgid "ftp daemon"
10511 msgstr "ftp デーモン"
10512
10513 #. type: TP
10514 #: build/C/man3/syslog.3:194
10515 #, no-wrap
10516 msgid "B<LOG_KERN>"
10517 msgstr "B<LOG_KERN>"
10518
10519 #.  LOG_KERN has the value 0; if used as a facility, zero translates to:
10520 #.  "use the default facility".
10521 #. type: Plain text
10522 #: build/C/man3/syslog.3:199
10523 msgid "kernel messages (these can't be generated from user processes)"
10524 msgstr "カーネルメッセージ (ユーザープロセスから生成することはできない)"
10525
10526 #. type: TP
10527 #: build/C/man3/syslog.3:199
10528 #, no-wrap
10529 msgid "B<LOG_LOCAL0> through B<LOG_LOCAL7>"
10530 msgstr "B<LOG_LOCAL0> から B<LOG_LOCAL7>"
10531
10532 #. type: Plain text
10533 #: build/C/man3/syslog.3:202
10534 msgid "reserved for local use"
10535 msgstr "ローカルな使用のためにリザーブされている"
10536
10537 #. type: TP
10538 #: build/C/man3/syslog.3:202
10539 #, no-wrap
10540 msgid "B<LOG_LPR>"
10541 msgstr "B<LOG_LPR>"
10542
10543 #. type: Plain text
10544 #: build/C/man3/syslog.3:205
10545 msgid "line printer subsystem"
10546 msgstr "ラインプリンタサブシステム"
10547
10548 #. type: TP
10549 #: build/C/man3/syslog.3:205
10550 #, no-wrap
10551 msgid "B<LOG_MAIL>"
10552 msgstr "B<LOG_MAIL>"
10553
10554 #. type: Plain text
10555 #: build/C/man3/syslog.3:208
10556 msgid "mail subsystem"
10557 msgstr "メールサブシステム"
10558
10559 #. type: TP
10560 #: build/C/man3/syslog.3:208
10561 #, no-wrap
10562 msgid "B<LOG_NEWS>"
10563 msgstr "B<LOG_NEWS>"
10564
10565 #. type: Plain text
10566 #: build/C/man3/syslog.3:211
10567 msgid "USENET news subsystem"
10568 msgstr "USENET ニュースサブシステム"
10569
10570 #. type: TP
10571 #: build/C/man3/syslog.3:211
10572 #, no-wrap
10573 msgid "B<LOG_SYSLOG>"
10574 msgstr "B<LOG_SYSLOG>"
10575
10576 #. type: Plain text
10577 #: build/C/man3/syslog.3:215
10578 msgid "messages generated internally by B<syslogd>(8)"
10579 msgstr "B<syslogd>(8)  によって内部的に発行されるメッセージ"
10580
10581 #. type: TP
10582 #: build/C/man3/syslog.3:215
10583 #, no-wrap
10584 msgid "B<LOG_USER> (default)"
10585 msgstr "B<LOG_USER> (デフォルト)"
10586
10587 #. type: Plain text
10588 #: build/C/man3/syslog.3:218
10589 msgid "generic user-level messages"
10590 msgstr "一般的なユーザーレベルメッセージ"
10591
10592 #. type: TP
10593 #: build/C/man3/syslog.3:218
10594 #, no-wrap
10595 msgid "B<LOG_UUCP>"
10596 msgstr "B<LOG_UUCP>"
10597
10598 #. type: Plain text
10599 #: build/C/man3/syslog.3:221
10600 msgid "UUCP subsystem"
10601 msgstr "UUCPサブシステム"
10602
10603 #. type: SS
10604 #: build/C/man3/syslog.3:221
10605 #, no-wrap
10606 msgid "level"
10607 msgstr "level"
10608
10609 #. type: Plain text
10610 #: build/C/man3/syslog.3:224
10611 msgid "This determines the importance of the message.  The levels are, in order of decreasing importance:"
10612 msgstr "これはメッセージの優先度を指定する。 優先度の高いものから低いものの順で下記する。"
10613
10614 #. type: TP
10615 #: build/C/man3/syslog.3:224
10616 #, no-wrap
10617 msgid "B<LOG_EMERG>"
10618 msgstr "B<LOG_EMERG>"
10619
10620 #. type: Plain text
10621 #: build/C/man3/syslog.3:227
10622 msgid "system is unusable"
10623 msgstr "システムが使用不可"
10624
10625 #. type: TP
10626 #: build/C/man3/syslog.3:227
10627 #, no-wrap
10628 msgid "B<LOG_ALERT>"
10629 msgstr "B<LOG_ALERT>"
10630
10631 #. type: Plain text
10632 #: build/C/man3/syslog.3:230
10633 msgid "action must be taken immediately"
10634 msgstr "直ちに行動を起こさなければならない"
10635
10636 #. type: TP
10637 #: build/C/man3/syslog.3:230
10638 #, no-wrap
10639 msgid "B<LOG_CRIT>"
10640 msgstr "B<LOG_CRIT>"
10641
10642 #. type: Plain text
10643 #: build/C/man3/syslog.3:233
10644 msgid "critical conditions"
10645 msgstr "危険な状態"
10646
10647 #. type: TP
10648 #: build/C/man3/syslog.3:233
10649 #, no-wrap
10650 msgid "B<LOG_ERR>"
10651 msgstr "B<LOG_ERR>"
10652
10653 #. type: Plain text
10654 #: build/C/man3/syslog.3:236
10655 msgid "error conditions"
10656 msgstr "エラーの状態"
10657
10658 #. type: TP
10659 #: build/C/man3/syslog.3:236
10660 #, no-wrap
10661 msgid "B<LOG_WARNING>"
10662 msgstr "B<LOG_WARNING>"
10663
10664 #. type: Plain text
10665 #: build/C/man3/syslog.3:239
10666 msgid "warning conditions"
10667 msgstr "ワーニングの状態"
10668
10669 #. type: TP
10670 #: build/C/man3/syslog.3:239
10671 #, no-wrap
10672 msgid "B<LOG_NOTICE>"
10673 msgstr "B<LOG_NOTICE>"
10674
10675 #. type: Plain text
10676 #: build/C/man3/syslog.3:242
10677 msgid "normal, but significant, condition"
10678 msgstr "通常だが重要な状態"
10679
10680 #. type: TP
10681 #: build/C/man3/syslog.3:242
10682 #, no-wrap
10683 msgid "B<LOG_INFO>"
10684 msgstr "B<LOG_INFO>"
10685
10686 #. type: Plain text
10687 #: build/C/man3/syslog.3:245
10688 msgid "informational message"
10689 msgstr "インフォメーションメッセージ"
10690
10691 #. type: TP
10692 #: build/C/man3/syslog.3:245
10693 #, no-wrap
10694 msgid "B<LOG_DEBUG>"
10695 msgstr "B<LOG_DEBUG>"
10696
10697 #. type: Plain text
10698 #: build/C/man3/syslog.3:248
10699 msgid "debug-level message"
10700 msgstr "デバッグレベルのメッセージ"
10701
10702 #. type: Plain text
10703 #: build/C/man3/syslog.3:252
10704 msgid "The function B<setlogmask>(3)  can be used to restrict logging to specified levels only."
10705 msgstr "B<setlogmask>(3)  関数を使用して、 指定されたレベルのメッセージだけを記録するように 制限することができる。"
10706
10707 #.  .SH HISTORY
10708 #.  A
10709 #.  .BR syslog ()
10710 #.  function call appeared in 4.2BSD.
10711 #.  4.3BSD documents
10712 #.  .BR openlog (),
10713 #.  .BR syslog (),
10714 #.  .BR closelog (),
10715 #.  and
10716 #.  .BR setlogmask ().
10717 #.  4.3BSD-Reno also documents
10718 #.  .BR vsyslog ().
10719 #.  Of course early v* functions used the
10720 #.  .I <varargs.h>
10721 #.  mechanism, which is not compatible with
10722 #.  .IR <stdarg.h> .
10723 #. type: Plain text
10724 #: build/C/man3/syslog.3:296
10725 msgid "The functions B<openlog>(), B<closelog>(), and B<syslog>()  (but not B<vsyslog>())  are specified in SUSv2, POSIX.1-2001, and POSIX.1-2008.  POSIX.1-2001 specifies only the B<LOG_USER> and B<LOG_LOCAL*> values for I<facility>.  However, with the exception of B<LOG_AUTHPRIV> and B<LOG_FTP>, the other I<facility> values appear on most UNIX systems.  The B<LOG_PERROR> value for I<option> is not specified by POSIX.1-2001 or POSIX.1-2008, but is available in most versions of UNIX."
10726 msgstr ""
10727 "B<openlog>(), B<closelog>(), B<syslog>() は SUSv2, POSIX.1-2001,\n"
10728 "POSIX.1-2008 で規定されている (但し B<vsyslog>() は除く)。\n"
10729 "POSIX.1-2001 では I<facility> として B<LOG_USER> と B<LOG_LOCAL*> の値\n"
10730 "が規定されているだけである。 しかしながら、 B<LOG_AUTHPRIV> と\n"
10731 "B<LOG_FTP> という例外はあるが、 それ以外の I<facility> の値は多くの\n"
10732 "UNIX システムで使われている。 I<option> の値の B<LOG_PERROR> の値は、\n"
10733 "POSIX.1-2001 と POSIX.1-2008 では規定されていないが、 \n"
10734 "UNIX の多くのバージョンで使用可能である。"
10735
10736 #. type: Plain text
10737 #: build/C/man3/syslog.3:308
10738 msgid "The argument I<ident> in the call of B<openlog>()  is probably stored as-is.  Thus, if the string it points to is changed, B<syslog>()  may start prepending the changed string, and if the string it points to ceases to exist, the results are undefined.  Most portable is to use a string constant."
10739 msgstr "B<openlog>()  呼び出しの I<ident> 引き数は、値がそのまま保持されていることを前提にしている。 それゆえ、 I<ident> で指定された文字列が変更されると、 B<syslog>()  は変更された文字列の追加するだろうし、 指定された文字列が存在しなくなった場合、結果は未定義である。 最も移植性がある方法は、文字列定数を使用することである。"
10740
10741 #. type: Plain text
10742 #: build/C/man3/syslog.3:311
10743 msgid "Never pass a string with user-supplied data as a format, use the following instead:"
10744 msgstr "ユーザーから与えられたデータを format として渡してはならない。 代わりに以下を使うこと。"
10745
10746 #. type: Plain text
10747 #: build/C/man3/syslog.3:314
10748 #, no-wrap
10749 msgid "    syslog(priority, \"%s\", string);\n"
10750 msgstr "    syslog(priority, \"%s\", string);\n"
10751
10752 #. type: Plain text
10753 #: build/C/man3/syslog.3:320
10754 msgid "B<logger>(1), B<setlogmask>(3), B<syslog.conf>(5), B<syslogd>(8)"
10755 msgstr "B<logger>(1), B<setlogmask>(3), B<syslog.conf>(5), B<syslogd>(8)"
10756
10757 #. type: TH
10758 #: build/C/man4/ttyS.4:26
10759 #, no-wrap
10760 msgid "TTYS"
10761 msgstr "TTYS"
10762
10763 #. type: TH
10764 #: build/C/man4/ttyS.4:26
10765 #, no-wrap
10766 msgid "1992-12-19"
10767 msgstr "1992-12-19"
10768
10769 #. type: Plain text
10770 #: build/C/man4/ttyS.4:29
10771 msgid "ttyS - serial terminal lines"
10772 msgstr "ttyS - シリアルターミナルライン(serial terminal lines)"
10773
10774 #. type: Plain text
10775 #: build/C/man4/ttyS.4:32
10776 msgid "B<ttyS[0-3]> are character devices for the serial terminal lines."
10777 msgstr "B<ttyS[0-3]> はシリアルターミナルラインのためのキャラクターデバイス (character device)である。"
10778
10779 #. type: Plain text
10780 #: build/C/man4/ttyS.4:37
10781 msgid "mknod -m 660 /dev/ttyS0 c 4 64 # base address 0x3f8"
10782 msgstr "mknod -m 660 /dev/ttyS0 c 4 64 # base address 0x3f8"
10783
10784 #. type: Plain text
10785 #: build/C/man4/ttyS.4:39
10786 msgid "mknod -m 660 /dev/ttyS1 c 4 65 # base address 0x2f8"
10787 msgstr "mknod -m 660 /dev/ttyS1 c 4 65 # base address 0x2f8"
10788
10789 #. type: Plain text
10790 #: build/C/man4/ttyS.4:41
10791 msgid "mknod -m 660 /dev/ttyS2 c 4 66 # base address 0x3e8"
10792 msgstr "mknod -m 660 /dev/ttyS2 c 4 66 # base address 0x3e8"
10793
10794 #. type: Plain text
10795 #: build/C/man4/ttyS.4:43
10796 msgid "mknod -m 660 /dev/ttyS3 c 4 67 # base address 0x2e8"
10797 msgstr "mknod -m 660 /dev/ttyS3 c 4 67 # base address 0x2e8"
10798
10799 #. type: Plain text
10800 #: build/C/man4/ttyS.4:45
10801 msgid "chown root:tty /dev/ttyS[0-3]"
10802 msgstr "chown root:tty /dev/ttyS[0-3]"
10803
10804 #. type: Plain text
10805 #: build/C/man4/ttyS.4:48
10806 msgid "/dev/ttyS[0-3]"
10807 msgstr "/dev/ttyS[0-3]"
10808
10809 #. type: Plain text
10810 #: build/C/man4/ttyS.4:55
10811 msgid "B<chown>(1), B<mknod>(1), B<tty>(4), B<agetty>(8), B<mingetty>(8), B<setserial>(8)"
10812 msgstr "B<chown>(1), B<mknod>(1), B<tty>(4), B<agetty>(8), B<mingetty>(8), B<setserial>(8)"
10813
10814 #. type: TH
10815 #: build/C/man7/uri.7:48
10816 #, no-wrap
10817 msgid "URI"
10818 msgstr "URI"
10819
10820 #. type: TH
10821 #: build/C/man7/uri.7:48
10822 #, no-wrap
10823 msgid "2014-03-18"
10824 msgstr "2014-03-18"
10825
10826 #. type: Plain text
10827 #: build/C/man7/uri.7:51
10828 msgid "uri, url, urn - uniform resource identifier (URI), including a URL or URN"
10829 msgstr "uri, url, urn - uniform resource identifier (URI) (URL と URN も含めて)"
10830
10831 #. type: Plain text
10832 #: build/C/man7/uri.7:55
10833 #, no-wrap
10834 msgid "URI = [ absoluteURI | relativeURI ] [ \"#\" fragment ]\n"
10835 msgstr "URI = [ absoluteURI | relativeURI ] [ \"#\" fragment ]\n"
10836
10837 #. type: Plain text
10838 #: build/C/man7/uri.7:57
10839 #, no-wrap
10840 msgid "absoluteURI = scheme \":\" ( hierarchical_part | opaque_part )\n"
10841 msgstr "absoluteURI = scheme \":\" ( hierarchical_part | opaque_part )\n"
10842
10843 #. type: Plain text
10844 #: build/C/man7/uri.7:59
10845 #, no-wrap
10846 msgid "relativeURI = ( net_path | absolute_path | relative_path ) [ \"?\" query ]\n"
10847 msgstr "relativeURI = ( net_path | absolute_path | relative_path ) [ \"?\" query ]\n"
10848
10849 #. type: Plain text
10850 #: build/C/man7/uri.7:62
10851 #, no-wrap
10852 msgid ""
10853 "scheme = \"http\" | \"ftp\" | \"gopher\" | \"mailto\" | \"news\" | \"telnet\" |\n"
10854 "         \"file\" | \"man\" | \"info\" | \"whatis\" | \"ldap\" | \"wais\" | \\&...\n"
10855 msgstr ""
10856 "scheme = \"http\" | \"ftp\" | \"gopher\" | \"mailto\" | \"news\" | \"telnet\" |\n"
10857 "         \"file\" | \"man\" | \"info\" | \"whatis\" | \"ldap\" | \"wais\" | \\&...\n"
10858
10859 #. type: Plain text
10860 #: build/C/man7/uri.7:64
10861 #, no-wrap
10862 msgid "hierarchical_part = ( net_path | absolute_path ) [ \"?\" query ]\n"
10863 msgstr "hierarchical_part = ( net_path | absolute_path ) [ \"?\" query ]\n"
10864
10865 #. type: Plain text
10866 #: build/C/man7/uri.7:66
10867 #, no-wrap
10868 msgid "net_path = \"//\" authority [ absolute_path ]\n"
10869 msgstr "net_path = \"//\" authority [ absolute_path ]\n"
10870
10871 #. type: Plain text
10872 #: build/C/man7/uri.7:68
10873 #, no-wrap
10874 msgid "absolute_path = \"/\"  path_segments\n"
10875 msgstr "absolute_path = \"/\"  path_segments\n"
10876
10877 #. type: Plain text
10878 #: build/C/man7/uri.7:70
10879 #, no-wrap
10880 msgid "relative_path = relative_segment [ absolute_path ]\n"
10881 msgstr "relative_path = relative_segment [ absolute_path ]\n"
10882
10883 #. type: Plain text
10884 #: build/C/man7/uri.7:82
10885 msgid "A Uniform Resource Identifier (URI) is a short string of characters identifying an abstract or physical resource (for example, a web page).  A Uniform Resource Locator (URL) is a URI that identifies a resource through its primary access mechanism (e.g., its network \"location\"), rather than by name or some other attribute of that resource.  A Uniform Resource Name (URN) is a URI that must remain globally unique and persistent even when the resource ceases to exist or becomes unavailable."
10886 msgstr "Uniform Resource Identifier (URI)  は抽象的・物理的なリソース (web ページなど)  を識別するための短い文字列である。 Uniform Resource Locator (URL) は URI の一種で、 リソースの名前などの属性でではなく、 そのリソースに対応するアクセスメカニズムを通してリソースを指定する (つまりネットワーク上の「場所 (location)」を指定する)。 Uniform Resource Name (URN) は URI の一種で、 これは対象のリソースが廃棄されたり利用できなくなった場合にも、 グローバルに他と重なることなく永続しなければならない。"
10887
10888 #. type: Plain text
10889 #: build/C/man7/uri.7:89
10890 msgid "URIs are the standard way to name hypertext link destinations for tools such as web browsers.  The string \"http://www.kernelnotes.org\" is a URL (and thus it is also a URI).  Many people use the term URL loosely as a synonym for URI (though technically URLs are a subset of URIs)."
10891 msgstr "URI は、 web ブラウザなどのツールで ハイパーテキストリンクのリンク先を指定する時の標準的な方法である。 文字列 \"http://www.kernelnotes.org\" は URL である (従って URI でもある)。多くの人々は、 URL という言葉をほぼ URI の 同義語として使っている (しかし技術的には URL は URI のサブセットである)。"
10892
10893 #. type: Plain text
10894 #: build/C/man7/uri.7:105
10895 msgid "URIs can be absolute or relative.  An absolute identifier refers to a resource independent of context, while a relative identifier refers to a resource by describing the difference from the current context.  Within a relative path reference, the complete path segments \".\" and \"..\" have special meanings: \"the current hierarchy level\" and \"the level above this hierarchy level\", respectively, just like they do in UNIX-like systems.  A path segment which contains a colon character can't be used as the first segment of a relative URI path (e.g., \"this:that\"), because it would be mistaken for a scheme name; precede such segments with ./ (e.g., \"./this:that\").  Note that descendants of MS-DOS (e.g., Microsoft Windows) replace devicename colons with the vertical bar (\"|\") in URIs, so \"C:\" becomes \"C|\"."
10896 msgstr "URI は絶対的にも相対的にも指定できる。 絶対的な指定は、リソースをコンテクストに依存しないかたちで参照する。 相対的な指定は、リソースを現在のコンテクストからの差異によって記述する。 相対パス参照では、 \".\" および \"..\" だけのパス部分 (path segment)  は特別な意味を持ち、 それぞれ「現在の階層レベル」および「現在の階層の一つ上のレベル」 として扱われる (UNIX 風のシステムと同様)。 コロン文字を含むパス部分は相対 URI パスの先頭に用いることはできない (つまり \"this:that\" はダメ)。スキーム名と区別できないからである。 このような場合には ./ を前置すること (つまり \"./this:that\" とする)。 MS-DOS の子孫 (Microsoft Windows など) は、 デバイス名のコロンを URI では垂直バー (\"|\") に置き換える。 したがって \"C:\" は \"C|\" となる。"
10897
10898 #. type: Plain text
10899 #: build/C/man7/uri.7:109
10900 msgid "A fragment identifier, if included, refers to a particular named portion (fragment) of a resource; text after a \\(aq#\\(aq identifies the fragment.  A URI beginning with \\(aq#\\(aq refers to that fragment in the current resource."
10901 msgstr "フラグメント指定子 (fragment identifier) は、(もし含まれていれば)  リソース中の名前付けされた特定の部分 (フラグメント) を参照する。 \\(aq#\\(aq 指定子以降の文字列がフラグメントを指定する。 \\(aq#\\(aq で始まる URI は現在のリソース中のフラグメントを参照する。"
10902
10903 #. type: Plain text
10904 #: build/C/man7/uri.7:117
10905 msgid "There are many different URI schemes, each with specific additional rules and meanings, but they are intentionally made to be as similar as possible.  For example, many URL schemes permit the authority to be the following format, called here an I<ip_server> (square brackets show what's optional):"
10906 msgstr "URI のスキームには色々な種類があり、 それぞれ固有のルールや意味が追加されている。 しかしできるだけ統一したものにしようという努力もなされている。 例えば、多くの URL スキームは「機関 (authority)」に対して以下の書式 (ここでは I<ip_server> と呼ぶことにする)  を許している (角括弧内部は省略可能)。"
10907
10908 #. type: Plain text
10909 #: build/C/man7/uri.7:119
10910 msgid "I<ip_server = >[I<user> [ : I<password> ] @ ] I<host> [ : I<port>]"
10911 msgstr "I<ip_server = >[I<user> [ : I<password> ] @ ] I<host> [ : I<port>]"
10912
10913 #. type: Plain text
10914 #: build/C/man7/uri.7:135
10915 msgid "This format allows you to optionally insert a username, a user plus password, and/or a port number.  The I<host> is the name of the host computer, either its name as determined by DNS or an IP address (numbers separated by periods).  Thus the URI E<lt>http://fred:fredpassword@xyz.com:8080/E<gt> logs into a web server on host xyz.com as fred (using fredpassword) using port 8080.  Avoid including a password in a URI if possible because of the many security risks of having a password written down.  If the URL supplies a username but no password, and the remote server requests a password, the program interpreting the URL should request one from the user."
10916 msgstr "このフォーマットには、ユーザー名、ユーザー名+パスワードを指定できる。 ポート番号を追加することも可能である。 I<host> はホストコンピュータの名前で、 DNS で定義される名前か IP アドレス (ピリオドで区切られた数字) で指定する。したがって URI E<lt>http://fred:fredpassword@xyz.com:8080/E<gt> は、ホスト xyz.com に fred として (パスワードを使って)  ポート 8080 を使ってログインする。 パスワードは可能なら URI には含めないほうが良いだろう。 パスワードを直書きすると様々なセキュリティ上のリスクが生じるからである。 URL にユーザー名だけを与え、パスワードを与えない場合は、 リモートサーバはパスワードを要求してくる。 URL を解釈したプログラムが、ユーザーにこの入力を促すことになろう。"
10917
10918 #. type: Plain text
10919 #: build/C/man7/uri.7:140
10920 msgid "Here are some of the most common schemes in use on UNIX-like systems that are understood by many tools.  Note that many tools using URIs also have internal schemes or specialized schemes; see those tools' documentation for information on those schemes."
10921 msgstr "以下に、 UNIX 風のシステムで非常に良く用いられており、 多くのツールが理解するスキームを示す。 URI を使うツールの多くでは、内部スキームや特殊なスキームも 使えることが多い。そのようなスキームに関してはツールのドキュメントを見ること。"
10922
10923 #. type: Plain text
10924 #: build/C/man7/uri.7:142
10925 msgid "B<http - Web (HTTP) server>"
10926 msgstr "B<http - Web (HTTP) サーバ>"
10927
10928 #. type: Plain text
10929 #: build/C/man7/uri.7:144
10930 msgid "http://I<ip_server>/I<path>"
10931 msgstr "http://I<ip_server>/I<path>"
10932
10933 #. type: Plain text
10934 #: build/C/man7/uri.7:146
10935 msgid "http://I<ip_server>/I<path>?I<query>"
10936 msgstr "http://I<ip_server>/I<path>?I<query>"
10937
10938 #. type: Plain text
10939 #: build/C/man7/uri.7:154
10940 msgid "This is a URL accessing a web (HTTP) server.  The default port is 80.  If the path refers to a directory, the web server will choose what to return; usually if there is a file named \"index.html\" or \"index.htm\" its content is returned, otherwise, a list of the files in the current directory (with appropriate links) is generated and returned.  An example is E<lt>http://lwn.netE<gt>."
10941 msgstr "これは web (HTTP) サーバにアクセスするための URL である。 デフォルトのポートは 80。パスがディレクトリを参照しているときは、 返される情報は web サーバが選択する。通常は、 \"index.html\" や \"index.htm\" のようなファイルがあれば、その内容が返される。 なければ、カレントディレクトリのリストが (適切なリンクとともに) 生成されて 返される。例としては E<lt>http://lwn.netE<gt> など。"
10942
10943 #. type: Plain text
10944 #: build/C/man7/uri.7:177
10945 msgid "A query can be given in the archaic \"isindex\" format, consisting of a word or phrase and not including an equal sign (=).  A query can also be in the longer \"GET\" format, which has one or more query entries of the form I<key>=I<value> separated by the ampersand character (&).  Note that I<key> can be repeated more than once, though it's up to the web server and its application programs to determine if there's any meaning to that.  There is an unfortunate interaction with HTML/XML/SGML and the GET query format; when such URIs with more than one key are embedded in SGML/XML documents (including HTML), the ampersand (&) has to be rewritten as &amp;.  Note that not all queries use this format; larger forms may be too long to store as a URI, so they use a different interaction mechanism (called POST) which does not include the data in the URI.  See the Common Gateway Interface specification at E<.UR http://www.w3.org\\:/CGI> E<.UE> for more information."
10946 msgstr "問い合わせ (query) を、古い \"isindex\" フォーマットによって送ることもできる。 このフォーマットは単語またはフレーズからなり、等号 (=) は含まない。 より長い \"GET\" フォーマットでも問い合わせは行える。 このフォーマットには、一つ以上の問い合わせエントリが I<key>=I<value> という形式で含まれる。それぞれのエントリはアンパサンド (&) で区切られる。 I<key> は複数個指定することもできる。しかしそれに意味があるかどうかは web サーバとアプリケーションプログラムが決める。 HTML/XML/SGML と GET 問い合わせ形式の間には、不幸な関係がある。 一つ以上のキーの含まれる URI が SGML/XML 文書 (HTML もそう)  に埋めこまれる際には、アンパサンド (&) は &amp; と書かなければならない。 全ての問い合わせがこの形式を使うわけではない。 フォームが長くなると URI に入れるには長すぎるから、 別の通信メカニズム (POST と呼ばれる) が用いられる。 POST では URI にはデータは含まれない。 より詳しい情報は、 E<.UR http://www.w3.org\\:/CGIE> E<.UE> にある Common Gateway Interface の仕様書を見よ。"
10947
10948 #. type: Plain text
10949 #: build/C/man7/uri.7:179
10950 msgid "B<ftp - File Transfer Protocol (FTP)>"
10951 msgstr "B<ftp - ファイル転送プロトコル (FTP)>"
10952
10953 #. type: Plain text
10954 #: build/C/man7/uri.7:181
10955 msgid "ftp://I<ip_server>/I<path>"
10956 msgstr "ftp://I<ip_server>/I<path>"
10957
10958 #. type: Plain text
10959 #: build/C/man7/uri.7:189
10960 msgid "This is a URL accessing a file through the file transfer protocol (FTP).  The default port (for control) is 21.  If no username is included, the username \"anonymous\" is supplied, and in that case many clients provide as the password the requestor's Internet email address.  An example is E<lt>ftp://ftp.is.co.za/rfc/rfc1808.txtE<gt>."
10961 msgstr "これはファイル転送プロトコル (FTP) を通してファイルにアクセスするための URL である。デフォルトの (制御用) ポートは 21 である。 ユーザー名がない場合には、ユーザー名 anonymous が与えられる。 そしてその場合には、クライアントの多くは要求した人の インターネットメールアドレスをパスワードとして与える。 例としては E<lt>ftp://ftp.is.co.za/rfc/rfc1808.txtE<gt> など。"
10962
10963 #. type: Plain text
10964 #: build/C/man7/uri.7:191
10965 msgid "B<gopher - Gopher server>"
10966 msgstr "B<gofer - Gofer サーバ>"
10967
10968 #. type: Plain text
10969 #: build/C/man7/uri.7:193
10970 msgid "gopher://I<ip_server>/I<gophertype selector>"
10971 msgstr "gopher://I<ip_server>/I<gophertype selector>"
10972
10973 #. type: Plain text
10974 #: build/C/man7/uri.7:195
10975 msgid "gopher://I<ip_server>/I<gophertype selector>%09I<search>"
10976 msgstr "gopher://I<ip_server>/I<gophertype selector>%09I<search>"
10977
10978 #. type: Plain text
10979 #: build/C/man7/uri.7:197
10980 msgid "gopher://I<ip_server>/I<gophertype selector>%09I<search>%09I<gopher+_string>"
10981 msgstr "gopher://I<ip_server>/I<gophertype selector>%09I<search>%09I<gopher+_string>"
10982
10983 #. type: Plain text
10984 #: build/C/man7/uri.7:207
10985 msgid "The default gopher port is 70.  I<gophertype> is a single-character field to denote the Gopher type of the resource to which the URL refers.  The entire path may also be empty, in which case the delimiting \"/\" is also optional and the gophertype defaults to \"1\"."
10986 msgstr "デフォルトの gopher ポートは 70 である。 I<gophertype> は 1 文字からなるフィールドで、 URL が参照している Gopher のリソースタイプを示す。 パス全体が空であってもよく、その場合は区切りの \"/\" も省略できる。 このとき gophertype のデフォルトは \"1\" になる。"
10987
10988 #. type: Plain text
10989 #: build/C/man7/uri.7:214
10990 msgid "I<selector> is the Gopher selector string.  In the Gopher protocol, Gopher selector strings are a sequence of octets which may contain any octets except 09 hexadecimal (US-ASCII HT or tab), 0A hexadecimal (US-ASCII character LF), and 0D (US-ASCII character CR)."
10991 msgstr "I<selector> は Gopher セレクタ文字列である。Gopher プロトコルでは、 Gopher セレクタ文字列はオクテット文字からなり、 16進数の 09 (US-ASCII の HT または tab)、 0A (US-ASCII の LF 文字)、 0D (US-ASCII の CR 文字) 以外ならどんなオクテットも指定できる。"
10992
10993 #. type: Plain text
10994 #: build/C/man7/uri.7:216
10995 msgid "B<mailto - Email address>"
10996 msgstr "B<mailto - 電子メールアドレス>"
10997
10998 #. type: Plain text
10999 #: build/C/man7/uri.7:218
11000 msgid "mailto:I<email-address>"
11001 msgstr "mailto:I<email-address>"
11002
11003 #. type: Plain text
11004 #: build/C/man7/uri.7:226
11005 msgid "This is an email address, usually of the form I<name>@I<hostname>.  See B<mailaddr>(7)  for more information on the correct format of an email address.  Note that any % character must be rewritten as %25.  An example is E<lt>mailto:dwheeler@dwheeler.comE<gt>."
11006 msgstr "これは電子メールアドレスで、通常 I<name>@I<hostname> という形式をとる。電子メールアドレスの正しいフォーマットに関する より詳しい情報は B<mailaddr>(7)  を見よ。 % 文字はすべて %25 と書き直さなければならないことに注意。 例としては E<lt>mailto:dwheeler@dwheeler.comE<gt> など。"
11007
11008 #. type: Plain text
11009 #: build/C/man7/uri.7:228
11010 msgid "B<news - Newsgroup or News message>"
11011 msgstr "B<news - ニュースグループ、ニュースメッセージ>"
11012
11013 #. type: Plain text
11014 #: build/C/man7/uri.7:230
11015 msgid "news:I<newsgroup-name>"
11016 msgstr "news:I<newsgroup-name>"
11017
11018 #. type: Plain text
11019 #: build/C/man7/uri.7:232
11020 msgid "news:I<message-id>"
11021 msgstr "news:I<message-id>"
11022
11023 #. type: Plain text
11024 #: build/C/man7/uri.7:240
11025 msgid "A I<newsgroup-name> is a period-delimited hierarchical name, such as \"comp.infosystems.www.misc\".  If E<lt>newsgroup-nameE<gt> is \"*\" (as in E<lt>news:*E<gt>), it is used to refer to \"all available news groups\".  An example is E<lt>news:comp.lang.adaE<gt>."
11026 msgstr "I<newsgroup-name> はピリオドで区切られた階層的な名前である。例えば \"comp.infosystems.www.misc\" など。 E<lt>newsgroup-nameE<gt> が \"*\" (つまり E<lt>news:*E<gt>) の場合には、 「参照できる全てのニュースグループ」の意味になる。 例としては E<lt>news:comp.lang.adaE<gt> など。"
11027
11028 #. type: Plain text
11029 #: build/C/man7/uri.7:252
11030 msgid "A I<message-id> corresponds to the Message-ID of E<.UR http://www.ietf.org\\:/rfc\\:/rfc1036.txt> IETF RFC\\ 1036, E<.UE> without the enclosing \"E<lt>\" and \"E<gt>\"; it takes the form I<unique>@I<full_domain_name>.  A message identifier may be distinguished from a news group name by the presence of the \"@\" character."
11031 msgstr "I<message-id> は E<.UR http://www.ietf.org\\:/rfc\\:/rfc1036.txt> IETF RFC\\ 1036, E<.UE> の Message-ID から、囲みの \"E<lt>\" と \"E<gt>\" を取ったものに対応する。 Message-ID は I<unique>@I<full_domain_name> という形式をとる。メッセージ ID には \"@\" 文字が含まれるので、 ニュースグループの名前と区別できるだろう。"
11032
11033 #. type: Plain text
11034 #: build/C/man7/uri.7:254
11035 msgid "B<telnet - Telnet login>"
11036 msgstr "B<telnet - telnet ログイン>"
11037
11038 #. type: Plain text
11039 #: build/C/man7/uri.7:256
11040 msgid "telnet://I<ip_server>/"
11041 msgstr "telnet://I<ip_server>/"
11042
11043 #. type: Plain text
11044 #: build/C/man7/uri.7:262
11045 msgid "The Telnet URL scheme is used to designate interactive text services that may be accessed by the Telnet protocol.  The final \"/\" character may be omitted.  The default port is 23.  An example is E<lt>telnet://melvyl.ucop.edu/E<gt>."
11046 msgstr "Telnet URL スキームは対話的なテキストサービスに Telnet プロトコルを 通してアクセスするために用いられる。最後の \"/\" 文字は省略してよい。 例としては E<lt>telnet://melvyl.ucop.edu/E<gt> など。"
11047
11048 #. type: Plain text
11049 #: build/C/man7/uri.7:264
11050 msgid "B<file - Normal file>"
11051 msgstr "B<file - 通常のファイル>"
11052
11053 #. type: Plain text
11054 #: build/C/man7/uri.7:266
11055 msgid "file://I<ip_server>/I<path_segments>"
11056 msgstr "file://I<ip_server>/I<path_segments>"
11057
11058 #. type: Plain text
11059 #: build/C/man7/uri.7:268
11060 msgid "file:I<path_segments>"
11061 msgstr "file:I<path_segments>"
11062
11063 #. type: Plain text
11064 #: build/C/man7/uri.7:285
11065 msgid "This represents a file or directory accessible locally.  As a special case, I<ip_server> can be the string \"localhost\" or the empty string; this is interpreted as \"the machine from which the URL is being interpreted\".  If the path is to a directory, the viewer should display the directory's contents with links to each containee; not all viewers currently do this.  KDE supports generated files through the URL E<lt>file:/cgi-binE<gt>.  If the given file isn't found, browser writers may want to try to expand the filename via filename globbing (see B<glob>(7)  and B<glob>(3))."
11066 msgstr "これはローカルに直接アクセスできるファイルを示す。 特殊なケースとして、 I<ip_server> には \"localhost\" という文字列を用いたり、空文字にしてもよい。 これは「URI が解釈されたマシン」とみなされる。 path がディレクトリの場合は、ビューアはディレクトリの内容を リンクを張ったかたちで表示するとよいだろう。 しかし現在は、まだ全てのビューアがこの動作をするわけではない。 KDE は生成ファイル (generated file) を URL E<lt>file:/cgi-binE<gt> の形式でサポートしている。 与えられたファイルが見付からなかった場合は、 ファイル名をグロブによって展開すると良いかもしれない (B<glob>(7)  および B<glob>(3)  を見よ)。"
11067
11068 #. type: Plain text
11069 #: build/C/man7/uri.7:299
11070 msgid "The second format (e.g., E<lt>file:/etc/passwdE<gt>)  is a correct format for referring to a local file.  However, older standards did not permit this format, and some programs don't recognize this as a URI.  A more portable syntax is to use an empty string as the server name, for example, E<lt>file:///etc/passwdE<gt>; this form does the same thing and is easily recognized by pattern matchers and older programs as a URI.  Note that if you really mean to say \"start from the current location,\" don't specify the scheme at all; use a relative address like E<lt>../test.txtE<gt>, which has the side-effect of being scheme-independent.  An example of this scheme is E<lt>file:///etc/passwdE<gt>."
11071 msgstr "二つめの書式 (例えば E<lt>file:/etc/passwdE<gt>) もローカルファイルを参照する 正しいフォーマットである。しかし古い標準ではこの書式を許していなかったので、 これを URI として認識しないプログラムも存在する。 より汎用的な文法は、サーバ名に空文字を用いるもの、 つまり E<lt>file:///etc/passwdE<gt> のようなものである。 この形式も指す内容は同じであり、パターンマッチやより古いプログラムでも URI として認識されやすい。 もし意図するところが「現在の場所からスタート」なら、 スキームは一切用いるべきではない。 E<lt>../test.txtE<gt> のような、スキームに依存しない相対リンクを用いること。 このスキームの例としては E<lt>file:///etc/passwdE<gt> など。"
11072
11073 #. type: Plain text
11074 #: build/C/man7/uri.7:301
11075 msgid "B<man - Man page documentation>"
11076 msgstr "B<man - man ページ文書>"
11077
11078 #. type: Plain text
11079 #: build/C/man7/uri.7:303
11080 msgid "man:I<command-name>"
11081 msgstr "man:I<command-name>"
11082
11083 #. type: Plain text
11084 #: build/C/man7/uri.7:305
11085 msgid "man:I<command-name>(I<section>)"
11086 msgstr "man:I<command-name>(I<section>)"
11087
11088 #. type: Plain text
11089 #: build/C/man7/uri.7:314
11090 msgid "This refers to local online manual (man) reference pages.  The command name can optionally be followed by a parenthesis and section number; see B<man>(7)  for more information on the meaning of the section numbers.  This URI scheme is unique to UNIX-like systems (such as Linux)  and is not currently registered by the IETF.  An example is E<lt>man:ls(1)E<gt>."
11091 msgstr "これはローカルのオンラインマニュアル (man) リファレスページを参照する。 command-name には括弧とセクション番号を追加してもよい。 セクション番号の意味について詳しく知りたい場合は B<man>(7)  をみよ。この URI スキームは UNIX 風のシステム (Linux など)  に特有のものであり、現在はまだ IETF による登録はされていない。 例としては E<lt>man:ls(1)E<gt> など。"
11092
11093 #. type: Plain text
11094 #: build/C/man7/uri.7:316
11095 msgid "B<info - Info page documentation>"
11096 msgstr "B<info - info ページ文書>"
11097
11098 #. type: Plain text
11099 #: build/C/man7/uri.7:318
11100 msgid "info:I<virtual-filename>"
11101 msgstr "info:I<virtual-filename>"
11102
11103 #. type: Plain text
11104 #: build/C/man7/uri.7:320
11105 msgid "info:I<virtual-filename>#I<nodename>"
11106 msgstr "info:I<virtual-filename>#I<nodename>"
11107
11108 #. type: Plain text
11109 #: build/C/man7/uri.7:322
11110 msgid "info:(I<virtual-filename>)"
11111 msgstr "info:(I<virtual-filename>)"
11112
11113 #. type: Plain text
11114 #: build/C/man7/uri.7:324
11115 msgid "info:(I<virtual-filename>)I<nodename>"
11116 msgstr "info:(I<virtual-filename>)I<nodename>"
11117
11118 #. type: Plain text
11119 #: build/C/man7/uri.7:343
11120 msgid "This scheme refers to online info reference pages (generated from texinfo files), a documentation format used by programs such as the GNU tools.  This URI scheme is unique to UNIX-like systems (such as Linux)  and is not currently registered by the IETF.  As of this writing, GNOME and KDE differ in their URI syntax and do not accept the other's syntax.  The first two formats are the GNOME format; in nodenames all spaces are written as underscores.  The second two formats are the KDE format; spaces in nodenames must be written as spaces, even though this is forbidden by the URI standards.  It's hoped that in the future most tools will understand all of these formats and will always accept underscores for spaces in nodenames.  In both GNOME and KDE, if the form without the nodename is used the nodename is assumed to be \"Top\".  Examples of the GNOME format are E<lt>info:gccE<gt> and E<lt>info:gcc#G++_and_GCCE<gt>.  Examples of the KDE format are E<lt>info:(gcc)E<gt> and E<lt>info:(gcc)G++ and GCCE<gt>."
11121 msgstr "このスキームは、オンラインの info リファレンスページ (texinfo ファイルから生成される) を参照する。 info ページは GNU ツールなどのプログラムで用いられている文書フォーマットである。 この URI スキームは UNIX 風のシステム (Linux など)  に特有のものであり、現在はまだ IETF による登録はされていない。 この文書の執筆時において、 GNOME と KDE はそれぞれ異なる文法の URI を用いており、お互い相手の文法を受け入れない。 最初の 2 つの書式は GNOME の書式である。ノード名 (nodename)  のスペースはすべてアンダースコアに変換される。 3 つめと 4 つめは KDE の書式である。ノード名のスペースは そのままスペースで書かれる (URI の標準では禁止されているのだが)。 将来は多くのツールがこれらの書式すべてを理解するようになり、 ノード名のアンダースコア、スペースを両方とも理解できるように なることを期待したい。 GNOME でも KDE でも、 ノード名が省略された場合は、ノード名として \"Top\" が用いられる。 GNOME 書式の例としては E<lt>info:gccE<gt> や E<lt>info:gcc#G++_and_GCCE<gt> など、 KDE 書式の例としては E<lt>info:(gcc)E<gt> や E<lt>info:(gcc)G++ and GCCE<gt> など。"
11122
11123 #. type: Plain text
11124 #: build/C/man7/uri.7:345
11125 msgid "B<whatis - Documentation search>"
11126 msgstr "B<whatis - 文書検索>"
11127
11128 #. type: Plain text
11129 #: build/C/man7/uri.7:347
11130 msgid "whatis:I<string>"
11131 msgstr "whatis:I<string>"
11132
11133 #. type: Plain text
11134 #: build/C/man7/uri.7:355
11135 msgid "This scheme searches the database of short (one-line) descriptions of commands and returns a list of descriptions containing that string.  Only complete word matches are returned.  See B<whatis>(1).  This URI scheme is unique to UNIX-like systems (such as Linux)  and is not currently registered by the IETF."
11136 msgstr "このスキームは、コマンドに関する短い (1 行の) 説明を集めた データベースを検索し、 string を含む文字列をリストして返す。 単語が完全にマッチした結果だけが返される。 B<whatis>(1)  を見よ。 この URI スキームは UNIX 風のシステム (Linux など)  に特有のものであり、現在はまだ IETF による登録はされていない。"
11137
11138 #. type: Plain text
11139 #: build/C/man7/uri.7:357
11140 msgid "B<ghelp - GNOME help documentation>"
11141 msgstr "B<ghelp - GNOME ヘルプ文書>"
11142
11143 #. type: Plain text
11144 #: build/C/man7/uri.7:359
11145 msgid "ghelp:I<name-of-application>"
11146 msgstr "ghelp:I<name-of-application>"
11147
11148 #. type: Plain text
11149 #: build/C/man7/uri.7:362
11150 msgid "This loads GNOME help for the given application.  Note that not much documentation currently exists in this format."
11151 msgstr "与えられた application に対応する GNOME help をロードする。 この書式を用いた文書はまだあまり多くない。"
11152
11153 #. type: Plain text
11154 #: build/C/man7/uri.7:364
11155 msgid "B<ldap - Lightweight Directory Access Protocol>"
11156 msgstr "B<ldap - 軽量ディレクトリアクセスプロトコル>"
11157
11158 #. type: Plain text
11159 #: build/C/man7/uri.7:366
11160 msgid "ldap://I<hostport>"
11161 msgstr "ldap://I<hostport>"
11162
11163 #. type: Plain text
11164 #: build/C/man7/uri.7:368
11165 msgid "ldap://I<hostport>/"
11166 msgstr "ldap://I<hostport>/"
11167
11168 #. type: Plain text
11169 #: build/C/man7/uri.7:370
11170 msgid "ldap://I<hostport>/I<dn>"
11171 msgstr "ldap://I<hostport>/I<dn>"
11172
11173 #. type: Plain text
11174 #: build/C/man7/uri.7:372
11175 msgid "ldap://I<hostport>/I<dn>?I<attributes>"
11176 msgstr "ldap://I<hostport>/I<dn>?I<attributes>"
11177
11178 #. type: Plain text
11179 #: build/C/man7/uri.7:374
11180 msgid "ldap://I<hostport>/I<dn>?I<attributes>?I<scope>"
11181 msgstr "ldap://I<hostport>/I<dn>?I<attributes>?I<scope>"
11182
11183 #. type: Plain text
11184 #: build/C/man7/uri.7:376
11185 msgid "ldap://I<hostport>/I<dn>?I<attributes>?I<scope>?I<filter>"
11186 msgstr "ldap://I<hostport>/I<dn>?I<attributes>?I<scope>?I<filter>"
11187
11188 #. type: Plain text
11189 #: build/C/man7/uri.7:378
11190 msgid "ldap://I<hostport>/I<dn>?I<attributes>?I<scope>?I<filter>?I<extensions>"
11191 msgstr "ldap://I<hostport>/I<dn>?I<attributes>?I<scope>?I<filter>?I<extensions>"
11192
11193 #. type: Plain text
11194 #: build/C/man7/uri.7:389
11195 msgid "This scheme supports queries to the Lightweight Directory Access Protocol (LDAP), a protocol for querying a set of servers for hierarchically organized information (such as people and computing resources).  See E<.UR http://www.ietf.org\\:/rfc\\:/rfc2255.txt> RFC\\ 2255 E<.UE> for more information on the LDAP URL scheme.  The components of this URL are:"
11196 msgstr "このスキームは Lightweight Directory Access Protocol (LDAP) へのクエリーをサポートする。 LDAP は、 複数のサーバに分散した、 階層化された情報 (人々や計算資源など) に問い合わせるための プロトコルである。 LDAP の URL スキームに関するより詳しい情報は E<.UR http://www.ietf.org\\:/rfc\\:/rfc2255.txt> RFC\\ 2255 E<.UE> を参照のこと。 この URL の構成要素の詳細は以下の通り。"
11197
11198 #. type: IP
11199 #: build/C/man7/uri.7:389
11200 #, no-wrap
11201 msgid "hostport"
11202 msgstr "hostport"
11203
11204 #. type: Plain text
11205 #: build/C/man7/uri.7:394
11206 msgid "the LDAP server to query, written as a hostname optionally followed by a colon and the port number.  The default LDAP port is TCP port 389.  If empty, the client determines which the LDAP server to use."
11207 msgstr "クエリーを行う LDAP サーバ。ホスト名を書く。続けてコロンとポート番号を 追加することもできる。 LDAP のデフォルトのポートは TCP ポート 389 である。 省略されると、どの LDAP サーバを用いるかはクライアントが決定する。"
11208
11209 #. type: IP
11210 #: build/C/man7/uri.7:394
11211 #, no-wrap
11212 msgid "dn"
11213 msgstr "dn"
11214
11215 #. type: Plain text
11216 #: build/C/man7/uri.7:401
11217 msgid "the LDAP Distinguished Name, which identifies the base object of the LDAP search (see E<.UR http://www.ietf.org\\:/rfc\\:/rfc2253.txt> RFC\\ 2253 E<.UE> section 3)."
11218 msgstr "LDAP の Distintuished Name (識別名)。 LDAP 検索の base オブジェクトを指定するものである (E<.UR http://www.ietf.org\\:/rfc\\:/rfc2253.txt> RFC\\ 2253 E<.UE> のセクション 3 を参照)。"
11219
11220 #. type: IP
11221 #: build/C/man7/uri.7:401
11222 #, no-wrap
11223 msgid "attributes"
11224 msgstr "attributes"
11225
11226 #. type: Plain text
11227 #: build/C/man7/uri.7:405
11228 msgid "a comma-separated list of attributes to be returned; see RFC\\ 2251 section 4.1.5.  If omitted, all attributes should be returned."
11229 msgstr "コンマ区切りの、返される属性 (attribute) のリスト。 RFC\\ 2251 の section 4.1.5 を見よ。省略されると全ての属性が返される。"
11230
11231 #. type: IP
11232 #: build/C/man7/uri.7:405
11233 #, no-wrap
11234 msgid "scope"
11235 msgstr "scope"
11236
11237 #. type: Plain text
11238 #: build/C/man7/uri.7:410
11239 msgid "specifies the scope of the search, which can be one of \"base\" (for a base object search), \"one\" (for a one-level search), or \"sub\" (for a subtree search).  If scope is omitted, \"base\" is assumed."
11240 msgstr "検索のスコープを指定する。 \"base\" (base オブジェクト検索), \"one\" (1 レベル検索), \"sub\" (サブツリー検索) のいずれかを指定する。 省略すると \"base\" が仮定される。"
11241
11242 #. type: IP
11243 #: build/C/man7/uri.7:410
11244 #, no-wrap
11245 msgid "filter"
11246 msgstr "filter"
11247
11248 #. type: Plain text
11249 #: build/C/man7/uri.7:419
11250 msgid "specifies the search filter (subset of entries to return).  If omitted, all entries should be returned.  See E<.UR http://www.ietf.org\\:/rfc\\:/rfc2254.txt> RFC\\ 2254 E<.UE> section 4."
11251 msgstr "検索フィルタ (返されるエントリのサブセット) を指定する。 省略されると、全てのエントリが返される。 E<.UR http://www.ietf.org\\:/rfc\\:/rfc2254.txt> RFC\\ 2254 E<.UE> のセクション 4 を参照。"
11252
11253 #. type: IP
11254 #: build/C/man7/uri.7:419
11255 #, no-wrap
11256 msgid "extensions"
11257 msgstr "extensions"
11258
11259 #. type: Plain text
11260 #: build/C/man7/uri.7:425
11261 msgid "a comma-separated list of type=value pairs, where the =value portion may be omitted for options not requiring it.  An extension prefixed with a \\(aq!\\(aq is critical (must be supported to be valid), otherwise it is noncritical (optional)."
11262 msgstr "コンマで区切られた type=value ペアのリスト。 ここで =value の部分は、それを要求しないオプションに対しては 省略できる。 \\(aq!\\(aq が前置された extension は critical (サポートしていなければならない) であり、 そうでなければ critical ではない (省略できる)。"
11263
11264 #. type: Plain text
11265 #: build/C/man7/uri.7:429
11266 msgid "LDAP queries are easiest to explain by example.  Here's a query that asks ldap.itd.umich.edu for information about the University of Michigan in the U.S.:"
11267 msgstr "LDAP のクエリーは、例とともに説明するのが最も簡単である。 次の例は、 ldap.itd.umich.edu に、 U.S. にある University of Michigan の情報を尋ねる例である。"
11268
11269 #. type: Plain text
11270 #: build/C/man7/uri.7:432
11271 #, no-wrap
11272 msgid "ldap://ldap.itd.umich.edu/o=University%20of%20Michigan,c=US\n"
11273 msgstr "ldap://ldap.itd.umich.edu/o=University%20of%20Michigan,c=US\n"
11274
11275 #. type: Plain text
11276 #: build/C/man7/uri.7:435
11277 msgid "To just get its postal address attribute, request:"
11278 msgstr "郵便用の住所属性だけを取得する場合は、 次のようにリクエストする:"
11279
11280 #. type: Plain text
11281 #: build/C/man7/uri.7:438
11282 #, no-wrap
11283 msgid "ldap://ldap.itd.umich.edu/o=University%20of%20Michigan,c=US?postalAddress\n"
11284 msgstr "ldap://ldap.itd.umich.edu/o=University%20of%20Michigan,c=US?postalAddress\n"
11285
11286 #. type: Plain text
11287 #: build/C/man7/uri.7:442
11288 msgid "To ask a host.com at port 6666 for information about the person with common name (cn) \"Babs Jensen\" at University of Michigan, request:"
11289 msgstr "host.com のポート 6666 に、 University of Michigan にいる common name (cn) が \"Babs Jenson\" の人の情報を尋ねる場合は、 次のようにリクエストする:"
11290
11291 #. type: Plain text
11292 #: build/C/man7/uri.7:445
11293 #, no-wrap
11294 msgid "ldap://host.com:6666/o=University%20of%20Michigan,c=US??sub?(cn=Babs%20Jensen)\n"
11295 msgstr "ldap://host.com:6666/o=University%20of%20Michigan,c=US??sub?(cn=Babs%20Jensen)\n"
11296
11297 #. type: Plain text
11298 #: build/C/man7/uri.7:448
11299 msgid "B<wais - Wide Area Information Servers>"
11300 msgstr "B<wais - 広域情報サービス>"
11301
11302 #. type: Plain text
11303 #: build/C/man7/uri.7:450
11304 msgid "wais://I<hostport>/I<database>"
11305 msgstr "wais://I<hostport>/I<database>"
11306
11307 #. type: Plain text
11308 #: build/C/man7/uri.7:452
11309 msgid "wais://I<hostport>/I<database>?I<search>"
11310 msgstr "wais://I<hostport>/I<database>?I<search>"
11311
11312 #. type: Plain text
11313 #: build/C/man7/uri.7:454
11314 msgid "wais://I<hostport>/I<database>/I<wtype>/I<wpath>"
11315 msgstr "wais://I<hostport>/I<database>/I<wtype>/I<wpath>"
11316
11317 #. type: Plain text
11318 #: build/C/man7/uri.7:463
11319 msgid "This scheme designates a WAIS database, search, or document (see E<.UR http://www.ietf.org\\:/rfc\\:/rfc1625.txt> IETF RFC\\ 1625 E<.UE> for more information on WAIS).  Hostport is the hostname, optionally followed by a colon and port number (the default port number is 210)."
11320 msgstr "このスキームは WAIS のデータベース、検索、文書を指定する (WAIS に関する詳しい情報は E<.UR http://www.ietf.org\\:/rfc\\:/rfc1625.txt> IETF RFC\\ 1625 E<.UE> を参照)。 hostport は、ホスト名にコロンとポート番号を付加したものである (コロン + ポート番号は省略可。デフォルトのポート番号は 210 である)。"
11321
11322 #. type: Plain text
11323 #: build/C/man7/uri.7:473
11324 msgid "The first form designates a WAIS database for searching.  The second form designates a particular search of the WAIS database I<database>.  The third form designates a particular document within a WAIS database to be retrieved.  I<wtype> is the WAIS designation of the type of the object and I<wpath> is the WAIS document-id."
11325 msgstr "最初の書式は WAIS のデータベースに対する検索の指定である。 二つめの書式は特定の WAIS データベース I<database> に対する検索の指定である。 三つめの書式は WAIS データベースにある特定の文書を取出す指定である。 I<wtype> は WAIS のオブジェクト形式指定であり、 I<wpath> は WAIS document-id である。"
11326
11327 #. type: Plain text
11328 #: build/C/man7/uri.7:475
11329 msgid "B<other schemes>"
11330 msgstr "B<その他のスキーム>"
11331
11332 #. type: Plain text
11333 #: build/C/man7/uri.7:489
11334 msgid "There are many other URI schemes.  Most tools that accept URIs support a set of internal URIs (e.g., Mozilla has the about: scheme for internal information, and the GNOME help browser has the toc: scheme for various starting locations).  There are many schemes that have been defined but are not as widely used at the current time (e.g., prospero).  The nntp: scheme is deprecated in favor of the news: scheme.  URNs are to be supported by the urn: scheme, with a hierarchical name space (e.g., urn:ietf:... would identify IETF documents); at this time URNs are not widely implemented.  Not all tools support all schemes."
11335 msgstr "他にも多くの URI スキームが存在する。 URI を受付けるほとんどのツールは、内部 URI のセットをサポートする (例えば Mozilla は内部情報用の about: というスキームを受付けるし、 GNOME ヘルプブラウザはいろいろな出発点用に toc: というスキームを持っている)。 定義されたスキームはたくさんあるが、現時点で広く用いられてはいない (例えば prospero とか)。 nntp: スキームは news: スキームが好んで用いられるようになったので 使わないほうが良い。 URN は urn: スキームによって、階層的な名前空間 (例えば urn:ietf:... は IETF 文書を示す)  としてサポートされるべきであるが、現時点では URN はあまり用いられていない。 全てのツールが全てのスキームをサポートしているわけではない。"
11336
11337 #. type: SS
11338 #: build/C/man7/uri.7:489
11339 #, no-wrap
11340 msgid "Character encoding"
11341 msgstr "文字エンコード"
11342
11343 #. type: Plain text
11344 #: build/C/man7/uri.7:493
11345 msgid "URIs use a limited number of characters so that they can be typed in and used in a variety of situations."
11346 msgstr "URI では、色々な状況下で入力できるように、文字の種類を制限している。"
11347
11348 #. type: Plain text
11349 #: build/C/man7/uri.7:497
11350 msgid "The following characters are reserved, that is, they may appear in a URI but their use is limited to their reserved purpose (conflicting data must be escaped before forming the URI):"
11351 msgstr "以下の文字は予約されている。すなわち、これらの文字は URI に登場することがあるが、それらの利用法 (解釈のされ方) は 予約された目的に制限されている (衝突するデータは URI にする前にエスケープしなければならない)。"
11352
11353 #. type: Plain text
11354 #: build/C/man7/uri.7:499
11355 #, no-wrap
11356 msgid "   ; / ? : @ & = + $ ,\n"
11357 msgstr "   ; / ? : @ & = + $ ,\n"
11358
11359 #. type: Plain text
11360 #: build/C/man7/uri.7:505
11361 msgid "Unreserved characters may be included in a URI.  Unreserved characters include uppercase and lowercase English letters, decimal digits, and the following limited set of punctuation marks and symbols:"
11362 msgstr "未予約文字 (unreserved character) は URI に使ってよい。 これには英字の大文字と小文字、10 進の数字、および 以下の句読文字、記号が含まれる"
11363
11364 #. type: Plain text
11365 #: build/C/man7/uri.7:507
11366 #, no-wrap
11367 msgid " - _ . ! ~ * ' ( )\n"
11368 msgstr " - _ . ! ~ * ' ( )\n"
11369
11370 #. type: Plain text
11371 #: build/C/man7/uri.7:522
11372 msgid "All other characters must be escaped.  An escaped octet is encoded as a character triplet, consisting of the percent character \"%\" followed by the two hexadecimal digits representing the octet code (you can use uppercase or lowercase letters for the hexadecimal digits).  For example, a blank space must be escaped as \"%20\", a tab character as \"%09\", and the \"&\" as \"%26\".  Because the percent \"%\" character always has the reserved purpose of being the escape indicator, it must be escaped as \"%25\".  It is common practice to escape space characters as the plus symbol (+)  in query text; this practice isn't uniformly defined in the relevant RFCs (which recommend %20 instead) but any tool accepting URIs with query text should be prepared for them.  A URI is always shown in its \"escaped\" form."
11373 msgstr "他の文字はすべてエスケープしなければならない。 エスケープされたオクテットは 3 文字からなる: 先頭にパーセント文字 \"%\"、それに続けてオクテットコードを表す 2 文字の 16 進数字である (16 進数の英字は大文字小文字どちらでも良い)。 例えば空白文字は \"%20\" のようにエスケープしなければならず、 タブ文字は \"%09\"、 \"&\" は \"%26\" となる。 パーセント文字 \"%\" は常にエスケープを示す予約された目的に用いられるので、 \"%\" 自身を表すには \"%25\" とエスケープしなければならない。 クエリーのテキストでは、スペース文字をプラス記号 (+) でエスケープすることも 一般に良く行われる。この慣例は関連 RFC で実際に定義されているわけではない (代わりに %20 を推奨している) が、クエリーテキストを受付ける ツールは、この書式への対応を用意しておくべきであろう。 URI は、常に「エスケープされた」かたちで表示される。"
11374
11375 #. type: Plain text
11376 #: build/C/man7/uri.7:528
11377 msgid "Unreserved characters can be escaped without changing the semantics of the URI, but this should not be done unless the URI is being used in a context that does not allow the unescaped character to appear.  For example, \"%7e\" is sometimes used instead of \"~\" in an HTTP URL path, but the two are equivalent for an HTTP URL."
11378 msgstr "未予約文字もエスケープすることができ、これによって URI の意味するところが変わるわけではない。 しかしURI にその非エスケープ文字が現れることが許されないような 特殊な場合を除いて、これは避けるべきである。 例えば、 HTTP URL の path において \"%7e\" が \"~\" の代わりに用いられることがあるが、 この二つは HTTP URL としては等価である。"
11379
11380 #. type: Plain text
11381 #: build/C/man7/uri.7:532
11382 msgid "For URIs which must handle characters outside the US ASCII character set, the HTML 4.01 specification (section B.2) and IETF RFC\\ 2718 (section 2.2.5) recommend the following approach:"
11383 msgstr "US ASCII キャラクタセット以外の文字を URI として扱う場合、 HTML 4.1 規格 (section B.2) 及び IETF RFC\\ 2718 (section 2.2.5) は 以下の手法を用いるよう推奨している。"
11384
11385 #. type: Plain text
11386 #: build/C/man7/uri.7:536
11387 msgid "translate the character sequences into UTF-8 (IETF RFC\\ 2279)\\(emsee B<utf-8>(7)\\(emand then"
11388 msgstr "キャラクタ列を UTF-8 (IETF RFC\\ 2279, B<utf-8>(7)  参照) に変換し、"
11389
11390 #. type: Plain text
11391 #: build/C/man7/uri.7:539
11392 msgid "use the URI escaping mechanism, that is, use the %HH encoding for unsafe octets."
11393 msgstr "URI エスケープ機構を用いる。 つまり、安全でないオクテットを %HH でエンコードする。"
11394
11395 #. type: SS
11396 #: build/C/man7/uri.7:539
11397 #, no-wrap
11398 msgid "Writing a URI"
11399 msgstr "URI を書くには"
11400
11401 #. type: Plain text
11402 #: build/C/man7/uri.7:562
11403 msgid "When written, URIs should be placed inside double quotes (e.g., \"http://www.kernelnotes.org\"), enclosed in angle brackets (e.g., E<lt>http://lwn.netE<gt>), or placed on a line by themselves.  A warning for those who use double-quotes: B<never> move extraneous punctuation (such as the period ending a sentence or the comma in a list)  inside a URI, since this will change the value of the URI.  Instead, use angle brackets instead, or switch to a quoting system that never includes extraneous characters inside quotation marks.  This latter system, called the 'new' or 'logical' quoting system by \"Hart's Rules\" and the \"Oxford Dictionary for Writers and Editors\", is preferred practice in Great Britain and hackers worldwide (see the Jargon File's section on Hacker Writing Style, E<.UR http://www.fwi.uva.nl\\:/~mes\\:/jargon\\:/h\\:/HackerWritingStyle.html> E<.UE ,> for more information).  Older documents suggested inserting the prefix \"URL:\" just before the URI, but this form has never caught on."
11404 msgstr "URI を書く時には、ダブルクォートの内部に書く (例: \"http://www.kernelnotes.org\") か、 angle ブラケットで囲む (例: E<lt>http://lwn.netE<gt>) か、 一行に URI だけを書くかする。 ダブルクォートを使う人に警告: B<絶対に>句読点 (文末のピリオドやリスト区切りのコンマ) を URI の内部に移動してはならない。 代わりに angle ブラケットを使うか、 外にある文字をクォーテーションマークの内部に 決して含めないような引用方式に切替えること。 後者の方式は \"Hart's Rules\" や \"Oxford Dictionary for Writers and Editors\" によれば 「新しい (new) 引用方式」あるいは「論理的 (logical) な引用方式」 と呼ばれており、 イギリス人や世界中のハッカー達はこちらの慣習を好んでいる (より詳しい情報は Hacker Writing Style の Jargon File のセクション E<.UR http://www.fwi.uva.nl\\:/~mes\\:/jargon\\:/h\\:/HackerWritingStyle.html> E<.UE> を見よ)。 古い文書では、 \"URL:\" という文字列を URI の直前に挿入することを 勧めているものもあるが、しかしこの形式はまったく流行しなかった。"
11405
11406 #. type: Plain text
11407 #: build/C/man7/uri.7:584
11408 msgid "The URI syntax was designed to be unambiguous.  However, as URIs have become commonplace, traditional media (television, radio, newspapers, billboards, etc.) have increasingly used abbreviated URI references consisting of only the authority and path portions of the identified resource (e.g., E<lt>www.w3.org/AddressingE<gt>).  Such references are primarily intended for human interpretation rather than machine, with the assumption that context-based heuristics are sufficient to complete the URI (e.g., hostnames beginning with \"www\" are likely to have a URI prefix of \"http://\" and hostnames beginning with \"ftp\" likely to have a prefix of \"ftp://\").  Many client implementations heuristically resolve these references.  Such heuristics may change over time, particularly when new schemes are introduced.  Since an abbreviated URI has the same syntax as a relative URL path, abbreviated URI references cannot be used where relative URIs are permitted, and can be used only when there is no defined base (such as in dialog boxes).  Don't use abbreviated URIs as hypertext links inside a document; use the standard format as described here."
11409 msgstr "URI の書式は曖昧さを排除するように設計されている。 しかし URI が広まるにつれ、昔ながらのメディア (TV、ラジオ、新聞、 看板などなど) は URI 参照を省略したかたち、すなわち 機関部とパス部だけでリソースを指定することが多くなっている (例: E<lt>www.w3.org/AddressingE<gt>)。 このような参照はマシンというよりは人間向けのもので、 コンテキストベースの推測によって URI の補完が可能であることを あてにしているのである (例えば \"www\" ではじまるホスト名なら \"http://\" がつくだろうし、 \"ftp\" ではじまるホスト名なら \"ftp://\" がつくだろう)。 多くのクライアントの実装では、この種の参照を推測によって解決する。 このような推測は時代とともに変わりうる。 特に新しいスキームが導入されるとそうである。 URI の省略形では相対 URL パスの区別が付けられないので、 省略形 URI 参照は相対 URI の利用できるところでは使えない。 つまり定義済みのベース (ダイアログボックスなど)  がない場合に限って利用できる。 文書内部でのハイパーテキストリンクには省略形 URI を使ってはならない。 上述の標準フォーマットを使うこと。"
11410
11411 #. type: Plain text
11412 #: build/C/man7/uri.7:592
11413 msgid "E<.UR http://www.ietf.org\\:/rfc\\:/rfc2396.txt> (IETF RFC\\ 2396)  E<.UE ,> E<.UR http://www.w3.org\\:/TR\\:/REC-html40> (HTML 4.0)  E<.UE .>"
11414 msgstr "E<.UR http://www.ietf.org\\:/rfc\\:/rfc2396.txt> (IETF RFC\\ 2396)  E<.UE ,> E<.UR http://www.w3.org\\:/TR\\:/REC-html40> (HTML 4.0)  E<.UE .>"
11415
11416 #. type: Plain text
11417 #: build/C/man7/uri.7:598
11418 msgid "Any tool accepting URIs (e.g., a web browser) on a Linux system should be able to handle (directly or indirectly) all of the schemes described here, including the man: and info: schemes.  Handling them by invoking some other program is fine and in fact encouraged."
11419 msgstr "Linux システムで URI を受付けるツール (例えば web ブラウザなど) は、 上にあげた全てのスキームを (直接または間接に) 扱えるべきである。 man: や info: も含めて、である。 スキームの処理に他のプログラムを実行するのは良いことだし、 実はすすんでそうすべきである。"
11420
11421 #. type: Plain text
11422 #: build/C/man7/uri.7:600
11423 msgid "Technically the fragment isn't part of the URI."
11424 msgstr "技術的には、フラグメントは URI の一部ではない。"
11425
11426 #. type: Plain text
11427 #: build/C/man7/uri.7:609
11428 msgid "For information on how to embed URIs (including URLs) in a data format, see documentation on that format.  HTML uses the format E<lt>A HREF=\"I<uri>\"E<gt> I<text> E<lt>/AE<gt>.  Texinfo files use the format @uref{I<uri>}.  Man and mdoc have the recently added UR macro, or just include the URI in the text (viewers should be able to detect :// as part of a URI)."
11429 msgstr "URI (URL も含む) をデータフォーマットに埋めこむ方法に関する情報は、 そのフォーマットのドキュメントを見よ。 HTML は E<lt>A HREF=\"I<uri>\"E<gt>I<text>E<lt>/AE<gt> を用いる。 texinfo は @uref{I<uri>} という書式を用いる。 man と mdoc は、最近追加された UR マクロを使う。 あるいは URI をそのままテキストに埋めこむ (ビューアが :// を URI の一部と解釈できなければならない)。"
11430
11431 #. type: Plain text
11432 #: build/C/man7/uri.7:630
11433 msgid "The GNOME and KDE desktop environments currently vary in the URIs they accept, in particular in their respective help browsers.  To list man pages, GNOME uses E<lt>toc:manE<gt> while KDE uses E<lt>man:(index)E<gt>, and to list info pages, GNOME uses E<lt>toc:infoE<gt> while KDE uses E<lt>info:(dir)E<gt> (the author of this man page prefers the KDE approach here, though a more regular format would be even better).  In general, KDE uses E<lt>file:/cgi-bin/E<gt> as a prefix to a set of generated files.  KDE prefers documentation in HTML, accessed via the E<lt>file:/cgi-bin/helpindexE<gt>.  GNOME prefers the ghelp scheme to store and find documentation.  Neither browser handles file: references to directories at the time of this writing, making it difficult to refer to an entire directory with a browsable URI.  As noted above, these environments differ in how they handle the info: scheme, probably the most important variation.  It is expected that GNOME and KDE will converge to common URI formats, and a future version of this man page will describe the converged result.  Efforts to aid this convergence are encouraged."
11434 msgstr "デスクトップ環境である GNOME と KDE は、 それぞれ受付ける URI が (特にそれぞれのヘルプブラウザにおいて)  異なっている。 man ページをリストするには、 GNOME では E<lt>toc:manE<gt> を用い、 KDE では E<lt>man:(index)E<gt> を用いる。 また info ページをリストするには、 GNOME では E<lt>toc:infoE<gt> を用い、 KDE では E<lt>info:(dir)E<gt> を用いる (本 man ページの著者は KDE のアプローチのほうが好みである。 しかしより標準的な書式の方が更に良いが)。 一般に KDE は生成ファイル (generated file) のプレフィックスとして E<lt>file:/cgi-bin/E<gt> を用いる。 KDE は HTML の文書を E<lt>file:/cgi-bin/helpindexE<gt> 経由でアクセスするのが好みなようである。 GNOME は文書の保管・検索に ghelp スキームを用いる方法を取っているようだ。 どちらのブラウザも、現時点では file: によるディレクトリ参照を扱えない。 したがってディレクトリ全体をブラウズ可能な URI で参照することが難しい。 先に述べたように、これら二つの環境では info: スキームの 扱いが異なっている (おそらく最も重要な差異であろう)。 GNOME と KDE が共通 URI フォーマットに収斂することが望ましい。 この man ページが、将来はその収斂した結果を記述できることを望む。 この作業への助力を喚起したい。"
11435
11436 #. type: SS
11437 #: build/C/man7/uri.7:630
11438 #, no-wrap
11439 msgid "Security"
11440 msgstr "セキュリティ"
11441
11442 #. type: Plain text
11443 #: build/C/man7/uri.7:640
11444 msgid "A URI does not in itself pose a security threat.  There is no general guarantee that a URL, which at one time located a given resource, will continue to do so.  Nor is there any guarantee that a URL will not locate a different resource at some later point in time; such a guarantee can be obtained only from the person(s) controlling that namespace and the resource in question."
11445 msgstr "URI そのものはセキュリティの脅威を引き起こすものではない。 ある時点ではリソースの場所を与えていた URL が、 ずっとそうでありつづけるという保証は一般にはない。 またある URL が、将来には別のリソースを示さないとも限らない。 このような保証は、その名前空間とリソースとを管理している個人に 帰するものに過ぎない。"
11446
11447 #. type: Plain text
11448 #: build/C/man7/uri.7:655
11449 msgid "It is sometimes possible to construct a URL such that an attempt to perform a seemingly harmless operation, such as the retrieval of an entity associated with the resource, will in fact cause a possibly damaging remote operation to occur.  The unsafe URL is typically constructed by specifying a port number other than that reserved for the network protocol in question.  The client unwittingly contacts a site that is in fact running a different protocol.  The content of the URL contains instructions that, when interpreted according to this other protocol, cause an unexpected operation.  An example has been the use of a gopher URL to cause an unintended or impersonating message to be sent via a SMTP server."
11450 msgstr "無害に見える操作 (リソースに関連づけられたエンティティの取得など)  によって、実際にはリモートにダメージを与える動作を引き起こすような URL を記述することも場合によっては可能である。 危険な URL の典型的なものは、そのネットワークプロトコルに 予約されているポート番号とは異なるポートを指定しているものである。 URL の内容には命令が含まれていて、 そのプロトコルにしたがって解釈されたとき、 予期されない動作を引起こすのである。 例をあげると、 gopher の URL によって、意図しないメッセージや なりすましメッセージなどが SMTP サーバ経由で送信されるようなことがあった。"
11451
11452 #. type: Plain text
11453 #: build/C/man7/uri.7:659
11454 msgid "Caution should be used when using any URL that specifies a port number other than the default for the protocol, especially when it is a number within the reserved space."
11455 msgstr "そのプロトコルのデフォルト以外のポート番号を指定している URL を用いるときには注意すべきである。 特にその番号が予約空間の内部にある場合には。"
11456
11457 #. type: Plain text
11458 #: build/C/man7/uri.7:667
11459 msgid "Care should be taken when a URI contains escaped delimiters for a given protocol (for example, CR and LF characters for telnet protocols) that these are not unescaped before transmission.  This might violate the protocol, but avoids the potential for such characters to be used to simulate an extra operation or parameter in that protocol, which might lead to an unexpected and possibly harmful remote operation to be performed."
11460 msgstr "URI に、そのプロトコルに対するデリミタがエスケープされたかたちで入っている 場合も注意が必要である (例えば telnet プロトコルに対する CR 文字や LF 文字など)。 なぜならこれらは転送前にエスケープが外されないからである。 これはプロトコルに反しており、予期しない、おそらくは害になるような リモート動作を引起こす結果となりかねない。"
11461
11462 #. type: Plain text
11463 #: build/C/man7/uri.7:673
11464 msgid "It is clearly unwise to use a URI that contains a password which is intended to be secret.  In particular, the use of a password within the \"userinfo\" component of a URI is strongly recommended against except in those rare cases where the \"password\" parameter is intended to be public."
11465 msgstr "秘密にしておくべきパスワードを含んだ URI を使うのが 賢くないのは明らかである。特に、パスワードを URI の \"userinfo\" の部分に使うのは絶対に避けるべきである。 ただしその \"password\" のパラメーターを意図的に公開したい場合は別であるが。"
11466
11467 #. type: Plain text
11468 #: build/C/man7/uri.7:695
11469 msgid "Documentation may be placed in a variety of locations, so there currently isn't a good URI scheme for general online documentation in arbitrary formats.  References of the form E<lt>file:///usr/doc/ZZZE<gt> don't work because different distributions and local installation requirements may place the files in different directories (it may be in /usr/doc, or /usr/local/doc, or /usr/share, or somewhere else).  Also, the directory ZZZ usually changes when a version changes (though filename globbing could partially overcome this).  Finally, using the file: scheme doesn't easily support people who dynamically load documentation from the Internet (instead of loading the files onto a local filesystem).  A future URI scheme may be added (e.g., \"userdoc:\") to permit programs to include cross-references to more detailed documentation without having to know the exact location of that documentation.  Alternatively, a future version of the filesystem specification may specify file locations sufficiently so that the file: scheme will be able to locate documentation."
11470 msgstr "文書は様々な場所に置かれうる。したがって現時点では、 任意のフォーマットで書かれた一般のオンライン文書に対する良い URI スキームが 存在しない。 E<lt>file:///usr/doc/ZZZE<gt> 形式の参照は使えない。なぜなら ディストリビューションやローカルへのインストールの際の条件によって、 ファイルは異なるディレクトリに置かれることがあるからである (/usr/doc か /usr/local/doc か /usr/share かその他の場所か、などなど)。 また、ディレクトリ ZZZ は通常バージョンが変わると異なったものになる (ファイル名のグロブによってある程度克服できるだろうが)。 最後にもう一つ、文書をインターネットから (ローカルのファイルシステムに ファイルをロードするのではなく) 動的にロードする人々は、 なかなか file: スキームを使ってくれない。 将来には新たな URI スキーム (例えば \"userdoc:\" のような) が追加され、 より詳しい文書へのクロスリファレンスが、 その文書の正確な場所をプログラムが知らなくても可能になるかもしれない。 あるいは、ファイルシステム規格の将来の版で ファイルの場所の指定をより厳密にして、 file: スキームによる文書の位置指定が可能になるかもしれない。"
11471
11472 #. type: Plain text
11473 #: build/C/man7/uri.7:698
11474 msgid "Many programs and file formats don't include a way to incorporate or implement links using URIs."
11475 msgstr "プログラムやファイルフォーマットの多くでは、 URI を使ったリンクを取り込んだり実装したりする方法がない。"
11476
11477 #.  .SH AUTHOR
11478 #.  David A. Wheeler (dwheeler@dwheeler.com) wrote this man page.
11479 #. type: Plain text
11480 #: build/C/man7/uri.7:706
11481 msgid "Many programs can't handle all of these different URI formats; there should be a standard mechanism to load an arbitrary URI that automatically detects the users' environment (e.g., text or graphics, desktop environment, local user preferences, and currently executing tools) and invokes the right tool for any URI."
11482 msgstr "プログラムの多くは、これらの URI フォーマットをすべては扱えない。 ユーザーの環境 (テキストかグラフィックか、 デスクトップ環境、ローカルユーザーの好み、 現在実行されているツール) などを自動的に検知して、 任意の URI をロードし、その URI に適したツールを起動するような 標準的な仕組みがあるといいのだろうが。"
11483
11484 #. type: Plain text
11485 #: build/C/man7/uri.7:711
11486 msgid "B<lynx>(1), B<man2html>(1), B<mailaddr>(7), B<utf-8>(7)"
11487 msgstr "B<lynx>(1), B<man2html>(1), B<mailaddr>(7), B<utf-8>(7)"
11488
11489 #. type: Plain text
11490 #: build/C/man7/uri.7:715
11491 msgid "E<.UR http://www.ietf.org\\:/rfc\\:/rfc2255.txt> IETF RFC\\ 2255 E<.UE>"
11492 msgstr "E<.UR http://www.ietf.org\\:/rfc\\:/rfc2255.txt> IETF RFC\\ 2255 E<.UE>"
11493
11494 #. type: TH
11495 #: build/C/man4/vcs.4:29
11496 #, no-wrap
11497 msgid "VCS"
11498 msgstr "VCS"
11499
11500 #. type: TH
11501 #: build/C/man4/vcs.4:29
11502 #, no-wrap
11503 msgid "2007-12-17"
11504 msgstr "2007-12-17"
11505
11506 #. type: Plain text
11507 #: build/C/man4/vcs.4:32
11508 msgid "vcs, vcsa - virtual console memory"
11509 msgstr "vcs, vcsa - 仮想コンソールメモリ (virtual console memory)"
11510
11511 #. type: Plain text
11512 #: build/C/man4/vcs.4:38
11513 msgid "I</dev/vcs0> is a character device with major number 7 and minor number 0, usually of mode 0644 and owner root.tty.  It refers to the memory of the currently displayed virtual console terminal."
11514 msgstr "I</dev/vcs0> はメジャーナンバー (major number) 7、マイナーナンバー (minor number) 0 のキャラクターデバイス (character device) で、 通常、そのモードは 0644、オーナは root.tty である。 このデバイスファイル (device file) は 現在表示されている仮想コンソール端末のメモリを参照する。"
11515
11516 #. type: Plain text
11517 #: build/C/man4/vcs.4:58
11518 msgid "I</dev/vcs[1-63]> are character devices for virtual console terminals, they have major number 7 and minor number 1 to 63, usually mode 0644 and owner root.tty.  I</dev/vcsa[0-63]> are the same, but using I<unsigned short>s (in host byte order) that include attributes, and prefixed with four bytes giving the screen dimensions and cursor position: I<lines>, I<columns>, I<x>, I<y>.  (I<x> = I<y> = 0 at the top left corner of the screen.)"
11519 msgstr "B</dev/vcs[1-63]> は仮想コンソール端末のための キャラクターデバイスで、メジャーナンバーが 7、マイナーナンバーが 1 から 63、 通常はモードが 0644、オーナーが root.tty である。 B</dev/vcsa[0-63]> は B</dev/vcs[1-63]> と同様であるが、 属性を格納するのに (ホストバイトオーダの)  I<unsigned short> を使用している点、スクリーンのサイズ・カーソルの位置を表す 4 バイトの情報 I<lines>, I<columns>, I<x>, I<y> (I<x> =I<y> = 0 が画面の左上) が先頭にある点が異なる。"
11520
11521 #. type: Plain text
11522 #: build/C/man4/vcs.4:72
11523 msgid "When a 512-character font is loaded, the 9th bit position can be fetched by applying the B<ioctl>(2)  B<VT_GETHIFONTMASK> operation (available in Linux kernels 2.6.18 and above)  on I</dev/tty[1-63]>; the value is returned in the I<unsigned short> pointed to by the third B<ioctl>(2)  argument."
11524 msgstr "512 文字から成るフォントをロードした場合、 9 ビット目の情報は I</dev/tty[1-63]> に対して B<ioctl>(2)  B<VT_GETHIFONTMASK> 操作を行うことで取得できる (B<VT_GETHIFONTMASK> 操作はカーネル 2.6.18 以降の Linux で 利用可能である)。 値は B<ioctl>(2)  の 3 番目の引き数が指す I<unsigned short> に格納されて返される。"
11525
11526 #. type: Plain text
11527 #: build/C/man4/vcs.4:79
11528 msgid "These devices replace the screendump B<ioctl>(2)  operations of B<console>(4), so the system administrator can control access using filesystem permissions."
11529 msgstr "これらのデバイスは B<console>(4)  の screendump B<ioctl>(2)  を代替となる。 従って、システム管理者はファイルシステムパーミッション (filesystem permission) を使ってアクセスをコントロールできる。"
11530
11531 #. type: Plain text
11532 #: build/C/man4/vcs.4:81
11533 msgid "The devices for the first eight virtual consoles may be created by:"
11534 msgstr "最初の 8 つの仮想端末のためのデバイスは、次のようにして作る事ができる:"
11535
11536 #. type: Plain text
11537 #: build/C/man4/vcs.4:88
11538 #, no-wrap
11539 msgid ""
11540 "    for x in 0 1 2 3 4 5 6 7 8; do\n"
11541 "        mknod -m 644 /dev/vcs$x c 7 $x;\n"
11542 "        mknod -m 644 /dev/vcsa$x c 7 $[$x+128];\n"
11543 "    done\n"
11544 "    chown root:tty /dev/vcs*\n"
11545 msgstr ""
11546 "    for x in 0 1 2 3 4 5 6 7 8; do\n"
11547 "        mknod -m 644 /dev/vcs$x c 7 $x;\n"
11548 "        mknod -m 644 /dev/vcsa$x c 7 $[$x+128];\n"
11549 "    done\n"
11550 "    chown root:tty /dev/vcs*\n"
11551
11552 #. type: Plain text
11553 #: build/C/man4/vcs.4:93
11554 msgid "No B<ioctl>(2)  requests are supported."
11555 msgstr "B<ioctl>(2)  による要求はサポートされない。"
11556
11557 #. type: Plain text
11558 #: build/C/man4/vcs.4:95
11559 msgid "/dev/vcs[0-63]"
11560 msgstr "/dev/vcs[0-63]"
11561
11562 #.  .SH AUTHOR
11563 #.  Andries Brouwer <aeb@cwi.nl>
11564 #. type: Plain text
11565 #: build/C/man4/vcs.4:99
11566 msgid "/dev/vcsa[0-63]"
11567 msgstr "/dev/vcsa[0-63]"
11568
11569 #. type: Plain text
11570 #: build/C/man4/vcs.4:101
11571 msgid "Introduced with version 1.1.92 of the Linux kernel."
11572 msgstr "Linux カーネルバージョン 1.1.92 で導入された。"
11573
11574 #. type: Plain text
11575 #: build/C/man4/vcs.4:103
11576 msgid "You may do a screendump on vt3 by switching to vt1 and typing"
11577 msgstr "vt1 に移って以下を実行すると、vt3 のスクリーンダンプを取ることができます。"
11578
11579 #. type: Plain text
11580 #: build/C/man4/vcs.4:105
11581 #, no-wrap
11582 msgid "    cat /dev/vcs3 E<gt>foo\n"
11583 msgstr "    cat /dev/vcs3 E<gt>foo\n"
11584
11585 #. type: Plain text
11586 #: build/C/man4/vcs.4:109
11587 msgid "Note that the output does not contain newline characters, so some processing may be required, like in"
11588 msgstr "主力には改行文字が含まれない点に注意して下さい。 そのため、 何らかの処理が必要となるかもしれません。 例えば、"
11589
11590 #. type: Plain text
11591 #: build/C/man4/vcs.4:111
11592 #, no-wrap
11593 msgid "    old -w 81 /dev/vcs3 | lpr\n"
11594 msgstr "    old -w 81 /dev/vcs3 | lpr\n"
11595
11596 #. type: Plain text
11597 #: build/C/man4/vcs.4:113
11598 msgid "or (horrors)"
11599 msgstr "(ひどい方法としては)"
11600
11601 #. type: Plain text
11602 #: build/C/man4/vcs.4:115
11603 #, no-wrap
11604 msgid "    xetterm -dump 3 -file /proc/self/fd/1\n"
11605 msgstr "    xetterm -dump 3 -file /proc/self/fd/1\n"
11606
11607 #. type: Plain text
11608 #: build/C/man4/vcs.4:120
11609 msgid "The I</dev/vcsa0> device is used for Braille support."
11610 msgstr "I</dev/vcsa0> デバイスを使うことで、 ブライユ点字をサポートすることができる。"
11611
11612 #. type: Plain text
11613 #: build/C/man4/vcs.4:124
11614 msgid "This program displays the character and screen attributes under the cursor of the second virtual console, then changes the background color there:"
11615 msgstr "以下のプログラムは、 二つ目の仮想コンソールのカーソル位置のスクリーン属性と文字を表示した後、 カーソル位置の背景色を変更する。"
11616
11617 #. type: Plain text
11618 #: build/C/man4/vcs.4:132
11619 #, no-wrap
11620 msgid ""
11621 "#include E<lt>unistd.hE<gt>\n"
11622 "#include E<lt>stdlib.hE<gt>\n"
11623 "#include E<lt>stdio.hE<gt>\n"
11624 "#include E<lt>fcntl.hE<gt>\n"
11625 "#include E<lt>sys/ioctl.hE<gt>\n"
11626 "#include E<lt>linux/vt.hE<gt>\n"
11627 msgstr ""
11628 "#include E<lt>unistd.hE<gt>\n"
11629 "#include E<lt>stdlib.hE<gt>\n"
11630 "#include E<lt>stdio.hE<gt>\n"
11631 "#include E<lt>fcntl.hE<gt>\n"
11632 "#include E<lt>sys/ioctl.hE<gt>\n"
11633 "#include E<lt>linux/vt.hE<gt>\n"
11634
11635 #. type: Plain text
11636 #: build/C/man4/vcs.4:143
11637 #, no-wrap
11638 msgid ""
11639 "int\n"
11640 "main(void)\n"
11641 "{\n"
11642 "    int fd;\n"
11643 "    char *device = \"/dev/vcsa2\";\n"
11644 "    char *console = \"/dev/tty2\";\n"
11645 "    struct {unsigned char lines, cols, x, y;} scrn;\n"
11646 "    unsigned short s;\n"
11647 "    unsigned short mask;\n"
11648 "    unsigned char ch, attrib;\n"
11649 msgstr ""
11650 "int\n"
11651 "main(void)\n"
11652 "{\n"
11653 "    int fd;\n"
11654 "    char *device = \"/dev/vcsa2\";\n"
11655 "    char *console = \"/dev/tty2\";\n"
11656 "    struct {unsigned char lines, cols, x, y;} scrn;\n"
11657 "    unsigned short s;\n"
11658 "    unsigned short mask;\n"
11659 "    unsigned char ch, attrib;\n"
11660
11661 #. type: Plain text
11662 #: build/C/man4/vcs.4:172
11663 #, no-wrap
11664 msgid ""
11665 "    fd = open(console, O_RDWR);\n"
11666 "    if (fd E<lt> 0) {\n"
11667 "        perror(console);\n"
11668 "        exit(EXIT_FAILURE);\n"
11669 "    }\n"
11670 "    if (ioctl(fd, VT_GETHIFONTMASK, &mask) E<lt> 0) {\n"
11671 "        perror(\"VT_GETHIFONTMASK\");\n"
11672 "        exit(EXIT_FAILURE);\n"
11673 "    }\n"
11674 "    (void) close(fd);\n"
11675 "    fd = open(device, O_RDWR);\n"
11676 "    if (fd E<lt> 0) {\n"
11677 "        perror(device);\n"
11678 "        exit(EXIT_FAILURE);\n"
11679 "    }\n"
11680 "    (void) read(fd, &scrn, 4);\n"
11681 "    (void) lseek(fd, 4 + 2*(scrn.y*scrn.cols + scrn.x), 0);\n"
11682 "    (void) read(fd, &s, 2);\n"
11683 "    ch = s & 0xff;\n"
11684 "    if (attrib & mask)\n"
11685 "        ch |= 0x100;\n"
11686 "    attrib = ((s & ~mask) E<gt>E<gt> 8);\n"
11687 "    printf(\"ch=\\(aq%c\\(aq attrib=0x%02x\\en\", ch, attrib);\n"
11688 "    attrib ^= 0x10;\n"
11689 "    (void) lseek(fd, -1, 1);\n"
11690 "    (void) write(fd, &attrib, 1);\n"
11691 "    exit(EXIT_SUCCESS);\n"
11692 "}\n"
11693 msgstr ""
11694 "    fd = open(console, O_RDWR);\n"
11695 "    if (fd E<lt> 0) {\n"
11696 "        perror(console);\n"
11697 "        exit(EXIT_FAILURE);\n"
11698 "    }\n"
11699 "    if (ioctl(fd, VT_GETHIFONTMASK, &mask) E<lt> 0) {\n"
11700 "        perror(\"VT_GETHIFONTMASK\");\n"
11701 "        exit(EXIT_FAILURE);\n"
11702 "    }\n"
11703 "    (void) close(fd);\n"
11704 "    fd = open(device, O_RDWR);\n"
11705 "    if (fd E<lt> 0) {\n"
11706 "        perror(device);\n"
11707 "        exit(EXIT_FAILURE);\n"
11708 "    }\n"
11709 "    (void) read(fd, &scrn, 4);\n"
11710 "    (void) lseek(fd, 4 + 2*(scrn.y*scrn.cols + scrn.x), 0);\n"
11711 "    (void) read(fd, &s, 2);\n"
11712 "    ch = s & 0xff;\n"
11713 "    if (attrib & mask)\n"
11714 "        ch |= 0x100;\n"
11715 "    attrib = ((s & ~mask) E<gt>E<gt> 8);\n"
11716 "    printf(\"ch=\\(aq%c\\(aq attrib=0x%02x\\en\", ch, attrib);\n"
11717 "    attrib ^= 0x10;\n"
11718 "    (void) lseek(fd, -1, 1);\n"
11719 "    (void) write(fd, &attrib, 1);\n"
11720 "    exit(EXIT_SUCCESS);\n"
11721 "}\n"
11722
11723 #. type: Plain text
11724 #: build/C/man4/vcs.4:178
11725 msgid "B<console>(4), B<tty>(4), B<ttyS>(4), B<gpm>(8)"
11726 msgstr "B<console>(4), B<tty>(4), B<ttyS>(4), B<gpm>(8)"
11727
11728 #. type: TH
11729 #: build/C/man4/wavelan.4:15
11730 #, no-wrap
11731 msgid "WAVELAN"
11732 msgstr "WAVELAN"
11733
11734 #. type: TH
11735 #: build/C/man4/wavelan.4:15
11736 #, no-wrap
11737 msgid "2013-09-04"
11738 msgstr "2013-09-04"
11739
11740 #. type: Plain text
11741 #: build/C/man4/wavelan.4:18
11742 msgid "wavelan - AT&T GIS WaveLAN ISA device driver"
11743 msgstr "wavelan - AT&T GIS WaveLAN ISA デバイスドライバ"
11744
11745 #. type: Plain text
11746 #: build/C/man4/wavelan.4:20
11747 msgid "B<insmod wavelan_cs.o [io=>I<B,B..>B<] [ irq=>I<I,I..>B<] [name=>I<N,N..>B<]>"
11748 msgstr "B<insmod wavelan_cs.o [io=>I<B,B..>B<] [ irq=>I<I,I..>B<] [name=>I<N,N..>B<]>"
11749
11750 #. type: Plain text
11751 #: build/C/man4/wavelan.4:23
11752 msgid "I<This driver is obsolete:> it was removed from the kernel in version 2.6.35."
11753 msgstr "B<このドライバーは時代遅れである>: このドライバーはカーネル 2.6.35 で削除された。"
11754
11755 #. type: Plain text
11756 #: build/C/man4/wavelan.4:39
11757 msgid "I<wavelan> is the low-level device driver for the NCR / AT&T / Lucent B<WaveLAN ISA> and Digital (DEC)  B<RoamAbout DS> wireless ethernet adapter.  This driver is available as a module or might be compiled in the kernel.  This driver supports multiple cards in both forms (up to 4) and allocates the next available ethernet device (eth0..eth#) for each card found, unless a device name is explicitly specified (see below).  This device name will be reported in the kernel log file with the MAC address, NWID and frequency used by the card."
11758 msgstr "I<wavelan> は、NCR / AT&T / Lucent の B<WaveLan ISA> と Digital(DEC) の B<RoamAbout DS> というワイアレスイーサネット (wireless ethernet) アダプタのための ローレベルデバイスドライバである。このドライバはモジュールとしても、また、 カーネルに組み込んだ形でも利用できる。また、どちらの場合でも、複数カード (最大 4 枚まで) をサポートし、明示的にデバイスの名前を指定しない限り (これに関しては、下を見よ)、発見されたそれぞれのカードには、利用可能な 次のイーサネットデバイス(eth0..eth#)が割り当てられる。このデバイス名は MAC アドレス、NWID、カードによって利用される周波数とともに カーネルログファイルに報告される。"
11759
11760 #. type: Plain text
11761 #: build/C/man4/wavelan.4:46
11762 msgid "This section apply to the module form (parameters passed on the B<insmod>(8)  command line).  If the driver is included in the kernel, use the I<ether=IRQ,IO,NAME> syntax on the kernel command line."
11763 msgstr "このセクションのパラメーターは、モジュールとして使用する場合 に適用され、 B<insmod>(8)  のコマンドライン引き数として用いる。 カーネルにドライバが含まれている場合は、 I<ether=IRQ,IO,NAME> という形式のパラメーターをカーネルコマンドラインに渡す。"
11764
11765 #. type: TP
11766 #: build/C/man4/wavelan.4:46
11767 #, no-wrap
11768 msgid "B<io>"
11769 msgstr "B<io>"
11770
11771 #. type: Plain text
11772 #: build/C/man4/wavelan.4:53
11773 msgid "Specify the list of base address where to search for wavelan cards (setting by dip switch on the card).  If you don't specify any io address, the driver will scan 0x390 and 0x3E0 addresses, which might conflict with other hardware..."
11774 msgstr "wavelan カードを検出する時にどこのベースアドレスをサーチするかという リストを指定する (カードが利用するベースアドレスはカードのディップ スイッチで設定する)。もし io アドレスが指定されなければドライバは 0x390 と 0x3E0 をスキャンする(このアドレスは他のハードと衝突することも考えられる)。"
11775
11776 #. type: TP
11777 #: build/C/man4/wavelan.4:53
11778 #, no-wrap
11779 msgid "B<irq>"
11780 msgstr "B<irq>"
11781
11782 #. type: Plain text
11783 #: build/C/man4/wavelan.4:57
11784 msgid "Set the list of irq that each wavelan card should use (the value is saved in permanent storage for future use)."
11785 msgstr "それぞれの wavelan カードが利用する irq のリストをセットする (この値は 将来的な利用のために永続的ストレージに保存される)。"
11786
11787 #. type: TP
11788 #: build/C/man4/wavelan.4:57
11789 #, no-wrap
11790 msgid "B<name>"
11791 msgstr "B<name>"
11792
11793 #. type: Plain text
11794 #: build/C/man4/wavelan.4:62
11795 msgid "Set the list of name to be used for each wavelan cards device (name used by B<ifconfig>(8))."
11796 msgstr "それぞれの wavelan カードデバイスに (B<ifconfig>(8)  が利用する)名前のリストをセットする。"
11797
11798 #. type: SS
11799 #: build/C/man4/wavelan.4:62
11800 #, no-wrap
11801 msgid "Wireless extensions"
11802 msgstr "ワイアレス拡張 (Wireless Extentions)"
11803
11804 #. type: Plain text
11805 #: build/C/man4/wavelan.4:66
11806 msgid "Use B<iwconfig>(8)  to manipulate wireless extensions."
11807 msgstr "ワイアレス拡張の操作には B<iwconfig>(8)  を使う。"
11808
11809 #. type: SS
11810 #: build/C/man4/wavelan.4:66
11811 #, no-wrap
11812 msgid "NWID (or domain)"
11813 msgstr "NWID (or ドメイン)"
11814
11815 #. type: Plain text
11816 #: build/C/man4/wavelan.4:75
11817 msgid "Set the network ID [I<0> to I<FFFF>] or disable it [I<off>].  As the NWID is stored in the card Permanent Storage Area, it will be reuse at any further invocation of the driver."
11818 msgstr "ネットワーク IDを [I<0> から I<FFFF>] に設定するか、 [I<off>] その利用を無効にする。 NWID はカードの永続的ストレージエリア (Permanent Strage Area) に 格納されるので、NWID はドライバが呼び出されるたびに利用できる。"
11819
11820 #. type: SS
11821 #: build/C/man4/wavelan.4:75
11822 #, no-wrap
11823 msgid "Frequency & channels"
11824 msgstr "周波数とチャネル"
11825
11826 #. type: Plain text
11827 #: build/C/man4/wavelan.4:86
11828 msgid "For the 2.4GHz 2.00 Hardware, you are able to set the frequency by specifying one of the 10 defined channels (I<2.412,> I<2.422, 2.425, 2.4305, 2.432, 2.442, 2.452, 2.460, 2.462> or I<2.484>)  or directly by its value.  The frequency is changed immediately and permanently.  Frequency availability depends on the regulations..."
11829 msgstr "2.4GHz 2.00 ハードウェアでは、10 の定義済みのチャネル (I<2.412> I<2.422, 2.425, 2.4305, 2.432, 2.442, 2.452, 2.460, 2.462> I<2.484>)  のうちの一つを指定するか、その値を直接指定することによって周波数を設定 することができる。 周波数は直後に変更され、また、その変更は恒久的である。 どの周波数が利用できるかということは、(その国の) 法律に依存する…"
11830
11831 #. type: SS
11832 #: build/C/man4/wavelan.4:86
11833 #, no-wrap
11834 msgid "Statistics spy"
11835 msgstr "統計スパイ (Statics spy)"
11836
11837 #. type: Plain text
11838 #: build/C/man4/wavelan.4:90
11839 msgid "Set a list of MAC addresses in the driver (up to 8) and get the last quality of link for each of those (see B<iwspy>(8))."
11840 msgstr "(8 つまでの) MAC アドレスのリストをドライバに設定して、 それぞれのリンクの品質を得る (B<iwspy>(8)  を参照)。"
11841
11842 #. type: SS
11843 #: build/C/man4/wavelan.4:90
11844 #, no-wrap
11845 msgid "/proc/net/wireless"
11846 msgstr "/proc/net/wireless"
11847
11848 #. type: Plain text
11849 #: build/C/man4/wavelan.4:105
11850 msgid "I<status> is the status reported by the modem.  I<Link quality> reports the quality of the modulation on the air (direct sequence spread spectrum) [max = 16].  I<Level> and I<Noise> refer to the signal level and noise level [max = 64].  The I<crypt discarded packet> and I<misc discarded packet> counters are not implemented."
11851 msgstr "I<status> はモデムから報告されたステータスである。 I<link quality> は通信中の(直接拡散スペクトラム通信方式における)変調の品質を報告する [最大 = 16]。 I<Level> と I<Noise> は信号レベルとノイズのレベルを参照する [最大 = 64]。 I<暗号化されていて廃棄されたパケット(crypt discarded packet)> と I<それ以外の廃棄されたパケット(misc discarded packet)> のカウンターは実装されていない。"
11852
11853 #. type: SS
11854 #: build/C/man4/wavelan.4:105
11855 #, no-wrap
11856 msgid "Private ioctl"
11857 msgstr "ドライバ固有の IOCTL (private ioctl)"
11858
11859 #. type: Plain text
11860 #: build/C/man4/wavelan.4:109
11861 msgid "You may use B<iwpriv>(8)  to manipulate private ioctls."
11862 msgstr "B<iwpriv>(8)  をドライバ固有の ioctl の操作のために利用できる。"
11863
11864 #. type: SS
11865 #: build/C/man4/wavelan.4:109
11866 #, no-wrap
11867 msgid "Quality and level threshold"
11868 msgstr "品質とレベルの閾値 (quality and level threshold)"
11869
11870 #. type: Plain text
11871 #: build/C/man4/wavelan.4:112
11872 msgid "Enable you the define the quality and level threshold used by the modem (packet below that level are discarded)."
11873 msgstr "モデムで使われる品質とレベルの閾値 (そのレベルを下回ったパケットは 破棄される) を定義することができる。"
11874
11875 #. type: SS
11876 #: build/C/man4/wavelan.4:112
11877 #, no-wrap
11878 msgid "Histogram"
11879 msgstr "ヒストグラム (Histogram)"
11880
11881 #. type: Plain text
11882 #: build/C/man4/wavelan.4:119
11883 msgid "This functionality makes it possible to set a number of signal level intervals and to count the number of packets received in each of those defined intervals.  This distribution might be used to calculate the mean value and standard deviation of the signal level."
11884 msgstr "この機能により、 シグナルレベル区間の数の設定と、設定したそれぞれの区間での 受信パケット数をカウントすることができる。 この分布はシグナルレベルの最瀕値標準偏差の計算に役立つだろう。"
11885
11886 #. type: SS
11887 #: build/C/man4/wavelan.4:119
11888 #, no-wrap
11889 msgid "Specific notes"
11890 msgstr "特定のドライバでの注意"
11891
11892 #. type: Plain text
11893 #: build/C/man4/wavelan.4:125
11894 msgid "This driver will fail to detect some B<non-NCR/ATT&T/Lucent> Wavelan cards.  If this happens for you, you must look in the source code on how to add your card to the detection routine."
11895 msgstr "このドライバはいくつかの B<NCR/AT&T/Lucent ではない> Wavelan カードの検出に失敗するだろう。 これがあなたの持っているカードで起こった場合 、そのカードの検出処理をどのように加えればいいかと いうことについてソースコードを確認する必要がある。"
11896
11897 #.  .SH AUTHOR
11898 #.  Bruce Janson \(em bruce@cs.usyd.edu.au
11899 #.  .br
11900 #.  Jean Tourrilhes \(em jt@hplb.hpl.hp.com
11901 #.  .br
11902 #.  (and others; see source code for details)
11903 #.  SEE ALSO part
11904 #. type: Plain text
11905 #: build/C/man4/wavelan.4:138
11906 msgid "Some of the mentioned features are optional.  You may enable to disable them by changing flags in the driver header and recompile."
11907 msgstr "ここまでで述べてきた機能のうちのいくつかは、選択可能である。 ドライバの先頭部分のフラグを変更してコンパイルしなおすことによって、 その機能を無効にすることも可能である。"
11908
11909 #. type: Plain text
11910 #: build/C/man4/wavelan.4:145
11911 msgid "B<wavelan_cs>(4), B<ifconfig>(8), B<insmod>(8), B<iwconfig>(8), B<iwpriv>(8), B<iwspy>(8)"
11912 msgstr "B<wavelan_cs>(4), B<ifconfig>(8), B<insmod>(8), B<iwconfig>(8), B<iwpriv>(8), B<iwspy>(8)"