OSDN Git Service

(split) LDP: Update POT and ja.po to LDP v3.64
[linuxjm/LDP_man-pages.git] / po4a / special / po / special.pot
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 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2014-04-17 13:14+0900\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <LL@li.org>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #.  Copyright (C) 2011, Hewlett-Packard Development Company, L.P.
20 #.  Written by Stephen M. Cameron <scameron@beardog.cce.hp.com>
21 #
22 #.  %%%LICENSE_START(GPLv2_ONELINE)
23 #.  Licensed under GNU General Public License version 2 (GPLv2)
24 #.  %%%LICENSE_END
25 #
26 #.  shorthand for double quote that works everywhere.
27 #. type: ds q
28 #: build/C/man4/cciss.4:9 build/C/man4/hpsa.4:9
29 #, no-wrap
30 msgid "\\N'34'"
31 msgstr ""
32
33 #. type: TH
34 #: build/C/man4/cciss.4:10
35 #, no-wrap
36 msgid "CCISS"
37 msgstr ""
38
39 #. type: TH
40 #: build/C/man4/cciss.4:10 build/C/man4/console_codes.4:23 build/C/man4/dsp56k.4:27 build/C/man4/hpsa.4:10 build/C/man4/sk98lin.4:27
41 #, no-wrap
42 msgid "2012-08-05"
43 msgstr ""
44
45 #. type: TH
46 #: build/C/man4/cciss.4:10 build/C/man4/console.4:12 build/C/man4/console_codes.4:23 build/C/man4/console_ioctl.4:40 build/C/man5/core.5:25 build/C/man4/cpuid.4:26 build/C/man4/dsp56k.4:27 build/C/man4/fd.4:28 build/C/man7/fifo.7:13 build/C/man4/full.4:26 build/C/man3/gnu_get_libc_version.3:26 build/C/man4/hd.4:29 build/C/man4/hpsa.4:10 build/C/man4/initrd.4:35 build/C/man4/lp.4:27 build/C/man3/makedev.3:26 build/C/man4/mem.4:26 build/C/man2/mknod.2:15 build/C/man4/mouse.4:26 build/C/man4/msr.4:26 build/C/man4/null.4:26 build/C/man7/pipe.7:25 build/C/man4/ram.4:26 build/C/man4/random.4:19 build/C/man4/sd.4:26 build/C/man4/sk98lin.4:27 build/C/man4/st.4:25 build/C/man2/syslog.2:31 build/C/man3/syslog.3:36 build/C/man4/ttyS.4:26 build/C/man7/uri.7:48 build/C/man4/vcs.4:29 build/C/man4/wavelan.4:15
47 #, no-wrap
48 msgid "Linux"
49 msgstr ""
50
51 #. type: TH
52 #: build/C/man4/cciss.4:10 build/C/man4/console.4:12 build/C/man4/console_codes.4:23 build/C/man4/console_ioctl.4:40 build/C/man5/core.5:25 build/C/man4/cpuid.4:26 build/C/man4/dsp56k.4:27 build/C/man4/fd.4:28 build/C/man7/fifo.7:13 build/C/man4/full.4:26 build/C/man3/gnu_get_libc_version.3:26 build/C/man4/hd.4:29 build/C/man4/hpsa.4:10 build/C/man4/initrd.4:35 build/C/man4/lp.4:27 build/C/man3/makedev.3:26 build/C/man4/mem.4:26 build/C/man3/mkfifo.3:28 build/C/man2/mknod.2:15 build/C/man4/mouse.4:26 build/C/man4/msr.4:26 build/C/man4/null.4:26 build/C/man7/pipe.7:25 build/C/man4/ram.4:26 build/C/man4/random.4:19 build/C/man4/sd.4:26 build/C/man3/setlogmask.3:25 build/C/man4/sk98lin.4:27 build/C/man4/st.4:25 build/C/man3/stdarg.3:43 build/C/man2/syslog.2:31 build/C/man3/syslog.3:36 build/C/man4/ttyS.4:26 build/C/man7/uri.7:48 build/C/man4/vcs.4:29 build/C/man4/wavelan.4:15
53 #, no-wrap
54 msgid "Linux Programmer's Manual"
55 msgstr ""
56
57 #. type: SH
58 #: build/C/man4/cciss.4:11 build/C/man4/console.4:13 build/C/man4/console_codes.4:24 build/C/man4/console_ioctl.4:41 build/C/man5/core.5:26 build/C/man4/cpuid.4:27 build/C/man4/dsp56k.4:28 build/C/man4/fd.4:29 build/C/man7/fifo.7:14 build/C/man4/full.4:27 build/C/man3/gnu_get_libc_version.3:27 build/C/man4/hd.4:30 build/C/man4/hpsa.4:11 build/C/man4/initrd.4:36 build/C/man4/lp.4:28 build/C/man3/makedev.3:27 build/C/man4/mem.4:27 build/C/man3/mkfifo.3:29 build/C/man2/mknod.2:16 build/C/man4/mouse.4:27 build/C/man4/msr.4:27 build/C/man4/null.4:27 build/C/man7/pipe.7:26 build/C/man4/ram.4:27 build/C/man4/random.4:20 build/C/man4/sd.4:27 build/C/man3/setlogmask.3:26 build/C/man4/sk98lin.4:28 build/C/man4/st.4:26 build/C/man3/stdarg.3:44 build/C/man2/syslog.2:32 build/C/man3/syslog.3:37 build/C/man4/ttyS.4:27 build/C/man7/uri.7:49 build/C/man4/vcs.4:30 build/C/man4/wavelan.4:16
59 #, no-wrap
60 msgid "NAME"
61 msgstr ""
62
63 #. type: Plain text
64 #: build/C/man4/cciss.4:13
65 msgid "cciss - HP Smart Array block driver"
66 msgstr ""
67
68 #. type: SH
69 #: build/C/man4/cciss.4:13 build/C/man4/dsp56k.4:30 build/C/man3/gnu_get_libc_version.3:29 build/C/man4/hpsa.4:13 build/C/man4/lp.4:30 build/C/man3/makedev.3:29 build/C/man3/mkfifo.3:31 build/C/man2/mknod.2:18 build/C/man4/random.4:22 build/C/man4/sd.4:29 build/C/man3/setlogmask.3:28 build/C/man4/sk98lin.4:30 build/C/man4/st.4:28 build/C/man3/stdarg.3:46 build/C/man2/syslog.2:35 build/C/man3/syslog.3:39 build/C/man7/uri.7:51 build/C/man4/wavelan.4:18
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr ""
73
74 #. type: Plain text
75 #: build/C/man4/cciss.4:16
76 #, no-wrap
77 msgid "modprobe cciss [ cciss_allow_hpsa=1 ]\n"
78 msgstr ""
79
80 #. type: SH
81 #: build/C/man4/cciss.4:17 build/C/man4/console.4:15 build/C/man4/console_codes.4:26 build/C/man4/console_ioctl.4:43 build/C/man5/core.5:28 build/C/man4/cpuid.4:29 build/C/man4/dsp56k.4:46 build/C/man4/fd.4:131 build/C/man7/fifo.7:16 build/C/man4/full.4:39 build/C/man3/gnu_get_libc_version.3:36 build/C/man4/hd.4:32 build/C/man4/hpsa.4:17 build/C/man4/initrd.4:71 build/C/man4/lp.4:43 build/C/man3/makedev.3:39 build/C/man4/mem.4:29 build/C/man3/mkfifo.3:62 build/C/man2/mknod.2:46 build/C/man4/mouse.4:33 build/C/man4/msr.4:29 build/C/man4/null.4:29 build/C/man7/pipe.7:28 build/C/man4/ram.4:29 build/C/man4/random.4:26 build/C/man4/sd.4:71 build/C/man3/setlogmask.3:34 build/C/man4/sk98lin.4:62 build/C/man4/st.4:37 build/C/man3/stdarg.3:56 build/C/man2/syslog.2:46 build/C/man3/syslog.3:59 build/C/man4/ttyS.4:29 build/C/man7/uri.7:71 build/C/man4/vcs.4:32 build/C/man4/wavelan.4:20
82 #, no-wrap
83 msgid "DESCRIPTION"
84 msgstr ""
85
86 #. type: Plain text
87 #: build/C/man4/cciss.4:20
88 msgid "B<cciss> is a block driver for older HP Smart Array RAID controllers."
89 msgstr ""
90
91 #. type: SS
92 #: build/C/man4/cciss.4:20 build/C/man4/hpsa.4:20 build/C/man4/initrd.4:180
93 #, no-wrap
94 msgid "Options"
95 msgstr ""
96
97 #. type: Plain text
98 #: build/C/man4/cciss.4:29
99 msgid ""
100 "I<cciss_allow_hpsa=1>: This option prevents the B<cciss> driver from "
101 "attempting to drive any controllers that the B<hpsa>(4)  driver is capable "
102 "of controlling, which is to say, the B<cciss> driver is restricted by this "
103 "option to the following controllers:"
104 msgstr ""
105
106 #. type: Plain text
107 #: build/C/man4/cciss.4:48
108 #, no-wrap
109 msgid ""
110 "    Smart Array 5300\n"
111 "    Smart Array 5i\n"
112 "    Smart Array 532\n"
113 "    Smart Array 5312\n"
114 "    Smart Array 641\n"
115 "    Smart Array 642\n"
116 "    Smart Array 6400\n"
117 "    Smart Array 6400 EM\n"
118 "    Smart Array 6i\n"
119 "    Smart Array P600\n"
120 "    Smart Array P400i\n"
121 "    Smart Array E200i\n"
122 "    Smart Array E200\n"
123 "    Smart Array E200i\n"
124 "    Smart Array E200i\n"
125 "    Smart Array E200i\n"
126 "    Smart Array E500\n"
127 msgstr ""
128
129 #. type: SS
130 #: build/C/man4/cciss.4:49 build/C/man4/hpsa.4:39
131 #, no-wrap
132 msgid "Supported hardware"
133 msgstr ""
134
135 #. type: Plain text
136 #: build/C/man4/cciss.4:53
137 msgid "The B<cciss> driver supports the following Smart Array boards:"
138 msgstr ""
139
140 #. type: Plain text
141 #: build/C/man4/cciss.4:79
142 #, no-wrap
143 msgid ""
144 "    Smart Array 5300\n"
145 "    Smart Array 5i\n"
146 "    Smart Array 532\n"
147 "    Smart Array 5312\n"
148 "    Smart Array 641\n"
149 "    Smart Array 642\n"
150 "    Smart Array 6400\n"
151 "    Smart Array 6400 U320 Expansion Module\n"
152 "    Smart Array 6i\n"
153 "    Smart Array P600\n"
154 "    Smart Array P800\n"
155 "    Smart Array E400\n"
156 "    Smart Array P400i\n"
157 "    Smart Array E200\n"
158 "    Smart Array E200i\n"
159 "    Smart Array E500\n"
160 "    Smart Array P700m\n"
161 "    Smart Array P212\n"
162 "    Smart Array P410\n"
163 "    Smart Array P410i\n"
164 "    Smart Array P411\n"
165 "    Smart Array P812\n"
166 "    Smart Array P712m\n"
167 "    Smart Array P711m\n"
168 msgstr ""
169
170 #. type: SS
171 #: build/C/man4/cciss.4:80 build/C/man4/hpsa.4:55
172 #, no-wrap
173 msgid "Configuration details"
174 msgstr ""
175
176 #. type: Plain text
177 #: build/C/man4/cciss.4:89 build/C/man4/hpsa.4:63
178 msgid ""
179 "To configure HP Smart Array controllers, use the HP Array Configuration "
180 "Utility (either B<hpacuxe>(8)  or B<hpacucli>(8))  or the Offline ROM-based "
181 "Configuration Utility (ORCA)  run from the Smart Array's option ROM at boot "
182 "time."
183 msgstr ""
184
185 #. type: SH
186 #: build/C/man4/cciss.4:89 build/C/man4/console.4:91 build/C/man4/dsp56k.4:110 build/C/man4/fd.4:194 build/C/man4/full.4:59 build/C/man4/hd.4:103 build/C/man4/hpsa.4:63 build/C/man4/initrd.4:418 build/C/man4/lp.4:126 build/C/man4/mem.4:78 build/C/man4/mouse.4:180 build/C/man4/null.4:57 build/C/man4/ram.4:41 build/C/man4/random.4:275 build/C/man4/sd.4:131 build/C/man4/sk98lin.4:574 build/C/man4/st.4:879 build/C/man4/ttyS.4:46 build/C/man4/vcs.4:93
187 #, no-wrap
188 msgid "FILES"
189 msgstr ""
190
191 #. type: SS
192 #: build/C/man4/cciss.4:90 build/C/man4/hpsa.4:64
193 #, no-wrap
194 msgid "Device nodes"
195 msgstr ""
196
197 #. type: Plain text
198 #: build/C/man4/cciss.4:92
199 msgid "The device naming scheme is as follows:"
200 msgstr ""
201
202 #. type: Plain text
203 #: build/C/man4/cciss.4:95
204 #, no-wrap
205 msgid "Major numbers:\n"
206 msgstr ""
207
208 #. type: Plain text
209 #: build/C/man4/cciss.4:104
210 #, no-wrap
211 msgid ""
212 "    104     cciss0\n"
213 "    105     cciss1\n"
214 "    106     cciss2\n"
215 "    105     cciss3\n"
216 "    108     cciss4\n"
217 "    109     cciss5\n"
218 "    110     cciss6\n"
219 "    111     cciss7\n"
220 msgstr ""
221
222 #. type: Plain text
223 #: build/C/man4/cciss.4:106
224 #, no-wrap
225 msgid "Minor numbers:\n"
226 msgstr ""
227
228 #. type: Plain text
229 #: build/C/man4/cciss.4:113
230 #, no-wrap
231 msgid ""
232 "    b7 b6 b5 b4 b3 b2 b1 b0\n"
233 "    |----+----| |----+----|\n"
234 "         |           |\n"
235 "         |           +-------- Partition ID (0=wholedev, 1-15 partition)\n"
236 "         |\n"
237 "         +-------------------- Logical Volume number\n"
238 msgstr ""
239
240 #. type: Plain text
241 #: build/C/man4/cciss.4:115
242 #, no-wrap
243 msgid "The device naming scheme is:\n"
244 msgstr ""
245
246 #. type: Plain text
247 #: build/C/man4/cciss.4:120
248 #, no-wrap
249 msgid ""
250 "    /dev/cciss/c0d0         Controller 0, disk 0, whole device\n"
251 "    /dev/cciss/c0d0p1       Controller 0, disk 0, partition 1\n"
252 "    /dev/cciss/c0d0p2       Controller 0, disk 0, partition 2\n"
253 "    /dev/cciss/c0d0p3       Controller 0, disk 0, partition 3\n"
254 msgstr ""
255
256 #. type: Plain text
257 #: build/C/man4/cciss.4:125
258 #, no-wrap
259 msgid ""
260 "    /dev/cciss/c1d1         Controller 1, disk 1, whole device\n"
261 "    /dev/cciss/c1d1p1       Controller 1, disk 1, partition 1\n"
262 "    /dev/cciss/c1d1p2       Controller 1, disk 1, partition 2\n"
263 "    /dev/cciss/c1d1p3       Controller 1, disk 1, partition 3\n"
264 msgstr ""
265
266 #. type: SS
267 #: build/C/man4/cciss.4:126
268 #, no-wrap
269 msgid "Files in /proc"
270 msgstr ""
271
272 #. type: Plain text
273 #: build/C/man4/cciss.4:132
274 msgid ""
275 "The files I</proc/driver/cciss/cciss[0-9]+> contain information about the "
276 "configuration of each controller.  For example:"
277 msgstr ""
278
279 #. type: Plain text
280 #: build/C/man4/cciss.4:152
281 #, no-wrap
282 msgid ""
283 "    $ B<cd /proc/driver/cciss>\n"
284 "    $ B<ls -l>\n"
285 "    total 0\n"
286 "    -rw-r--r-- 1 root root 0 2010-09-10 10:38 cciss0\n"
287 "    -rw-r--r-- 1 root root 0 2010-09-10 10:38 cciss1\n"
288 "    -rw-r--r-- 1 root root 0 2010-09-10 10:38 cciss2\n"
289 "    $ B<cat cciss2>\n"
290 "    cciss2: HP Smart Array P800 Controller\n"
291 "    Board ID: 0x3223103c\n"
292 "    Firmware Version: 7.14\n"
293 "    IRQ: 16\n"
294 "    Logical drives: 1\n"
295 "    Current Q depth: 0\n"
296 "    Current # commands on controller: 0\n"
297 "    Max Q depth since init: 1\n"
298 "    Max # commands on controller since init: 2\n"
299 "    Max SG entries since init: 32\n"
300 "    Sequential access devices: 0\n"
301 msgstr ""
302
303 #. type: Plain text
304 #: build/C/man4/cciss.4:154
305 #, no-wrap
306 msgid "    cciss/c2d0:   36.38GB       RAID 0\n"
307 msgstr ""
308
309 #. type: SS
310 #: build/C/man4/cciss.4:155
311 #, no-wrap
312 msgid "Files in /sys"
313 msgstr ""
314
315 #. type: TP
316 #: build/C/man4/cciss.4:156
317 #, no-wrap
318 msgid "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/model>"
319 msgstr ""
320
321 #. type: Plain text
322 #: build/C/man4/cciss.4:162
323 msgid ""
324 "Displays the SCSI INQUIRY page 0 model for logical drive I<Y> of controller "
325 "I<X>."
326 msgstr ""
327
328 #. type: TP
329 #: build/C/man4/cciss.4:162
330 #, no-wrap
331 msgid "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/rev>"
332 msgstr ""
333
334 #. type: Plain text
335 #: build/C/man4/cciss.4:168
336 msgid ""
337 "Displays the SCSI INQUIRY page 0 revision for logical drive I<Y> of "
338 "controller I<X>."
339 msgstr ""
340
341 #. type: TP
342 #: build/C/man4/cciss.4:168
343 #, no-wrap
344 msgid "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/unique_id>"
345 msgstr ""
346
347 #. type: Plain text
348 #: build/C/man4/cciss.4:174
349 msgid ""
350 "Displays the SCSI INQUIRY page 83 serial number for logical drive I<Y> of "
351 "controller I<X>."
352 msgstr ""
353
354 #. type: TP
355 #: build/C/man4/cciss.4:174
356 #, no-wrap
357 msgid "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/vendor>"
358 msgstr ""
359
360 #. type: Plain text
361 #: build/C/man4/cciss.4:180
362 msgid ""
363 "Displays the SCSI INQUIRY page 0 vendor for logical drive I<Y> of controller "
364 "I<X>."
365 msgstr ""
366
367 #. type: TP
368 #: build/C/man4/cciss.4:180
369 #, no-wrap
370 msgid "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/block:cciss!cXdY>"
371 msgstr ""
372
373 #. type: Plain text
374 #: build/C/man4/cciss.4:184
375 msgid "A symbolic link to I</sys/block/cciss!cXdY>."
376 msgstr ""
377
378 #. type: TP
379 #: build/C/man4/cciss.4:184
380 #, no-wrap
381 msgid "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/rescan>"
382 msgstr ""
383
384 #. type: Plain text
385 #: build/C/man4/cciss.4:188
386 msgid ""
387 "When this file is written to, the driver rescans the controller to discover "
388 "any new, removed, or modified logical drives."
389 msgstr ""
390
391 #. type: TP
392 #: build/C/man4/cciss.4:188
393 #, no-wrap
394 msgid "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/resettable>"
395 msgstr ""
396
397 #. type: Plain text
398 #: build/C/man4/cciss.4:197
399 msgid ""
400 "A value of 1 displayed in this file indicates that the \"reset_devices=1\" "
401 "kernel parameter (used by B<kdump>)  is honored by this controller.  A value "
402 "of 0 indicates that the \"reset_devices=1\" kernel parameter will not be "
403 "honored.  Some models of Smart Array are not able to honor this parameter."
404 msgstr ""
405
406 #. type: TP
407 #: build/C/man4/cciss.4:197
408 #, no-wrap
409 msgid "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/lunid>"
410 msgstr ""
411
412 #. type: Plain text
413 #: build/C/man4/cciss.4:203
414 msgid ""
415 "Displays the 8-byte LUN ID used to address logical drive I<Y> of controller "
416 "I<X>."
417 msgstr ""
418
419 #. type: TP
420 #: build/C/man4/cciss.4:203
421 #, no-wrap
422 msgid "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/raid_level>"
423 msgstr ""
424
425 #. type: Plain text
426 #: build/C/man4/cciss.4:209
427 msgid "Displays the RAID level of logical drive I<Y> of controller I<X>."
428 msgstr ""
429
430 #. type: TP
431 #: build/C/man4/cciss.4:209
432 #, no-wrap
433 msgid "I</sys/bus/pci/devices/E<lt>devE<gt>/ccissX/cXdY/usage_count>"
434 msgstr ""
435
436 #. type: Plain text
437 #: build/C/man4/cciss.4:215
438 msgid ""
439 "Displays the usage count (number of opens) of logical drive I<Y> of "
440 "controller I<X>."
441 msgstr ""
442
443 #. type: SS
444 #: build/C/man4/cciss.4:215
445 #, no-wrap
446 msgid "SCSI tape drive and medium changer support"
447 msgstr ""
448
449 #. type: Plain text
450 #: build/C/man4/cciss.4:226
451 msgid ""
452 "SCSI sequential access devices and medium changer devices are supported and "
453 "appropriate device nodes are automatically created (e.g., I</dev/st0>, "
454 "I</dev/st1>, etc.; see B<st>(4)  for more details.)  You must enable \"SCSI "
455 "tape drive support for Smart Array 5xxx\" and \"SCSI support\" in your "
456 "kernel configuration to be able to use SCSI tape drives with your Smart "
457 "Array 5xxx controller."
458 msgstr ""
459
460 #. type: Plain text
461 #: build/C/man4/cciss.4:244
462 msgid ""
463 "Additionally, note that the driver will not engage the SCSI core at init "
464 "time.  The driver must be directed to dynamically engage the SCSI core via "
465 "the I</proc> filesystem entry, which the \"block\" side of the driver "
466 "creates as I</proc/driver/cciss/cciss*> at run time.  This is because at "
467 "driver init time, the SCSI core may not yet be initialized (because the "
468 "driver is a block driver) and attempting to register it with the SCSI core "
469 "in such a case would cause a hang.  This is best done via an initialization "
470 "script (typically in I</etc/init.d>, but could vary depending on "
471 "distribution).  For example:"
472 msgstr ""
473
474 #. type: Plain text
475 #: build/C/man4/cciss.4:250
476 #, no-wrap
477 msgid ""
478 "    for x in /proc/driver/cciss/cciss[0-9]*\n"
479 "    do\n"
480 "        echo \"engage scsi\" E<gt> $x\n"
481 "    done\n"
482 msgstr ""
483
484 #. type: Plain text
485 #: build/C/man4/cciss.4:254
486 msgid ""
487 "Once the SCSI core is engaged by the driver, it cannot be disengaged (except "
488 "by unloading the driver, if it happens to be linked as a module.)"
489 msgstr ""
490
491 #. type: Plain text
492 #: build/C/man4/cciss.4:258
493 msgid ""
494 "Note also that if no sequential access devices or medium changers are "
495 "detected, the SCSI core will not be engaged by the action of the above "
496 "script."
497 msgstr ""
498
499 #. type: SS
500 #: build/C/man4/cciss.4:258
501 #, no-wrap
502 msgid "Hot plug support for SCSI tape drives"
503 msgstr ""
504
505 #. type: Plain text
506 #: build/C/man4/cciss.4:268
507 msgid ""
508 "Hot plugging of SCSI tape drives is supported, with some caveats.  The "
509 "B<cciss> driver must be informed that changes to the SCSI bus have been "
510 "made.  This may be done via the I</proc> filesystem.  For example:"
511 msgstr ""
512
513 #. type: Plain text
514 #: build/C/man4/cciss.4:270
515 #, no-wrap
516 msgid "    echo \"rescan\" E<gt> /proc/scsi/cciss0/1\n"
517 msgstr ""
518
519 #. type: Plain text
520 #: build/C/man4/cciss.4:272
521 msgid "This causes the driver to:"
522 msgstr ""
523
524 #. type: IP
525 #: build/C/man4/cciss.4:273 build/C/man4/initrd.4:97 build/C/man4/initrd.4:323 build/C/man4/initrd.4:430 build/C/man4/st.4:892 build/C/man7/uri.7:532
526 #, no-wrap
527 msgid "1."
528 msgstr ""
529
530 #. type: Plain text
531 #: build/C/man4/cciss.4:276
532 msgid ""
533 "query the adapter about changes to the physical SCSI buses and/or fibre "
534 "channel arbitrated loop, and"
535 msgstr ""
536
537 #. type: IP
538 #: build/C/man4/cciss.4:276 build/C/man4/initrd.4:101 build/C/man4/initrd.4:331 build/C/man4/initrd.4:441 build/C/man4/st.4:912 build/C/man7/uri.7:536
539 #, no-wrap
540 msgid "2."
541 msgstr ""
542
543 #. type: Plain text
544 #: build/C/man4/cciss.4:279
545 msgid ""
546 "make note of any new or removed sequential access devices or medium "
547 "changers."
548 msgstr ""
549
550 #. type: Plain text
551 #: build/C/man4/cciss.4:286
552 msgid ""
553 "The driver will output messages indicating which devices have been added or "
554 "removed and the controller, bus, target, and lun used to address each "
555 "device.  The driver then notifies the SCSI midlayer of these changes."
556 msgstr ""
557
558 #. type: Plain text
559 #: build/C/man4/cciss.4:293
560 msgid ""
561 "Note that the naming convention of the I</proc> filesystem entries contains "
562 "a number in addition to the driver name (e.g., \"cciss0\" instead of just "
563 "\"cciss\", which you might expect)."
564 msgstr ""
565
566 #. type: Plain text
567 #: build/C/man4/cciss.4:311
568 msgid ""
569 "Note: I<Only> sequential access devices and medium changers are presented as "
570 "SCSI devices to the SCSI midlayer by the B<cciss> driver.  Specifically, "
571 "physical SCSI disk drives are I<not> presented to the SCSI midlayer.  The "
572 "only disk devices that are presented to the kernel are logical drives that "
573 "the array controller constructs from regions on the physical drives.  The "
574 "logical drives are presented to the block layer (not to the SCSI midlayer).  "
575 "It is important for the driver to prevent the kernel from accessing the "
576 "physical drives directly, since these drives are used by the array "
577 "controller to construct the logical drives."
578 msgstr ""
579
580 #. type: SS
581 #: build/C/man4/cciss.4:311
582 #, no-wrap
583 msgid "SCSI error handling for tape drives and medium changers"
584 msgstr ""
585
586 #. type: Plain text
587 #: build/C/man4/cciss.4:319
588 msgid ""
589 "The Linux SCSI midlayer provides an error-handling protocol that is "
590 "initiated whenever a SCSI command fails to complete within a certain amount "
591 "of time (which can vary depending on the command).  The B<cciss> driver "
592 "participates in this protocol to some extent.  The normal protocol is a "
593 "four-step process:"
594 msgstr ""
595
596 #. type: IP
597 #: build/C/man4/cciss.4:319 build/C/man4/cciss.4:321 build/C/man4/cciss.4:323 build/C/man4/cciss.4:325 build/C/man5/core.5:49 build/C/man5/core.5:61 build/C/man5/core.5:65 build/C/man5/core.5:69 build/C/man5/core.5:72 build/C/man5/core.5:85 build/C/man5/core.5:88 build/C/man5/core.5:101 build/C/man5/core.5:218 build/C/man5/core.5:222 build/C/man5/core.5:225 build/C/man5/core.5:229
598 #, no-wrap
599 msgid "*"
600 msgstr ""
601
602 #. type: Plain text
603 #: build/C/man4/cciss.4:321
604 msgid "First, the device is told to abort the command."
605 msgstr ""
606
607 #. type: Plain text
608 #: build/C/man4/cciss.4:323
609 msgid "If that doesn't work, the device is reset."
610 msgstr ""
611
612 #. type: Plain text
613 #: build/C/man4/cciss.4:325
614 msgid "If that doesn't work, the SCSI bus is reset."
615 msgstr ""
616
617 #. type: Plain text
618 #: build/C/man4/cciss.4:327
619 msgid "If that doesn't work, the host bus adapter is reset."
620 msgstr ""
621
622 #. type: Plain text
623 #: build/C/man4/cciss.4:345
624 msgid ""
625 "The B<cciss> driver is a block driver as well as a SCSI driver and only the "
626 "tape drives and medium changers are presented to the SCSI midlayer "
627 "Furthermore, unlike more straightforward SCSI drivers, disk I/O continues "
628 "through the block side during the SCSI error-recovery process Therefore, the "
629 "B<cciss> driver implements only the first two of these actions, aborting the "
630 "command, and resetting the device.  Note also that most tape drives will not "
631 "oblige in aborting commands, and sometimes it appears they will not even "
632 "obey a reset command, though in most circumstances they will.  If the "
633 "command cannot be aborted and the device cannot be reset, the device will be "
634 "set offline."
635 msgstr ""
636
637 #. type: Plain text
638 #: build/C/man4/cciss.4:353
639 msgid ""
640 "In the event that the error-handling code is triggered and a tape drive is "
641 "successfully reset or the tardy command is successfully aborted, the tape "
642 "drive may still not allow I/O to continue until some command is issued that "
643 "positions the tape to a known position.  Typically you must rewind the tape "
644 "(by issuing I<mt -f /dev/st0 rewind> for example) before I/O can proceed "
645 "again to a tape drive that was reset."
646 msgstr ""
647
648 #. type: SH
649 #: build/C/man4/cciss.4:353 build/C/man4/console.4:95 build/C/man4/console_codes.4:642 build/C/man4/console_ioctl.4:846 build/C/man5/core.5:423 build/C/man4/cpuid.4:89 build/C/man4/dsp56k.4:115 build/C/man4/fd.4:213 build/C/man7/fifo.7:65 build/C/man4/full.4:61 build/C/man3/gnu_get_libc_version.3:76 build/C/man4/hd.4:105 build/C/man4/hpsa.4:179 build/C/man4/initrd.4:474 build/C/man4/lp.4:135 build/C/man3/makedev.3:80 build/C/man4/mem.4:84 build/C/man3/mkfifo.3:197 build/C/man2/mknod.2:284 build/C/man4/mouse.4:184 build/C/man4/msr.4:55 build/C/man4/null.4:64 build/C/man7/pipe.7:232 build/C/man4/ram.4:43 build/C/man4/random.4:282 build/C/man3/setlogmask.3:78 build/C/man4/sk98lin.4:598 build/C/man4/st.4:954 build/C/man2/syslog.2:309 build/C/man3/syslog.3:315 build/C/man4/ttyS.4:48 build/C/man7/uri.7:706 build/C/man4/vcs.4:173 build/C/man4/wavelan.4:138
650 #, no-wrap
651 msgid "SEE ALSO"
652 msgstr ""
653
654 #. type: Plain text
655 #: build/C/man4/cciss.4:358
656 msgid "B<cciss_vol_status>(8), B<hpsa>(4), B<hpacucli>(8), B<hpacuxe>(8),"
657 msgstr ""
658
659 #.  .SH AUTHORS
660 #.  Don Brace, Steve Cameron, Chase Maupin, Mike Miller, Michael Ni,
661 #.  Charles White, Francis Wiran
662 #.  and probably some other people.
663 #. type: Plain text
664 #: build/C/man4/cciss.4:370
665 msgid ""
666 "E<.UR http://cciss.sf.net> E<.UE ,> and I<Documentation/blockdev/cciss.txt> "
667 "and I<Documentation/ABI/testing/sysfs-bus-pci-devices-cciss> in the Linux "
668 "kernel source tree"
669 msgstr ""
670
671 #. type: SH
672 #: build/C/man4/cciss.4:370 build/C/man4/console.4:112 build/C/man4/console_codes.4:646 build/C/man4/console_ioctl.4:873 build/C/man5/core.5:434 build/C/man4/cpuid.4:96 build/C/man4/dsp56k.4:121 build/C/man4/fd.4:221 build/C/man7/fifo.7:74 build/C/man4/full.4:65 build/C/man3/gnu_get_libc_version.3:78 build/C/man4/hd.4:110 build/C/man4/hpsa.4:197 build/C/man4/initrd.4:484 build/C/man4/lp.4:141 build/C/man3/makedev.3:83 build/C/man4/mem.4:88 build/C/man3/mkfifo.3:206 build/C/man2/mknod.2:297 build/C/man4/mouse.4:187 build/C/man4/msr.4:59 build/C/man4/null.4:68 build/C/man7/pipe.7:244 build/C/man4/ram.4:47 build/C/man4/random.4:286 build/C/man4/sd.4:137 build/C/man3/setlogmask.3:82 build/C/man4/sk98lin.4:602 build/C/man4/st.4:964 build/C/man3/stdarg.3:338 build/C/man2/syslog.2:312 build/C/man3/syslog.3:320 build/C/man4/ttyS.4:55 build/C/man7/uri.7:715 build/C/man4/vcs.4:178 build/C/man4/wavelan.4:145
673 #, no-wrap
674 msgid "COLOPHON"
675 msgstr ""
676
677 #. type: Plain text
678 #: build/C/man4/cciss.4:377 build/C/man4/console.4:119 build/C/man4/console_codes.4:653 build/C/man4/console_ioctl.4:880 build/C/man5/core.5:441 build/C/man4/cpuid.4:103 build/C/man4/dsp56k.4:128 build/C/man4/fd.4:228 build/C/man7/fifo.7:81 build/C/man4/full.4:72 build/C/man3/gnu_get_libc_version.3:85 build/C/man4/hd.4:117 build/C/man4/hpsa.4:204 build/C/man4/initrd.4:491 build/C/man4/lp.4:148 build/C/man3/makedev.3:90 build/C/man4/mem.4:95 build/C/man3/mkfifo.3:213 build/C/man2/mknod.2:304 build/C/man4/mouse.4:194 build/C/man4/msr.4:66 build/C/man4/null.4:75 build/C/man7/pipe.7:251 build/C/man4/ram.4:54 build/C/man4/random.4:293 build/C/man4/sd.4:144 build/C/man3/setlogmask.3:89 build/C/man4/sk98lin.4:609 build/C/man4/st.4:971 build/C/man3/stdarg.3:345 build/C/man2/syslog.2:319 build/C/man3/syslog.3:327 build/C/man4/ttyS.4:62 build/C/man7/uri.7:722 build/C/man4/vcs.4:185 build/C/man4/wavelan.4:152
679 msgid ""
680 "This page is part of release 3.64 of the Linux I<man-pages> project.  A "
681 "description of the project, and information about reporting bugs, can be "
682 "found at \\%http://www.kernel.org/doc/man-pages/."
683 msgstr ""
684
685 #. type: TH
686 #: build/C/man4/console.4:12
687 #, no-wrap
688 msgid "CONSOLE"
689 msgstr ""
690
691 #. type: TH
692 #: build/C/man4/console.4:12
693 #, no-wrap
694 msgid "1994-10-31"
695 msgstr ""
696
697 #. type: Plain text
698 #: build/C/man4/console.4:15
699 msgid "console - console terminal and virtual consoles"
700 msgstr ""
701
702 #. type: Plain text
703 #: build/C/man4/console.4:37
704 msgid ""
705 "A Linux system has up to 63 I<virtual consoles> (character devices with "
706 "major number 4 and minor number 1 to 63), usually called I</dev/ttyn> with 1 "
707 "\\(E<lt>= I<n> \\(E<lt>= 63.  The current console is also addressed by "
708 "I</dev/console> or I</dev/tty0>, the character device with major number 4 "
709 "and minor number 0.  The device files I</dev/*> are usually created using "
710 "the script MAKEDEV, or using B<mknod>(1), usually with mode 0622 and owner "
711 "I<root.tty>."
712 msgstr ""
713
714 #. type: Plain text
715 #: build/C/man4/console.4:45
716 msgid ""
717 "Before kernel version 1.1.54 the number of virtual consoles was compiled "
718 "into the kernel (in I<tty.h>: #define NR_CONSOLES 8)  and could be changed "
719 "by editing and recompiling.  Since version 1.1.54 virtual consoles are "
720 "created on the fly, as soon as they are needed."
721 msgstr ""
722
723 #. type: Plain text
724 #: build/C/man4/console.4:63
725 msgid ""
726 "Common ways to start a process on a console are: (a) tell B<init>(8)  (in "
727 "B<inittab>(5))  to start a B<mingetty>(8)  (or B<agetty>(8))  on the "
728 "console; (b) ask B<openvt>(1)  to start a process on the console; (c) start "
729 "X\\(emit will find the first unused console, and display its output there.  "
730 "(There is also the ancient B<doshell>(8).)"
731 msgstr ""
732
733 #. type: Plain text
734 #: build/C/man4/console.4:76
735 msgid ""
736 "Common ways to switch consoles are: (a) use Alt+FI<n> or Ctrl+Alt+FI<n> to "
737 "switch to console I<n>; AltGr+FI<n> might bring you to console I<n>+12 [here "
738 "Alt and AltGr refer to the left and right Alt keys, respectively]; (b) use "
739 "Alt+RightArrow or Alt+LeftArrow to cycle through the presently allocated "
740 "consoles; (c) use the program B<chvt>(1).  (The key mapping is user "
741 "settable, see B<loadkeys>(1); the above mentioned key combinations are "
742 "according to the default settings.)"
743 msgstr ""
744
745 #. type: Plain text
746 #: build/C/man4/console.4:83
747 msgid ""
748 "The command B<deallocvt>(1)  (formerly B<disalloc>)  will free the memory "
749 "taken by the screen buffers for consoles that no longer have any associated "
750 "process."
751 msgstr ""
752
753 #. type: SS
754 #: build/C/man4/console.4:83
755 #, no-wrap
756 msgid "Properties"
757 msgstr ""
758
759 #. type: Plain text
760 #: build/C/man4/console.4:91
761 msgid ""
762 "Consoles carry a lot of state.  I hope to document that some other time.  "
763 "The most important fact is that the consoles simulate vt100 terminals.  In "
764 "particular, a console is reset to the initial state by printing the two "
765 "characters ESC c.  All escape sequences can be found in B<console_codes>(4)."
766 msgstr ""
767
768 #. type: Plain text
769 #: build/C/man4/console.4:93
770 msgid "I</dev/console>"
771 msgstr ""
772
773 #. type: Plain text
774 #: build/C/man4/console.4:95
775 msgid "I</dev/tty*>"
776 msgstr ""
777
778 #. type: Plain text
779 #: build/C/man4/console.4:112
780 msgid ""
781 "B<chvt>(1), B<deallocvt>(1), B<loadkeys>(1), B<mknod>(1), B<openvt>(1), "
782 "B<console_codes>(4), B<console_ioctl>(4), B<tty>(4), B<ttyS>(4), "
783 "B<charsets>(7), B<agetty>(8), B<init>(8), B<mapscrn>(8), B<mingetty>(8), "
784 "B<resizecons>(8), B<setfont>(8)"
785 msgstr ""
786
787 #. type: TH
788 #: build/C/man4/console_codes.4:23
789 #, no-wrap
790 msgid "CONSOLE_CODES"
791 msgstr ""
792
793 #. type: Plain text
794 #: build/C/man4/console_codes.4:26
795 msgid "console_codes - Linux console escape and control sequences"
796 msgstr ""
797
798 #. type: Plain text
799 #: build/C/man4/console_codes.4:33
800 msgid ""
801 "The Linux console implements a large subset of the VT102 and ECMA-48/ISO "
802 "6429/ANSI X3.64 terminal controls, plus certain private-mode sequences for "
803 "changing the color palette, character-set mapping, and so on.  In the "
804 "tabular descriptions below, the second column gives ECMA-48 or DEC mnemonics "
805 "(the latter if prefixed with DEC) for the given function.  Sequences without "
806 "a mnemonic are neither ECMA-48 nor VT102."
807 msgstr ""
808
809 #. type: Plain text
810 #: build/C/man4/console_codes.4:38
811 msgid ""
812 "After all the normal output processing has been done, and a stream of "
813 "characters arrives at the console driver for actual printing, the first "
814 "thing that happens is a translation from the code used for processing to the "
815 "code used for printing."
816 msgstr ""
817
818 #. type: Plain text
819 #: build/C/man4/console_codes.4:44
820 msgid ""
821 "If the console is in UTF-8 mode, then the incoming bytes are first assembled "
822 "into 16-bit Unicode codes.  Otherwise each byte is transformed according to "
823 "the current mapping table (which translates it to a Unicode value).  See the "
824 "B<Character Sets> section below for discussion."
825 msgstr ""
826
827 #. type: Plain text
828 #: build/C/man4/console_codes.4:50
829 msgid ""
830 "In the normal case, the Unicode value is converted to a font index, and this "
831 "is stored in video memory, so that the corresponding glyph (as found in "
832 "video ROM) appears on the screen.  Note that the use of Unicode (and the "
833 "design of the PC hardware)  allows us to use 512 different glyphs "
834 "simultaneously."
835 msgstr ""
836
837 #. type: Plain text
838 #: build/C/man4/console_codes.4:57
839 msgid ""
840 "If the current Unicode value is a control character, or we are currently "
841 "processing an escape sequence, the value will treated specially.  Instead of "
842 "being turned into a font index and rendered as a glyph, it may trigger "
843 "cursor movement or other control functions.  See the B<Linux Console "
844 "Controls> section below for discussion."
845 msgstr ""
846
847 #. type: Plain text
848 #: build/C/man4/console_codes.4:69
849 msgid ""
850 "It is generally not good practice to hard-wire terminal controls into "
851 "programs.  Linux supports a B<terminfo>(5)  database of terminal "
852 "capabilities.  Rather than emitting console escape sequences by hand, you "
853 "will almost always want to use a terminfo-aware screen library or utility "
854 "such as B<ncurses>(3), B<tput>(1), or B<reset>(1)."
855 msgstr ""
856
857 #. type: SS
858 #: build/C/man4/console_codes.4:69
859 #, no-wrap
860 msgid "Linux console controls"
861 msgstr ""
862
863 #. type: Plain text
864 #: build/C/man4/console_codes.4:73
865 msgid ""
866 "This section describes all the control characters and escape sequences that "
867 "invoke special functions (i.e., anything other than writing a glyph at the "
868 "current cursor location) on the Linux console."
869 msgstr ""
870
871 #. type: Plain text
872 #: build/C/man4/console_codes.4:75
873 msgid "B<Control characters>"
874 msgstr ""
875
876 #. type: Plain text
877 #: build/C/man4/console_codes.4:86
878 msgid ""
879 "A character is a control character if (before transformation according to "
880 "the mapping table) it has one of the 14 codes 00 (NUL), 07 (BEL), 08 (BS), "
881 "09 (HT), 0a (LF), 0b (VT), 0c (FF), 0d (CR), 0e (SO), 0f (SI), 18 (CAN), 1a "
882 "(SUB), 1b (ESC), 7f (DEL).  One can set a \"display control characters\" "
883 "mode (see below), and allow 07, 09, 0b, 18, 1a, 7f to be displayed as "
884 "glyphs.  On the other hand, in UTF-8 mode all codes 00-1f are regarded as "
885 "control characters, regardless of any \"display control characters\" mode."
886 msgstr ""
887
888 #. type: Plain text
889 #: build/C/man4/console_codes.4:95
890 msgid ""
891 "If we have a control character, it is acted upon immediately and then "
892 "discarded (even in the middle of an escape sequence)  and the escape "
893 "sequence continues with the next character.  (However, ESC starts a new "
894 "escape sequence, possibly aborting a previous unfinished one, and CAN and "
895 "SUB abort any escape sequence.)  The recognized control characters are BEL, "
896 "BS, HT, LF, VT, FF, CR, SO, SI, CAN, SUB, ESC, DEL, CSI.  They do what one "
897 "would expect:"
898 msgstr ""
899
900 #. type: Plain text
901 #: build/C/man4/console_codes.4:97
902 msgid "BEL (0x07, B<^G>) beeps;"
903 msgstr ""
904
905 #. type: Plain text
906 #: build/C/man4/console_codes.4:100
907 msgid ""
908 "BS (0x08, B<^H>) backspaces one column (but not past the beginning of the "
909 "line);"
910 msgstr ""
911
912 #. type: Plain text
913 #: build/C/man4/console_codes.4:103
914 msgid ""
915 "HT (0x09, B<^I>) goes to the next tab stop or to the end of the line if "
916 "there is no earlier tab stop;"
917 msgstr ""
918
919 #. type: Plain text
920 #: build/C/man4/console_codes.4:107
921 msgid ""
922 "LF (0x0A, B<^J>), VT (0x0B, B<^K>) and FF (0x0C, B<^L>) all give a linefeed, "
923 "and if LF/NL (new-line mode) is set also a carriage return;"
924 msgstr ""
925
926 #. type: Plain text
927 #: build/C/man4/console_codes.4:109
928 msgid "CR (0x0D, B<^M>) gives a carriage return;"
929 msgstr ""
930
931 #. type: Plain text
932 #: build/C/man4/console_codes.4:111
933 msgid "SO (0x0E, B<^N>) activates the G1 character set;"
934 msgstr ""
935
936 #. type: Plain text
937 #: build/C/man4/console_codes.4:113
938 msgid "SI (0x0F, B<^O>) activates the G0 character set;"
939 msgstr ""
940
941 #. type: Plain text
942 #: build/C/man4/console_codes.4:115
943 msgid "CAN (0x18, B<^X>) and SUB (0x1A, B<^Z>) interrupt escape sequences;"
944 msgstr ""
945
946 #. type: Plain text
947 #: build/C/man4/console_codes.4:117
948 msgid "ESC (0x1B, B<^[>) starts an escape sequence;"
949 msgstr ""
950
951 #. type: Plain text
952 #: build/C/man4/console_codes.4:119
953 msgid "DEL (0x7F) is ignored;"
954 msgstr ""
955
956 #. type: Plain text
957 #: build/C/man4/console_codes.4:121
958 msgid "CSI (0x9B) is equivalent to ESC [."
959 msgstr ""
960
961 #. type: Plain text
962 #: build/C/man4/console_codes.4:123
963 msgid "B<ESC- but not CSI-sequences>"
964 msgstr ""
965
966 #. type: tbl table
967 #: build/C/man4/console_codes.4:125
968 #, no-wrap
969 msgid "ESC c\tRIS\tReset.\n"
970 msgstr ""
971
972 #. type: tbl table
973 #: build/C/man4/console_codes.4:126
974 #, no-wrap
975 msgid "ESC D\tIND\tLinefeed.\n"
976 msgstr ""
977
978 #. type: tbl table
979 #: build/C/man4/console_codes.4:127
980 #, no-wrap
981 msgid "ESC E\tNEL\tNewline.\n"
982 msgstr ""
983
984 #. type: tbl table
985 #: build/C/man4/console_codes.4:128
986 #, no-wrap
987 msgid "ESC H\tHTS\tSet tab stop at current column.\n"
988 msgstr ""
989
990 #. type: tbl table
991 #: build/C/man4/console_codes.4:129
992 #, no-wrap
993 msgid "ESC M\tRI\tReverse linefeed.\n"
994 msgstr ""
995
996 #. type: tbl table
997 #: build/C/man4/console_codes.4:130
998 #, no-wrap
999 msgid "ESC Z\tDECID\tT{\n"
1000 msgstr ""
1001
1002 #. type: tbl table
1003 #: build/C/man4/console_codes.4:131
1004 #, no-wrap
1005 msgid "DEC private identification. The kernel\n"
1006 msgstr ""
1007
1008 #. type: tbl table
1009 #: build/C/man4/console_codes.4:132
1010 #, no-wrap
1011 msgid "returns the string  ESC [ ? 6 c, claiming\n"
1012 msgstr ""
1013
1014 #. type: tbl table
1015 #: build/C/man4/console_codes.4:133
1016 #, no-wrap
1017 msgid "that it is a VT102.\n"
1018 msgstr ""
1019
1020 #. type: tbl table
1021 #: build/C/man4/console_codes.4:134 build/C/man4/console_codes.4:138 build/C/man4/console_codes.4:163 build/C/man4/console_codes.4:243 build/C/man4/console_codes.4:249 build/C/man4/console_codes.4:253 build/C/man4/console_codes.4:260
1022 #, no-wrap
1023 msgid "T}\n"
1024 msgstr ""
1025
1026 #. type: tbl table
1027 #: build/C/man4/console_codes.4:135
1028 #, no-wrap
1029 msgid "ESC 7\tDECSC\tT{\n"
1030 msgstr ""
1031
1032 #. type: tbl table
1033 #: build/C/man4/console_codes.4:136
1034 #, no-wrap
1035 msgid "Save current state (cursor coordinates,\n"
1036 msgstr ""
1037
1038 #. type: tbl table
1039 #: build/C/man4/console_codes.4:137
1040 #, no-wrap
1041 msgid "attributes, character sets pointed at by G0, G1).\n"
1042 msgstr ""
1043
1044 #. type: tbl table
1045 #: build/C/man4/console_codes.4:139
1046 #, no-wrap
1047 msgid "ESC 8\tDECRC\tRestore state most recently saved by ESC 7.\n"
1048 msgstr ""
1049
1050 #. type: tbl table
1051 #: build/C/man4/console_codes.4:140
1052 #, no-wrap
1053 msgid "ESC [\tCSI\tControl sequence introducer\n"
1054 msgstr ""
1055
1056 #. type: tbl table
1057 #: build/C/man4/console_codes.4:141
1058 #, no-wrap
1059 msgid "ESC %\t\tStart sequence selecting character set\n"
1060 msgstr ""
1061
1062 #. type: tbl table
1063 #: build/C/man4/console_codes.4:142
1064 #, no-wrap
1065 msgid "ESC % @\t\t\\0\\0\\0Select default (ISO 646 / ISO 8859-1)\n"
1066 msgstr ""
1067
1068 #. type: tbl table
1069 #: build/C/man4/console_codes.4:143
1070 #, no-wrap
1071 msgid "ESC % G\t\t\\0\\0\\0Select UTF-8\n"
1072 msgstr ""
1073
1074 #. type: tbl table
1075 #: build/C/man4/console_codes.4:144
1076 #, no-wrap
1077 msgid "ESC % 8\t\t\\0\\0\\0Select UTF-8 (obsolete)\n"
1078 msgstr ""
1079
1080 #. type: tbl table
1081 #: build/C/man4/console_codes.4:145
1082 #, no-wrap
1083 msgid "ESC # 8\tDECALN\tDEC screen alignment test - fill screen with E's.\n"
1084 msgstr ""
1085
1086 #. type: tbl table
1087 #: build/C/man4/console_codes.4:146
1088 #, no-wrap
1089 msgid "ESC (\t\tStart sequence defining G0 character set\n"
1090 msgstr ""
1091
1092 #. type: tbl table
1093 #: build/C/man4/console_codes.4:147
1094 #, no-wrap
1095 msgid "ESC ( B\t\t\\0\\0\\0Select default (ISO 8859-1 mapping)\n"
1096 msgstr ""
1097
1098 #. type: tbl table
1099 #: build/C/man4/console_codes.4:148
1100 #, no-wrap
1101 msgid "ESC ( 0\t\t\\0\\0\\0Select VT100 graphics mapping\n"
1102 msgstr ""
1103
1104 #. type: tbl table
1105 #: build/C/man4/console_codes.4:149
1106 #, no-wrap
1107 msgid "ESC ( U\t\t\\0\\0\\0Select null mapping - straight to character ROM\n"
1108 msgstr ""
1109
1110 #. type: tbl table
1111 #: build/C/man4/console_codes.4:150
1112 #, no-wrap
1113 msgid "ESC ( K\t\t\\0\\0\\0Select user mapping - the map that is loaded by\n"
1114 msgstr ""
1115
1116 #. type: tbl table
1117 #: build/C/man4/console_codes.4:151
1118 #, no-wrap
1119 msgid "\t\t\\0\\0\\0the utility B<mapscrn>(8).\n"
1120 msgstr ""
1121
1122 #. type: tbl table
1123 #: build/C/man4/console_codes.4:152
1124 #, no-wrap
1125 msgid "ESC )\t\tStart sequence defining G1\n"
1126 msgstr ""
1127
1128 #. type: tbl table
1129 #: build/C/man4/console_codes.4:153
1130 #, no-wrap
1131 msgid "\t\t(followed by one of B, 0, U, K, as above).\n"
1132 msgstr ""
1133
1134 #. type: tbl table
1135 #: build/C/man4/console_codes.4:154
1136 #, no-wrap
1137 msgid "ESC E<gt>\tDECPNM\tSet numeric keypad mode\n"
1138 msgstr ""
1139
1140 #. type: tbl table
1141 #: build/C/man4/console_codes.4:155
1142 #, no-wrap
1143 msgid "ESC =\tDECPAM\tSet application keypad mode\n"
1144 msgstr ""
1145
1146 #. type: tbl table
1147 #: build/C/man4/console_codes.4:156
1148 #, no-wrap
1149 msgid "ESC ]\tOSC\tT{\n"
1150 msgstr ""
1151
1152 #. type: tbl table
1153 #: build/C/man4/console_codes.4:157
1154 #, no-wrap
1155 msgid "(Should be: Operating system command)\n"
1156 msgstr ""
1157
1158 #. type: tbl table
1159 #: build/C/man4/console_codes.4:158
1160 #, no-wrap
1161 msgid "ESC ] P I<nrrggbb>: set palette, with parameter\n"
1162 msgstr ""
1163
1164 #. type: tbl table
1165 #: build/C/man4/console_codes.4:159
1166 #, no-wrap
1167 msgid "given in 7 hexadecimal digits after the final P :-(.\n"
1168 msgstr ""
1169
1170 #. type: tbl table
1171 #: build/C/man4/console_codes.4:160
1172 #, no-wrap
1173 msgid "Here I<n> is the color (0-15), and I<rrggbb> indicates\n"
1174 msgstr ""
1175
1176 #. type: tbl table
1177 #: build/C/man4/console_codes.4:161
1178 #, no-wrap
1179 msgid "the red/green/blue values (0-255).\n"
1180 msgstr ""
1181
1182 #. type: tbl table
1183 #: build/C/man4/console_codes.4:162
1184 #, no-wrap
1185 msgid "ESC ] R: reset palette\n"
1186 msgstr ""
1187
1188 #. type: Plain text
1189 #: build/C/man4/console_codes.4:167
1190 msgid "B<ECMA-48 CSI sequences>"
1191 msgstr ""
1192
1193 #. type: Plain text
1194 #: build/C/man4/console_codes.4:173
1195 msgid ""
1196 "CSI (or ESC [) is followed by a sequence of parameters, at most NPAR (16), "
1197 "that are decimal numbers separated by semicolons.  An empty or absent "
1198 "parameter is taken to be 0.  The sequence of parameters may be preceded by a "
1199 "single question mark."
1200 msgstr ""
1201
1202 #. type: Plain text
1203 #: build/C/man4/console_codes.4:177
1204 msgid ""
1205 "However, after CSI [ (or ESC [ [) a single character is read and this entire "
1206 "sequence is ignored.  (The idea is to ignore an echoed function key.)"
1207 msgstr ""
1208
1209 #. type: Plain text
1210 #: build/C/man4/console_codes.4:179
1211 msgid "The action of a CSI sequence is determined by its final character."
1212 msgstr ""
1213
1214 #. type: tbl table
1215 #: build/C/man4/console_codes.4:181
1216 #, no-wrap
1217 msgid "@\tICH\tInsert the indicated # of blank characters.\n"
1218 msgstr ""
1219
1220 #. type: tbl table
1221 #: build/C/man4/console_codes.4:182
1222 #, no-wrap
1223 msgid "A\tCUU\tMove cursor up the indicated # of rows.\n"
1224 msgstr ""
1225
1226 #. type: tbl table
1227 #: build/C/man4/console_codes.4:183
1228 #, no-wrap
1229 msgid "B\tCUD\tMove cursor down the indicated # of rows.\n"
1230 msgstr ""
1231
1232 #. type: tbl table
1233 #: build/C/man4/console_codes.4:184
1234 #, no-wrap
1235 msgid "C\tCUF\tMove cursor right the indicated # of columns.\n"
1236 msgstr ""
1237
1238 #. type: tbl table
1239 #: build/C/man4/console_codes.4:185
1240 #, no-wrap
1241 msgid "D\tCUB\tMove cursor left the indicated # of columns.\n"
1242 msgstr ""
1243
1244 #. type: tbl table
1245 #: build/C/man4/console_codes.4:186
1246 #, no-wrap
1247 msgid "E\tCNL\tMove cursor down the indicated # of rows, to column 1.\n"
1248 msgstr ""
1249
1250 #. type: tbl table
1251 #: build/C/man4/console_codes.4:187
1252 #, no-wrap
1253 msgid "F\tCPL\tMove cursor up the indicated # of rows, to column 1.\n"
1254 msgstr ""
1255
1256 #. type: tbl table
1257 #: build/C/man4/console_codes.4:188
1258 #, no-wrap
1259 msgid "G\tCHA\tMove cursor to indicated column in current row.\n"
1260 msgstr ""
1261
1262 #. type: tbl table
1263 #: build/C/man4/console_codes.4:189
1264 #, no-wrap
1265 msgid "H\tCUP\tMove cursor to the indicated row, column (origin at 1,1).\n"
1266 msgstr ""
1267
1268 #. type: tbl table
1269 #: build/C/man4/console_codes.4:190
1270 #, no-wrap
1271 msgid "J\tED\tErase display (default: from cursor to end of display).\n"
1272 msgstr ""
1273
1274 #. type: tbl table
1275 #: build/C/man4/console_codes.4:191
1276 #, no-wrap
1277 msgid "\t\tESC [ 1 J: erase from start to cursor.\n"
1278 msgstr ""
1279
1280 #. type: tbl table
1281 #: build/C/man4/console_codes.4:192
1282 #, no-wrap
1283 msgid "\t\tESC [ 2 J: erase whole display.\n"
1284 msgstr ""
1285
1286 #. type: tbl table
1287 #: build/C/man4/console_codes.4:193
1288 #, no-wrap
1289 msgid "\t\tESC [ 3 J: erase whole display including scroll-back\n"
1290 msgstr ""
1291
1292 #. type: tbl table
1293 #: build/C/man4/console_codes.4:194
1294 #, no-wrap
1295 msgid "\t\t           buffer (since Linux 3.0).\n"
1296 msgstr ""
1297
1298 #.  ESC [ 3 J: commit f8df13e0a901fe55631fed66562369b4dba40f8b
1299 #. type: tbl table
1300 #: build/C/man4/console_codes.4:196
1301 #, no-wrap
1302 msgid "K\tEL\tErase line (default: from cursor to end of line).\n"
1303 msgstr ""
1304
1305 #. type: tbl table
1306 #: build/C/man4/console_codes.4:197
1307 #, no-wrap
1308 msgid "\t\tESC [ 1 K: erase from start of line to cursor.\n"
1309 msgstr ""
1310
1311 #. type: tbl table
1312 #: build/C/man4/console_codes.4:198
1313 #, no-wrap
1314 msgid "\t\tESC [ 2 K: erase whole line.\n"
1315 msgstr ""
1316
1317 #. type: tbl table
1318 #: build/C/man4/console_codes.4:199
1319 #, no-wrap
1320 msgid "L\tIL\tInsert the indicated # of blank lines.\n"
1321 msgstr ""
1322
1323 #. type: tbl table
1324 #: build/C/man4/console_codes.4:200
1325 #, no-wrap
1326 msgid "M\tDL\tDelete the indicated # of lines.\n"
1327 msgstr ""
1328
1329 #. type: tbl table
1330 #: build/C/man4/console_codes.4:201
1331 #, no-wrap
1332 msgid "P\tDCH\tDelete the indicated # of characters on current line.\n"
1333 msgstr ""
1334
1335 #. type: tbl table
1336 #: build/C/man4/console_codes.4:202
1337 #, no-wrap
1338 msgid "X\tECH\tErase the indicated # of characters on current line.\n"
1339 msgstr ""
1340
1341 #. type: tbl table
1342 #: build/C/man4/console_codes.4:203
1343 #, no-wrap
1344 msgid "a\tHPR\tMove cursor right the indicated # of columns.\n"
1345 msgstr ""
1346
1347 #. type: tbl table
1348 #: build/C/man4/console_codes.4:204
1349 #, no-wrap
1350 msgid "c\tDA\tAnswer ESC [ ? 6 c: \"I am a VT102\".\n"
1351 msgstr ""
1352
1353 #. type: tbl table
1354 #: build/C/man4/console_codes.4:205
1355 #, no-wrap
1356 msgid "d\tVPA\tMove cursor to the indicated row, current column.\n"
1357 msgstr ""
1358
1359 #. type: tbl table
1360 #: build/C/man4/console_codes.4:206
1361 #, no-wrap
1362 msgid "e\tVPR\tMove cursor down the indicated # of rows.\n"
1363 msgstr ""
1364
1365 #. type: tbl table
1366 #: build/C/man4/console_codes.4:207
1367 #, no-wrap
1368 msgid "f\tHVP\tMove cursor to the indicated row, column.\n"
1369 msgstr ""
1370
1371 #. type: tbl table
1372 #: build/C/man4/console_codes.4:208
1373 #, no-wrap
1374 msgid "g\tTBC\tWithout parameter: clear tab stop at current position.\n"
1375 msgstr ""
1376
1377 #. type: tbl table
1378 #: build/C/man4/console_codes.4:209
1379 #, no-wrap
1380 msgid "\t\tESC [ 3 g: delete all tab stops.\n"
1381 msgstr ""
1382
1383 #. type: tbl table
1384 #: build/C/man4/console_codes.4:210
1385 #, no-wrap
1386 msgid "h\tSM\tSet Mode (see below).\n"
1387 msgstr ""
1388
1389 #. type: tbl table
1390 #: build/C/man4/console_codes.4:211
1391 #, no-wrap
1392 msgid "l\tRM\tReset Mode (see below).\n"
1393 msgstr ""
1394
1395 #. type: tbl table
1396 #: build/C/man4/console_codes.4:212
1397 #, no-wrap
1398 msgid "m\tSGR\tSet attributes (see below).\n"
1399 msgstr ""
1400
1401 #. type: tbl table
1402 #: build/C/man4/console_codes.4:213
1403 #, no-wrap
1404 msgid "n\tDSR\tStatus report (see below).\n"
1405 msgstr ""
1406
1407 #. type: tbl table
1408 #: build/C/man4/console_codes.4:214
1409 #, no-wrap
1410 msgid "q\tDECLL\tSet keyboard LEDs.\n"
1411 msgstr ""
1412
1413 #. type: tbl table
1414 #: build/C/man4/console_codes.4:215
1415 #, no-wrap
1416 msgid "\t\tESC [ 0 q: clear all LEDs\n"
1417 msgstr ""
1418
1419 #. type: tbl table
1420 #: build/C/man4/console_codes.4:216
1421 #, no-wrap
1422 msgid "\t\tESC [ 1 q: set Scroll Lock LED\n"
1423 msgstr ""
1424
1425 #. type: tbl table
1426 #: build/C/man4/console_codes.4:217
1427 #, no-wrap
1428 msgid "\t\tESC [ 2 q: set Num Lock LED\n"
1429 msgstr ""
1430
1431 #. type: tbl table
1432 #: build/C/man4/console_codes.4:218
1433 #, no-wrap
1434 msgid "\t\tESC [ 3 q: set Caps Lock LED\n"
1435 msgstr ""
1436
1437 #. type: tbl table
1438 #: build/C/man4/console_codes.4:219
1439 #, no-wrap
1440 msgid "r\tDECSTBM\tSet scrolling region; parameters are top and bottom row.\n"
1441 msgstr ""
1442
1443 #. type: tbl table
1444 #: build/C/man4/console_codes.4:220
1445 #, no-wrap
1446 msgid "s\t?\tSave cursor location.\n"
1447 msgstr ""
1448
1449 #. type: tbl table
1450 #: build/C/man4/console_codes.4:221
1451 #, no-wrap
1452 msgid "u\t?\tRestore cursor location.\n"
1453 msgstr ""
1454
1455 #. type: tbl table
1456 #: build/C/man4/console_codes.4:222
1457 #, no-wrap
1458 msgid "\\`\tHPA\tMove cursor to indicated column in current row.\n"
1459 msgstr ""
1460
1461 #. type: Plain text
1462 #: build/C/man4/console_codes.4:226
1463 msgid "B<ECMA-48 Set Graphics Rendition>"
1464 msgstr ""
1465
1466 #. type: Plain text
1467 #: build/C/man4/console_codes.4:233
1468 msgid ""
1469 "The ECMA-48 SGR sequence ESC [ I<parameters> m sets display attributes.  "
1470 "Several attributes can be set in the same sequence, separated by "
1471 "semicolons.  An empty parameter (between semicolons or string initiator or "
1472 "terminator) is interpreted as a zero."
1473 msgstr ""
1474
1475 #. type: tbl table
1476 #: build/C/man4/console_codes.4:235
1477 #, no-wrap
1478 msgid "param\tresult\n"
1479 msgstr ""
1480
1481 #. type: tbl table
1482 #: build/C/man4/console_codes.4:236
1483 #, no-wrap
1484 msgid "0\treset all attributes to their defaults\n"
1485 msgstr ""
1486
1487 #. type: tbl table
1488 #: build/C/man4/console_codes.4:237
1489 #, no-wrap
1490 msgid "1\tset bold\n"
1491 msgstr ""
1492
1493 #. type: tbl table
1494 #: build/C/man4/console_codes.4:238
1495 #, no-wrap
1496 msgid "2\tset half-bright (simulated with color on a color display)\n"
1497 msgstr ""
1498
1499 #. type: tbl table
1500 #: build/C/man4/console_codes.4:239
1501 #, no-wrap
1502 msgid "4\tT{\n"
1503 msgstr ""
1504
1505 #. type: tbl table
1506 #: build/C/man4/console_codes.4:240
1507 #, no-wrap
1508 msgid "set underscore (simulated with color on a color display)\n"
1509 msgstr ""
1510
1511 #. type: tbl table
1512 #: build/C/man4/console_codes.4:241
1513 #, no-wrap
1514 msgid "(the colors used to simulate dim or underline are set\n"
1515 msgstr ""
1516
1517 #. type: tbl table
1518 #: build/C/man4/console_codes.4:242
1519 #, no-wrap
1520 msgid "using ESC ] ...)\n"
1521 msgstr ""
1522
1523 #. type: tbl table
1524 #: build/C/man4/console_codes.4:244
1525 #, no-wrap
1526 msgid "5\tset blink\n"
1527 msgstr ""
1528
1529 #. type: tbl table
1530 #: build/C/man4/console_codes.4:245
1531 #, no-wrap
1532 msgid "7\tset reverse video\n"
1533 msgstr ""
1534
1535 #. type: tbl table
1536 #: build/C/man4/console_codes.4:246
1537 #, no-wrap
1538 msgid "10\tT{\n"
1539 msgstr ""
1540
1541 #. type: tbl table
1542 #: build/C/man4/console_codes.4:247
1543 #, no-wrap
1544 msgid "reset selected mapping, display control flag,\n"
1545 msgstr ""
1546
1547 #. type: tbl table
1548 #: build/C/man4/console_codes.4:248
1549 #, no-wrap
1550 msgid "and toggle meta flag (ECMA-48 says \"primary font\").\n"
1551 msgstr ""
1552
1553 #. type: tbl table
1554 #: build/C/man4/console_codes.4:250
1555 #, no-wrap
1556 msgid "11\tT{\n"
1557 msgstr ""
1558
1559 #. type: tbl table
1560 #: build/C/man4/console_codes.4:251 build/C/man4/console_codes.4:255
1561 #, no-wrap
1562 msgid "select null mapping, set display control flag,\n"
1563 msgstr ""
1564
1565 #. type: tbl table
1566 #: build/C/man4/console_codes.4:252
1567 #, no-wrap
1568 msgid "reset toggle meta flag (ECMA-48 says \"first alternate font\").\n"
1569 msgstr ""
1570
1571 #. type: tbl table
1572 #: build/C/man4/console_codes.4:254
1573 #, no-wrap
1574 msgid "12\tT{\n"
1575 msgstr ""
1576
1577 #. type: tbl table
1578 #: build/C/man4/console_codes.4:256
1579 #, no-wrap
1580 msgid "set toggle meta flag (ECMA-48 says \"second alternate font\").\n"
1581 msgstr ""
1582
1583 #. type: tbl table
1584 #: build/C/man4/console_codes.4:257
1585 #, no-wrap
1586 msgid "The toggle meta flag\n"
1587 msgstr ""
1588
1589 #. type: tbl table
1590 #: build/C/man4/console_codes.4:258
1591 #, no-wrap
1592 msgid "causes the high bit of a byte to be toggled\n"
1593 msgstr ""
1594
1595 #. type: tbl table
1596 #: build/C/man4/console_codes.4:259
1597 #, no-wrap
1598 msgid "before the mapping table translation is done.\n"
1599 msgstr ""
1600
1601 #. type: tbl table
1602 #: build/C/man4/console_codes.4:261
1603 #, no-wrap
1604 msgid "21\tset normal intensity (ECMA-48 says \"doubly underlined\")\n"
1605 msgstr ""
1606
1607 #. type: tbl table
1608 #: build/C/man4/console_codes.4:262
1609 #, no-wrap
1610 msgid "22\tset normal intensity\n"
1611 msgstr ""
1612
1613 #. type: tbl table
1614 #: build/C/man4/console_codes.4:263
1615 #, no-wrap
1616 msgid "24\tunderline off\n"
1617 msgstr ""
1618
1619 #. type: tbl table
1620 #: build/C/man4/console_codes.4:264
1621 #, no-wrap
1622 msgid "25\tblink off\n"
1623 msgstr ""
1624
1625 #. type: tbl table
1626 #: build/C/man4/console_codes.4:265
1627 #, no-wrap
1628 msgid "27\treverse video off\n"
1629 msgstr ""
1630
1631 #. type: tbl table
1632 #: build/C/man4/console_codes.4:266
1633 #, no-wrap
1634 msgid "30\tset black foreground\n"
1635 msgstr ""
1636
1637 #. type: tbl table
1638 #: build/C/man4/console_codes.4:267
1639 #, no-wrap
1640 msgid "31\tset red foreground\n"
1641 msgstr ""
1642
1643 #. type: tbl table
1644 #: build/C/man4/console_codes.4:268
1645 #, no-wrap
1646 msgid "32\tset green foreground\n"
1647 msgstr ""
1648
1649 #. type: tbl table
1650 #: build/C/man4/console_codes.4:269
1651 #, no-wrap
1652 msgid "33\tset brown foreground\n"
1653 msgstr ""
1654
1655 #. type: tbl table
1656 #: build/C/man4/console_codes.4:270
1657 #, no-wrap
1658 msgid "34\tset blue foreground\n"
1659 msgstr ""
1660
1661 #. type: tbl table
1662 #: build/C/man4/console_codes.4:271
1663 #, no-wrap
1664 msgid "35\tset magenta foreground\n"
1665 msgstr ""
1666
1667 #. type: tbl table
1668 #: build/C/man4/console_codes.4:272
1669 #, no-wrap
1670 msgid "36\tset cyan foreground\n"
1671 msgstr ""
1672
1673 #. type: tbl table
1674 #: build/C/man4/console_codes.4:273
1675 #, no-wrap
1676 msgid "37\tset white foreground\n"
1677 msgstr ""
1678
1679 #. type: tbl table
1680 #: build/C/man4/console_codes.4:274
1681 #, no-wrap
1682 msgid "38\tset underscore on, set default foreground color\n"
1683 msgstr ""
1684
1685 #. type: tbl table
1686 #: build/C/man4/console_codes.4:275
1687 #, no-wrap
1688 msgid "39\tset underscore off, set default foreground color\n"
1689 msgstr ""
1690
1691 #. type: tbl table
1692 #: build/C/man4/console_codes.4:276
1693 #, no-wrap
1694 msgid "40\tset black background\n"
1695 msgstr ""
1696
1697 #. type: tbl table
1698 #: build/C/man4/console_codes.4:277
1699 #, no-wrap
1700 msgid "41\tset red background\n"
1701 msgstr ""
1702
1703 #. type: tbl table
1704 #: build/C/man4/console_codes.4:278
1705 #, no-wrap
1706 msgid "42\tset green background\n"
1707 msgstr ""
1708
1709 #. type: tbl table
1710 #: build/C/man4/console_codes.4:279
1711 #, no-wrap
1712 msgid "43\tset brown background\n"
1713 msgstr ""
1714
1715 #. type: tbl table
1716 #: build/C/man4/console_codes.4:280
1717 #, no-wrap
1718 msgid "44\tset blue background\n"
1719 msgstr ""
1720
1721 #. type: tbl table
1722 #: build/C/man4/console_codes.4:281
1723 #, no-wrap
1724 msgid "45\tset magenta background\n"
1725 msgstr ""
1726
1727 #. type: tbl table
1728 #: build/C/man4/console_codes.4:282
1729 #, no-wrap
1730 msgid "46\tset cyan background\n"
1731 msgstr ""
1732
1733 #. type: tbl table
1734 #: build/C/man4/console_codes.4:283
1735 #, no-wrap
1736 msgid "47\tset white background\n"
1737 msgstr ""
1738
1739 #. type: tbl table
1740 #: build/C/man4/console_codes.4:284
1741 #, no-wrap
1742 msgid "49\tset default background color\n"
1743 msgstr ""
1744
1745 #. type: Plain text
1746 #: build/C/man4/console_codes.4:288
1747 msgid "B<ECMA-48 Mode Switches>"
1748 msgstr ""
1749
1750 #. type: TP
1751 #: build/C/man4/console_codes.4:288
1752 #, no-wrap
1753 msgid "ESC [ 3 h"
1754 msgstr ""
1755
1756 #. type: Plain text
1757 #: build/C/man4/console_codes.4:291
1758 msgid "DECCRM (default off): Display control chars."
1759 msgstr ""
1760
1761 #. type: TP
1762 #: build/C/man4/console_codes.4:291
1763 #, no-wrap
1764 msgid "ESC [ 4 h"
1765 msgstr ""
1766
1767 #. type: Plain text
1768 #: build/C/man4/console_codes.4:294
1769 msgid "DECIM (default off): Set insert mode."
1770 msgstr ""
1771
1772 #. type: TP
1773 #: build/C/man4/console_codes.4:294
1774 #, no-wrap
1775 msgid "ESC [ 20 h"
1776 msgstr ""
1777
1778 #. type: Plain text
1779 #: build/C/man4/console_codes.4:298
1780 msgid "LF/NL (default off): Automatically follow echo of LF, VT or FF with CR."
1781 msgstr ""
1782
1783 #. type: Plain text
1784 #: build/C/man4/console_codes.4:301
1785 msgid "B<ECMA-48 Status Report Commands>"
1786 msgstr ""
1787
1788 #. type: TP
1789 #: build/C/man4/console_codes.4:301
1790 #, no-wrap
1791 msgid "ESC [ 5 n"
1792 msgstr ""
1793
1794 #. type: Plain text
1795 #: build/C/man4/console_codes.4:304
1796 msgid "Device status report (DSR): Answer is ESC [ 0 n (Terminal OK)."
1797 msgstr ""
1798
1799 #. type: TP
1800 #: build/C/man4/console_codes.4:304
1801 #, no-wrap
1802 msgid "ESC [ 6 n"
1803 msgstr ""
1804
1805 #. type: Plain text
1806 #: build/C/man4/console_codes.4:309
1807 msgid ""
1808 "Cursor position report (CPR): Answer is ESC [ I<y> ; I<x> R, where I<x,y> is "
1809 "the cursor location."
1810 msgstr ""
1811
1812 #. type: Plain text
1813 #: build/C/man4/console_codes.4:311
1814 msgid "B<DEC Private Mode (DECSET/DECRST) sequences>"
1815 msgstr ""
1816
1817 #. type: Plain text
1818 #: build/C/man4/console_codes.4:317
1819 msgid ""
1820 "These are not described in ECMA-48.  We list the Set Mode sequences; the "
1821 "Reset Mode sequences are obtained by replacing the final \\(aqh\\(aq by "
1822 "\\(aql\\(aq."
1823 msgstr ""
1824
1825 #. type: TP
1826 #: build/C/man4/console_codes.4:317
1827 #, no-wrap
1828 msgid "ESC [ ? 1 h"
1829 msgstr ""
1830
1831 #. type: Plain text
1832 #: build/C/man4/console_codes.4:321
1833 msgid ""
1834 "DECCKM (default off): When set, the cursor keys send an ESC O prefix, rather "
1835 "than ESC [."
1836 msgstr ""
1837
1838 #. type: TP
1839 #: build/C/man4/console_codes.4:321
1840 #, no-wrap
1841 msgid "ESC [ ? 3 h"
1842 msgstr ""
1843
1844 #. type: Plain text
1845 #: build/C/man4/console_codes.4:328
1846 msgid ""
1847 "DECCOLM (default off = 80 columns): 80/132 col mode switch.  The driver "
1848 "sources note that this alone does not suffice; some user-mode utility such "
1849 "as B<resizecons>(8)  has to change the hardware registers on the console "
1850 "video card."
1851 msgstr ""
1852
1853 #. type: TP
1854 #: build/C/man4/console_codes.4:328
1855 #, no-wrap
1856 msgid "ESC [ ? 5 h"
1857 msgstr ""
1858
1859 #. type: Plain text
1860 #: build/C/man4/console_codes.4:331
1861 msgid "DECSCNM (default off): Set reverse-video mode."
1862 msgstr ""
1863
1864 #. type: TP
1865 #: build/C/man4/console_codes.4:331
1866 #, no-wrap
1867 msgid "ESC [ ? 6 h"
1868 msgstr ""
1869
1870 #. type: Plain text
1871 #: build/C/man4/console_codes.4:335
1872 msgid ""
1873 "DECOM (default off): When set, cursor addressing is relative to the upper "
1874 "left corner of the scrolling region."
1875 msgstr ""
1876
1877 #. type: TP
1878 #: build/C/man4/console_codes.4:335
1879 #, no-wrap
1880 msgid "ESC [ ? 7 h"
1881 msgstr ""
1882
1883 #. type: Plain text
1884 #: build/C/man4/console_codes.4:341
1885 msgid ""
1886 "DECAWM (default on): Set autowrap on.  In this mode, a graphic character "
1887 "emitted after column 80 (or column 132 of DECCOLM is on)  forces a wrap to "
1888 "the beginning of the following line first."
1889 msgstr ""
1890
1891 #. type: TP
1892 #: build/C/man4/console_codes.4:341
1893 #, no-wrap
1894 msgid "ESC [ ? 8 h"
1895 msgstr ""
1896
1897 #. type: Plain text
1898 #: build/C/man4/console_codes.4:344
1899 msgid "DECARM (default on): Set keyboard autorepeat on."
1900 msgstr ""
1901
1902 #. type: TP
1903 #: build/C/man4/console_codes.4:344
1904 #, no-wrap
1905 msgid "ESC [ ? 9 h"
1906 msgstr ""
1907
1908 #. type: Plain text
1909 #: build/C/man4/console_codes.4:348
1910 msgid ""
1911 "X10 Mouse Reporting (default off): Set reporting mode to 1 (or reset to "
1912 "0)\\(emsee below."
1913 msgstr ""
1914
1915 #. type: TP
1916 #: build/C/man4/console_codes.4:348
1917 #, no-wrap
1918 msgid "ESC [ ? 25 h"
1919 msgstr ""
1920
1921 #. type: Plain text
1922 #: build/C/man4/console_codes.4:351
1923 msgid "DECTECM (default on): Make cursor visible."
1924 msgstr ""
1925
1926 #. type: TP
1927 #: build/C/man4/console_codes.4:351
1928 #, no-wrap
1929 msgid "ESC [ ? 1000 h"
1930 msgstr ""
1931
1932 #. type: Plain text
1933 #: build/C/man4/console_codes.4:356
1934 msgid ""
1935 "X11 Mouse Reporting (default off): Set reporting mode to 2 (or reset to "
1936 "0)\\(emsee below."
1937 msgstr ""
1938
1939 #. type: Plain text
1940 #: build/C/man4/console_codes.4:358
1941 msgid "B<Linux Console Private CSI Sequences>"
1942 msgstr ""
1943
1944 #. type: Plain text
1945 #: build/C/man4/console_codes.4:365
1946 msgid ""
1947 "The following sequences are neither ECMA-48 nor native VT102.  They are "
1948 "native to the Linux console driver.  Colors are in SGR parameters: 0 = "
1949 "black, 1 = red, 2 = green, 3 = brown, 4 = blue, 5 = magenta, 6 = cyan, 7 = "
1950 "white."
1951 msgstr ""
1952
1953 #. type: tbl table
1954 #: build/C/man4/console_codes.4:367
1955 #, no-wrap
1956 msgid "ESC [ 1 ; I<n> ]\tSet color I<n> as the underline color\n"
1957 msgstr ""
1958
1959 #. type: tbl table
1960 #: build/C/man4/console_codes.4:368
1961 #, no-wrap
1962 msgid "ESC [ 2 ; I<n> ]\tSet color I<n> as the dim color\n"
1963 msgstr ""
1964
1965 #. type: tbl table
1966 #: build/C/man4/console_codes.4:369
1967 #, no-wrap
1968 msgid "ESC [ 8 ]       \tMake the current color pair the default attributes.\n"
1969 msgstr ""
1970
1971 #. type: tbl table
1972 #: build/C/man4/console_codes.4:370
1973 #, no-wrap
1974 msgid "ESC [ 9 ; I<n> ]\tSet screen blank timeout to I<n> minutes.\n"
1975 msgstr ""
1976
1977 #. type: tbl table
1978 #: build/C/man4/console_codes.4:371
1979 #, no-wrap
1980 msgid "ESC [ 10 ; I<n> ]\tSet bell frequency in Hz.\n"
1981 msgstr ""
1982
1983 #. type: tbl table
1984 #: build/C/man4/console_codes.4:372
1985 #, no-wrap
1986 msgid "ESC [ 11 ; I<n> ]\tSet bell duration in msec.\n"
1987 msgstr ""
1988
1989 #. type: tbl table
1990 #: build/C/man4/console_codes.4:373
1991 #, no-wrap
1992 msgid "ESC [ 12 ; I<n> ]\tBring specified console to the front.\n"
1993 msgstr ""
1994
1995 #. type: tbl table
1996 #: build/C/man4/console_codes.4:374
1997 #, no-wrap
1998 msgid "ESC [ 13 ]      \tUnblank the screen.\n"
1999 msgstr ""
2000
2001 #. type: tbl table
2002 #: build/C/man4/console_codes.4:375
2003 #, no-wrap
2004 msgid "ESC [ 14 ; I<n> ]   \tSet the VESA powerdown interval in minutes.\n"
2005 msgstr ""
2006
2007 #. type: SS
2008 #: build/C/man4/console_codes.4:377
2009 #, no-wrap
2010 msgid "Character sets"
2011 msgstr ""
2012
2013 #. type: Plain text
2014 #: build/C/man4/console_codes.4:382
2015 msgid ""
2016 "The kernel knows about 4 translations of bytes into console-screen symbols.  "
2017 "The four tables are: a) Latin1 -E<gt> PC, b) VT100 graphics -E<gt> PC, c) PC "
2018 "-E<gt> PC, d) user-defined."
2019 msgstr ""
2020
2021 #. type: Plain text
2022 #: build/C/man4/console_codes.4:388
2023 msgid ""
2024 "There are two character sets, called G0 and G1, and one of them is the "
2025 "current character set.  (Initially G0.)  Typing B<^N> causes G1 to become "
2026 "current, B<^O> causes G0 to become current."
2027 msgstr ""
2028
2029 #. type: Plain text
2030 #: build/C/man4/console_codes.4:396
2031 msgid ""
2032 "These variables G0 and G1 point at a translation table, and can be changed "
2033 "by the user.  Initially they point at tables a) and b), respectively.  The "
2034 "sequences ESC ( B and ESC ( 0 and ESC ( U and ESC ( K cause G0 to point at "
2035 "translation table a), b), c) and d), respectively.  The sequences ESC ) B "
2036 "and ESC ) 0 and ESC ) U and ESC ) K cause G1 to point at translation table "
2037 "a), b), c) and d), respectively."
2038 msgstr ""
2039
2040 #. type: Plain text
2041 #: build/C/man4/console_codes.4:406
2042 msgid ""
2043 "The sequence ESC c causes a terminal reset, which is what you want if the "
2044 "screen is all garbled.  The oft-advised \"echo ^V^O\" will make only G0 "
2045 "current, but there is no guarantee that G0 points at table a).  In some "
2046 "distributions there is a program B<reset>(1)  that just does \"echo ^[c\".  "
2047 "If your terminfo entry for the console is correct (and has an entry "
2048 "rs1=\\eEc), then \"tput reset\" will also work."
2049 msgstr ""
2050
2051 #. type: Plain text
2052 #: build/C/man4/console_codes.4:414
2053 msgid ""
2054 "The user-defined mapping table can be set using B<mapscrn>(8).  The result "
2055 "of the mapping is that if a symbol c is printed, the symbol s = map[c] is "
2056 "sent to the video memory.  The bitmap that corresponds to s is found in the "
2057 "character ROM, and can be changed using B<setfont>(8)."
2058 msgstr ""
2059
2060 #. type: SS
2061 #: build/C/man4/console_codes.4:414
2062 #, no-wrap
2063 msgid "Mouse tracking"
2064 msgstr ""
2065
2066 #. type: Plain text
2067 #: build/C/man4/console_codes.4:426
2068 msgid ""
2069 "The mouse tracking facility is intended to return B<xterm>(1)-compatible "
2070 "mouse status reports.  Because the console driver has no way to know the "
2071 "device or type of the mouse, these reports are returned in the console input "
2072 "stream only when the virtual terminal driver receives a mouse update ioctl.  "
2073 "These ioctls must be generated by a mouse-aware user-mode application such "
2074 "as the B<gpm>(8)  daemon."
2075 msgstr ""
2076
2077 #. type: Plain text
2078 #: build/C/man4/console_codes.4:432
2079 msgid ""
2080 "The mouse tracking escape sequences generated by B<xterm>(1) encode numeric "
2081 "parameters in a single character as I<value>+040.  For example, \\(aq!\\(aq "
2082 "is 1.  The screen coordinate system is 1-based."
2083 msgstr ""
2084
2085 #. type: Plain text
2086 #: build/C/man4/console_codes.4:442
2087 msgid ""
2088 "The X10 compatibility mode sends an escape sequence on button press encoding "
2089 "the location and the mouse button pressed.  It is enabled by sending ESC [ ? "
2090 "9 h and disabled with ESC [ ? 9 l.  On button press, B<xterm>(1) sends ESC [ "
2091 "M I<bxy> (6 characters).  Here I<b> is button-1, and I<x> and I<y> are the x "
2092 "and y coordinates of the mouse when the button was pressed.  This is the "
2093 "same code the kernel also produces."
2094 msgstr ""
2095
2096 #. type: Plain text
2097 #: build/C/man4/console_codes.4:457
2098 msgid ""
2099 "Normal tracking mode (not implemented in Linux 2.0.24) sends an escape "
2100 "sequence on both button press and release.  Modifier information is also "
2101 "sent.  It is enabled by sending ESC [ ? 1000 h and disabled with ESC [ ? "
2102 "1000 l.  On button press or release, B<xterm>(1) sends ESC [ M I<bxy>.  The "
2103 "low two bits of I<b> encode button information: 0=MB1 pressed, 1=MB2 "
2104 "pressed, 2=MB3 pressed, 3=release.  The upper bits encode what modifiers "
2105 "were down when the button was pressed and are added together: 4=Shift, "
2106 "8=Meta, 16=Control.  Again I<x> and I<y> are the x and y coordinates of the "
2107 "mouse event.  The upper left corner is (1,1)."
2108 msgstr ""
2109
2110 #. type: SS
2111 #: build/C/man4/console_codes.4:457
2112 #, no-wrap
2113 msgid "Comparisons with other terminals"
2114 msgstr ""
2115
2116 #. type: Plain text
2117 #: build/C/man4/console_codes.4:464
2118 msgid ""
2119 "Many different terminal types are described, like the Linux console, as "
2120 "being \"VT100-compatible\".  Here we discuss differences between the Linux "
2121 "console and the two most important others, the DEC VT102 and B<xterm>(1)."
2122 msgstr ""
2123
2124 #. type: Plain text
2125 #: build/C/man4/console_codes.4:466
2126 msgid "B<Control-character handling>"
2127 msgstr ""
2128
2129 #. type: Plain text
2130 #: build/C/man4/console_codes.4:468
2131 msgid "The VT102 also recognized the following control characters:"
2132 msgstr ""
2133
2134 #. type: Plain text
2135 #: build/C/man4/console_codes.4:470
2136 msgid "NUL (0x00) was ignored;"
2137 msgstr ""
2138
2139 #. type: Plain text
2140 #: build/C/man4/console_codes.4:472
2141 msgid "ENQ (0x05) triggered an answerback message;"
2142 msgstr ""
2143
2144 #. type: Plain text
2145 #: build/C/man4/console_codes.4:474
2146 msgid "DC1 (0x11, B<^Q>, XON) resumed transmission;"
2147 msgstr ""
2148
2149 #. type: Plain text
2150 #: build/C/man4/console_codes.4:477
2151 msgid ""
2152 "DC3 (0x13, B<^S>, XOFF) caused VT100 to ignore (and stop transmitting)  all "
2153 "codes except XOFF and XON."
2154 msgstr ""
2155
2156 #. type: Plain text
2157 #: build/C/man4/console_codes.4:479
2158 msgid "VT100-like DC1/DC3 processing may be enabled by the terminal driver."
2159 msgstr ""
2160
2161 #. type: Plain text
2162 #: build/C/man4/console_codes.4:485
2163 msgid ""
2164 "The B<xterm>(1)  program (in VT100 mode) recognizes the control characters "
2165 "BEL, BS, HT, LF, VT, FF, CR, SO, SI, ESC."
2166 msgstr ""
2167
2168 #. type: Plain text
2169 #: build/C/man4/console_codes.4:487
2170 msgid "B<Escape sequences>"
2171 msgstr ""
2172
2173 #. type: Plain text
2174 #: build/C/man4/console_codes.4:489
2175 msgid "VT100 console sequences not implemented on the Linux console:"
2176 msgstr ""
2177
2178 #. type: tbl table
2179 #: build/C/man4/console_codes.4:491
2180 #, no-wrap
2181 msgid "ESC N\tSS2\tSingle shift 2. (Select G2 character set for the next\n"
2182 msgstr ""
2183
2184 #. type: tbl table
2185 #: build/C/man4/console_codes.4:492 build/C/man4/console_codes.4:494
2186 #, no-wrap
2187 msgid "\t\tcharacter only.)\n"
2188 msgstr ""
2189
2190 #. type: tbl table
2191 #: build/C/man4/console_codes.4:493
2192 #, no-wrap
2193 msgid "ESC O\tSS3\tSingle shift 3. (Select G3 character set for the next\n"
2194 msgstr ""
2195
2196 #. type: tbl table
2197 #: build/C/man4/console_codes.4:495
2198 #, no-wrap
2199 msgid "ESC P\tDCS\tDevice control string (ended by ESC \\e)\n"
2200 msgstr ""
2201
2202 #. type: tbl table
2203 #: build/C/man4/console_codes.4:496
2204 #, no-wrap
2205 msgid "ESC X\tSOS\tStart of string.\n"
2206 msgstr ""
2207
2208 #. type: tbl table
2209 #: build/C/man4/console_codes.4:497
2210 #, no-wrap
2211 msgid "ESC ^\tPM\tPrivacy message (ended by ESC \\e)\n"
2212 msgstr ""
2213
2214 #. type: tbl table
2215 #: build/C/man4/console_codes.4:498
2216 #, no-wrap
2217 msgid "ESC \\e\tST\tString terminator\n"
2218 msgstr ""
2219
2220 #. type: tbl table
2221 #: build/C/man4/console_codes.4:499
2222 #, no-wrap
2223 msgid "ESC * ...\t\tDesignate G2 character set\n"
2224 msgstr ""
2225
2226 #. type: tbl table
2227 #: build/C/man4/console_codes.4:500
2228 #, no-wrap
2229 msgid "ESC + ...\t\tDesignate G3 character set\n"
2230 msgstr ""
2231
2232 #. type: Plain text
2233 #: build/C/man4/console_codes.4:513
2234 msgid ""
2235 "The program B<xterm>(1)  (in VT100 mode) recognizes ESC c, ESC # 8, ESC "
2236 "E<gt>, ESC =, ESC D, ESC E, ESC H, ESC M, ESC N, ESC O, ESC P ... ESC \\e, "
2237 "ESC Z (it answers ESC [ ? 1 ; 2 c, \"I am a VT100 with advanced video "
2238 "option\")  and ESC ^ ... ESC \\e with the same meanings as indicated above.  "
2239 "It accepts ESC (, ESC ), ESC *, ESC + followed by 0, A, B for the DEC "
2240 "special character and line drawing set, UK, and US-ASCII, respectively."
2241 msgstr ""
2242
2243 #. type: Plain text
2244 #: build/C/man4/console_codes.4:517
2245 msgid ""
2246 "The user can configure B<xterm>(1) to respond to VT220-specific control "
2247 "sequences, and it will identify itself as a VT52, VT100, and up depending on "
2248 "the way it is configured and initialized."
2249 msgstr ""
2250
2251 #. type: Plain text
2252 #: build/C/man4/console_codes.4:522
2253 msgid ""
2254 "It accepts ESC ] (OSC) for the setting of certain resources.  In addition to "
2255 "the ECMA-48 string terminator (ST), B<xterm>(1) accepts a BEL to terminate "
2256 "an OSC string.  These are a few of the OSC control sequences recognized by "
2257 "B<xterm>(1):"
2258 msgstr ""
2259
2260 #. type: tbl table
2261 #: build/C/man4/console_codes.4:524
2262 #, no-wrap
2263 msgid "ESC ] 0 ; I<txt> ST\tSet icon name and window title to I<txt>.\n"
2264 msgstr ""
2265
2266 #. type: tbl table
2267 #: build/C/man4/console_codes.4:525
2268 #, no-wrap
2269 msgid "ESC ] 1 ; I<txt> ST\tSet icon name to I<txt>.\n"
2270 msgstr ""
2271
2272 #. type: tbl table
2273 #: build/C/man4/console_codes.4:526
2274 #, no-wrap
2275 msgid "ESC ] 2 ; I<txt> ST\tSet window title to I<txt>.\n"
2276 msgstr ""
2277
2278 #. type: tbl table
2279 #: build/C/man4/console_codes.4:527
2280 #, no-wrap
2281 msgid "ESC ] 4 ; I<num>; I<txt> ST\tSet ANSI color I<num> to I<txt>.\n"
2282 msgstr ""
2283
2284 #. type: tbl table
2285 #: build/C/man4/console_codes.4:528
2286 #, no-wrap
2287 msgid "ESC ] 10 ; I<txt> ST\tSet dynamic text color to I<txt>.\n"
2288 msgstr ""
2289
2290 #. type: tbl table
2291 #: build/C/man4/console_codes.4:529
2292 #, no-wrap
2293 msgid "ESC ] 4 6 ; I<name> ST\tChange log file to I<name> (normally disabled\n"
2294 msgstr ""
2295
2296 #. type: tbl table
2297 #: build/C/man4/console_codes.4:530
2298 #, no-wrap
2299 msgid "\tby a compile-time option)\n"
2300 msgstr ""
2301
2302 #. type: tbl table
2303 #: build/C/man4/console_codes.4:531
2304 #, no-wrap
2305 msgid "ESC ] 5 0 ; I<fn> ST\tSet font to I<fn>.\n"
2306 msgstr ""
2307
2308 #. type: Plain text
2309 #: build/C/man4/console_codes.4:536
2310 msgid ""
2311 "It recognizes the following with slightly modified meaning (saving more "
2312 "state, behaving closer to VT100/VT220):"
2313 msgstr ""
2314
2315 #. type: tbl table
2316 #: build/C/man4/console_codes.4:538
2317 #, no-wrap
2318 msgid "ESC 7  DECSC\tSave cursor\n"
2319 msgstr ""
2320
2321 #. type: tbl table
2322 #: build/C/man4/console_codes.4:539
2323 #, no-wrap
2324 msgid "ESC 8  DECRC\tRestore cursor\n"
2325 msgstr ""
2326
2327 #. type: Plain text
2328 #: build/C/man4/console_codes.4:543
2329 msgid "It also recognizes"
2330 msgstr ""
2331
2332 #. type: tbl table
2333 #: build/C/man4/console_codes.4:545
2334 #, no-wrap
2335 msgid "ESC F\t\tCursor to lower left corner of screen (if enabled by\n"
2336 msgstr ""
2337
2338 #. type: tbl table
2339 #: build/C/man4/console_codes.4:546
2340 #, no-wrap
2341 msgid "\t\tB<xterm>(1)'s B<hpLowerleftBugCompat> resource)\n"
2342 msgstr ""
2343
2344 #. type: tbl table
2345 #: build/C/man4/console_codes.4:547
2346 #, no-wrap
2347 msgid "ESC l\t\tMemory lock (per HP terminals).\n"
2348 msgstr ""
2349
2350 #. type: tbl table
2351 #: build/C/man4/console_codes.4:548
2352 #, no-wrap
2353 msgid "\t\tLocks memory above the cursor.\n"
2354 msgstr ""
2355
2356 #. type: tbl table
2357 #: build/C/man4/console_codes.4:549
2358 #, no-wrap
2359 msgid "ESC m\t\tMemory unlock (per HP terminals).\n"
2360 msgstr ""
2361
2362 #. type: tbl table
2363 #: build/C/man4/console_codes.4:550
2364 #, no-wrap
2365 msgid "ESC n\tLS2\tInvoke the G2 character set.\n"
2366 msgstr ""
2367
2368 #. type: tbl table
2369 #: build/C/man4/console_codes.4:551
2370 #, no-wrap
2371 msgid "ESC o\tLS3\tInvoke the G3 character set.\n"
2372 msgstr ""
2373
2374 #. type: tbl table
2375 #: build/C/man4/console_codes.4:552
2376 #, no-wrap
2377 msgid "ESC |\tLS3R\tInvoke the G3 character set as GR.\n"
2378 msgstr ""
2379
2380 #. type: tbl table
2381 #: build/C/man4/console_codes.4:553
2382 #, no-wrap
2383 msgid "ESC }\tLS2R\tInvoke the G2 character set as GR.\n"
2384 msgstr ""
2385
2386 #. type: tbl table
2387 #: build/C/man4/console_codes.4:554
2388 #, no-wrap
2389 msgid "ESC ~\tLS1R\tInvoke the G1 character set as GR.\n"
2390 msgstr ""
2391
2392 #. type: Plain text
2393 #: build/C/man4/console_codes.4:560
2394 msgid ""
2395 "It also recognizes ESC % and provides a more complete UTF-8 implementation "
2396 "than Linux console."
2397 msgstr ""
2398
2399 #. type: Plain text
2400 #: build/C/man4/console_codes.4:562
2401 msgid "B<CSI Sequences>"
2402 msgstr ""
2403
2404 #. type: Plain text
2405 #: build/C/man4/console_codes.4:576
2406 msgid ""
2407 "Old versions of B<xterm>(1), for example, from X11R5, interpret the blink "
2408 "SGR as a bold SGR.  Later versions which implemented ANSI colors, for "
2409 "example, XFree86 3.1.2A in 1995, improved this by allowing the blink "
2410 "attribute to be displayed as a color.  Modern versions of xterm implement "
2411 "blink SGR as blinking text and still allow colored text as an alternate "
2412 "rendering of SGRs.  Stock X11R6 versions did not recognize the color-setting "
2413 "SGRs until the X11R6.8 release, which incorporated XFree86 xterm.  All "
2414 "ECMA-48 CSI sequences recognized by Linux are also recognized by I<xterm>, "
2415 "however B<xterm>(1) implements several ECMA-48 and DEC control sequences not "
2416 "recognized by Linux."
2417 msgstr ""
2418
2419 #. type: Plain text
2420 #: build/C/man4/console_codes.4:590
2421 msgid ""
2422 "The B<xterm>(1)  program recognizes all of the DEC Private Mode sequences "
2423 "listed above, but none of the Linux private-mode sequences.  For discussion "
2424 "of B<xterm>(1)'s own private-mode sequences, refer to the I<Xterm Control "
2425 "Sequences> document by Edward Moy, Stephen Gildea, and Thomas E. Dickey "
2426 "available with the X distribution.  That document, though terse, is much "
2427 "longer than this manual page.  For a chronological overview,"
2428 msgstr ""
2429
2430 #. type: Plain text
2431 #: build/C/man4/console_codes.4:594
2432 msgid "E<.UR http://invisible-island.net\\:/xterm\\:/xterm.log.html> E<.UE>"
2433 msgstr ""
2434
2435 #. type: Plain text
2436 #: build/C/man4/console_codes.4:597
2437 msgid "details changes to xterm."
2438 msgstr ""
2439
2440 #. type: Plain text
2441 #: build/C/man4/console_codes.4:599
2442 msgid "The I<vttest> program"
2443 msgstr ""
2444
2445 #. type: Plain text
2446 #: build/C/man4/console_codes.4:603
2447 msgid "E<.UR http://invisible-island.net\\:/vttest/> E<.UE>"
2448 msgstr ""
2449
2450 #. type: Plain text
2451 #: build/C/man4/console_codes.4:608
2452 msgid ""
2453 "demonstrates many of these control sequences.  The B<xterm>(1) source "
2454 "distribution also contains sample scripts which exercise other features."
2455 msgstr ""
2456
2457 #. type: SH
2458 #: build/C/man4/console_codes.4:608 build/C/man4/console_ioctl.4:824 build/C/man5/core.5:311 build/C/man4/cpuid.4:62 build/C/man4/fd.4:196 build/C/man7/fifo.7:54 build/C/man4/initrd.4:429 build/C/man3/makedev.3:71 build/C/man2/mknod.2:253 build/C/man4/msr.4:47 build/C/man4/null.4:61 build/C/man4/st.4:891 build/C/man3/stdarg.3:248 build/C/man2/syslog.2:301 build/C/man3/syslog.3:296 build/C/man7/uri.7:592
2459 #, no-wrap
2460 msgid "NOTES"
2461 msgstr ""
2462
2463 #. type: Plain text
2464 #: build/C/man4/console_codes.4:611
2465 msgid "ESC 8 (DECRC) is not able to restore the character set changed with ESC %."
2466 msgstr ""
2467
2468 #. type: SH
2469 #: build/C/man4/console_codes.4:611 build/C/man4/sk98lin.4:592 build/C/man3/stdarg.3:284 build/C/man7/uri.7:673
2470 #, no-wrap
2471 msgid "BUGS"
2472 msgstr ""
2473
2474 #. type: Plain text
2475 #: build/C/man4/console_codes.4:614
2476 msgid "In 2.0.23, CSI is broken, and NUL is not ignored inside escape sequences."
2477 msgstr ""
2478
2479 #. type: Plain text
2480 #: build/C/man4/console_codes.4:623
2481 msgid ""
2482 "Some older kernel versions (after 2.0) interpret 8-bit control sequences.  "
2483 "These \"C1 controls\" use codes between 128 and 159 to replace ESC [, ESC ] "
2484 "and similar two-byte control sequence initiators.  There are fragments of "
2485 "that in modern kernels (either overlooked or broken by changes to support "
2486 "UTF-8), but the implementation is incomplete and should be regarded as "
2487 "unreliable."
2488 msgstr ""
2489
2490 #. type: Plain text
2491 #: build/C/man4/console_codes.4:638
2492 msgid ""
2493 "Linux \"private mode\" sequences do not follow the rules in ECMA-48 for "
2494 "private mode control sequences.  In particular, those ending with ] do not "
2495 "use a standard terminating character.  The OSC (set palette) sequence is a "
2496 "greater problem, since B<xterm>(1) may interpret this as a control sequence "
2497 "which requires a string terminator (ST).  Unlike the B<setterm>(1) sequences "
2498 "which will be ignored (since they are invalid control sequences), the "
2499 "palette sequence will make B<xterm>(1) appear to hang (though pressing the "
2500 "return-key will fix that).  To accommodate applications which have been "
2501 "hardcoded to use Linux control sequences, set the B<xterm>(1) resource "
2502 "B<brokenLinuxOSC> to true."
2503 msgstr ""
2504
2505 #. type: Plain text
2506 #: build/C/man4/console_codes.4:642
2507 msgid ""
2508 "An older version of this document implied that Linux recognizes the ECMA-48 "
2509 "control sequence for invisible text.  It is ignored."
2510 msgstr ""
2511
2512 #. type: Plain text
2513 #: build/C/man4/console_codes.4:646
2514 msgid "B<console>(4), B<console_ioctl>(4), B<charsets>(7)"
2515 msgstr ""
2516
2517 #. type: TH
2518 #: build/C/man4/console_ioctl.4:40
2519 #, no-wrap
2520 msgid "CONSOLE_IOCTL"
2521 msgstr ""
2522
2523 #. type: TH
2524 #: build/C/man4/console_ioctl.4:40
2525 #, no-wrap
2526 msgid "2009-02-28"
2527 msgstr ""
2528
2529 #. type: Plain text
2530 #: build/C/man4/console_ioctl.4:43
2531 msgid "console_ioctl - ioctls for console terminal and virtual consoles"
2532 msgstr ""
2533
2534 #. type: Plain text
2535 #: build/C/man4/console_ioctl.4:49
2536 msgid ""
2537 "The following Linux-specific B<ioctl>(2)  requests are supported.  Each "
2538 "requires a third argument, assumed here to be I<argp>."
2539 msgstr ""
2540
2541 #. type: TP
2542 #: build/C/man4/console_ioctl.4:49
2543 #, no-wrap
2544 msgid "B<KDGETLED>"
2545 msgstr ""
2546
2547 #. type: Plain text
2548 #: build/C/man4/console_ioctl.4:59
2549 msgid ""
2550 "Get state of LEDs.  I<argp> points to a I<char>.  The lower three bits of "
2551 "I<*argp> are set to the state of the LEDs, as follows:"
2552 msgstr ""
2553
2554 #. type: tbl table
2555 #: build/C/man4/console_ioctl.4:61
2556 #, no-wrap
2557 msgid "LED_CAP \t0x04\tcaps lock led\n"
2558 msgstr ""
2559
2560 #. type: tbl table
2561 #: build/C/man4/console_ioctl.4:62
2562 #, no-wrap
2563 msgid "LEC_NUM \t0x02\tnum lock led\n"
2564 msgstr ""
2565
2566 #. type: tbl table
2567 #: build/C/man4/console_ioctl.4:63
2568 #, no-wrap
2569 msgid "LED_SCR \t0x01\tscroll lock led\n"
2570 msgstr ""
2571
2572 #. type: TP
2573 #: build/C/man4/console_ioctl.4:65
2574 #, no-wrap
2575 msgid "B<KDSETLED>"
2576 msgstr ""
2577
2578 #. type: Plain text
2579 #: build/C/man4/console_ioctl.4:73
2580 msgid ""
2581 "Set the LEDs.  The LEDs are set to correspond to the lower three bits of "
2582 "I<argp>.  However, if a higher order bit is set, the LEDs revert to normal: "
2583 "displaying the state of the keyboard functions of caps lock, num lock, and "
2584 "scroll lock."
2585 msgstr ""
2586
2587 #. type: Plain text
2588 #: build/C/man4/console_ioctl.4:80
2589 msgid ""
2590 "Before 1.1.54, the LEDs just reflected the state of the corresponding "
2591 "keyboard flags, and KDGETLED/KDSETLED would also change the keyboard flags.  "
2592 "Since 1.1.54 the LEDs can be made to display arbitrary information, but by "
2593 "default they display the keyboard flags.  The following two ioctls are used "
2594 "to access the keyboard flags."
2595 msgstr ""
2596
2597 #. type: TP
2598 #: build/C/man4/console_ioctl.4:80
2599 #, no-wrap
2600 msgid "B<KDGKBLED>"
2601 msgstr ""
2602
2603 #. type: Plain text
2604 #: build/C/man4/console_ioctl.4:89
2605 msgid ""
2606 "Get keyboard flags CapsLock, NumLock, ScrollLock (not lights).  I<argp> "
2607 "points to a char which is set to the flag state.  The low order three bits "
2608 "(mask 0x7) get the current flag state, and the low order bits of the next "
2609 "nibble (mask 0x70) get the default flag state.  (Since 1.1.54.)"
2610 msgstr ""
2611
2612 #. type: TP
2613 #: build/C/man4/console_ioctl.4:89
2614 #, no-wrap
2615 msgid "B<KDSKBLED>"
2616 msgstr ""
2617
2618 #. type: Plain text
2619 #: build/C/man4/console_ioctl.4:98
2620 msgid ""
2621 "Set keyboard flags CapsLock, NumLock, ScrollLock (not lights).  I<argp> has "
2622 "the desired flag state.  The low order three bits (mask 0x7) have the flag "
2623 "state, and the low order bits of the next nibble (mask 0x70) have the "
2624 "default flag state.  (Since 1.1.54.)"
2625 msgstr ""
2626
2627 #. type: TP
2628 #: build/C/man4/console_ioctl.4:98
2629 #, no-wrap
2630 msgid "B<KDGKBTYPE>"
2631 msgstr ""
2632
2633 #. type: Plain text
2634 #: build/C/man4/console_ioctl.4:102
2635 msgid "Get keyboard type.  This returns the value KB_101, defined as 0x02."
2636 msgstr ""
2637
2638 #. type: TP
2639 #: build/C/man4/console_ioctl.4:102
2640 #, no-wrap
2641 msgid "B<KDADDIO>"
2642 msgstr ""
2643
2644 #. type: Plain text
2645 #: build/C/man4/console_ioctl.4:107
2646 msgid "Add I/O port as valid.  Equivalent to I<ioperm(arg,1,1)>."
2647 msgstr ""
2648
2649 #. type: TP
2650 #: build/C/man4/console_ioctl.4:107
2651 #, no-wrap
2652 msgid "B<KDDELIO>"
2653 msgstr ""
2654
2655 #. type: Plain text
2656 #: build/C/man4/console_ioctl.4:112
2657 msgid "Delete I/O port as valid.  Equivalent to I<ioperm(arg,1,0)>."
2658 msgstr ""
2659
2660 #. type: TP
2661 #: build/C/man4/console_ioctl.4:112
2662 #, no-wrap
2663 msgid "B<KDENABIO>"
2664 msgstr ""
2665
2666 #. type: Plain text
2667 #: build/C/man4/console_ioctl.4:117
2668 msgid ""
2669 "Enable I/O to video board.  Equivalent to I<ioperm(0x3b4, 0x3df-0x3b4+1, "
2670 "1)>."
2671 msgstr ""
2672
2673 #. type: TP
2674 #: build/C/man4/console_ioctl.4:117
2675 #, no-wrap
2676 msgid "B<KDDISABIO>"
2677 msgstr ""
2678
2679 #. type: Plain text
2680 #: build/C/man4/console_ioctl.4:122
2681 msgid ""
2682 "Disable I/O to video board.  Equivalent to I<ioperm(0x3b4, 0x3df-0x3b4+1, "
2683 "0)>."
2684 msgstr ""
2685
2686 #. type: TP
2687 #: build/C/man4/console_ioctl.4:122
2688 #, no-wrap
2689 msgid "B<KDSETMODE>"
2690 msgstr ""
2691
2692 #. type: Plain text
2693 #: build/C/man4/console_ioctl.4:127
2694 msgid "Set text/graphics mode.  I<argp> is one of these:"
2695 msgstr ""
2696
2697 #. type: tbl table
2698 #: build/C/man4/console_ioctl.4:130
2699 #, no-wrap
2700 msgid "KD_TEXT\t0x00\n"
2701 msgstr ""
2702
2703 #. type: tbl table
2704 #: build/C/man4/console_ioctl.4:131
2705 #, no-wrap
2706 msgid "KD_GRAPHICS\t0x01\n"
2707 msgstr ""
2708
2709 #. type: TP
2710 #: build/C/man4/console_ioctl.4:133
2711 #, no-wrap
2712 msgid "B<KDGETMODE>"
2713 msgstr ""
2714
2715 #. type: Plain text
2716 #: build/C/man4/console_ioctl.4:141
2717 msgid ""
2718 "Get text/graphics mode.  I<argp> points to a I<long> which is set to one of "
2719 "the above values."
2720 msgstr ""
2721
2722 #. type: TP
2723 #: build/C/man4/console_ioctl.4:141
2724 #, no-wrap
2725 msgid "B<KDMKTONE>"
2726 msgstr ""
2727
2728 #. type: Plain text
2729 #: build/C/man4/console_ioctl.4:155
2730 msgid ""
2731 "Generate tone of specified length.  The lower 16 bits of I<argp> specify the "
2732 "period in clock cycles, and the upper 16 bits give the duration in msec.  If "
2733 "the duration is zero, the sound is turned off.  Control returns "
2734 "immediately.  For example, I<argp> = (125E<lt>E<lt>16) + 0x637 would specify "
2735 "the beep normally associated with a ctrl-G.  (Thus since 0.99pl1; broken in "
2736 "2.1.49-50.)"
2737 msgstr ""
2738
2739 #. type: TP
2740 #: build/C/man4/console_ioctl.4:155
2741 #, no-wrap
2742 msgid "B<KIOCSOUND>"
2743 msgstr ""
2744
2745 #. type: Plain text
2746 #: build/C/man4/console_ioctl.4:167
2747 msgid ""
2748 "Start or stop sound generation.  The lower 16 bits of I<argp> specify the "
2749 "period in clock cycles (that is, I<argp> = 1193180/frequency).  I<argp> = 0 "
2750 "turns sound off.  In either case, control returns immediately."
2751 msgstr ""
2752
2753 #. type: TP
2754 #: build/C/man4/console_ioctl.4:167
2755 #, no-wrap
2756 msgid "B<GIO_CMAP>"
2757 msgstr ""
2758
2759 #. type: Plain text
2760 #: build/C/man4/console_ioctl.4:174
2761 msgid ""
2762 "Get the current default color map from kernel.  I<argp> points to a 48-byte "
2763 "array.  (Since 1.3.3.)"
2764 msgstr ""
2765
2766 #. type: TP
2767 #: build/C/man4/console_ioctl.4:174
2768 #, no-wrap
2769 msgid "B<PIO_CMAP>"
2770 msgstr ""
2771
2772 #. type: Plain text
2773 #: build/C/man4/console_ioctl.4:187
2774 msgid ""
2775 "Change the default text-mode color map.  I<argp> points to a 48-byte array "
2776 "which contains, in order, the Red, Green, and Blue values for the 16 "
2777 "available screen colors: 0 is off, and 255 is full intensity.  The default "
2778 "colors are, in order: black, dark red, dark green, brown, dark blue, dark "
2779 "purple, dark cyan, light grey, dark grey, bright red, bright green, yellow, "
2780 "bright blue, bright purple, bright cyan and white.  (Since 1.3.3.)"
2781 msgstr ""
2782
2783 #. type: TP
2784 #: build/C/man4/console_ioctl.4:187
2785 #, no-wrap
2786 msgid "B<GIO_FONT>"
2787 msgstr ""
2788
2789 #. type: Plain text
2790 #: build/C/man4/console_ioctl.4:197
2791 msgid ""
2792 "Gets 256-character screen font in expanded form.  I<argp> points to an 8192 "
2793 "byte array.  Fails with error code B<EINVAL> if the currently loaded font is "
2794 "a 512-character font, or if the console is not in text mode."
2795 msgstr ""
2796
2797 #. type: TP
2798 #: build/C/man4/console_ioctl.4:197
2799 #, no-wrap
2800 msgid "B<GIO_FONTX>"
2801 msgstr ""
2802
2803 #. type: Plain text
2804 #: build/C/man4/console_ioctl.4:225
2805 msgid ""
2806 "Gets screen font and associated information.  I<argp> points to a I<struct "
2807 "consolefontdesc> (see B<PIO_FONTX>).  On call, the I<charcount> field should "
2808 "be set to the maximum number of characters that would fit in the buffer "
2809 "pointed to by I<chardata>.  On return, the I<charcount> and I<charheight> "
2810 "are filled with the respective data for the currently loaded font, and the "
2811 "I<chardata> array contains the font data if the initial value of "
2812 "I<charcount> indicated enough space was available; otherwise the buffer is "
2813 "untouched and I<errno> is set to B<ENOMEM>.  (Since 1.3.1.)"
2814 msgstr ""
2815
2816 #. type: TP
2817 #: build/C/man4/console_ioctl.4:225
2818 #, no-wrap
2819 msgid "B<PIO_FONT>"
2820 msgstr ""
2821
2822 #. type: Plain text
2823 #: build/C/man4/console_ioctl.4:240
2824 msgid ""
2825 "Sets 256-character screen font.  Load font into the EGA/VGA character "
2826 "generator.  I<argp> points to a 8192 byte map, with 32 bytes per character.  "
2827 "Only the first I<N> of them are used for an 8xI<N> font (0 E<lt> I<N> E<lt>= "
2828 "32).  This call also invalidates the Unicode mapping."
2829 msgstr ""
2830
2831 #. type: TP
2832 #: build/C/man4/console_ioctl.4:240
2833 #, no-wrap
2834 msgid "B<PIO_FONTX>"
2835 msgstr ""
2836
2837 #. type: Plain text
2838 #: build/C/man4/console_ioctl.4:245
2839 msgid "Sets screen font and associated rendering information.  I<argp> points to a"
2840 msgstr ""
2841
2842 #. type: Plain text
2843 #: build/C/man4/console_ioctl.4:256
2844 #, no-wrap
2845 msgid ""
2846 "struct consolefontdesc {\n"
2847 "    unsigned short charcount;  /* characters in font\n"
2848 "                                  (256 or 512) */\n"
2849 "    unsigned short charheight; /* scan lines per\n"
2850 "                                  character (1-32) */\n"
2851 "    char          *chardata;   /* font data in\n"
2852 "                                  expanded form */\n"
2853 "};\n"
2854 msgstr ""
2855
2856 #. type: Plain text
2857 #: build/C/man4/console_ioctl.4:264
2858 msgid ""
2859 "If necessary, the screen will be appropriately resized, and B<SIGWINCH> sent "
2860 "to the appropriate processes.  This call also invalidates the Unicode "
2861 "mapping.  (Since 1.3.1.)"
2862 msgstr ""
2863
2864 #. type: TP
2865 #: build/C/man4/console_ioctl.4:264
2866 #, no-wrap
2867 msgid "B<PIO_FONTRESET>"
2868 msgstr ""
2869
2870 #. type: Plain text
2871 #: build/C/man4/console_ioctl.4:272
2872 msgid ""
2873 "Resets the screen font, size and Unicode mapping to the bootup defaults.  "
2874 "I<argp> is unused, but should be set to NULL to ensure compatibility with "
2875 "future versions of Linux.  (Since 1.3.28.)"
2876 msgstr ""
2877
2878 #. type: TP
2879 #: build/C/man4/console_ioctl.4:272
2880 #, no-wrap
2881 msgid "B<GIO_SCRNMAP>"
2882 msgstr ""
2883
2884 #. type: Plain text
2885 #: build/C/man4/console_ioctl.4:281
2886 msgid ""
2887 "Get screen mapping from kernel.  I<argp> points to an area of size E_TABSZ, "
2888 "which is loaded with the font positions used to display each character.  "
2889 "This call is likely to return useless information if the currently loaded "
2890 "font is more than 256 characters."
2891 msgstr ""
2892
2893 #. type: TP
2894 #: build/C/man4/console_ioctl.4:281
2895 #, no-wrap
2896 msgid "B<GIO_UNISCRNMAP>"
2897 msgstr ""
2898
2899 #. type: Plain text
2900 #: build/C/man4/console_ioctl.4:293
2901 msgid ""
2902 "Get full Unicode screen mapping from kernel.  I<argp> points to an area of "
2903 "size I<E_TABSZ*sizeof(unsigned short)>, which is loaded with the Unicodes "
2904 "each character represent.  A special set of Unicodes, starting at U+F000, "
2905 "are used to represent \"direct to font\" mappings.  (Since 1.3.1.)"
2906 msgstr ""
2907
2908 #. type: TP
2909 #: build/C/man4/console_ioctl.4:293
2910 #, no-wrap
2911 msgid "B<PIO_SCRNMAP>"
2912 msgstr ""
2913
2914 #. type: Plain text
2915 #: build/C/man4/console_ioctl.4:300
2916 msgid ""
2917 "Loads the \"user definable\" (fourth) table in the kernel which maps bytes "
2918 "into console screen symbols.  I<argp> points to an area of size E_TABSZ."
2919 msgstr ""
2920
2921 #. type: TP
2922 #: build/C/man4/console_ioctl.4:300
2923 #, no-wrap
2924 msgid "B<PIO_UNISCRNMAP>"
2925 msgstr ""
2926
2927 #. type: Plain text
2928 #: build/C/man4/console_ioctl.4:308
2929 msgid ""
2930 "Loads the \"user definable\" (fourth) table in the kernel which maps bytes "
2931 "into Unicodes, which are then translated into screen symbols according to "
2932 "the currently loaded Unicode-to-font map.  Special Unicodes starting at "
2933 "U+F000 can be used to map directly to the font symbols.  (Since 1.3.1.)"
2934 msgstr ""
2935
2936 #. type: TP
2937 #: build/C/man4/console_ioctl.4:308
2938 #, no-wrap
2939 msgid "B<GIO_UNIMAP>"
2940 msgstr ""
2941
2942 #. type: Plain text
2943 #: build/C/man4/console_ioctl.4:313
2944 msgid "Get Unicode-to-font mapping from kernel.  I<argp> points to a"
2945 msgstr ""
2946
2947 #. type: Plain text
2948 #: build/C/man4/console_ioctl.4:320
2949 #, no-wrap
2950 msgid ""
2951 "struct unimapdesc {\n"
2952 "    unsigned short  entry_ct;\n"
2953 "    struct unipair *entries;\n"
2954 "};\n"
2955 msgstr ""
2956
2957 #. type: Plain text
2958 #: build/C/man4/console_ioctl.4:326
2959 msgid "where I<entries> points to an array of"
2960 msgstr ""
2961
2962 #. type: Plain text
2963 #: build/C/man4/console_ioctl.4:333
2964 #, no-wrap
2965 msgid ""
2966 "struct unipair {\n"
2967 "    unsigned short unicode;\n"
2968 "    unsigned short fontpos;\n"
2969 "};\n"
2970 msgstr ""
2971
2972 #. type: Plain text
2973 #: build/C/man4/console_ioctl.4:337 build/C/man4/console_ioctl.4:361
2974 msgid "(Since 1.1.92.)"
2975 msgstr ""
2976
2977 #. type: TP
2978 #: build/C/man4/console_ioctl.4:337
2979 #, no-wrap
2980 msgid "B<PIO_UNIMAP>"
2981 msgstr ""
2982
2983 #. type: Plain text
2984 #: build/C/man4/console_ioctl.4:344
2985 msgid ""
2986 "Put unicode-to-font mapping in kernel.  I<argp> points to a I<struct "
2987 "unimapdesc>.  (Since 1.1.92)"
2988 msgstr ""
2989
2990 #. type: TP
2991 #: build/C/man4/console_ioctl.4:344
2992 #, no-wrap
2993 msgid "B<PIO_UNIMAPCLR>"
2994 msgstr ""
2995
2996 #. type: Plain text
2997 #: build/C/man4/console_ioctl.4:349
2998 msgid "Clear table, possibly advise hash algorithm.  I<argp> points to a"
2999 msgstr ""
3000
3001 #. type: Plain text
3002 #: build/C/man4/console_ioctl.4:357
3003 #, no-wrap
3004 msgid ""
3005 "struct unimapinit {\n"
3006 "    unsigned short advised_hashsize;  /* 0 if no opinion */\n"
3007 "    unsigned short advised_hashstep;  /* 0 if no opinion */\n"
3008 "    unsigned short advised_hashlevel; /* 0 if no opinion */\n"
3009 "};\n"
3010 msgstr ""
3011
3012 #. type: TP
3013 #: build/C/man4/console_ioctl.4:361
3014 #, no-wrap
3015 msgid "B<KDGKBMODE>"
3016 msgstr ""
3017
3018 #. type: Plain text
3019 #: build/C/man4/console_ioctl.4:369
3020 msgid ""
3021 "Gets current keyboard mode.  I<argp> points to a I<long> which is set to one "
3022 "of these:"
3023 msgstr ""
3024
3025 #. type: tbl table
3026 #: build/C/man4/console_ioctl.4:372
3027 #, no-wrap
3028 msgid "K_RAW\t0x00\n"
3029 msgstr ""
3030
3031 #. type: tbl table
3032 #: build/C/man4/console_ioctl.4:373
3033 #, no-wrap
3034 msgid "K_XLATE\t0x01\n"
3035 msgstr ""
3036
3037 #. type: tbl table
3038 #: build/C/man4/console_ioctl.4:374
3039 #, no-wrap
3040 msgid "K_MEDIUMRAW\t0x02\n"
3041 msgstr ""
3042
3043 #. type: tbl table
3044 #: build/C/man4/console_ioctl.4:375
3045 #, no-wrap
3046 msgid "K_UNICODE\t0x03\n"
3047 msgstr ""
3048
3049 #. type: TP
3050 #: build/C/man4/console_ioctl.4:377
3051 #, no-wrap
3052 msgid "B<KDSKBMODE>"
3053 msgstr ""
3054
3055 #. type: Plain text
3056 #: build/C/man4/console_ioctl.4:384
3057 msgid ""
3058 "Sets current keyboard mode.  I<argp> is a I<long> equal to one of the above "
3059 "values."
3060 msgstr ""
3061
3062 #. type: TP
3063 #: build/C/man4/console_ioctl.4:384
3064 #, no-wrap
3065 msgid "B<KDGKBMETA>"
3066 msgstr ""
3067
3068 #. type: Plain text
3069 #: build/C/man4/console_ioctl.4:392
3070 msgid ""
3071 "Gets meta key handling mode.  I<argp> points to a I<long> which is set to "
3072 "one of these:"
3073 msgstr ""
3074
3075 #. type: tbl table
3076 #: build/C/man4/console_ioctl.4:395
3077 #, no-wrap
3078 msgid "K_METABIT\t0x03\tset high order bit\n"
3079 msgstr ""
3080
3081 #. type: tbl table
3082 #: build/C/man4/console_ioctl.4:396
3083 #, no-wrap
3084 msgid "K_ESCPREFIX\t0x04\tescape prefix\n"
3085 msgstr ""
3086
3087 #. type: TP
3088 #: build/C/man4/console_ioctl.4:398
3089 #, no-wrap
3090 msgid "B<KDSKBMETA>"
3091 msgstr ""
3092
3093 #. type: Plain text
3094 #: build/C/man4/console_ioctl.4:405
3095 msgid ""
3096 "Sets meta key handling mode.  I<argp> is a I<long> equal to one of the above "
3097 "values."
3098 msgstr ""
3099
3100 #. type: TP
3101 #: build/C/man4/console_ioctl.4:405
3102 #, no-wrap
3103 msgid "B<KDGKBENT>"
3104 msgstr ""
3105
3106 #. type: Plain text
3107 #: build/C/man4/console_ioctl.4:410
3108 msgid ""
3109 "Gets one entry in key translation table (keycode to action code).  I<argp> "
3110 "points to a"
3111 msgstr ""
3112
3113 #. type: Plain text
3114 #: build/C/man4/console_ioctl.4:418
3115 #, no-wrap
3116 msgid ""
3117 "struct kbentry {\n"
3118 "    unsigned char  kb_table;\n"
3119 "    unsigned char  kb_index;\n"
3120 "    unsigned short kb_value;\n"
3121 "};\n"
3122 msgstr ""
3123
3124 #. type: Plain text
3125 #: build/C/man4/console_ioctl.4:437
3126 msgid ""
3127 "with the first two members filled in: I<kb_table> selects the key table (0 "
3128 "E<lt>= I<kb_table> E<lt> MAX_NR_KEYMAPS), and I<kb_index> is the keycode (0 "
3129 "E<lt>= I<kb_index> E<lt> NR_KEYS).  I<kb_value> is set to the corresponding "
3130 "action code, or K_HOLE if there is no such key, or K_NOSUCHMAP if "
3131 "I<kb_table> is invalid."
3132 msgstr ""
3133
3134 #. type: TP
3135 #: build/C/man4/console_ioctl.4:437
3136 #, no-wrap
3137 msgid "B<KDSKBENT>"
3138 msgstr ""
3139
3140 #. type: Plain text
3141 #: build/C/man4/console_ioctl.4:443
3142 msgid "Sets one entry in translation table.  I<argp> points to a I<struct kbentry>."
3143 msgstr ""
3144
3145 #. type: TP
3146 #: build/C/man4/console_ioctl.4:443
3147 #, no-wrap
3148 msgid "B<KDGKBSENT>"
3149 msgstr ""
3150
3151 #. type: Plain text
3152 #: build/C/man4/console_ioctl.4:448
3153 msgid "Gets one function key string.  I<argp> points to a"
3154 msgstr ""
3155
3156 #. type: Plain text
3157 #: build/C/man4/console_ioctl.4:455
3158 #, no-wrap
3159 msgid ""
3160 "struct kbsentry {\n"
3161 "    unsigned char kb_func;\n"
3162 "    unsigned char kb_string[512];\n"
3163 "};\n"
3164 msgstr ""
3165
3166 #. type: Plain text
3167 #: build/C/man4/console_ioctl.4:463
3168 msgid ""
3169 "I<kb_string> is set to the (null-terminated) string corresponding to the "
3170 "I<kb_func>th function key action code."
3171 msgstr ""
3172
3173 #. type: TP
3174 #: build/C/man4/console_ioctl.4:463
3175 #, no-wrap
3176 msgid "B<KDSKBSENT>"
3177 msgstr ""
3178
3179 #. type: Plain text
3180 #: build/C/man4/console_ioctl.4:469
3181 msgid "Sets one function key string entry.  I<argp> points to a I<struct kbsentry>."
3182 msgstr ""
3183
3184 #. type: TP
3185 #: build/C/man4/console_ioctl.4:469
3186 #, no-wrap
3187 msgid "B<KDGKBDIACR>"
3188 msgstr ""
3189
3190 #. type: Plain text
3191 #: build/C/man4/console_ioctl.4:474
3192 msgid "Read kernel accent table.  I<argp> points to a"
3193 msgstr ""
3194
3195 #. type: Plain text
3196 #: build/C/man4/console_ioctl.4:481
3197 #, no-wrap
3198 msgid ""
3199 "struct kbdiacrs {\n"
3200 "    unsigned int   kb_cnt;\n"
3201 "    struct kbdiacr kbdiacr[256];\n"
3202 "};\n"
3203 msgstr ""
3204
3205 #. type: Plain text
3206 #: build/C/man4/console_ioctl.4:488
3207 msgid "where I<kb_cnt> is the number of entries in the array, each of which is a"
3208 msgstr ""
3209
3210 #. type: Plain text
3211 #: build/C/man4/console_ioctl.4:496
3212 #, no-wrap
3213 msgid ""
3214 "struct kbdiacr {\n"
3215 "    unsigned char diacr;\n"
3216 "    unsigned char base;\n"
3217 "    unsigned char result;\n"
3218 "};\n"
3219 msgstr ""
3220
3221 #. type: TP
3222 #: build/C/man4/console_ioctl.4:498
3223 #, no-wrap
3224 msgid "B<KDGETKEYCODE>"
3225 msgstr ""
3226
3227 #. type: Plain text
3228 #: build/C/man4/console_ioctl.4:503
3229 msgid "Read kernel keycode table entry (scan code to keycode).  I<argp> points to a"
3230 msgstr ""
3231
3232 #. type: Plain text
3233 #: build/C/man4/console_ioctl.4:510
3234 #, no-wrap
3235 msgid ""
3236 "struct kbkeycode {\n"
3237 "    unsigned int scancode;\n"
3238 "    unsigned int keycode;\n"
3239 "};\n"
3240 msgstr ""
3241
3242 #. type: Plain text
3243 #: build/C/man4/console_ioctl.4:524
3244 msgid ""
3245 "I<keycode> is set to correspond to the given I<scancode>.  (89 E<lt>= "
3246 "I<scancode> E<lt>= 255 only.  For 1 E<lt>= I<scancode> E<lt>= 88, "
3247 "I<keycode>==I<scancode>.)  (Since 1.1.63.)"
3248 msgstr ""
3249
3250 #. type: TP
3251 #: build/C/man4/console_ioctl.4:524
3252 #, no-wrap
3253 msgid "B<KDSETKEYCODE>"
3254 msgstr ""
3255
3256 #. type: Plain text
3257 #: build/C/man4/console_ioctl.4:531
3258 msgid ""
3259 "Write kernel keycode table entry.  I<argp> points to a I<struct kbkeycode>.  "
3260 "(Since 1.1.63.)"
3261 msgstr ""
3262
3263 #. type: TP
3264 #: build/C/man4/console_ioctl.4:531
3265 #, no-wrap
3266 msgid "B<KDSIGACCEPT>"
3267 msgstr ""
3268
3269 #. type: Plain text
3270 #: build/C/man4/console_ioctl.4:543
3271 msgid ""
3272 "The calling process indicates its willingness to accept the signal I<argp> "
3273 "when it is generated by pressing an appropriate key combination.  (1 E<lt>= "
3274 "I<argp> E<lt>= NSIG).  (See I<spawn_console>()  in "
3275 "I<linux/drivers/char/keyboard.c>.)"
3276 msgstr ""
3277
3278 #. type: TP
3279 #: build/C/man4/console_ioctl.4:543
3280 #, no-wrap
3281 msgid "B<VT_OPENQRY>"
3282 msgstr ""
3283
3284 #. type: Plain text
3285 #: build/C/man4/console_ioctl.4:553
3286 msgid ""
3287 "Returns the first available (non-opened) console.  I<argp> points to an "
3288 "I<int> which is set to the number of the vt (1 E<lt>= I<*argp> E<lt>= "
3289 "MAX_NR_CONSOLES)."
3290 msgstr ""
3291
3292 #. type: TP
3293 #: build/C/man4/console_ioctl.4:553
3294 #, no-wrap
3295 msgid "B<VT_GETMODE>"
3296 msgstr ""
3297
3298 #. type: Plain text
3299 #: build/C/man4/console_ioctl.4:558
3300 msgid "Get mode of active vt.  I<argp> points to a"
3301 msgstr ""
3302
3303 #. type: Plain text
3304 #: build/C/man4/console_ioctl.4:568
3305 #, no-wrap
3306 msgid ""
3307 "struct vt_mode {\n"
3308 "    char  mode;    /* vt mode */\n"
3309 "    char  waitv;   /* if set, hang on writes if not active */\n"
3310 "    short relsig;  /* signal to raise on release req */\n"
3311 "    short acqsig;  /* signal to raise on acquisition */\n"
3312 "    short frsig;   /* unused (set to 0) */\n"
3313 "};\n"
3314 msgstr ""
3315
3316 #. type: Plain text
3317 #: build/C/man4/console_ioctl.4:574
3318 msgid ""
3319 "which is set to the mode of the active vt.  I<mode> is set to one of these "
3320 "values:"
3321 msgstr ""
3322
3323 #. type: tbl table
3324 #: build/C/man4/console_ioctl.4:577
3325 #, no-wrap
3326 msgid "VT_AUTO\tauto vt switching\n"
3327 msgstr ""
3328
3329 #. type: tbl table
3330 #: build/C/man4/console_ioctl.4:578
3331 #, no-wrap
3332 msgid "VT_PROCESS\tprocess controls switching\n"
3333 msgstr ""
3334
3335 #. type: tbl table
3336 #: build/C/man4/console_ioctl.4:579
3337 #, no-wrap
3338 msgid "VT_ACKACQ\tacknowledge switch\n"
3339 msgstr ""
3340
3341 #. type: TP
3342 #: build/C/man4/console_ioctl.4:581
3343 #, no-wrap
3344 msgid "B<VT_SETMODE>"
3345 msgstr ""
3346
3347 #. type: Plain text
3348 #: build/C/man4/console_ioctl.4:587
3349 msgid "Set mode of active vt.  I<argp> points to a I<struct vt_mode>."
3350 msgstr ""
3351
3352 #. type: TP
3353 #: build/C/man4/console_ioctl.4:587
3354 #, no-wrap
3355 msgid "B<VT_GETSTATE>"
3356 msgstr ""
3357
3358 #. type: Plain text
3359 #: build/C/man4/console_ioctl.4:592
3360 msgid "Get global vt state info.  I<argp> points to a"
3361 msgstr ""
3362
3363 #. type: Plain text
3364 #: build/C/man4/console_ioctl.4:600
3365 #, no-wrap
3366 msgid ""
3367 "struct vt_stat {\n"
3368 "    unsigned short v_active;  /* active vt */\n"
3369 "    unsigned short v_signal;  /* signal to send */\n"
3370 "    unsigned short v_state;   /* vt bit mask */\n"
3371 "};\n"
3372 msgstr ""
3373
3374 #. type: Plain text
3375 #: build/C/man4/console_ioctl.4:607
3376 msgid ""
3377 "For each vt in use, the corresponding bit in the I<v_state> member is set.  "
3378 "(Kernels 1.0 through 1.1.92.)"
3379 msgstr ""
3380
3381 #. type: TP
3382 #: build/C/man4/console_ioctl.4:607
3383 #, no-wrap
3384 msgid "B<VT_RELDISP>"
3385 msgstr ""
3386
3387 #. type: Plain text
3388 #: build/C/man4/console_ioctl.4:610
3389 msgid "Release a display."
3390 msgstr ""
3391
3392 #. type: TP
3393 #: build/C/man4/console_ioctl.4:610
3394 #, no-wrap
3395 msgid "B<VT_ACTIVATE>"
3396 msgstr ""
3397
3398 #. type: Plain text
3399 #: build/C/man4/console_ioctl.4:617
3400 msgid "Switch to vt I<argp> (1 E<lt>= I<argp> E<lt>= MAX_NR_CONSOLES)."
3401 msgstr ""
3402
3403 #. type: TP
3404 #: build/C/man4/console_ioctl.4:617
3405 #, no-wrap
3406 msgid "B<VT_WAITACTIVE>"
3407 msgstr ""
3408
3409 #. type: Plain text
3410 #: build/C/man4/console_ioctl.4:622
3411 msgid "Wait until vt I<argp> has been activated."
3412 msgstr ""
3413
3414 #. type: TP
3415 #: build/C/man4/console_ioctl.4:622
3416 #, no-wrap
3417 msgid "B<VT_DISALLOCATE>"
3418 msgstr ""
3419
3420 #. type: Plain text
3421 #: build/C/man4/console_ioctl.4:627
3422 msgid "Deallocate the memory associated with vt I<argp>.  (Since 1.1.54.)"
3423 msgstr ""
3424
3425 #. type: TP
3426 #: build/C/man4/console_ioctl.4:627
3427 #, no-wrap
3428 msgid "B<VT_RESIZE>"
3429 msgstr ""
3430
3431 #. type: Plain text
3432 #: build/C/man4/console_ioctl.4:632
3433 msgid "Set the kernel's idea of screensize.  I<argp> points to a"
3434 msgstr ""
3435
3436 #. type: Plain text
3437 #: build/C/man4/console_ioctl.4:640
3438 #, no-wrap
3439 msgid ""
3440 "struct vt_sizes {\n"
3441 "    unsigned short v_rows;       /* # rows */\n"
3442 "    unsigned short v_cols;       /* # columns */\n"
3443 "    unsigned short v_scrollsize; /* no longer used */\n"
3444 "};\n"
3445 msgstr ""
3446
3447 #. type: Plain text
3448 #: build/C/man4/console_ioctl.4:647
3449 msgid ""
3450 "Note that this does not change the videomode.  See B<resizecons>(8).  (Since "
3451 "1.1.54.)"
3452 msgstr ""
3453
3454 #. type: TP
3455 #: build/C/man4/console_ioctl.4:647
3456 #, no-wrap
3457 msgid "B<VT_RESIZEX>"
3458 msgstr ""
3459
3460 #. type: Plain text
3461 #: build/C/man4/console_ioctl.4:652
3462 msgid "Set the kernel's idea of various screen parameters.  I<argp> points to a"
3463 msgstr ""
3464
3465 #. type: Plain text
3466 #: build/C/man4/console_ioctl.4:667
3467 #, no-wrap
3468 msgid ""
3469 "struct vt_consize {\n"
3470 "    unsigned short v_rows;  /* number of rows */\n"
3471 "    unsigned short v_cols;  /* number of columns */\n"
3472 "    unsigned short v_vlin;  /* number of pixel rows\n"
3473 "                               on screen */\n"
3474 "    unsigned short v_clin;  /* number of pixel rows\n"
3475 "                               per character */\n"
3476 "    unsigned short v_vcol;  /* number of pixel columns\n"
3477 "                               on screen */\n"
3478 "    unsigned short v_ccol;  /* number of pixel columns\n"
3479 "                               per character */\n"
3480 "};\n"
3481 msgstr ""
3482
3483 #. type: Plain text
3484 #: build/C/man4/console_ioctl.4:676
3485 msgid ""
3486 "Any parameter may be set to zero, indicating \"no change\", but if multiple "
3487 "parameters are set, they must be self-consistent.  Note that this does not "
3488 "change the videomode.  See B<resizecons>(8).  (Since 1.3.3.)"
3489 msgstr ""
3490
3491 #. type: Plain text
3492 #: build/C/man4/console_ioctl.4:683
3493 msgid ""
3494 "The action of the following ioctls depends on the first byte in the struct "
3495 "pointed to by I<argp>, referred to here as the I<subcode>.  These are legal "
3496 "only for the superuser or the owner of the current terminal."
3497 msgstr ""
3498
3499 #. type: TP
3500 #: build/C/man4/console_ioctl.4:683
3501 #, no-wrap
3502 msgid "B<TIOCLINUX, subcode=0>"
3503 msgstr ""
3504
3505 #. type: Plain text
3506 #: build/C/man4/console_ioctl.4:691
3507 msgid ""
3508 "Dump the screen.  Disappeared in 1.1.92.  (With kernel 1.1.92 or later, read "
3509 "from I</dev/vcsN> or I</dev/vcsaN> instead.)"
3510 msgstr ""
3511
3512 #. type: TP
3513 #: build/C/man4/console_ioctl.4:691
3514 #, no-wrap
3515 msgid "B<TIOCLINUX, subcode=1>"
3516 msgstr ""
3517
3518 #. type: Plain text
3519 #: build/C/man4/console_ioctl.4:695
3520 msgid "Get task information.  Disappeared in 1.1.92."
3521 msgstr ""
3522
3523 #. type: TP
3524 #: build/C/man4/console_ioctl.4:695
3525 #, no-wrap
3526 msgid "B<TIOCLINUX, subcode=2>"
3527 msgstr ""
3528
3529 #. type: Plain text
3530 #: build/C/man4/console_ioctl.4:700
3531 msgid "Set selection.  I<argp> points to a"
3532 msgstr ""
3533
3534 #. type: Plain text
3535 #: build/C/man4/console_ioctl.4:708
3536 #, no-wrap
3537 msgid ""
3538 "struct {\n"
3539 "   char  subcode;\n"
3540 "   short xs, ys, xe, ye;\n"
3541 "   short sel_mode;\n"
3542 "};\n"
3543 msgstr ""
3544
3545 #. type: Plain text
3546 #: build/C/man4/console_ioctl.4:728
3547 msgid ""
3548 "I<xs> and I<ys> are the starting column and row.  I<xe> and I<ye> are the "
3549 "ending column and row.  (Upper left corner is row=column=1.)  I<sel_mode> is "
3550 "0 for character-by-character selection, 1 for word-by-word selection, or 2 "
3551 "for line-by-line selection.  The indicated screen characters are highlighted "
3552 "and saved in the static array sel_buffer in I<devices/char/console.c>."
3553 msgstr ""
3554
3555 #. type: TP
3556 #: build/C/man4/console_ioctl.4:728
3557 #, no-wrap
3558 msgid "B<TIOCLINUX, subcode=3>"
3559 msgstr ""
3560
3561 #. type: Plain text
3562 #: build/C/man4/console_ioctl.4:734
3563 msgid ""
3564 "Paste selection.  The characters in the selection buffer are written to "
3565 "I<fd>."
3566 msgstr ""
3567
3568 #. type: TP
3569 #: build/C/man4/console_ioctl.4:734
3570 #, no-wrap
3571 msgid "B<TIOCLINUX, subcode=4>"
3572 msgstr ""
3573
3574 #. type: Plain text
3575 #: build/C/man4/console_ioctl.4:737
3576 msgid "Unblank the screen."
3577 msgstr ""
3578
3579 #. type: TP
3580 #: build/C/man4/console_ioctl.4:737
3581 #, no-wrap
3582 msgid "B<TIOCLINUX, subcode=5>"
3583 msgstr ""
3584
3585 #. type: Plain text
3586 #: build/C/man4/console_ioctl.4:742
3587 msgid ""
3588 "Sets contents of a 256-bit look up table defining characters in a \"word\", "
3589 "for word-by-word selection.  (Since 1.1.32.)"
3590 msgstr ""
3591
3592 #. type: TP
3593 #: build/C/man4/console_ioctl.4:742
3594 #, no-wrap
3595 msgid "B<TIOCLINUX, subcode=6>"
3596 msgstr ""
3597
3598 #. type: Plain text
3599 #: build/C/man4/console_ioctl.4:749
3600 msgid ""
3601 "I<argp> points to a char which is set to the value of the kernel variable "
3602 "I<shift_state>.  (Since 1.1.32.)"
3603 msgstr ""
3604
3605 #. type: TP
3606 #: build/C/man4/console_ioctl.4:749
3607 #, no-wrap
3608 msgid "B<TIOCLINUX, subcode=7>"
3609 msgstr ""
3610
3611 #. type: Plain text
3612 #: build/C/man4/console_ioctl.4:756
3613 msgid ""
3614 "I<argp> points to a char which is set to the value of the kernel variable "
3615 "I<report_mouse>.  (Since 1.1.33.)"
3616 msgstr ""
3617
3618 #. type: TP
3619 #: build/C/man4/console_ioctl.4:756
3620 #, no-wrap
3621 msgid "B<TIOCLINUX, subcode=8>"
3622 msgstr ""
3623
3624 #. type: Plain text
3625 #: build/C/man4/console_ioctl.4:764
3626 msgid ""
3627 "Dump screen width and height, cursor position, and all the "
3628 "character-attribute pairs.  (Kernels 1.1.67 through 1.1.91 only.  With "
3629 "kernel 1.1.92 or later, read from I</dev/vcsa*> instead.)"
3630 msgstr ""
3631
3632 #. type: TP
3633 #: build/C/man4/console_ioctl.4:764
3634 #, no-wrap
3635 msgid "B<TIOCLINUX, subcode=9>"
3636 msgstr ""
3637
3638 #. type: Plain text
3639 #: build/C/man4/console_ioctl.4:772
3640 msgid ""
3641 "Restore screen width and height, cursor position, and all the "
3642 "character-attribute pairs.  (Kernels 1.1.67 through 1.1.91 only.  With "
3643 "kernel 1.1.92 or later, write to I</dev/vcsa*> instead.)"
3644 msgstr ""
3645
3646 #. type: TP
3647 #: build/C/man4/console_ioctl.4:772
3648 #, no-wrap
3649 msgid "B<TIOCLINUX, subcode=10>"
3650 msgstr ""
3651
3652 #. type: Plain text
3653 #: build/C/man4/console_ioctl.4:780
3654 msgid ""
3655 "Handles the Power Saving feature of the new generation of monitors.  VESA "
3656 "screen blanking mode is set to I<argp[1]>, which governs what screen "
3657 "blanking does:"
3658 msgstr ""
3659
3660 #. type: IP
3661 #: build/C/man4/console_ioctl.4:781
3662 #, no-wrap
3663 msgid "0:"
3664 msgstr ""
3665
3666 #. type: Plain text
3667 #: build/C/man4/console_ioctl.4:783
3668 msgid "Screen blanking is disabled."
3669 msgstr ""
3670
3671 #. type: IP
3672 #: build/C/man4/console_ioctl.4:783
3673 #, no-wrap
3674 msgid "1:"
3675 msgstr ""
3676
3677 #. type: Plain text
3678 #: build/C/man4/console_ioctl.4:790
3679 msgid ""
3680 "The current video adapter register settings are saved, then the controller "
3681 "is programmed to turn off the vertical synchronization pulses.  This puts "
3682 "the monitor into \"standby\" mode.  If your monitor has an Off_Mode timer, "
3683 "then it will eventually power down by itself."
3684 msgstr ""
3685
3686 #. type: IP
3687 #: build/C/man4/console_ioctl.4:790
3688 #, no-wrap
3689 msgid "2:"
3690 msgstr ""
3691
3692 #. type: Plain text
3693 #: build/C/man4/console_ioctl.4:800
3694 msgid ""
3695 "The current settings are saved, then both the vertical and horizontal "
3696 "synchronization pulses are turned off.  This puts the monitor into \"off\" "
3697 "mode.  If your monitor has no Off_Mode timer, or if you want your monitor to "
3698 "power down immediately when the blank_timer times out, then you choose this "
3699 "option.  (I<Caution:> Powering down frequently will damage the monitor.)  "
3700 "(Since 1.1.76.)"
3701 msgstr ""
3702
3703 #. type: SH
3704 #: build/C/man4/console_ioctl.4:801 build/C/man3/mkfifo.3:120 build/C/man2/mknod.2:149 build/C/man3/setlogmask.3:69 build/C/man4/st.4:827 build/C/man2/syslog.2:244
3705 #, no-wrap
3706 msgid "RETURN VALUE"
3707 msgstr ""
3708
3709 #. type: Plain text
3710 #: build/C/man4/console_ioctl.4:806
3711 msgid "On success, 0 is returned.  On error, -1 is returned, and I<errno> is set."
3712 msgstr ""
3713
3714 #. type: SH
3715 #: build/C/man4/console_ioctl.4:806 build/C/man3/mkfifo.3:128 build/C/man2/mknod.2:156 build/C/man3/setlogmask.3:71 build/C/man2/syslog.2:260
3716 #, no-wrap
3717 msgid "ERRORS"
3718 msgstr ""
3719
3720 #. type: Plain text
3721 #: build/C/man4/console_ioctl.4:809
3722 msgid "I<errno> may take on these values:"
3723 msgstr ""
3724
3725 #. type: TP
3726 #: build/C/man4/console_ioctl.4:809 build/C/man3/mkfifo.3:168 build/C/man2/mknod.2:230
3727 #, no-wrap
3728 msgid "B<EBADF>"
3729 msgstr ""
3730
3731 #. type: Plain text
3732 #: build/C/man4/console_ioctl.4:812
3733 msgid "The file descriptor is invalid."
3734 msgstr ""
3735
3736 #. type: TP
3737 #: build/C/man4/console_ioctl.4:812
3738 #, no-wrap
3739 msgid "B<ENOTTY>"
3740 msgstr ""
3741
3742 #. type: Plain text
3743 #: build/C/man4/console_ioctl.4:816
3744 msgid ""
3745 "The file descriptor is not associated with a character special device, or "
3746 "the specified request does not apply to it."
3747 msgstr ""
3748
3749 #. type: TP
3750 #: build/C/man4/console_ioctl.4:816 build/C/man2/mknod.2:179 build/C/man4/st.4:842 build/C/man2/syslog.2:261
3751 #, no-wrap
3752 msgid "B<EINVAL>"
3753 msgstr ""
3754
3755 #. type: Plain text
3756 #: build/C/man4/console_ioctl.4:821
3757 msgid "The file descriptor or I<argp> is invalid."
3758 msgstr ""
3759
3760 #. type: TP
3761 #: build/C/man4/console_ioctl.4:821 build/C/man2/mknod.2:209 build/C/man2/syslog.2:285
3762 #, no-wrap
3763 msgid "B<EPERM>"
3764 msgstr ""
3765
3766 #. type: Plain text
3767 #: build/C/man4/console_ioctl.4:824
3768 msgid "Insufficient permission."
3769 msgstr ""
3770
3771 #. type: Plain text
3772 #: build/C/man4/console_ioctl.4:835
3773 msgid ""
3774 "B<Warning>: Do not regard this man page as documentation of the Linux "
3775 "console ioctls.  This is provided for the curious only, as an alternative to "
3776 "reading the source.  Ioctl's are undocumented Linux internals, liable to be "
3777 "changed without warning.  (And indeed, this page more or less describes the "
3778 "situation as of kernel version 1.1.94; there are many minor and not-so-minor "
3779 "differences with earlier versions.)"
3780 msgstr ""
3781
3782 #. type: Plain text
3783 #: build/C/man4/console_ioctl.4:840
3784 msgid ""
3785 "Very often, ioctls are introduced for communication between the kernel and "
3786 "one particular well-known program (fdisk, hdparm, setserial, tunelp, "
3787 "loadkeys, selection, setfont, etc.), and their behavior will be changed when "
3788 "required by this particular program."
3789 msgstr ""
3790
3791 #. type: Plain text
3792 #: build/C/man4/console_ioctl.4:844
3793 msgid ""
3794 "Programs using these ioctls will not be portable to other versions of UNIX, "
3795 "will not work on older versions of Linux, and will not work on future "
3796 "versions of Linux."
3797 msgstr ""
3798
3799 #. type: Plain text
3800 #: build/C/man4/console_ioctl.4:846
3801 msgid "Use POSIX functions."
3802 msgstr ""
3803
3804 #. type: Plain text
3805 #: build/C/man4/console_ioctl.4:870
3806 msgid ""
3807 "B<dumpkeys>(1), B<kbd_mode>(1), B<loadkeys>(1), B<mknod>(1), B<setleds>(1), "
3808 "B<setmetamode>(1), B<execve>(2), B<fcntl>(2), B<ioperm>(2), B<termios>(3), "
3809 "B<console>(4), B<console_codes>(4), B<mt>(4), B<sd>(4), B<tty>(4), "
3810 "B<tty_ioctl>(4), B<ttyS>(4), B<vcs>(4), B<vcsa>(4), B<charsets>(7), "
3811 "B<mapscrn>(8), B<resizecons>(8), B<setfont>(8)"
3812 msgstr ""
3813
3814 #. type: Plain text
3815 #: build/C/man4/console_ioctl.4:873
3816 msgid "I</usr/include/linux/kd.h>, I</usr/include/linux/vt.h>"
3817 msgstr ""
3818
3819 #. type: TH
3820 #: build/C/man5/core.5:25
3821 #, no-wrap
3822 msgid "CORE"
3823 msgstr ""
3824
3825 #. type: TH
3826 #: build/C/man5/core.5:25
3827 #, no-wrap
3828 msgid "2014-03-14"
3829 msgstr ""
3830
3831 #. type: Plain text
3832 #: build/C/man5/core.5:28
3833 msgid "core - core dump file"
3834 msgstr ""
3835
3836 #. type: Plain text
3837 #: build/C/man5/core.5:39
3838 msgid ""
3839 "The default action of certain signals is to cause a process to terminate and "
3840 "produce a I<core dump file>, a disk file containing an image of the "
3841 "process's memory at the time of termination.  This image can be used in a "
3842 "debugger (e.g., B<gdb>(1))  to inspect the state of the program at the time "
3843 "that it terminated.  A list of the signals which cause a process to dump "
3844 "core can be found in B<signal>(7)."
3845 msgstr ""
3846
3847 #. type: Plain text
3848 #: build/C/man5/core.5:46
3849 msgid ""
3850 "A process can set its soft B<RLIMIT_CORE> resource limit to place an upper "
3851 "limit on the size of the core dump file that will be produced if it receives "
3852 "a \"core dump\" signal; see B<getrlimit>(2)  for details."
3853 msgstr ""
3854
3855 #. type: Plain text
3856 #: build/C/man5/core.5:49
3857 msgid "There are various circumstances in which a core dump file is not produced:"
3858 msgstr ""
3859
3860 #. type: Plain text
3861 #: build/C/man5/core.5:61
3862 msgid ""
3863 "The process does not have permission to write the core file.  (By default "
3864 "the core file is called I<core>, and is created in the current working "
3865 "directory.  See below for details on naming.)  Writing the core file will "
3866 "fail if the directory in which it is to be created is nonwritable, or if a "
3867 "file with the same name exists and is not writable or is not a regular file "
3868 "(e.g., it is a directory or a symbolic link)."
3869 msgstr ""
3870
3871 #. type: Plain text
3872 #: build/C/man5/core.5:65
3873 msgid ""
3874 "A (writable, regular) file with the same name as would be used for the core "
3875 "dump already exists, but there is more than one hard link to that file."
3876 msgstr ""
3877
3878 #. type: Plain text
3879 #: build/C/man5/core.5:69
3880 msgid ""
3881 "The filesystem where the core dump file would be created is full; or has run "
3882 "out of inodes; or is mounted read-only; or the user has reached their quota "
3883 "for the filesystem."
3884 msgstr ""
3885
3886 #. type: Plain text
3887 #: build/C/man5/core.5:72
3888 msgid "The directory in which the core dump file is to be created does not exist."
3889 msgstr ""
3890
3891 #. type: Plain text
3892 #: build/C/man5/core.5:85
3893 msgid ""
3894 "The B<RLIMIT_CORE> (core file size) or B<RLIMIT_FSIZE> (file size) resource "
3895 "limits for the process are set to zero; see B<getrlimit>(2)  and the "
3896 "documentation of the shell's I<ulimit> command (I<limit> in B<csh>(1))."
3897 msgstr ""
3898
3899 #. type: Plain text
3900 #: build/C/man5/core.5:88
3901 msgid ""
3902 "The binary being executed by the process does not have read permission "
3903 "enabled."
3904 msgstr ""
3905
3906 #.  FIXME . Perhaps relocate discussion of /proc/sys/fs/suid_dumpable
3907 #.  and PR_SET_DUMPABLE to this page?
3908 #. type: Plain text
3909 #: build/C/man5/core.5:101
3910 msgid ""
3911 "The process is executing a set-user-ID (set-group-ID) program that is owned "
3912 "by a user (group) other than the real user (group)  ID of the process.  "
3913 "(However, see the description of the B<prctl>(2)  B<PR_SET_DUMPABLE> "
3914 "operation, and the description of the I</proc/sys/fs/suid_dumpable> file in "
3915 "B<proc>(5).)"
3916 msgstr ""
3917
3918 #.  commit 046d662f481830e652ac34cd112249adde16452a
3919 #. type: Plain text
3920 #: build/C/man5/core.5:107
3921 msgid ""
3922 "(Since Linux 3.7)  The kernel was configured without the B<CONFIG_COREDUMP> "
3923 "option."
3924 msgstr ""
3925
3926 #. type: Plain text
3927 #: build/C/man5/core.5:113
3928 msgid ""
3929 "In addition, a core dump may exclude part of the address space of the "
3930 "process if the B<madvise>(2)  B<MADV_DONTDUMP> flag was employed."
3931 msgstr ""
3932
3933 #. type: SS
3934 #: build/C/man5/core.5:113
3935 #, no-wrap
3936 msgid "Naming of core dump files"
3937 msgstr ""
3938
3939 #. type: Plain text
3940 #: build/C/man5/core.5:122
3941 msgid ""
3942 "By default, a core dump file is named I<core>, but the "
3943 "I</proc/sys/kernel/core_pattern> file (since Linux 2.6 and 2.4.21)  can be "
3944 "set to define a template that is used to name core dump files.  The template "
3945 "can contain % specifiers which are substituted by the following values when "
3946 "a core file is created:"
3947 msgstr ""
3948
3949 #. type: TP
3950 #: build/C/man5/core.5:125
3951 #, no-wrap
3952 msgid "%%"
3953 msgstr ""
3954
3955 #. type: Plain text
3956 #: build/C/man5/core.5:128
3957 msgid "a single % character"
3958 msgstr ""
3959
3960 #. type: TP
3961 #: build/C/man5/core.5:128
3962 #, no-wrap
3963 msgid "%c"
3964 msgstr ""
3965
3966 #. type: Plain text
3967 #: build/C/man5/core.5:131
3968 msgid "core file size soft resource limit of crashing process (since Linux 2.6.24)"
3969 msgstr ""
3970
3971 #. type: TP
3972 #: build/C/man5/core.5:131
3973 #, no-wrap
3974 msgid "%d"
3975 msgstr ""
3976
3977 #.  Added in git commit 12a2b4b2241e318b4f6df31228e4272d2c2968a1
3978 #. type: Plain text
3979 #: build/C/man5/core.5:138
3980 msgid ""
3981 "dump mode\\(emsame as value returned by B<prctl>(2)  B<PR_GET_DUMPABLE> "
3982 "(since Linux 3.7)"
3983 msgstr ""
3984
3985 #. type: TP
3986 #: build/C/man5/core.5:138
3987 #, no-wrap
3988 msgid "%e"
3989 msgstr ""
3990
3991 #. type: Plain text
3992 #: build/C/man5/core.5:141
3993 msgid "executable filename (without path prefix)"
3994 msgstr ""
3995
3996 #. type: TP
3997 #: build/C/man5/core.5:141
3998 #, no-wrap
3999 msgid "%E"
4000 msgstr ""
4001
4002 #. type: Plain text
4003 #: build/C/man5/core.5:146
4004 msgid ""
4005 "pathname of executable, with slashes (\\(aq/\\(aq) replaced by exclamation "
4006 "marks (\\(aq!\\(aq)  (since Linux 3.0)."
4007 msgstr ""
4008
4009 #. type: TP
4010 #: build/C/man5/core.5:146
4011 #, no-wrap
4012 msgid "%g"
4013 msgstr ""
4014
4015 #. type: Plain text
4016 #: build/C/man5/core.5:149
4017 msgid "(numeric) real GID of dumped process"
4018 msgstr ""
4019
4020 #. type: TP
4021 #: build/C/man5/core.5:149
4022 #, no-wrap
4023 msgid "%h"
4024 msgstr ""
4025
4026 #. type: Plain text
4027 #: build/C/man5/core.5:152
4028 msgid "hostname (same as I<nodename> returned by B<uname>(2))"
4029 msgstr ""
4030
4031 #. type: TP
4032 #: build/C/man5/core.5:152
4033 #, no-wrap
4034 msgid "%p"
4035 msgstr ""
4036
4037 #. type: Plain text
4038 #: build/C/man5/core.5:156
4039 msgid ""
4040 "PID of dumped process, as seen in the PID namespace in which the process "
4041 "resides"
4042 msgstr ""
4043
4044 #. type: TP
4045 #: build/C/man5/core.5:156
4046 #, no-wrap
4047 msgid "%P"
4048 msgstr ""
4049
4050 #.  Added in git commit 65aafb1e7484b7434a0c1d4c593191ebe5776a2f
4051 #. type: Plain text
4052 #: build/C/man5/core.5:161
4053 msgid ""
4054 "PID of dumped process, as seen in the initial PID namespace (since Linux "
4055 "3.12)"
4056 msgstr ""
4057
4058 #. type: TP
4059 #: build/C/man5/core.5:161
4060 #, no-wrap
4061 msgid "%s"
4062 msgstr ""
4063
4064 #. type: Plain text
4065 #: build/C/man5/core.5:164
4066 msgid "number of signal causing dump"
4067 msgstr ""
4068
4069 #. type: TP
4070 #: build/C/man5/core.5:164
4071 #, no-wrap
4072 msgid "%t"
4073 msgstr ""
4074
4075 #. type: Plain text
4076 #: build/C/man5/core.5:168
4077 msgid ""
4078 "time of dump, expressed as seconds since the Epoch, 1970-01-01 00:00:00 "
4079 "+0000 (UTC)"
4080 msgstr ""
4081
4082 #. type: TP
4083 #: build/C/man5/core.5:168
4084 #, no-wrap
4085 msgid "%u"
4086 msgstr ""
4087
4088 #. type: Plain text
4089 #: build/C/man5/core.5:171
4090 msgid "(numeric) real UID of dumped process"
4091 msgstr ""
4092
4093 #. type: Plain text
4094 #: build/C/man5/core.5:190
4095 msgid ""
4096 "A single % at the end of the template is dropped from the core filename, as "
4097 "is the combination of a % followed by any character other than those listed "
4098 "above.  All other characters in the template become a literal part of the "
4099 "core filename.  The template may include \\(aq/\\(aq characters, which are "
4100 "interpreted as delimiters for directory names.  The maximum size of the "
4101 "resulting core filename is 128 bytes (64 bytes in kernels before 2.6.19).  "
4102 "The default value in this file is \"core\".  For backward compatibility, if "
4103 "I</proc/sys/kernel/core_pattern> does not include \"%p\" and "
4104 "I</proc/sys/kernel/core_uses_pid> (see below)  is nonzero, then .PID will be "
4105 "appended to the core filename."
4106 msgstr ""
4107
4108 #. type: Plain text
4109 #: build/C/man5/core.5:201
4110 msgid ""
4111 "Since version 2.4, Linux has also provided a more primitive method of "
4112 "controlling the name of the core dump file.  If the "
4113 "I</proc/sys/kernel/core_uses_pid> file contains the value 0, then a core "
4114 "dump file is simply named I<core>.  If this file contains a nonzero value, "
4115 "then the core dump file includes the process ID in a name of the form "
4116 "I<core.PID>."
4117 msgstr ""
4118
4119 #.  9520628e8ceb69fa9a4aee6b57f22675d9e1b709
4120 #. type: Plain text
4121 #: build/C/man5/core.5:208
4122 msgid ""
4123 "Since Linux 3.6, if I</proc/sys/fs/suid_dumpable> is set to 2 "
4124 "(\"suidsafe\"), the pattern must be either an absolute pathname (starting "
4125 "with a leading \\(aq/\\(aq character) or a pipe, as defined below."
4126 msgstr ""
4127
4128 #. type: SS
4129 #: build/C/man5/core.5:208
4130 #, no-wrap
4131 msgid "Piping core dumps to a program"
4132 msgstr ""
4133
4134 #. type: Plain text
4135 #: build/C/man5/core.5:218
4136 msgid ""
4137 "Since kernel 2.6.19, Linux supports an alternate syntax for the "
4138 "I</proc/sys/kernel/core_pattern> file.  If the first character of this file "
4139 "is a pipe symbol (B<|>), then the remainder of the line is interpreted as a "
4140 "program to be executed.  Instead of being written to a disk file, the core "
4141 "dump is given as standard input to the program.  Note the following points:"
4142 msgstr ""
4143
4144 #. type: Plain text
4145 #: build/C/man5/core.5:222
4146 msgid ""
4147 "The program must be specified using an absolute pathname (or a pathname "
4148 "relative to the root directory, I</>), and must immediately follow the '|' "
4149 "character."
4150 msgstr ""
4151
4152 #. type: Plain text
4153 #: build/C/man5/core.5:225
4154 msgid "The process created to run the program runs as user and group I<root>."
4155 msgstr ""
4156
4157 #. type: Plain text
4158 #: build/C/man5/core.5:229
4159 msgid ""
4160 "Command-line arguments can be supplied to the program (since Linux 2.6.24), "
4161 "delimited by white space (up to a total line length of 128 bytes)."
4162 msgstr ""
4163
4164 #. type: Plain text
4165 #: build/C/man5/core.5:235
4166 msgid ""
4167 "The command-line arguments can include any of the % specifiers listed "
4168 "above.  For example, to pass the PID of the process that is being dumped, "
4169 "specify I<%p> in an argument."
4170 msgstr ""
4171
4172 #. type: SS
4173 #: build/C/man5/core.5:235
4174 #, no-wrap
4175 msgid "Controlling which mappings are written to the core dump"
4176 msgstr ""
4177
4178 #. type: Plain text
4179 #: build/C/man5/core.5:241
4180 msgid ""
4181 "Since kernel 2.6.23, the Linux-specific I</proc/PID/coredump_filter> file "
4182 "can be used to control which memory segments are written to the core dump "
4183 "file in the event that a core dump is performed for the process with the "
4184 "corresponding process ID."
4185 msgstr ""
4186
4187 #. type: Plain text
4188 #: build/C/man5/core.5:247
4189 msgid ""
4190 "The value in the file is a bit mask of memory mapping types (see "
4191 "B<mmap>(2)).  If a bit is set in the mask, then memory mappings of the "
4192 "corresponding type are dumped; otherwise they are not dumped.  The bits in "
4193 "this file have the following meanings:"
4194 msgstr ""
4195
4196 #. type: TP
4197 #: build/C/man5/core.5:250
4198 #, no-wrap
4199 msgid "bit 0"
4200 msgstr ""
4201
4202 #. type: Plain text
4203 #: build/C/man5/core.5:253
4204 msgid "Dump anonymous private mappings."
4205 msgstr ""
4206
4207 #. type: TP
4208 #: build/C/man5/core.5:253
4209 #, no-wrap
4210 msgid "bit 1"
4211 msgstr ""
4212
4213 #. type: Plain text
4214 #: build/C/man5/core.5:256
4215 msgid "Dump anonymous shared mappings."
4216 msgstr ""
4217
4218 #. type: TP
4219 #: build/C/man5/core.5:256
4220 #, no-wrap
4221 msgid "bit 2"
4222 msgstr ""
4223
4224 #. type: Plain text
4225 #: build/C/man5/core.5:259
4226 msgid "Dump file-backed private mappings."
4227 msgstr ""
4228
4229 #. type: TP
4230 #: build/C/man5/core.5:259
4231 #, no-wrap
4232 msgid "bit 3"
4233 msgstr ""
4234
4235 #.  file-backed shared mappings of course also update the underlying
4236 #.  mapped file.
4237 #. type: Plain text
4238 #: build/C/man5/core.5:264
4239 msgid "Dump file-backed shared mappings."
4240 msgstr ""
4241
4242 #. type: TP
4243 #: build/C/man5/core.5:264
4244 #, no-wrap
4245 msgid "bit 4 (since Linux 2.6.24)"
4246 msgstr ""
4247
4248 #. type: Plain text
4249 #: build/C/man5/core.5:267
4250 msgid "Dump ELF headers."
4251 msgstr ""
4252
4253 #. type: TP
4254 #: build/C/man5/core.5:267
4255 #, no-wrap
4256 msgid "bit 5 (since Linux 2.6.28)"
4257 msgstr ""
4258
4259 #. type: Plain text
4260 #: build/C/man5/core.5:270
4261 msgid "Dump private huge pages."
4262 msgstr ""
4263
4264 #. type: TP
4265 #: build/C/man5/core.5:270
4266 #, no-wrap
4267 msgid "bit 6 (since Linux 2.6.28)"
4268 msgstr ""
4269
4270 #. type: Plain text
4271 #: build/C/man5/core.5:273
4272 msgid "Dump shared huge pages."
4273 msgstr ""
4274
4275 #. type: Plain text
4276 #: build/C/man5/core.5:281
4277 msgid ""
4278 "By default, the following bits are set: 0, 1, 4 (if the "
4279 "B<CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS> kernel configuration option is "
4280 "enabled), and 5.  The value of this file is displayed in hexadecimal.  (The "
4281 "default value is thus displayed as 33.)"
4282 msgstr ""
4283
4284 #. type: Plain text
4285 #: build/C/man5/core.5:286
4286 msgid ""
4287 "Memory-mapped I/O pages such as frame buffer are never dumped, and virtual "
4288 "DSO pages are always dumped, regardless of the I<coredump_filter> value."
4289 msgstr ""
4290
4291 #. type: Plain text
4292 #: build/C/man5/core.5:296
4293 msgid ""
4294 "A child process created via B<fork>(2)  inherits its parent's "
4295 "I<coredump_filter> value; the I<coredump_filter> value is preserved across "
4296 "an B<execve>(2)."
4297 msgstr ""
4298
4299 #. type: Plain text
4300 #: build/C/man5/core.5:300
4301 msgid ""
4302 "It can be useful to set I<coredump_filter> in the parent shell before "
4303 "running a program, for example:"
4304 msgstr ""
4305
4306 #. type: Plain text
4307 #: build/C/man5/core.5:305
4308 #, no-wrap
4309 msgid ""
4310 "$B< echo 0x7 E<gt> /proc/self/coredump_filter>\n"
4311 "$B< ./some_program>\n"
4312 msgstr ""
4313
4314 #. type: Plain text
4315 #: build/C/man5/core.5:311
4316 msgid ""
4317 "This file is provided only if the kernel was built with the "
4318 "B<CONFIG_ELF_CORE> configuration option."
4319 msgstr ""
4320
4321 #. type: Plain text
4322 #: build/C/man5/core.5:316
4323 msgid ""
4324 "The B<gdb>(1)  I<gcore> command can be used to obtain a core dump of a "
4325 "running process."
4326 msgstr ""
4327
4328 #.  Changed with commit 6409324b385f3f63a03645b4422e3be67348d922
4329 #.  Always including the PID in the name of the core file made
4330 #.  sense for LinuxThreads, where each thread had a unique PID,
4331 #.  but doesn't seem to serve any purpose with NPTL, where all the
4332 #.  threads in a process share the same PID (as POSIX.1 requires).
4333 #.  Probably the behavior is maintained so that applications using
4334 #.  LinuxThreads continue appending the PID (the kernel has no easy
4335 #.  way of telling which threading implementation the user-space
4336 #.  application is using). -- mtk, April 2006
4337 #. type: Plain text
4338 #: build/C/man5/core.5:339
4339 msgid ""
4340 "In Linux versions up to and including 2.6.27, if a multithreaded process "
4341 "(or, more precisely, a process that shares its memory with another process "
4342 "by being created with the B<CLONE_VM> flag of B<clone>(2))  dumps core, then "
4343 "the process ID is always appended to the core filename, unless the process "
4344 "ID was already included elsewhere in the filename via a %p specification in "
4345 "I</proc/sys/kernel/core_pattern>.  (This is primarily useful when employing "
4346 "the obsolete LinuxThreads implementation, where each thread of a process has "
4347 "a different PID.)"
4348 msgstr ""
4349
4350 #. type: SH
4351 #: build/C/man5/core.5:339 build/C/man3/gnu_get_libc_version.3:51 build/C/man3/stdarg.3:300 build/C/man4/vcs.4:101
4352 #, no-wrap
4353 msgid "EXAMPLE"
4354 msgstr ""
4355
4356 #. type: Plain text
4357 #: build/C/man5/core.5:347
4358 msgid ""
4359 "The program below can be used to demonstrate the use of the pipe syntax in "
4360 "the I</proc/sys/kernel/core_pattern> file.  The following shell session "
4361 "demonstrates the use of this program (compiled to create an executable named "
4362 "I<core_pattern_pipe_test>):"
4363 msgstr ""
4364
4365 #. type: Plain text
4366 #: build/C/man5/core.5:368
4367 #, no-wrap
4368 msgid ""
4369 "$B< cc -o core_pattern_pipe_test core_pattern_pipe_test.c>\n"
4370 "$B< su>\n"
4371 "Password:\n"
4372 "#B< echo \"|$PWD/core_pattern_pipe_test %p UID=%u GID=%g sig=%s\" E<gt> "
4373 "\\e>\n"
4374 "B</proc/sys/kernel/core_pattern>\n"
4375 "#B< exit>\n"
4376 "$B< sleep 100>\n"
4377 "B<^\\e>                     # type control-backslash\n"
4378 "Quit (core dumped)\n"
4379 "$B< cat core.info>\n"
4380 "argc=5\n"
4381 "argc[0]=E<lt>/home/mtk/core_pattern_pipe_testE<gt>\n"
4382 "argc[1]=E<lt>20575E<gt>\n"
4383 "argc[2]=E<lt>UID=1000E<gt>\n"
4384 "argc[3]=E<lt>GID=100E<gt>\n"
4385 "argc[4]=E<lt>sig=3E<gt>\n"
4386 "Total bytes in core dump: 282624\n"
4387 msgstr ""
4388
4389 #. type: SS
4390 #: build/C/man5/core.5:370 build/C/man3/gnu_get_libc_version.3:61
4391 #, no-wrap
4392 msgid "Program source"
4393 msgstr ""
4394
4395 #. type: Plain text
4396 #: build/C/man5/core.5:374
4397 #, no-wrap
4398 msgid "/* core_pattern_pipe_test.c */\n"
4399 msgstr ""
4400
4401 #. type: Plain text
4402 #: build/C/man5/core.5:382
4403 #, no-wrap
4404 msgid ""
4405 "#define _GNU_SOURCE\n"
4406 "#include E<lt>sys/stat.hE<gt>\n"
4407 "#include E<lt>fcntl.hE<gt>\n"
4408 "#include E<lt>limits.hE<gt>\n"
4409 "#include E<lt>stdio.hE<gt>\n"
4410 "#include E<lt>stdlib.hE<gt>\n"
4411 "#include E<lt>unistd.hE<gt>\n"
4412 msgstr ""
4413
4414 #. type: Plain text
4415 #: build/C/man5/core.5:384
4416 #, no-wrap
4417 msgid "#define BUF_SIZE 1024\n"
4418 msgstr ""
4419
4420 #. type: Plain text
4421 #: build/C/man5/core.5:393
4422 #, no-wrap
4423 msgid ""
4424 "int\n"
4425 "main(int argc, char *argv[])\n"
4426 "{\n"
4427 "    int tot, j;\n"
4428 "    ssize_t nread;\n"
4429 "    char buf[BUF_SIZE];\n"
4430 "    FILE *fp;\n"
4431 "    char cwd[PATH_MAX];\n"
4432 msgstr ""
4433
4434 #. type: Plain text
4435 #: build/C/man5/core.5:396
4436 #, no-wrap
4437 msgid ""
4438 "    /* Change our current working directory to that of the\n"
4439 "       crashing process */\n"
4440 msgstr ""
4441
4442 #. type: Plain text
4443 #: build/C/man5/core.5:399
4444 #, no-wrap
4445 msgid ""
4446 "    snprintf(cwd, PATH_MAX, \"/proc/%s/cwd\", argv[1]);\n"
4447 "    chdir(cwd);\n"
4448 msgstr ""
4449
4450 #. type: Plain text
4451 #: build/C/man5/core.5:401
4452 #, no-wrap
4453 msgid "    /* Write output to file \"core.info\" in that directory */\n"
4454 msgstr ""
4455
4456 #. type: Plain text
4457 #: build/C/man5/core.5:405
4458 #, no-wrap
4459 msgid ""
4460 "    fp = fopen(\"core.info\", \"w+\");\n"
4461 "    if (fp == NULL)\n"
4462 "        exit(EXIT_FAILURE);\n"
4463 msgstr ""
4464
4465 #. type: Plain text
4466 #: build/C/man5/core.5:408
4467 #, no-wrap
4468 msgid ""
4469 "    /* Display command-line arguments given to core_pattern\n"
4470 "       pipe program */\n"
4471 msgstr ""
4472
4473 #. type: Plain text
4474 #: build/C/man5/core.5:412
4475 #, no-wrap
4476 msgid ""
4477 "    fprintf(fp, \"argc=%d\\en\", argc);\n"
4478 "    for (j = 0; j E<lt> argc; j++)\n"
4479 "        fprintf(fp, \"argc[%d]=E<lt>%sE<gt>\\en\", j, argv[j]);\n"
4480 msgstr ""
4481
4482 #. type: Plain text
4483 #: build/C/man5/core.5:414
4484 #, no-wrap
4485 msgid "    /* Count bytes in standard input (the core dump) */\n"
4486 msgstr ""
4487
4488 #. type: Plain text
4489 #: build/C/man5/core.5:419
4490 #, no-wrap
4491 msgid ""
4492 "    tot = 0;\n"
4493 "    while ((nread = read(STDIN_FILENO, buf, BUF_SIZE)) E<gt> 0)\n"
4494 "        tot += nread;\n"
4495 "    fprintf(fp, \"Total bytes in core dump: %d\\en\", tot);\n"
4496 msgstr ""
4497
4498 #. type: Plain text
4499 #: build/C/man5/core.5:422
4500 #, no-wrap
4501 msgid ""
4502 "    exit(EXIT_SUCCESS);\n"
4503 "}\n"
4504 msgstr ""
4505
4506 #. type: Plain text
4507 #: build/C/man5/core.5:434
4508 msgid ""
4509 "B<bash>(1), B<gdb>(1), B<getrlimit>(2), B<mmap>(2), B<prctl>(2), "
4510 "B<sigaction>(2), B<elf>(5), B<proc>(5), B<pthreads>(7), B<signal>(7)"
4511 msgstr ""
4512
4513 #. type: TH
4514 #: build/C/man4/cpuid.4:26
4515 #, no-wrap
4516 msgid "CPUID"
4517 msgstr ""
4518
4519 #. type: TH
4520 #: build/C/man4/cpuid.4:26 build/C/man4/msr.4:26
4521 #, no-wrap
4522 msgid "2009-03-31"
4523 msgstr ""
4524
4525 #. type: Plain text
4526 #: build/C/man4/cpuid.4:29
4527 msgid "cpuid - x86 CPUID access device"
4528 msgstr ""
4529
4530 #. type: Plain text
4531 #: build/C/man4/cpuid.4:31
4532 msgid "CPUID provides an interface for querying information about the x86 CPU."
4533 msgstr ""
4534
4535 #. type: Plain text
4536 #: build/C/man4/cpuid.4:38
4537 msgid ""
4538 "This device is accessed by B<lseek>(2)  or B<pread>(2)  to the appropriate "
4539 "CPUID level and reading in chunks of 16 bytes.  A larger read size means "
4540 "multiple reads of consecutive levels."
4541 msgstr ""
4542
4543 #. type: Plain text
4544 #: build/C/man4/cpuid.4:47
4545 msgid ""
4546 "The lower 32 bits of the file position is used as the incoming I<%eax>, and "
4547 "the upper 32 bits of the file position as the incoming I<%ecx>, the latter "
4548 "intended for \"counting\" I<eax> levels like I<eax=4>."
4549 msgstr ""
4550
4551 #. type: Plain text
4552 #: build/C/man4/cpuid.4:57
4553 msgid ""
4554 "This driver uses I</dev/cpu/CPUNUM/cpuid>, where I<CPUNUM> is the minor "
4555 "number, and on an SMP box will direct the access to CPU I<CPUNUM> as listed "
4556 "in I</proc/cpuinfo>."
4557 msgstr ""
4558
4559 #. type: Plain text
4560 #: build/C/man4/cpuid.4:62
4561 msgid ""
4562 "This file is protected so that it can be read only by the user I<root>, or "
4563 "members of the group I<root>."
4564 msgstr ""
4565
4566 #. type: Plain text
4567 #: build/C/man4/cpuid.4:67
4568 msgid ""
4569 "The CPUID instruction can be directly executed by a program using inline "
4570 "assembler.  However this device allows convenient access to all CPUs without "
4571 "changing process affinity."
4572 msgstr ""
4573
4574 #. type: Plain text
4575 #: build/C/man4/cpuid.4:76
4576 msgid ""
4577 "Most of the information in I<cpuid> is reported by the kernel in cooked form "
4578 "either in I</proc/cpuinfo> or through subdirectories in "
4579 "I</sys/devices/system/cpu>.  Direct CPUID access through this device should "
4580 "only be used in exceptional cases."
4581 msgstr ""
4582
4583 #. type: Plain text
4584 #: build/C/man4/cpuid.4:82
4585 msgid ""
4586 "The I<cpuid> driver is not auto-loaded.  On modular kernels you might need "
4587 "to use the following command to load it explicitly before use:"
4588 msgstr ""
4589
4590 #. type: Plain text
4591 #: build/C/man4/cpuid.4:84
4592 #, no-wrap
4593 msgid "     $ I<modprobe cpuid>\n"
4594 msgstr ""
4595
4596 #. type: Plain text
4597 #: build/C/man4/cpuid.4:87
4598 msgid ""
4599 "There is no support for CPUID functions that require additional input "
4600 "registers."
4601 msgstr ""
4602
4603 #. type: Plain text
4604 #: build/C/man4/cpuid.4:89
4605 msgid "Very old x86 CPUs don't support CPUID."
4606 msgstr ""
4607
4608 #. type: Plain text
4609 #: build/C/man4/cpuid.4:93
4610 msgid ""
4611 "Intel Corporation, Intel 64 and IA-32 Architectures Software Developer's "
4612 "Manual Volume 2A: Instruction Set Reference, A-M, 3-180 CPUID reference."
4613 msgstr ""
4614
4615 #. type: Plain text
4616 #: build/C/man4/cpuid.4:96
4617 msgid ""
4618 "Intel Corporation, Intel Processor Identification and the CPUID Instruction, "
4619 "Application note 485."
4620 msgstr ""
4621
4622 #. type: TH
4623 #: build/C/man4/dsp56k.4:27
4624 #, no-wrap
4625 msgid "DSP56K"
4626 msgstr ""
4627
4628 #. type: Plain text
4629 #: build/C/man4/dsp56k.4:30
4630 msgid "dsp56k - DSP56001 interface device"
4631 msgstr ""
4632
4633 #. type: Plain text
4634 #: build/C/man4/dsp56k.4:33
4635 #, no-wrap
4636 msgid "#include E<lt>asm/dsp56k.hE<gt>\n"
4637 msgstr ""
4638
4639 #. type: Plain text
4640 #: build/C/man4/dsp56k.4:36
4641 #, no-wrap
4642 msgid ""
4643 "B<ssize_t read(int >I<fd>B<, void *>I<data>B<, size_t >I<length>B<);>\n"
4644 "B<ssize_t write(int >I<fd>B<, void *>I<data>B<, size_t >I<length>B<);>\n"
4645 msgstr ""
4646
4647 #. type: Plain text
4648 #: build/C/man4/dsp56k.4:42
4649 #, no-wrap
4650 msgid ""
4651 "B<int ioctl(int >I<fd>B<, DSP56K_UPLOAD, struct dsp56k_upload "
4652 "*>I<program>B<);>\n"
4653 "B<int ioctl(int >I<fd>B<, DSP56K_SET_TX_WSIZE, int >I<wsize>B<);>\n"
4654 "B<int ioctl(int >I<fd>B<, DSP56K_SET_RX_WSIZE, int >I<wsize>B<);>\n"
4655 "B<int ioctl(int >I<fd>B<, DSP56K_HOST_FLAGS, struct dsp56k_host_flags "
4656 "*>I<flags>B<);>\n"
4657 "B<int ioctl(int >I<fd>B<, DSP56K_HOST_CMD, int >I<cmd>B<);>\n"
4658 msgstr ""
4659
4660 #. type: SH
4661 #: build/C/man4/dsp56k.4:43 build/C/man4/fd.4:31 build/C/man4/full.4:29 build/C/man4/initrd.4:38 build/C/man4/lp.4:32 build/C/man4/mouse.4:29 build/C/man4/sd.4:34
4662 #, no-wrap
4663 msgid "CONFIGURATION"
4664 msgstr ""
4665
4666 #. type: Plain text
4667 #: build/C/man4/dsp56k.4:46
4668 msgid ""
4669 "The dsp56k device is a character device with major number 55 and minor "
4670 "number 0."
4671 msgstr ""
4672
4673 #. type: Plain text
4674 #: build/C/man4/dsp56k.4:52
4675 msgid ""
4676 "The Motorola DSP56001 is a fully programmable 24-bit digital signal "
4677 "processor found in Atari Falcon030-compatible computers.  The I<dsp56k> "
4678 "special file is used to control the DSP56001, and to send and receive data "
4679 "using the bidirectional handshaked host port."
4680 msgstr ""
4681
4682 #. type: Plain text
4683 #: build/C/man4/dsp56k.4:62
4684 msgid ""
4685 "To send a data stream to the signal processor, use B<write>(2)  to the "
4686 "device, and B<read>(2)  to receive processed data.  The data can be sent or "
4687 "received in 8, 16, 24, or 32-bit quantities on the host side, but will "
4688 "always be seen as 24-bit quantities in the DSP56001."
4689 msgstr ""
4690
4691 #. type: Plain text
4692 #: build/C/man4/dsp56k.4:67
4693 msgid "The following B<ioctl>(2)  calls are used to control the I<dsp56k> device:"
4694 msgstr ""
4695
4696 #. type: IP
4697 #: build/C/man4/dsp56k.4:67
4698 #, no-wrap
4699 msgid "B<DSP56K_UPLOAD>"
4700 msgstr ""
4701
4702 #. type: Plain text
4703 #: build/C/man4/dsp56k.4:74
4704 msgid ""
4705 "resets the DSP56001 and uploads a program.  The third B<ioctl>(2)  argument "
4706 "must be a pointer to a I<struct dsp56k_binary> with members I<bin> pointing "
4707 "to a DSP56001 binary program, and I<len> set to the length of the program, "
4708 "counted in 24-bit words."
4709 msgstr ""
4710
4711 #. type: IP
4712 #: build/C/man4/dsp56k.4:74
4713 #, no-wrap
4714 msgid "B<DSP56K_SET_TX_WSIZE>"
4715 msgstr ""
4716
4717 #. type: Plain text
4718 #: build/C/man4/dsp56k.4:82
4719 msgid ""
4720 "sets the transmit word size.  Allowed values are in the range 1 to 4, and is "
4721 "the number of bytes that will be sent at a time to the DSP56001.  These data "
4722 "quantities will either be padded with zero bytes, or truncated to fit the "
4723 "native 24-bit data format of the DSP56001."
4724 msgstr ""
4725
4726 #. type: IP
4727 #: build/C/man4/dsp56k.4:82
4728 #, no-wrap
4729 msgid "B<DSP56K_SET_RX_WSIZE>"
4730 msgstr ""
4731
4732 #. type: Plain text
4733 #: build/C/man4/dsp56k.4:89
4734 msgid ""
4735 "sets the receive word size.  Allowed values are in the range 1 to 4, and is "
4736 "the number of bytes that will be received at a time from the DSP56001.  "
4737 "These data quantities will either truncated, or padded with a null byte "
4738 "(\\(aq\\e0\\(aq) to fit the native 24-bit data format of the DSP56001."
4739 msgstr ""
4740
4741 #. type: IP
4742 #: build/C/man4/dsp56k.4:89
4743 #, no-wrap
4744 msgid "B<DSP56K_HOST_FLAGS>"
4745 msgstr ""
4746
4747 #. type: Plain text
4748 #: build/C/man4/dsp56k.4:96
4749 msgid ""
4750 "read and write the host flags.  The host flags are four general-purpose bits "
4751 "that can be read by both the hosting computer and the DSP56001.  Bits 0 and "
4752 "1 can be written by the host, and bits 2 and 3 can be written by the "
4753 "DSP56001."
4754 msgstr ""
4755
4756 #. type: Plain text
4757 #: build/C/man4/dsp56k.4:106
4758 msgid ""
4759 "To access the host flags, the third B<ioctl>(2)  argument must be a pointer "
4760 "to a I<struct dsp56k_host_flags>.  If bit 0 or 1 is set in the I<dir> "
4761 "member, the corresponding bit in I<out> will be written to the host flags.  "
4762 "The state of all host flags will be returned in the lower four bits of the "
4763 "I<status> member."
4764 msgstr ""
4765
4766 #. type: IP
4767 #: build/C/man4/dsp56k.4:106
4768 #, no-wrap
4769 msgid "B<DSP56K_HOST_CMD>"
4770 msgstr ""
4771
4772 #. type: Plain text
4773 #: build/C/man4/dsp56k.4:110
4774 msgid ""
4775 "sends a host command.  Allowed values are in the range 0 to 31, and is a "
4776 "user-defined command handled by the program running in the DSP56001."
4777 msgstr ""
4778
4779 #.  .SH AUTHORS
4780 #.  Fredrik Noring <noring@nocrew.org>, lars brinkhoff <lars@nocrew.org>,
4781 #.  Tomas Berndtsson <tomas@nocrew.org>.
4782 #. type: Plain text
4783 #: build/C/man4/dsp56k.4:115
4784 msgid "/dev/dsp56k"
4785 msgstr ""
4786
4787 #. type: Plain text
4788 #: build/C/man4/dsp56k.4:121
4789 msgid ""
4790 "I<linux/include/asm-m68k/dsp56k.h>, I<linux/drivers/char/dsp56k.c>, E<.UR "
4791 "http://dsp56k.nocrew.org/> E<.UE ,> DSP56000/DSP56001 Digital Signal "
4792 "Processor User's Manual"
4793 msgstr ""
4794
4795 #. type: TH
4796 #: build/C/man4/fd.4:28
4797 #, no-wrap
4798 msgid "FD"
4799 msgstr ""
4800
4801 #. type: TH
4802 #: build/C/man4/fd.4:28
4803 #, no-wrap
4804 msgid "2010-08-29"
4805 msgstr ""
4806
4807 #. type: Plain text
4808 #: build/C/man4/fd.4:31
4809 msgid "fd - floppy disk device"
4810 msgstr ""
4811
4812 #. type: Plain text
4813 #: build/C/man4/fd.4:48
4814 msgid ""
4815 "Floppy drives are block devices with major number 2.  Typically they are "
4816 "owned by I<root.floppy> (i.e., user root, group floppy) and have either mode "
4817 "0660 (access checking via group membership) or mode 0666 (everybody has "
4818 "access).  The minor numbers encode the device type, drive number, and "
4819 "controller number.  For each device type (that is, combination of density "
4820 "and track count)  there is a base minor number.  To this base number, add "
4821 "the drive's number on its controller and 128 if the drive is on the "
4822 "secondary controller.  In the following device tables, I<n> represents the "
4823 "drive number."
4824 msgstr ""
4825
4826 #. type: Plain text
4827 #: build/C/man4/fd.4:55
4828 msgid ""
4829 "B<Warning: If you use formats with more tracks than supported by your drive, "
4830 "you may cause it mechanical damage.> Trying once if more tracks than the "
4831 "usual 40/80 are supported should not damage it, but no warranty is given for "
4832 "that.  If you are not sure, don't create device entries for those formats, "
4833 "so as to prevent their usage."
4834 msgstr ""
4835
4836 #. type: Plain text
4837 #: build/C/man4/fd.4:58
4838 msgid ""
4839 "Drive-independent device files which automatically detect the media format "
4840 "and capacity:"
4841 msgstr ""
4842
4843 #. type: tbl table
4844 #: build/C/man4/fd.4:60
4845 #, no-wrap
4846 msgid "Name\tBase minor #\n"
4847 msgstr ""
4848
4849 #. type: tbl table
4850 #: build/C/man4/fd.4:61 build/C/man4/fd.4:69 build/C/man4/fd.4:77 build/C/man4/fd.4:93 build/C/man4/fd.4:105 build/C/man4/fd.4:124
4851 #, no-wrap
4852 msgid "_\n"
4853 msgstr ""
4854
4855 #. type: tbl table
4856 #: build/C/man4/fd.4:62
4857 #, no-wrap
4858 msgid "B<fd>I<n>\t0\n"
4859 msgstr ""
4860
4861 #. type: Plain text
4862 #: build/C/man4/fd.4:66
4863 msgid "5.25 inch double density device files:"
4864 msgstr ""
4865
4866 #. type: tbl table
4867 #: build/C/man4/fd.4:68 build/C/man4/fd.4:76 build/C/man4/fd.4:92 build/C/man4/fd.4:104 build/C/man4/fd.4:123
4868 #, no-wrap
4869 msgid "Name\tCapac.\tCyl.\tSect.\tHeads\tBase minor #\n"
4870 msgstr ""
4871
4872 #. type: tbl table
4873 #: build/C/man4/fd.4:70
4874 #, no-wrap
4875 msgid "B<fd>I<n>B<d360>\t360K\t40\t9\t2\t4\n"
4876 msgstr ""
4877
4878 #. type: Plain text
4879 #: build/C/man4/fd.4:74
4880 msgid "5.25 inch high density device files:"
4881 msgstr ""
4882
4883 #. type: tbl table
4884 #: build/C/man4/fd.4:78
4885 #, no-wrap
4886 msgid "B<fd>I<n>B<h360>\t360K\t40\t9\t2\t20\n"
4887 msgstr ""
4888
4889 #. type: tbl table
4890 #: build/C/man4/fd.4:79
4891 #, no-wrap
4892 msgid "B<fd>I<n>B<h410>\t410K\t41\t10\t2\t48\n"
4893 msgstr ""
4894
4895 #. type: tbl table
4896 #: build/C/man4/fd.4:80
4897 #, no-wrap
4898 msgid "B<fd>I<n>B<h420>\t420K\t42\t10\t2\t64\n"
4899 msgstr ""
4900
4901 #. type: tbl table
4902 #: build/C/man4/fd.4:81
4903 #, no-wrap
4904 msgid "B<fd>I<n>B<h720>\t720K\t80\t9\t2\t24\n"
4905 msgstr ""
4906
4907 #. type: tbl table
4908 #: build/C/man4/fd.4:82
4909 #, no-wrap
4910 msgid "B<fd>I<n>B<h880>\t880K\t80\t11\t2\t80\n"
4911 msgstr ""
4912
4913 #. type: tbl table
4914 #: build/C/man4/fd.4:83
4915 #, no-wrap
4916 msgid "B<fd>I<n>B<h1200>\t1200K\t80\t15\t2\t8\n"
4917 msgstr ""
4918
4919 #. type: tbl table
4920 #: build/C/man4/fd.4:84
4921 #, no-wrap
4922 msgid "B<fd>I<n>B<h1440>\t1440K\t80\t18\t2\t40\n"
4923 msgstr ""
4924
4925 #. type: tbl table
4926 #: build/C/man4/fd.4:85
4927 #, no-wrap
4928 msgid "B<fd>I<n>B<h1476>\t1476K\t82\t18\t2\t56\n"
4929 msgstr ""
4930
4931 #. type: tbl table
4932 #: build/C/man4/fd.4:86
4933 #, no-wrap
4934 msgid "B<fd>I<n>B<h1494>\t1494K\t83\t18\t2\t72\n"
4935 msgstr ""
4936
4937 #. type: tbl table
4938 #: build/C/man4/fd.4:87
4939 #, no-wrap
4940 msgid "B<fd>I<n>B<h1600>\t1600K\t80\t20\t2\t92\n"
4941 msgstr ""
4942
4943 #. type: Plain text
4944 #: build/C/man4/fd.4:90
4945 msgid "3.5 inch double density device files:"
4946 msgstr ""
4947
4948 #. type: tbl table
4949 #: build/C/man4/fd.4:94
4950 #, no-wrap
4951 msgid "B<fd>I<n>B<D360>\t360K\t80\t9\t1\t12\n"
4952 msgstr ""
4953
4954 #. type: tbl table
4955 #: build/C/man4/fd.4:95
4956 #, no-wrap
4957 msgid "B<fd>I<n>B<D720>\t720K\t80\t9\t2\t16\n"
4958 msgstr ""
4959
4960 #. type: tbl table
4961 #: build/C/man4/fd.4:96
4962 #, no-wrap
4963 msgid "B<fd>I<n>B<D800>\t800K\t80\t10\t2\t120\n"
4964 msgstr ""
4965
4966 #. type: tbl table
4967 #: build/C/man4/fd.4:97
4968 #, no-wrap
4969 msgid "B<fd>I<n>B<D1040>\t1040K\t80\t13\t2\t84\n"
4970 msgstr ""
4971
4972 #. type: tbl table
4973 #: build/C/man4/fd.4:98
4974 #, no-wrap
4975 msgid "B<fd>I<n>B<D1120>\t1120K\t80\t14\t2\t88\n"
4976 msgstr ""
4977
4978 #. type: Plain text
4979 #: build/C/man4/fd.4:102
4980 msgid "3.5 inch high density device files:"
4981 msgstr ""
4982
4983 #. type: tbl table
4984 #: build/C/man4/fd.4:106
4985 #, no-wrap
4986 msgid "B<fd>I<n>B<H360>\t360K\t40\t9\t2\t12\n"
4987 msgstr ""
4988
4989 #. type: tbl table
4990 #: build/C/man4/fd.4:107
4991 #, no-wrap
4992 msgid "B<fd>I<n>B<H720>\t720K\t80\t9\t2\t16\n"
4993 msgstr ""
4994
4995 #. type: tbl table
4996 #: build/C/man4/fd.4:108
4997 #, no-wrap
4998 msgid "B<fd>I<n>B<H820>\t820K\t82\t10\t2\t52\n"
4999 msgstr ""
5000
5001 #. type: tbl table
5002 #: build/C/man4/fd.4:109
5003 #, no-wrap
5004 msgid "B<fd>I<n>B<H830>\t830K\t83\t10\t2\t68\n"
5005 msgstr ""
5006
5007 #. type: tbl table
5008 #: build/C/man4/fd.4:110
5009 #, no-wrap
5010 msgid "B<fd>I<n>B<H1440>\t1440K\t80\t18\t2\t28\n"
5011 msgstr ""
5012
5013 #. type: tbl table
5014 #: build/C/man4/fd.4:111
5015 #, no-wrap
5016 msgid "B<fd>I<n>B<H1600>\t1600K\t80\t20\t2\t124\n"
5017 msgstr ""
5018
5019 #. type: tbl table
5020 #: build/C/man4/fd.4:112
5021 #, no-wrap
5022 msgid "B<fd>I<n>B<H1680>\t1680K\t80\t21\t2\t44\n"
5023 msgstr ""
5024
5025 #. type: tbl table
5026 #: build/C/man4/fd.4:113
5027 #, no-wrap
5028 msgid "B<fd>I<n>B<H1722>\t1722K\t82\t21\t2\t60\n"
5029 msgstr ""
5030
5031 #. type: tbl table
5032 #: build/C/man4/fd.4:114
5033 #, no-wrap
5034 msgid "B<fd>I<n>B<H1743>\t1743K\t83\t21\t2\t76\n"
5035 msgstr ""
5036
5037 #. type: tbl table
5038 #: build/C/man4/fd.4:115
5039 #, no-wrap
5040 msgid "B<fd>I<n>B<H1760>\t1760K\t80\t22\t2\t96\n"
5041 msgstr ""
5042
5043 #. type: tbl table
5044 #: build/C/man4/fd.4:116
5045 #, no-wrap
5046 msgid "B<fd>I<n>B<H1840>\t1840K\t80\t23\t2\t116\n"
5047 msgstr ""
5048
5049 #. type: tbl table
5050 #: build/C/man4/fd.4:117
5051 #, no-wrap
5052 msgid "B<fd>I<n>B<H1920>\t1920K\t80\t24\t2\t100\n"
5053 msgstr ""
5054
5055 #. type: Plain text
5056 #: build/C/man4/fd.4:121
5057 msgid "3.5 inch extra density device files:"
5058 msgstr ""
5059
5060 #. type: tbl table
5061 #: build/C/man4/fd.4:125
5062 #, no-wrap
5063 msgid "B<fd>I<n>B<E2880>\t2880K\t80\t36\t2\t32\n"
5064 msgstr ""
5065
5066 #. type: tbl table
5067 #: build/C/man4/fd.4:126
5068 #, no-wrap
5069 msgid "B<fd>I<n>B<CompaQ>\t2880K\t80\t36\t2\t36\n"
5070 msgstr ""
5071
5072 #. type: tbl table
5073 #: build/C/man4/fd.4:127
5074 #, no-wrap
5075 msgid "B<fd>I<n>B<E3200>\t3200K\t80\t40\t2\t104\n"
5076 msgstr ""
5077
5078 #. type: tbl table
5079 #: build/C/man4/fd.4:128
5080 #, no-wrap
5081 msgid "B<fd>I<n>B<E3520>\t3520K\t80\t44\t2\t108\n"
5082 msgstr ""
5083
5084 #. type: tbl table
5085 #: build/C/man4/fd.4:129
5086 #, no-wrap
5087 msgid "B<fd>I<n>B<E3840>\t3840K\t80\t48\t2\t112\n"
5088 msgstr ""
5089
5090 #. type: Plain text
5091 #: build/C/man4/fd.4:136
5092 msgid ""
5093 "B<fd> special files access the floppy disk drives in raw mode.  The "
5094 "following B<ioctl>(2)  calls are supported by B<fd> devices:"
5095 msgstr ""
5096
5097 #. type: IP
5098 #: build/C/man4/fd.4:136
5099 #, no-wrap
5100 msgid "B<FDCLRPRM>"
5101 msgstr ""
5102
5103 #. type: Plain text
5104 #: build/C/man4/fd.4:138
5105 msgid "clears the media information of a drive (geometry of disk in drive)."
5106 msgstr ""
5107
5108 #. type: IP
5109 #: build/C/man4/fd.4:138
5110 #, no-wrap
5111 msgid "B<FDSETPRM>"
5112 msgstr ""
5113
5114 #. type: Plain text
5115 #: build/C/man4/fd.4:142
5116 msgid ""
5117 "sets the media information of a drive.  The media information will be lost "
5118 "when the media is changed."
5119 msgstr ""
5120
5121 #. type: IP
5122 #: build/C/man4/fd.4:142
5123 #, no-wrap
5124 msgid "B<FDDEFPRM>"
5125 msgstr ""
5126
5127 #. type: Plain text
5128 #: build/C/man4/fd.4:148
5129 msgid ""
5130 "sets the media information of a drive (geometry of disk in drive).  The "
5131 "media information will not be lost when the media is changed.  This will "
5132 "disable autodetection.  In order to reenable autodetection, you have to "
5133 "issue an B<FDCLRPRM>."
5134 msgstr ""
5135
5136 #. type: IP
5137 #: build/C/man4/fd.4:148 build/C/man4/fd.4:160
5138 #, no-wrap
5139 msgid "B<FDGETDRVTYP>"
5140 msgstr ""
5141
5142 #. type: Plain text
5143 #: build/C/man4/fd.4:153
5144 msgid ""
5145 "returns the type of a drive (name parameter).  For formats which work in "
5146 "several drive types, B<FDGETDRVTYP> returns a name which is appropriate for "
5147 "the oldest drive type which supports this format."
5148 msgstr ""
5149
5150 #. type: IP
5151 #: build/C/man4/fd.4:153
5152 #, no-wrap
5153 msgid "B<FDFLUSH>"
5154 msgstr ""
5155
5156 #. type: Plain text
5157 #: build/C/man4/fd.4:155
5158 msgid "invalidates the buffer cache for the given drive."
5159 msgstr ""
5160
5161 #. type: IP
5162 #: build/C/man4/fd.4:155 build/C/man4/fd.4:158
5163 #, no-wrap
5164 msgid "B<FDSETMAXERRS>"
5165 msgstr ""
5166
5167 #. type: Plain text
5168 #: build/C/man4/fd.4:158
5169 msgid ""
5170 "sets the error thresholds for reporting errors, aborting the operation, "
5171 "recalibrating, resetting, and reading sector by sector."
5172 msgstr ""
5173
5174 #. type: Plain text
5175 #: build/C/man4/fd.4:160
5176 msgid "gets the current error thresholds."
5177 msgstr ""
5178
5179 #. type: Plain text
5180 #: build/C/man4/fd.4:162
5181 msgid "gets the internal name of the drive."
5182 msgstr ""
5183
5184 #. type: IP
5185 #: build/C/man4/fd.4:162
5186 #, no-wrap
5187 msgid "B<FDWERRORCLR>"
5188 msgstr ""
5189
5190 #. type: Plain text
5191 #: build/C/man4/fd.4:164
5192 msgid "clears the write error statistics."
5193 msgstr ""
5194
5195 #. type: IP
5196 #: build/C/man4/fd.4:164
5197 #, no-wrap
5198 msgid "B<FDWERRORGET>"
5199 msgstr ""
5200
5201 #. type: Plain text
5202 #: build/C/man4/fd.4:171
5203 msgid ""
5204 "reads the write error statistics.  These include the total number of write "
5205 "errors, the location and disk of the first write error, and the location and "
5206 "disk of the last write error.  Disks are identified by a generation number "
5207 "which is incremented at (almost) each disk change."
5208 msgstr ""
5209
5210 #. type: IP
5211 #: build/C/man4/fd.4:171
5212 #, no-wrap
5213 msgid "B<FDTWADDLE>"
5214 msgstr ""
5215
5216 #. type: Plain text
5217 #: build/C/man4/fd.4:175
5218 msgid ""
5219 "Switch the drive motor off for a few microseconds.  This might be needed in "
5220 "order to access a disk whose sectors are too close together."
5221 msgstr ""
5222
5223 #. type: IP
5224 #: build/C/man4/fd.4:175
5225 #, no-wrap
5226 msgid "B<FDSETDRVPRM>"
5227 msgstr ""
5228
5229 #. type: Plain text
5230 #: build/C/man4/fd.4:177
5231 msgid "sets various drive parameters."
5232 msgstr ""
5233
5234 #. type: IP
5235 #: build/C/man4/fd.4:177
5236 #, no-wrap
5237 msgid "B<FDGETDRVPRM>"
5238 msgstr ""
5239
5240 #. type: Plain text
5241 #: build/C/man4/fd.4:179
5242 msgid "reads these parameters back."
5243 msgstr ""
5244
5245 #. type: IP
5246 #: build/C/man4/fd.4:179
5247 #, no-wrap
5248 msgid "B<FDGETDRVSTAT>"
5249 msgstr ""
5250
5251 #. type: Plain text
5252 #: build/C/man4/fd.4:181
5253 msgid "gets the cached drive state (disk changed, write protected et al.)"
5254 msgstr ""
5255
5256 #. type: IP
5257 #: build/C/man4/fd.4:181
5258 #, no-wrap
5259 msgid "B<FDPOLLDRVSTAT>"
5260 msgstr ""
5261
5262 #. type: Plain text
5263 #: build/C/man4/fd.4:183
5264 msgid "polls the drive and return its state."
5265 msgstr ""
5266
5267 #. type: IP
5268 #: build/C/man4/fd.4:183
5269 #, no-wrap
5270 msgid "B<FDGETFDCSTAT>"
5271 msgstr ""
5272
5273 #. type: Plain text
5274 #: build/C/man4/fd.4:185
5275 msgid "gets the floppy controller state."
5276 msgstr ""
5277
5278 #. type: IP
5279 #: build/C/man4/fd.4:185
5280 #, no-wrap
5281 msgid "B<FDRESET>"
5282 msgstr ""
5283
5284 #. type: Plain text
5285 #: build/C/man4/fd.4:187
5286 msgid "resets the floppy controller under certain conditions."
5287 msgstr ""
5288
5289 #. type: IP
5290 #: build/C/man4/fd.4:187
5291 #, no-wrap
5292 msgid "B<FDRAWCMD>"
5293 msgstr ""
5294
5295 #. type: Plain text
5296 #: build/C/man4/fd.4:189
5297 msgid "sends a raw command to the floppy controller."
5298 msgstr ""
5299
5300 #. type: Plain text
5301 #: build/C/man4/fd.4:194
5302 msgid ""
5303 "For more precise information, consult also the I<E<lt>linux/fd.hE<gt>> and "
5304 "I<E<lt>linux/fdreg.hE<gt>> include files, as well as the B<floppycontrol>(1)  "
5305 "manual page."
5306 msgstr ""
5307
5308 #. type: Plain text
5309 #: build/C/man4/fd.4:196
5310 msgid "/dev/fd*"
5311 msgstr ""
5312
5313 #. type: Plain text
5314 #: build/C/man4/fd.4:202
5315 msgid ""
5316 "The various formats permit reading and writing many types of disks.  "
5317 "However, if a floppy is formatted with an inter-sector gap that is too "
5318 "small, performance may drop, to the point of needing a few seconds to access "
5319 "an entire track.  To prevent this, use interleaved formats."
5320 msgstr ""
5321
5322 #. type: Plain text
5323 #: build/C/man4/fd.4:206
5324 msgid ""
5325 "It is not possible to read floppies which are formatted using GCR (group "
5326 "code recording), which is used by Apple II and Macintosh computers (800k "
5327 "disks)."
5328 msgstr ""
5329
5330 #.  .SH AUTHORS
5331 #.  Alain Knaff (Alain.Knaff@imag.fr), David Niemi
5332 #.  (niemidc@clark.net), Bill Broadhurst (bbroad@netcom.com).
5333 #. type: Plain text
5334 #: build/C/man4/fd.4:213
5335 msgid ""
5336 "Reading floppies which are hard sectored (one hole per sector, with the "
5337 "index hole being a little skewed) is not supported.  This used to be common "
5338 "with older 8-inch floppies."
5339 msgstr ""
5340
5341 #. type: Plain text
5342 #: build/C/man4/fd.4:221
5343 msgid ""
5344 "B<chown>(1), B<floppycontrol>(1), B<getfdprm>(1), B<mknod>(1), "
5345 "B<superformat>(1), B<mount>(8), B<setfdprm>(8)"
5346 msgstr ""
5347
5348 #. type: TH
5349 #: build/C/man7/fifo.7:13
5350 #, no-wrap
5351 msgid "FIFO"
5352 msgstr ""
5353
5354 #. type: TH
5355 #: build/C/man7/fifo.7:13
5356 #, no-wrap
5357 msgid "2008-12-03"
5358 msgstr ""
5359
5360 #. type: Plain text
5361 #: build/C/man7/fifo.7:16
5362 msgid "fifo - first-in first-out special file, named pipe"
5363 msgstr ""
5364
5365 #. type: Plain text
5366 #: build/C/man7/fifo.7:28
5367 msgid ""
5368 "A FIFO special file (a named pipe) is similar to a pipe, except that it is "
5369 "accessed as part of the filesystem.  It can be opened by multiple processes "
5370 "for reading or writing.  When processes are exchanging data via the FIFO, "
5371 "the kernel passes all data internally without writing it to the filesystem.  "
5372 "Thus, the FIFO special file has no contents on the filesystem; the "
5373 "filesystem entry merely serves as a reference point so that processes can "
5374 "access the pipe using a name in the filesystem."
5375 msgstr ""
5376
5377 #. type: Plain text
5378 #: build/C/man7/fifo.7:35
5379 msgid ""
5380 "The kernel maintains exactly one pipe object for each FIFO special file that "
5381 "is opened by at least one process.  The FIFO must be opened on both ends "
5382 "(reading and writing)  before data can be passed.  Normally, opening the "
5383 "FIFO blocks until the other end is opened also."
5384 msgstr ""
5385
5386 #. type: Plain text
5387 #: build/C/man7/fifo.7:44
5388 msgid ""
5389 "A process can open a FIFO in nonblocking mode.  In this case, opening for "
5390 "read-only will succeed even if no-one has opened on the write side yet, "
5391 "opening for write-only will fail with B<ENXIO> (no such device or address) "
5392 "unless the other end has already been opened."
5393 msgstr ""
5394
5395 #. type: Plain text
5396 #: build/C/man7/fifo.7:54
5397 msgid ""
5398 "Under Linux, opening a FIFO for read and write will succeed both in blocking "
5399 "and nonblocking mode.  POSIX leaves this behavior undefined.  This can be "
5400 "used to open a FIFO for writing while there are no readers available.  A "
5401 "process that uses both ends of the connection in order to communicate with "
5402 "itself should be very careful to avoid deadlocks."
5403 msgstr ""
5404
5405 #. type: Plain text
5406 #: build/C/man7/fifo.7:59
5407 msgid ""
5408 "When a process tries to write to a FIFO that is not opened for read on the "
5409 "other side, the process is sent a B<SIGPIPE> signal."
5410 msgstr ""
5411
5412 #. type: Plain text
5413 #: build/C/man7/fifo.7:65
5414 msgid ""
5415 "FIFO special files can be created by B<mkfifo>(3), and are indicated by I<ls "
5416 "-l> with the file type \\(aqp\\(aq."
5417 msgstr ""
5418
5419 #. type: Plain text
5420 #: build/C/man7/fifo.7:74
5421 msgid ""
5422 "B<mkfifo>(1), B<open>(2), B<pipe>(2), B<sigaction>(2), B<signal>(2), "
5423 "B<socketpair>(2), B<mkfifo>(3), B<pipe>(7)"
5424 msgstr ""
5425
5426 #. type: TH
5427 #: build/C/man4/full.4:26
5428 #, no-wrap
5429 msgid "FULL"
5430 msgstr ""
5431
5432 #. type: TH
5433 #: build/C/man4/full.4:26
5434 #, no-wrap
5435 msgid "2007-11-24"
5436 msgstr ""
5437
5438 #. type: Plain text
5439 #: build/C/man4/full.4:29
5440 msgid "full - always full device"
5441 msgstr ""
5442
5443 #. type: Plain text
5444 #: build/C/man4/full.4:34
5445 msgid ""
5446 "If your system does not have I</dev/full> created already, it can be created "
5447 "with the following commands:"
5448 msgstr ""
5449
5450 #. type: Plain text
5451 #: build/C/man4/full.4:38
5452 #, no-wrap
5453 msgid ""
5454 "        mknod -m 666 /dev/full c 1 7\n"
5455 "        chown root:root /dev/full\n"
5456 msgstr ""
5457
5458 #. type: Plain text
5459 #: build/C/man4/full.4:44
5460 msgid "File I</dev/full> has major device number 1 and minor device number 7."
5461 msgstr ""
5462
5463 #. type: Plain text
5464 #: build/C/man4/full.4:51
5465 msgid ""
5466 "Writes to the I</dev/full> device will fail with an B<ENOSPC> error.  This "
5467 "can be used to test how a program handles disk-full errors."
5468 msgstr ""
5469
5470 #. type: Plain text
5471 #: build/C/man4/full.4:55
5472 msgid "Reads from the I</dev/full> device will return \\e0 characters."
5473 msgstr ""
5474
5475 #. type: Plain text
5476 #: build/C/man4/full.4:59
5477 msgid "Seeks on I</dev/full> will always succeed."
5478 msgstr ""
5479
5480 #. type: Plain text
5481 #: build/C/man4/full.4:61
5482 msgid "/dev/full"
5483 msgstr ""
5484
5485 #. type: Plain text
5486 #: build/C/man4/full.4:65
5487 msgid "B<mknod>(1), B<null>(4), B<zero>(4)"
5488 msgstr ""
5489
5490 #. type: TH
5491 #: build/C/man3/gnu_get_libc_version.3:26
5492 #, no-wrap
5493 msgid "GNU_GET_LIBC_VERSION"
5494 msgstr ""
5495
5496 #. type: TH
5497 #: build/C/man3/gnu_get_libc_version.3:26
5498 #, no-wrap
5499 msgid "2012-08-26"
5500 msgstr ""
5501
5502 #. type: Plain text
5503 #: build/C/man3/gnu_get_libc_version.3:29
5504 msgid "gnu_get_libc_version, gnu_get_libc_release - get glibc version and release"
5505 msgstr ""
5506
5507 #. type: Plain text
5508 #: build/C/man3/gnu_get_libc_version.3:32
5509 #, no-wrap
5510 msgid "B<#include E<lt>gnu/libc-version.hE<gt>>\n"
5511 msgstr ""
5512
5513 #. type: Plain text
5514 #: build/C/man3/gnu_get_libc_version.3:35
5515 #, no-wrap
5516 msgid ""
5517 "B<const char *gnu_get_libc_version(void);>\n"
5518 "B<const char *gnu_get_libc_release(void);>\n"
5519 msgstr ""
5520
5521 #. type: Plain text
5522 #: build/C/man3/gnu_get_libc_version.3:40
5523 msgid ""
5524 "The function B<gnu_get_libc_version>()  returns a string that identifies the "
5525 "glibc version available on the system."
5526 msgstr ""
5527
5528 #. type: Plain text
5529 #: build/C/man3/gnu_get_libc_version.3:47
5530 msgid ""
5531 "The function B<gnu_get_libc_release>()  returns a string indicates the "
5532 "release status of the glibc version available on the system.  This will be a "
5533 "string such as I<stable>."
5534 msgstr ""
5535
5536 #. type: SH
5537 #: build/C/man3/gnu_get_libc_version.3:47 build/C/man3/mkfifo.3:178 build/C/man2/mknod.2:240 build/C/man4/vcs.4:99
5538 #, no-wrap
5539 msgid "VERSIONS"
5540 msgstr ""
5541
5542 #. type: Plain text
5543 #: build/C/man3/gnu_get_libc_version.3:49
5544 msgid "These functions first appeared in glibc in version 2.1."
5545 msgstr ""
5546
5547 #. type: SH
5548 #: build/C/man3/gnu_get_libc_version.3:49 build/C/man3/makedev.3:62 build/C/man3/mkfifo.3:191 build/C/man2/mknod.2:244 build/C/man3/setlogmask.3:75 build/C/man3/stdarg.3:238 build/C/man2/syslog.2:298 build/C/man3/syslog.3:252 build/C/man7/uri.7:584
5549 #, no-wrap
5550 msgid "CONFORMING TO"
5551 msgstr ""
5552
5553 #. type: Plain text
5554 #: build/C/man3/gnu_get_libc_version.3:51
5555 msgid "These functions are glibc-specific."
5556 msgstr ""
5557
5558 #. type: Plain text
5559 #: build/C/man3/gnu_get_libc_version.3:53
5560 msgid "When run, the program below will produce output such as the following:"
5561 msgstr ""
5562
5563 #. type: Plain text
5564 #: build/C/man3/gnu_get_libc_version.3:59
5565 #, no-wrap
5566 msgid ""
5567 "$B< ./a.out>\n"
5568 "GNU libc version: 2.8\n"
5569 "GNU libc release: stable\n"
5570 msgstr ""
5571
5572 #. type: Plain text
5573 #: build/C/man3/gnu_get_libc_version.3:67
5574 #, no-wrap
5575 msgid ""
5576 "#include E<lt>gnu/libc-version.hE<gt>\n"
5577 "#include E<lt>stdlib.hE<gt>\n"
5578 "#include E<lt>stdio.hE<gt>\n"
5579 msgstr ""
5580
5581 #. type: Plain text
5582 #: build/C/man3/gnu_get_libc_version.3:75
5583 #, no-wrap
5584 msgid ""
5585 "int\n"
5586 "main(int argc, char *argv[])\n"
5587 "{\n"
5588 "    printf(\"GNU libc version: %s\\en\", gnu_get_libc_version());\n"
5589 "    printf(\"GNU libc release: %s\\en\", gnu_get_libc_release());\n"
5590 "    exit(EXIT_SUCCESS);\n"
5591 "}\n"
5592 msgstr ""
5593
5594 #. type: Plain text
5595 #: build/C/man3/gnu_get_libc_version.3:78
5596 msgid "B<confstr>(3)"
5597 msgstr ""
5598
5599 #. type: TH
5600 #: build/C/man4/hd.4:29
5601 #, no-wrap
5602 msgid "HD"
5603 msgstr ""
5604
5605 #. type: TH
5606 #: build/C/man4/hd.4:29
5607 #, no-wrap
5608 msgid "1992-12-17"
5609 msgstr ""
5610
5611 #. type: Plain text
5612 #: build/C/man4/hd.4:32
5613 msgid "hd - MFM/IDE hard disk devices"
5614 msgstr ""
5615
5616 #. type: Plain text
5617 #: build/C/man4/hd.4:47
5618 msgid ""
5619 "The B<hd*> devices are block devices to access MFM/IDE hard disk drives in "
5620 "raw mode.  The master drive on the primary IDE controller (major device "
5621 "number 3) is B<hda>; the slave drive is B<hdb>.  The master drive of the "
5622 "second controller (major device number 22)  is B<hdc> and the slave B<hdd>."
5623 msgstr ""
5624
5625 #. type: Plain text
5626 #: build/C/man4/hd.4:71
5627 msgid ""
5628 "General IDE block device names have the form B<hd>I<X>, or B<hd>I<XP>, where "
5629 "I<X> is a letter denoting the physical drive, and I<P> is a number denoting "
5630 "the partition on that physical drive.  The first form, B<hd>I<X,> is used to "
5631 "address the whole drive.  Partition numbers are assigned in the order the "
5632 "partitions are discovered, and only nonempty, nonextended partitions get a "
5633 "number.  However, partition numbers 1-4 are given to the four partitions "
5634 "described in the MBR (the \"primary\" partitions), regardless of whether "
5635 "they are unused or extended.  Thus, the first logical partition will be "
5636 "B<hd>I<X>B<5>\\&.  Both DOS-type partitioning and BSD-disklabel partitioning "
5637 "are supported.  You can have at most 63 partitions on an IDE disk."
5638 msgstr ""
5639
5640 #. type: Plain text
5641 #: build/C/man4/hd.4:77
5642 msgid ""
5643 "For example, I</dev/hda> refers to all of the first IDE drive in the system; "
5644 "and I</dev/hdb3> refers to the third DOS \"primary\" partition on the second "
5645 "one."
5646 msgstr ""
5647
5648 #. type: Plain text
5649 #: build/C/man4/hd.4:79 build/C/man4/ttyS.4:34
5650 msgid "They are typically created by:"
5651 msgstr ""
5652
5653 #. type: Plain text
5654 #: build/C/man4/hd.4:82
5655 msgid "mknod -m 660 /dev/hda b 3 0"
5656 msgstr ""
5657
5658 #. type: Plain text
5659 #: build/C/man4/hd.4:84
5660 msgid "mknod -m 660 /dev/hda1 b 3 1"
5661 msgstr ""
5662
5663 #. type: Plain text
5664 #: build/C/man4/hd.4:86
5665 msgid "mknod -m 660 /dev/hda2 b 3 2"
5666 msgstr ""
5667
5668 #. type: Plain text
5669 #: build/C/man4/hd.4:88 build/C/man4/hd.4:98
5670 msgid "\\&..."
5671 msgstr ""
5672
5673 #. type: Plain text
5674 #: build/C/man4/hd.4:90
5675 msgid "mknod -m 660 /dev/hda8 b 3 8"
5676 msgstr ""
5677
5678 #. type: Plain text
5679 #: build/C/man4/hd.4:92
5680 msgid "mknod -m 660 /dev/hdb b 3 64"
5681 msgstr ""
5682
5683 #. type: Plain text
5684 #: build/C/man4/hd.4:94
5685 msgid "mknod -m 660 /dev/hdb1 b 3 65"
5686 msgstr ""
5687
5688 #. type: Plain text
5689 #: build/C/man4/hd.4:96
5690 msgid "mknod -m 660 /dev/hdb2 b 3 66"
5691 msgstr ""
5692
5693 #. type: Plain text
5694 #: build/C/man4/hd.4:100
5695 msgid "mknod -m 660 /dev/hdb8 b 3 72"
5696 msgstr ""
5697
5698 #. type: Plain text
5699 #: build/C/man4/hd.4:102
5700 msgid "chown root:disk /dev/hd*"
5701 msgstr ""
5702
5703 #. type: Plain text
5704 #: build/C/man4/hd.4:105
5705 msgid "/dev/hd*"
5706 msgstr ""
5707
5708 #. type: Plain text
5709 #: build/C/man4/hd.4:110
5710 msgid "B<chown>(1), B<mknod>(1), B<sd>(4), B<mount>(8)"
5711 msgstr ""
5712
5713 #. type: TH
5714 #: build/C/man4/hpsa.4:10
5715 #, no-wrap
5716 msgid "HPSA"
5717 msgstr ""
5718
5719 #. type: Plain text
5720 #: build/C/man4/hpsa.4:13
5721 msgid "hpsa - HP Smart Array SCSI driver"
5722 msgstr ""
5723
5724 #. type: Plain text
5725 #: build/C/man4/hpsa.4:16
5726 #, no-wrap
5727 msgid "modprobe hpsa [ hpsa_allow_any=1 ]\n"
5728 msgstr ""
5729
5730 #. type: Plain text
5731 #: build/C/man4/hpsa.4:20
5732 msgid "B<hpsa> is a SCSI driver for HP Smart Array RAID controllers."
5733 msgstr ""
5734
5735 #. type: Plain text
5736 #: build/C/man4/hpsa.4:39
5737 msgid ""
5738 "I<hpsa_allow_any=1>: This option allows the driver to attempt to operate on "
5739 "any HP Smart Array hardware RAID controller, even if it is not explicitly "
5740 "known to the driver.  This allows newer hardware to work with older "
5741 "drivers.  Typically this is used to allow installation of operating systems "
5742 "from media that predates the RAID controller, though it may also be used to "
5743 "enable B<hpsa> to drive older controllers that would normally be handled by "
5744 "the B<cciss>(4)  driver.  These older boards have not been tested and are "
5745 "not supported with B<hpsa>, and B<cciss>(4)  should still be used for these."
5746 msgstr ""
5747
5748 #. type: Plain text
5749 #: build/C/man4/hpsa.4:43
5750 msgid "The B<hpsa> driver supports the following Smart Array boards:"
5751 msgstr ""
5752
5753 #. type: Plain text
5754 #: build/C/man4/hpsa.4:54
5755 #, no-wrap
5756 msgid ""
5757 "    Smart Array P700M\n"
5758 "    Smart Array P212\n"
5759 "    Smart Array P410\n"
5760 "    Smart Array P410i\n"
5761 "    Smart Array P411\n"
5762 "    Smart Array P812\n"
5763 "    Smart Array P712m\n"
5764 "    Smart Array P711m\n"
5765 "    StorageWorks P1210m\n"
5766 msgstr ""
5767
5768 #. type: Plain text
5769 #: build/C/man4/hpsa.4:78
5770 msgid ""
5771 "Logical drives are accessed via the SCSI disk driver (B<sd>(4)), tape drives "
5772 "via the SCSI tape driver (B<st>(4)), and the RAID controller via the SCSI "
5773 "generic driver (B<sg>(4)), with device nodes named I</dev/sd*>, I</dev/st*>, "
5774 "and I</dev/sg*>, respectively."
5775 msgstr ""
5776
5777 #. type: SS
5778 #: build/C/man4/hpsa.4:78
5779 #, no-wrap
5780 msgid "HPSA-specific host attribute files in /sys"
5781 msgstr ""
5782
5783 #. type: TP
5784 #: build/C/man4/hpsa.4:79
5785 #, no-wrap
5786 msgid "I</sys/class/scsi_host/host*/rescan>"
5787 msgstr ""
5788
5789 #. type: Plain text
5790 #: build/C/man4/hpsa.4:93
5791 msgid ""
5792 "This is a write-only attribute.  Writing to this attribute will cause the "
5793 "driver to scan for new, changed, or removed devices (e.g,. hot-plugged tape "
5794 "drives, or newly configured or deleted logical drives, etc.)  and notify the "
5795 "SCSI midlayer of any changes detected.  Normally a rescan is triggered "
5796 "automatically by HP's Array Configuration Utility (either the GUI or the "
5797 "command-line variety); thus, for logical drive changes, the user should not "
5798 "normally have to use this attribute.  This attribute may be useful when hot "
5799 "plugging devices like tape drives, or entire storage boxes containing "
5800 "preconfigured logical drives."
5801 msgstr ""
5802
5803 #. type: TP
5804 #: build/C/man4/hpsa.4:93
5805 #, no-wrap
5806 msgid "I</sys/class/scsi_host/host*/firmware_revision>"
5807 msgstr ""
5808
5809 #. type: Plain text
5810 #: build/C/man4/hpsa.4:96
5811 msgid "This attribute contains the firmware version of the Smart Array."
5812 msgstr ""
5813
5814 #. type: Plain text
5815 #: build/C/man4/hpsa.4:98
5816 msgid "For example:"
5817 msgstr ""
5818
5819 #. type: Plain text
5820 #: build/C/man4/hpsa.4:103
5821 #, no-wrap
5822 msgid ""
5823 "    # B<cd /sys/class/scsi_host/host4>\n"
5824 "    # B<cat firmware_revision>\n"
5825 "    7.14\n"
5826 msgstr ""
5827
5828 #. type: SS
5829 #: build/C/man4/hpsa.4:104
5830 #, no-wrap
5831 msgid "HPSA-specific disk attribute files in /sys"
5832 msgstr ""
5833
5834 #. type: TP
5835 #: build/C/man4/hpsa.4:105
5836 #, no-wrap
5837 msgid "I</sys/class/scsi_disk/c:b:t:l/device/unique_id>"
5838 msgstr ""
5839
5840 #. type: Plain text
5841 #: build/C/man4/hpsa.4:108
5842 msgid "This attribute contains a 32 hex-digit unique ID for each logical drive."
5843 msgstr ""
5844
5845 #. type: Plain text
5846 #: build/C/man4/hpsa.4:111 build/C/man4/hpsa.4:122 build/C/man4/hpsa.4:136
5847 #, no-wrap
5848 msgid "For example:\n"
5849 msgstr ""
5850
5851 #. type: Plain text
5852 #: build/C/man4/hpsa.4:115
5853 #, no-wrap
5854 msgid ""
5855 "    # B<cd /sys/class/scsi_disk/4:0:0:0/device>\n"
5856 "    # B<cat unique_id>\n"
5857 "    600508B1001044395355323037570F77\n"
5858 msgstr ""
5859
5860 #. type: TP
5861 #: build/C/man4/hpsa.4:116
5862 #, no-wrap
5863 msgid "I</sys/class/scsi_disk/c:b:t:l/device/raid_level>"
5864 msgstr ""
5865
5866 #. type: Plain text
5867 #: build/C/man4/hpsa.4:119
5868 msgid "This attribute contains the RAID level of each logical drive."
5869 msgstr ""
5870
5871 #. type: Plain text
5872 #: build/C/man4/hpsa.4:126
5873 #, no-wrap
5874 msgid ""
5875 "    # B<cd /sys/class/scsi_disk/4:0:0:0/device>\n"
5876 "    # B<cat raid_level>\n"
5877 "    RAID 0\n"
5878 msgstr ""
5879
5880 #. type: TP
5881 #: build/C/man4/hpsa.4:127
5882 #, no-wrap
5883 msgid "I</sys/class/scsi_disk/c:b:t:l/device/lunid>"
5884 msgstr ""
5885
5886 #. type: Plain text
5887 #: build/C/man4/hpsa.4:133
5888 msgid ""
5889 "This attribute contains the 16 hex-digit (8 byte) LUN ID by which a logical "
5890 "drive or physical device can be addressed.  I<c>:I<b>:I<t>:I<l> are the "
5891 "controller, bus, target, and lun of the device."
5892 msgstr ""
5893
5894 #. type: Plain text
5895 #: build/C/man4/hpsa.4:140
5896 #, no-wrap
5897 msgid ""
5898 "    # B<cd /sys/class/scsi_disk/4:0:0:0/device>\n"
5899 "    # B<cat lunid>\n"
5900 "    0x0000004000000000\n"
5901 msgstr ""
5902
5903 #. type: SS
5904 #: build/C/man4/hpsa.4:141
5905 #, no-wrap
5906 msgid "Supported ioctl() operations"
5907 msgstr ""
5908
5909 #. type: Plain text
5910 #: build/C/man4/hpsa.4:153
5911 msgid ""
5912 "For compatibility with applications written for the B<cciss>(4)  driver, "
5913 "many, but not all of the ioctls supported by the B<cciss>(4)  driver are "
5914 "also supported by the B<hpsa> driver.  The data structures used by these "
5915 "ioctls are described in the Linux kernel source file "
5916 "I<include/linux/cciss_ioctl.h>."
5917 msgstr ""
5918
5919 #. type: TP
5920 #: build/C/man4/hpsa.4:153
5921 #, no-wrap
5922 msgid "B<CCISS_DEREGDISK>, B<CCISS_REGNEWDISK>, B<CCISS_REGNEWD>"
5923 msgstr ""
5924
5925 #. type: Plain text
5926 #: build/C/man4/hpsa.4:159
5927 msgid ""
5928 "These three ioctls all do exactly the same thing, which is to cause the "
5929 "driver to rescan for new devices.  This does exactly the same thing as "
5930 "writing to the hpsa-specific host \"rescan\" attribute."
5931 msgstr ""
5932
5933 #. type: TP
5934 #: build/C/man4/hpsa.4:159
5935 #, no-wrap
5936 msgid "B<CCISS_GETPCIINFO>"
5937 msgstr ""
5938
5939 #. type: Plain text
5940 #: build/C/man4/hpsa.4:162
5941 msgid ""
5942 "Returns PCI domain, bus, device and function and \"board ID\" (PCI subsystem "
5943 "ID)."
5944 msgstr ""
5945
5946 #. type: TP
5947 #: build/C/man4/hpsa.4:162
5948 #, no-wrap
5949 msgid "B<CCISS_GETDRIVVER>"
5950 msgstr ""
5951
5952 #. type: Plain text
5953 #: build/C/man4/hpsa.4:165
5954 msgid "Returns driver version in three bytes encoded as:"
5955 msgstr ""
5956
5957 #. type: Plain text
5958 #: build/C/man4/hpsa.4:168
5959 #, no-wrap
5960 msgid ""
5961 "    (major_version E<lt>E<lt> 16) | (minor_version E<lt>E<lt> 8) |\n"
5962 "        (subminor_version)\n"
5963 msgstr ""
5964
5965 #. type: TP
5966 #: build/C/man4/hpsa.4:168
5967 #, no-wrap
5968 msgid "B<CCISS_PASSTHRU>, B<CCISS_BIG_PASSTHRU>"
5969 msgstr ""
5970
5971 #. type: Plain text
5972 #: build/C/man4/hpsa.4:179
5973 msgid ""
5974 "Allows \"BMIC\" and \"CISS\" commands to be passed through to the Smart "
5975 "Array.  These are used extensively by the HP Array Configuration Utility, "
5976 "SNMP storage agents, and so on.  See I<cciss_vol_status> at E<.UR "
5977 "http://cciss.sf.net> E<.UE> for some examples."
5978 msgstr ""
5979
5980 #. type: Plain text
5981 #: build/C/man4/hpsa.4:186
5982 msgid ""
5983 "B<cciss>(4), B<sd>(4), B<st>(4), B<cciss_vol_status>(8), B<hpacucli>(8), "
5984 "B<hpacuxe>(8),"
5985 msgstr ""
5986
5987 #.  .SH AUTHORS
5988 #.  Don Brace, Steve Cameron, Tom Lawler, Mike Miller, Scott Teel
5989 #.  and probably some other people.
5990 #. type: Plain text
5991 #: build/C/man4/hpsa.4:197
5992 msgid ""
5993 "E<.UR http://cciss.sf.net> E<.UE ,> and I<Documentation/scsi/hpsa.txt> and "
5994 "I<Documentation/ABI/testing/sysfs-bus-pci-devices-cciss> in the Linux kernel "
5995 "source tree"
5996 msgstr ""
5997
5998 #. type: TH
5999 #: build/C/man4/initrd.4:35
6000 #, no-wrap
6001 msgid "INITRD"
6002 msgstr ""
6003
6004 #. type: TH
6005 #: build/C/man4/initrd.4:35 build/C/man4/st.4:25
6006 #, no-wrap
6007 msgid "2010-09-04"
6008 msgstr ""
6009
6010 #. type: Plain text
6011 #: build/C/man4/initrd.4:38
6012 msgid "initrd - boot loader initialized RAM disk"
6013 msgstr ""
6014
6015 #. type: Plain text
6016 #: build/C/man4/initrd.4:51
6017 msgid ""
6018 "The I</dev/initrd> is a read-only block device assigned major number 1 and "
6019 "minor number 250.  Typically I</dev/initrd> is owned by I<root.disk> with "
6020 "mode 0400 (read access by root only).  If the Linux system does not have "
6021 "I</dev/initrd> already created, it can be created with the following "
6022 "commands:"
6023 msgstr ""
6024
6025 #. type: Plain text
6026 #: build/C/man4/initrd.4:56
6027 #, no-wrap
6028 msgid ""
6029 "B<\n"
6030 "        mknod -m 400 /dev/initrd b 1 250\n"
6031 "        chown root:disk /dev/initrd>\n"
6032 "\n"
6033 msgstr ""
6034
6035 #. type: Plain text
6036 #: build/C/man4/initrd.4:71
6037 msgid ""
6038 "Also, support for both \"RAM disk\" and \"Initial RAM disk\" (e.g., "
6039 "B<CONFIG_BLK_DEV_RAM=y> and B<CONFIG_BLK_DEV_INITRD=y>)  must be compiled "
6040 "directly into the Linux kernel to use I</dev/initrd>.  When using "
6041 "I</dev/initrd>, the RAM disk driver cannot be loaded as a module."
6042 msgstr ""
6043
6044 #. type: Plain text
6045 #: build/C/man4/initrd.4:80
6046 msgid ""
6047 "The special file I</dev/initrd> is a read-only block device.  This device is "
6048 "a RAM disk that is initialized (e.g., loaded)  by the boot loader before the "
6049 "kernel is started.  The kernel then can use I</dev/initrd>'s contents for a "
6050 "two-phase system boot-up."
6051 msgstr ""
6052
6053 #. type: Plain text
6054 #: build/C/man4/initrd.4:93
6055 msgid ""
6056 "In the first boot-up phase, the kernel starts up and mounts an initial root "
6057 "filesystem from the contents of I</dev/initrd> (e.g., RAM disk initialized "
6058 "by the boot loader).  In the second phase, additional drivers or other "
6059 "modules are loaded from the initial root device's contents.  After loading "
6060 "the additional modules, a new root filesystem (i.e., the normal root "
6061 "filesystem) is mounted from a different device."
6062 msgstr ""
6063
6064 #. type: SS
6065 #: build/C/man4/initrd.4:93
6066 #, no-wrap
6067 msgid "Boot-up operation"
6068 msgstr ""
6069
6070 #. type: Plain text
6071 #: build/C/man4/initrd.4:97
6072 msgid "When booting up with B<initrd>, the system boots as follows:"
6073 msgstr ""
6074
6075 #. type: Plain text
6076 #: build/C/man4/initrd.4:101
6077 msgid ""
6078 "The boot loader loads the kernel program and I</dev/initrd>'s contents into "
6079 "memory."
6080 msgstr ""
6081
6082 #. type: Plain text
6083 #: build/C/man4/initrd.4:109
6084 msgid ""
6085 "On kernel startup, the kernel uncompresses and copies the contents of the "
6086 "device I</dev/initrd> onto device I</dev/ram0> and then frees the memory "
6087 "used by I</dev/initrd>."
6088 msgstr ""
6089
6090 #. type: IP
6091 #: build/C/man4/initrd.4:109 build/C/man4/initrd.4:339 build/C/man4/initrd.4:458 build/C/man4/st.4:919
6092 #, no-wrap
6093 msgid "3."
6094 msgstr ""
6095
6096 #. type: Plain text
6097 #: build/C/man4/initrd.4:113
6098 msgid ""
6099 "The kernel then read-write mounts the device I</dev/ram0> as the initial "
6100 "root filesystem."
6101 msgstr ""
6102
6103 #. type: IP
6104 #: build/C/man4/initrd.4:113 build/C/man4/initrd.4:343 build/C/man4/st.4:926
6105 #, no-wrap
6106 msgid "4."
6107 msgstr ""
6108
6109 #. type: Plain text
6110 #: build/C/man4/initrd.4:118
6111 msgid ""
6112 "If the indicated normal root filesystem is also the initial root filesystem "
6113 "(e.g., I</dev/ram0>)  then the kernel skips to the last step for the usual "
6114 "boot sequence."
6115 msgstr ""
6116
6117 #. type: IP
6118 #: build/C/man4/initrd.4:118 build/C/man4/initrd.4:349 build/C/man4/st.4:931
6119 #, no-wrap
6120 msgid "5."
6121 msgstr ""
6122
6123 #. type: Plain text
6124 #: build/C/man4/initrd.4:130
6125 msgid ""
6126 "If the executable file I</linuxrc> is present in the initial root "
6127 "filesystem, I</linuxrc> is executed with UID 0.  (The file I</linuxrc> must "
6128 "have executable permission.  The file I</linuxrc> can be any valid "
6129 "executable, including a shell script.)"
6130 msgstr ""
6131
6132 #. type: IP
6133 #: build/C/man4/initrd.4:130 build/C/man4/initrd.4:358
6134 #, no-wrap
6135 msgid "6."
6136 msgstr ""
6137
6138 #. type: Plain text
6139 #: build/C/man4/initrd.4:142
6140 msgid ""
6141 "If I</linuxrc> is not executed or when I</linuxrc> terminates, the normal "
6142 "root filesystem is mounted.  (If I</linuxrc> exits with any filesystems "
6143 "mounted on the initial root filesystem, then the behavior of the kernel is "
6144 "B<UNSPECIFIED>.  See the NOTES section for the current kernel behavior.)"
6145 msgstr ""
6146
6147 #. type: IP
6148 #: build/C/man4/initrd.4:142 build/C/man4/initrd.4:360
6149 #, no-wrap
6150 msgid "7."
6151 msgstr ""
6152
6153 #. type: Plain text
6154 #: build/C/man4/initrd.4:173
6155 msgid ""
6156 "If the normal root filesystem has a directory I</initrd>, the device "
6157 "I</dev/ram0> is moved from I</> to I</initrd>.  Otherwise if the directory "
6158 "I</initrd> does not exist, the device I</dev/ram0> is unmounted.  (When "
6159 "moved from I</> to I</initrd>, I</dev/ram0> is not unmounted and therefore "
6160 "processes can remain running from I</dev/ram0>.  If directory I</initrd> "
6161 "does not exist on the normal root filesystem and any processes remain "
6162 "running from I</dev/ram0> when I</linuxrc> exits, the behavior of the kernel "
6163 "is B<UNSPECIFIED>.  See the NOTES section for the current kernel behavior.)"
6164 msgstr ""
6165
6166 #. type: IP
6167 #: build/C/man4/initrd.4:173 build/C/man4/initrd.4:363
6168 #, no-wrap
6169 msgid "8."
6170 msgstr ""
6171
6172 #. type: Plain text
6173 #: build/C/man4/initrd.4:180
6174 msgid ""
6175 "The usual boot sequence (e.g., invocation of I</sbin/init>)  is performed on "
6176 "the normal root filesystem."
6177 msgstr ""
6178
6179 #. type: Plain text
6180 #: build/C/man4/initrd.4:184
6181 msgid ""
6182 "The following boot loader options, when used with B<initrd>, affect the "
6183 "kernel's boot-up operation:"
6184 msgstr ""
6185
6186 #. type: TP
6187 #: build/C/man4/initrd.4:184
6188 #, no-wrap
6189 msgid "B<initrd=>I<filename>"
6190 msgstr ""
6191
6192 #. type: Plain text
6193 #: build/C/man4/initrd.4:199
6194 msgid ""
6195 "Specifies the file to load as the contents of I</dev/initrd>.  For "
6196 "B<LOADLIN> this is a command-line option.  For B<LILO> you have to use this "
6197 "command in the B<LILO> configuration file I</etc/lilo.config>.  The filename "
6198 "specified with this option will typically be a gzipped filesystem image."
6199 msgstr ""
6200
6201 #. type: TP
6202 #: build/C/man4/initrd.4:199
6203 #, no-wrap
6204 msgid "I<noinitrd>"
6205 msgstr ""
6206
6207 #. type: Plain text
6208 #: build/C/man4/initrd.4:214
6209 msgid ""
6210 "This boot option disables the two-phase boot-up operation.  The kernel "
6211 "performs the usual boot sequence as if I</dev/initrd> was not initialized.  "
6212 "With this option, any contents of I</dev/initrd> loaded into memory by the "
6213 "boot loader contents are preserved.  This option permits the contents of "
6214 "I</dev/initrd> to be any data and need not be limited to a filesystem "
6215 "image.  However, device I</dev/initrd> is read-only and can be read only one "
6216 "time after system startup."
6217 msgstr ""
6218
6219 #. type: TP
6220 #: build/C/man4/initrd.4:214
6221 #, no-wrap
6222 msgid "B<root=>I<device-name>"
6223 msgstr ""
6224
6225 #. type: Plain text
6226 #: build/C/man4/initrd.4:232
6227 msgid ""
6228 "Specifies the device to be used as the normal root filesystem.  For "
6229 "B<LOADLIN> this is a command-line option.  For B<LILO> this is a boot time "
6230 "option or can be used as an option line in the B<LILO> configuration file "
6231 "I</etc/lilo.config>.  The device specified by the this option must be a "
6232 "mountable device having a suitable root filesystem."
6233 msgstr ""
6234
6235 #. type: SS
6236 #: build/C/man4/initrd.4:232
6237 #, no-wrap
6238 msgid "Changing the normal root filesystem"
6239 msgstr ""
6240
6241 #. type: Plain text
6242 #: build/C/man4/initrd.4:252
6243 msgid ""
6244 "By default, the kernel's settings (e.g., set in the kernel file with "
6245 "B<rdev>(8)  or compiled into the kernel file), or the boot loader option "
6246 "setting is used for the normal root filesystems.  For an NFS-mounted normal "
6247 "root filesystem, one has to use the B<nfs_root_name> and B<nfs_root_addrs> "
6248 "boot options to give the NFS settings.  For more information on NFS-mounted "
6249 "root see the kernel documentation file "
6250 "B<Documentation/filesystems/nfsroot.txt>.  For more information on setting "
6251 "the root filesystem see also the B<LILO> and B<LOADLIN> documentation."
6252 msgstr ""
6253
6254 #. type: Plain text
6255 #: build/C/man4/initrd.4:284
6256 msgid ""
6257 "It is also possible for the I</linuxrc> executable to change the normal root "
6258 "device.  For I</linuxrc> to change the normal root device, I</proc> must be "
6259 "mounted.  After mounting I</proc>, I</linuxrc> changes the normal root "
6260 "device by writing into the proc files I</proc/sys/kernel/real-root-dev>, "
6261 "I</proc/sys/kernel/nfs-root-name>, and I</proc/sys/kernel/nfs-root-addrs>.  "
6262 "For a physical root device, the root device is changed by having I</linuxrc> "
6263 "write the new root filesystem device number into "
6264 "I</proc/sys/kernel/real-root-dev>.  For an NFS root filesystem, the root "
6265 "device is changed by having I</linuxrc> write the NFS setting into files "
6266 "I</proc/sys/kernel/nfs-root-name> and I</proc/sys/kernel/nfs-root-addrs> and "
6267 "then writing 0xff (e.g., the pseudo-NFS-device number) into file "
6268 "I</proc/sys/kernel/real-root-dev>.  For example, the following shell command "
6269 "line would change the normal root device to I</dev/hdb1>:"
6270 msgstr ""
6271
6272 #. type: Plain text
6273 #: build/C/man4/initrd.4:287
6274 #, no-wrap
6275 msgid "    echo 0x365 E<gt>/proc/sys/kernel/real-root-dev\n"
6276 msgstr ""
6277
6278 #. type: Plain text
6279 #: build/C/man4/initrd.4:294
6280 msgid ""
6281 "For an NFS example, the following shell command lines would change the "
6282 "normal root device to the NFS directory I</var/nfsroot> on a local networked "
6283 "NFS server with IP number 193.8.232.7 for a system with IP number "
6284 "193.8.232.2 and named \"idefix\":"
6285 msgstr ""
6286
6287 #. type: Plain text
6288 #: build/C/man4/initrd.4:300
6289 #, no-wrap
6290 msgid ""
6291 "    echo /var/nfsroot E<gt>/proc/sys/kernel/nfs-root-name\n"
6292 "    echo 193.8.232.2:193.8.232.7::255.255.255.0:idefix \\e\n"
6293 "        E<gt>/proc/sys/kernel/nfs-root-addrs\n"
6294 "    echo 255 E<gt>/proc/sys/kernel/real-root-dev\n"
6295 msgstr ""
6296
6297 #.  FIXME the manual page should describe the pivot_root mechanism.
6298 #. type: Plain text
6299 #: build/C/man4/initrd.4:317
6300 msgid ""
6301 "B<Note>: The use of I</proc/sys/kernel/real-root-dev> to change the root "
6302 "filesystem is obsolete.  See the Linux kernel source file "
6303 "I<Documentation/initrd.txt> as well as B<pivot_root>(2)  and "
6304 "B<pivot_root>(8)  for information on the modern method of changing the root "
6305 "filesystem."
6306 msgstr ""
6307
6308 #. type: SS
6309 #: build/C/man4/initrd.4:317 build/C/man4/random.4:65 build/C/man7/uri.7:109
6310 #, no-wrap
6311 msgid "Usage"
6312 msgstr ""
6313
6314 #. type: Plain text
6315 #: build/C/man4/initrd.4:321
6316 msgid ""
6317 "The main motivation for implementing B<initrd> was to allow for modular "
6318 "kernel configuration at system installation."
6319 msgstr ""
6320
6321 #. type: Plain text
6322 #: build/C/man4/initrd.4:323
6323 msgid "A possible system installation scenario is as follows:"
6324 msgstr ""
6325
6326 #. type: Plain text
6327 #: build/C/man4/initrd.4:331
6328 msgid ""
6329 "The loader program boots from floppy or other media with a minimal kernel "
6330 "(e.g., support for I</dev/ram>, I</dev/initrd>, and the ext2 filesystem) and "
6331 "loads I</dev/initrd> with a gzipped version of the initial filesystem."
6332 msgstr ""
6333
6334 #. type: Plain text
6335 #: build/C/man4/initrd.4:339
6336 msgid ""
6337 "The executable I</linuxrc> determines what is needed to (1) mount the normal "
6338 "root filesystem (i.e., device type, device drivers, filesystem) and (2) the "
6339 "distribution media (e.g., CD-ROM, network, tape, ...).  This can be done by "
6340 "asking the user, by auto-probing, or by using a hybrid approach."
6341 msgstr ""
6342
6343 #. type: Plain text
6344 #: build/C/man4/initrd.4:343
6345 msgid ""
6346 "The executable I</linuxrc> loads the necessary modules from the initial root "
6347 "filesystem."
6348 msgstr ""
6349
6350 #. type: Plain text
6351 #: build/C/man4/initrd.4:349
6352 msgid ""
6353 "The executable I</linuxrc> creates and populates the root filesystem.  (At "
6354 "this stage the normal root filesystem does not have to be a completed system "
6355 "yet.)"
6356 msgstr ""
6357
6358 #. type: Plain text
6359 #: build/C/man4/initrd.4:358
6360 msgid ""
6361 "The executable I</linuxrc> sets I</proc/sys/kernel/real-root-dev>, unmount "
6362 "I</proc>, the normal root filesystem and any other filesystems it has "
6363 "mounted, and then terminates."
6364 msgstr ""
6365
6366 #. type: Plain text
6367 #: build/C/man4/initrd.4:360
6368 msgid "The kernel then mounts the normal root filesystem."
6369 msgstr ""
6370
6371 #. type: Plain text
6372 #: build/C/man4/initrd.4:363
6373 msgid ""
6374 "Now that the filesystem is accessible and intact, the boot loader can be "
6375 "installed."
6376 msgstr ""
6377
6378 #. type: Plain text
6379 #: build/C/man4/initrd.4:372
6380 msgid ""
6381 "The boot loader is configured to load into I</dev/initrd> a filesystem with "
6382 "the set of modules that was used to bring up the system.  (e.g., Device "
6383 "I</dev/ram0> can be modified, then unmounted, and finally, the image is "
6384 "written from I</dev/ram0> to a file.)"
6385 msgstr ""
6386
6387 #. type: IP
6388 #: build/C/man4/initrd.4:372
6389 #, no-wrap
6390 msgid "9."
6391 msgstr ""
6392
6393 #. type: Plain text
6394 #: build/C/man4/initrd.4:375
6395 msgid ""
6396 "The system is now bootable and additional installation tasks can be "
6397 "performed."
6398 msgstr ""
6399
6400 #. type: Plain text
6401 #: build/C/man4/initrd.4:381
6402 msgid ""
6403 "The key role of I</dev/initrd> in the above is to reuse the configuration "
6404 "data during normal system operation without requiring initial kernel "
6405 "selection, a large generic kernel or, recompiling the kernel."
6406 msgstr ""
6407
6408 #. type: Plain text
6409 #: build/C/man4/initrd.4:394
6410 msgid ""
6411 "A second scenario is for installations where Linux runs on systems with "
6412 "different hardware configurations in a single administrative network.  In "
6413 "such cases, it may be desirable to use only a small set of kernels (ideally "
6414 "only one) and to keep the system-specific part of configuration information "
6415 "as small as possible.  In this case, create a common file with all needed "
6416 "modules.  Then, only the I</linuxrc> file or a file executed by I</linuxrc> "
6417 "would be different."
6418 msgstr ""
6419
6420 #. type: Plain text
6421 #: build/C/man4/initrd.4:401
6422 msgid ""
6423 "A third scenario is more convenient recovery disks.  Because information "
6424 "like the location of the root filesystem partition is not needed at boot "
6425 "time, the system loaded from I</dev/initrd> can use a dialog and/or "
6426 "auto-detection followed by a possible sanity check."
6427 msgstr ""
6428
6429 #. type: Plain text
6430 #: build/C/man4/initrd.4:418
6431 msgid ""
6432 "Last but not least, Linux distributions on CD-ROM may use B<initrd> for easy "
6433 "installation from the CD-ROM.  The distribution can use B<LOADLIN> to "
6434 "directly load I</dev/initrd> from CD-ROM without the need of any floppies.  "
6435 "The distribution could also use a B<LILO> boot floppy and then bootstrap a "
6436 "bigger RAM disk via I</dev/initrd> from the CD-ROM."
6437 msgstr ""
6438
6439 #. type: Plain text
6440 #: build/C/man4/initrd.4:420
6441 msgid "I</dev/initrd>"
6442 msgstr ""
6443
6444 #. type: Plain text
6445 #: build/C/man4/initrd.4:422
6446 msgid "I</dev/ram0>"
6447 msgstr ""
6448
6449 #. type: Plain text
6450 #: build/C/man4/initrd.4:424
6451 msgid "I</linuxrc>"
6452 msgstr ""
6453
6454 #. type: Plain text
6455 #: build/C/man4/initrd.4:429
6456 msgid "I</initrd>"
6457 msgstr ""
6458
6459 #. type: Plain text
6460 #: build/C/man4/initrd.4:441
6461 msgid ""
6462 "With the current kernel, any filesystems that remain mounted when "
6463 "I</dev/ram0> is moved from I</> to I</initrd> continue to be accessible.  "
6464 "However, the I</proc/mounts> entries are not updated."
6465 msgstr ""
6466
6467 #. type: Plain text
6468 #: build/C/man4/initrd.4:458
6469 msgid ""
6470 "With the current kernel, if directory I</initrd> does not exist, then "
6471 "I</dev/ram0> will B<not> be fully unmounted if I</dev/ram0> is used by any "
6472 "process or has any filesystem mounted on it.  If I</dev/ram0> is B<not> "
6473 "fully unmounted, then I</dev/ram0> will remain in memory."
6474 msgstr ""
6475
6476 #
6477 #
6478 #
6479 #.  .SH AUTHORS
6480 #.  The kernel code for device
6481 #.  .BR initrd
6482 #.  was written by Werner Almesberger <almesber@lrc.epfl.ch> and
6483 #.  Hans Lermen <lermen@elserv.ffm.fgan.de>.
6484 #.  The code for
6485 #.  .BR initrd
6486 #.  was added to the baseline Linux kernel in development version 1.3.73.
6487 #. type: Plain text
6488 #: build/C/man4/initrd.4:474
6489 msgid ""
6490 "Users of I</dev/initrd> should not depend on the behavior give in the above "
6491 "notes.  The behavior may change in future versions of the Linux kernel."
6492 msgstr ""
6493
6494 #. type: Plain text
6495 #: build/C/man4/initrd.4:480
6496 msgid "B<chown>(1), B<mknod>(1), B<ram>(4), B<freeramdisk>(8), B<rdev>(8)"
6497 msgstr ""
6498
6499 #. type: Plain text
6500 #: build/C/man4/initrd.4:484
6501 msgid ""
6502 "I<Documentation/initrd.txt> in the Linux kernel source tree, the LILO "
6503 "documentation, the LOADLIN documentation, the SYSLINUX documentation"
6504 msgstr ""
6505
6506 #. type: TH
6507 #: build/C/man4/lp.4:27
6508 #, no-wrap
6509 msgid "LP"
6510 msgstr ""
6511
6512 #. type: TH
6513 #: build/C/man4/lp.4:27
6514 #, no-wrap
6515 msgid "1995-01-15"
6516 msgstr ""
6517
6518 #. type: Plain text
6519 #: build/C/man4/lp.4:30
6520 msgid "lp - line printer devices"
6521 msgstr ""
6522
6523 #. type: Plain text
6524 #: build/C/man4/lp.4:32
6525 msgid "B<#include E<lt>linux/lp.hE<gt>>"
6526 msgstr ""
6527
6528 #. type: Plain text
6529 #: build/C/man4/lp.4:43
6530 msgid ""
6531 "B<lp>[0\\(en2] are character devices for the parallel line printers; they "
6532 "have major number 6 and minor number 0\\(en2.  The minor numbers correspond "
6533 "to the printer port base addresses 0x03bc, 0x0378 and 0x0278.  Usually they "
6534 "have mode 220 and are owned by root and group lp.  You can use printer ports "
6535 "either with polling or with interrupts.  Interrupts are recommended when "
6536 "high traffic is expected, for example, for laser printers.  For usual dot "
6537 "matrix printers polling will usually be enough.  The default is polling."
6538 msgstr ""
6539
6540 #. type: Plain text
6541 #: build/C/man4/lp.4:47
6542 msgid "The following B<ioctl>(2)  calls are supported:"
6543 msgstr ""
6544
6545 #. type: IP
6546 #: build/C/man4/lp.4:47
6547 #, no-wrap
6548 msgid "B<int ioctl(int >I<fd>B<, LPTIME, int >I<arg>B<)>"
6549 msgstr ""
6550
6551 #. type: Plain text
6552 #: build/C/man4/lp.4:56
6553 msgid ""
6554 "Sets the amount of time that the driver sleeps before rechecking the printer "
6555 "when the printer's buffer appears to be filled to I<arg>.  If you have a "
6556 "fast printer, decrease this number; if you have a slow printer, then "
6557 "increase it.  This is in hundredths of a second, the default 2 being 0.02 "
6558 "seconds.  It only influences the polling driver."
6559 msgstr ""
6560
6561 #. type: IP
6562 #: build/C/man4/lp.4:56
6563 #, no-wrap
6564 msgid "B<int ioctl(int >I<fd>B<, LPCHAR, int >I<arg>B<)>"
6565 msgstr ""
6566
6567 #. type: Plain text
6568 #: build/C/man4/lp.4:64
6569 msgid ""
6570 "Sets the maximum number of busy-wait iterations which the polling driver "
6571 "does while waiting for the printer to get ready for receiving a character to "
6572 "I<arg>.  If printing is too slow, increase this number; if the system gets "
6573 "too slow, decrease this number.  The default is 1000.  It only influences "
6574 "the polling driver."
6575 msgstr ""
6576
6577 #. type: IP
6578 #: build/C/man4/lp.4:64
6579 #, no-wrap
6580 msgid "B<int ioctl(int >I<fd>B<, LPABORT, int >I<arg>B<)>"
6581 msgstr ""
6582
6583 #. type: Plain text
6584 #: build/C/man4/lp.4:70
6585 msgid ""
6586 "If I<arg> is 0, the printer driver will retry on errors, otherwise it will "
6587 "abort.  The default is 0."
6588 msgstr ""
6589
6590 #. type: IP
6591 #: build/C/man4/lp.4:70
6592 #, no-wrap
6593 msgid "B<int ioctl(int >I<fd>B<, LPABORTOPEN, int >I<arg>B<)>"
6594 msgstr ""
6595
6596 #. type: Plain text
6597 #: build/C/man4/lp.4:77
6598 msgid ""
6599 "If I<arg> is 0, B<open>(2)  will be aborted on error, otherwise error will "
6600 "be ignored.  The default is to ignore it."
6601 msgstr ""
6602
6603 #. type: IP
6604 #: build/C/man4/lp.4:77
6605 #, no-wrap
6606 msgid "B<int ioctl(int >I<fd>B<, LPCAREFUL, int >I<arg>B<)>"
6607 msgstr ""
6608
6609 #. type: Plain text
6610 #: build/C/man4/lp.4:83
6611 msgid ""
6612 "If I<arg> is 0, then the out-of-paper, offline and error signals are "
6613 "required to be false on all writes, otherwise they are ignored.  The default "
6614 "is to ignore them."
6615 msgstr ""
6616
6617 #. type: IP
6618 #: build/C/man4/lp.4:83
6619 #, no-wrap
6620 msgid "B<int ioctl(int >I<fd>B<, LPWAIT, int >I<arg>B<)>"
6621 msgstr ""
6622
6623 #. type: Plain text
6624 #: build/C/man4/lp.4:94
6625 msgid ""
6626 "Sets the number of busy waiting iterations to wait before strobing the "
6627 "printer to accept a just-written character, and the number of iterations to "
6628 "wait before turning the strobe off again, to I<arg>.  The specification says "
6629 "this time should be 0.5 microseconds, but experience has shown the delay "
6630 "caused by the code is already enough.  For that reason, the default value is "
6631 "0.  This is used for both the polling and the interrupt driver."
6632 msgstr ""
6633
6634 #. type: IP
6635 #: build/C/man4/lp.4:94
6636 #, no-wrap
6637 msgid "B<int ioctl(int >I<fd>B<, LPSETIRQ, int >I<arg>B<)>"
6638 msgstr ""
6639
6640 #. type: Plain text
6641 #: build/C/man4/lp.4:105
6642 msgid ""
6643 "This B<ioctl>(2)  requires superuser privileges.  It takes an I<int> "
6644 "containing the new IRQ as argument.  As a side effect, the printer will be "
6645 "reset.  When I<arg> is 0, the polling driver will be used, which is also "
6646 "default."
6647 msgstr ""
6648
6649 #. type: IP
6650 #: build/C/man4/lp.4:105
6651 #, no-wrap
6652 msgid "B<int ioctl(int >I<fd>B<, LPGETIRQ, int *>I<arg>B<)>"
6653 msgstr ""
6654
6655 #. type: Plain text
6656 #: build/C/man4/lp.4:108
6657 msgid "Stores the currently used IRQ in I<arg>."
6658 msgstr ""
6659
6660 #. type: IP
6661 #: build/C/man4/lp.4:108
6662 #, no-wrap
6663 msgid "B<int ioctl(int >I<fd>B<, LPGETSTATUS, int *>I<arg>B<)>"
6664 msgstr ""
6665
6666 #. type: Plain text
6667 #: build/C/man4/lp.4:112
6668 msgid ""
6669 "Stores the value of the status port in I<arg>.  The bits have the following "
6670 "meaning:"
6671 msgstr ""
6672
6673 #. type: tbl table
6674 #: build/C/man4/lp.4:114
6675 #, no-wrap
6676 msgid "LP_PBUSY\tinverted busy input, active high\n"
6677 msgstr ""
6678
6679 #. type: tbl table
6680 #: build/C/man4/lp.4:115
6681 #, no-wrap
6682 msgid "LP_PACK\tunchanged acknowledge input, active low\n"
6683 msgstr ""
6684
6685 #. type: tbl table
6686 #: build/C/man4/lp.4:116
6687 #, no-wrap
6688 msgid "LP_POUTPA\tunchanged out-of-paper input, active high\n"
6689 msgstr ""
6690
6691 #. type: tbl table
6692 #: build/C/man4/lp.4:117
6693 #, no-wrap
6694 msgid "LP_PSELECD\tunchanged selected input, active high\n"
6695 msgstr ""
6696
6697 #. type: tbl table
6698 #: build/C/man4/lp.4:118
6699 #, no-wrap
6700 msgid "LP_PERRORP\tunchanged error input, active low\n"
6701 msgstr ""
6702
6703 #. type: Plain text
6704 #: build/C/man4/lp.4:123
6705 msgid ""
6706 "Refer to your printer manual for the meaning of the signals.  Note that "
6707 "undocumented bits may also be set, depending on your printer."
6708 msgstr ""
6709
6710 #. type: IP
6711 #: build/C/man4/lp.4:123
6712 #, no-wrap
6713 msgid "B<int ioctl(int >I<fd>B<, LPRESET)>"
6714 msgstr ""
6715
6716 #. type: Plain text
6717 #: build/C/man4/lp.4:126
6718 msgid "Resets the printer.  No argument is used."
6719 msgstr ""
6720
6721 #.  .SH AUTHORS
6722 #.  The printer driver was originally written by Jim Weigand and Linus
6723 #.  Torvalds.
6724 #.  It was further improved by Michael K.\& Johnson.
6725 #.  The interrupt code was written by Nigel Gamble.
6726 #.  Alan Cox modularized it.
6727 #.  LPCAREFUL, LPABORT, LPGETSTATUS were added by Chris Metcalf.
6728 #. type: Plain text
6729 #: build/C/man4/lp.4:135
6730 msgid "/dev/lp*"
6731 msgstr ""
6732
6733 #. type: Plain text
6734 #: build/C/man4/lp.4:141
6735 msgid "B<chmod>(1), B<chown>(1), B<mknod>(1), B<lpcntl>(8), B<tunelp>(8)"
6736 msgstr ""
6737
6738 #. type: TH
6739 #: build/C/man3/makedev.3:26
6740 #, no-wrap
6741 msgid "MAKEDEV"
6742 msgstr ""
6743
6744 #. type: TH
6745 #: build/C/man3/makedev.3:26
6746 #, no-wrap
6747 msgid "2012-05-10"
6748 msgstr ""
6749
6750 #. type: Plain text
6751 #: build/C/man3/makedev.3:29
6752 msgid "makedev, major, minor - manage a device number"
6753 msgstr ""
6754
6755 #. type: Plain text
6756 #: build/C/man3/makedev.3:33
6757 #, no-wrap
6758 msgid ""
6759 "B<#define _BSD_SOURCE>             /* See feature_test_macros(7) */\n"
6760 "B<#include E<lt>sys/types.hE<gt>>\n"
6761 msgstr ""
6762
6763 #. type: Plain text
6764 #: build/C/man3/makedev.3:35
6765 #, no-wrap
6766 msgid "B<dev_t makedev(int >I<maj>B<, int >I<min>B<);>\n"
6767 msgstr ""
6768
6769 #. type: Plain text
6770 #: build/C/man3/makedev.3:38
6771 #, no-wrap
6772 msgid ""
6773 "B<unsigned int major(dev_t >I<dev>B<);>\n"
6774 "B<unsigned int minor(dev_t >I<dev>B<);>\n"
6775 msgstr ""
6776
6777 #. type: Plain text
6778 #: build/C/man3/makedev.3:45
6779 msgid ""
6780 "A device ID consists of two parts: a major ID, identifying the class of the "
6781 "device, and a minor ID, identifying a specific instance of a device in that "
6782 "class.  A device ID is represented using the type I<dev_t>."
6783 msgstr ""
6784
6785 #. type: Plain text
6786 #: build/C/man3/makedev.3:52
6787 msgid ""
6788 "Given major and minor device IDs, B<makedev>()  combines these to produce a "
6789 "device ID, returned as the function result.  This device ID can be given to "
6790 "B<mknod>(2), for example."
6791 msgstr ""
6792
6793 #. type: Plain text
6794 #: build/C/man3/makedev.3:62
6795 msgid ""
6796 "The B<major>()  and B<minor>()  functions perform the converse task: given a "
6797 "device ID, they return, respectively, the major and minor components.  These "
6798 "macros can be useful to, for example, decompose the device IDs in the "
6799 "structure returned by B<stat>(2)."
6800 msgstr ""
6801
6802 #.  The BSDs, HP-UX, Solaris, AIX, Irix
6803 #. type: Plain text
6804 #: build/C/man3/makedev.3:71
6805 msgid ""
6806 "The B<makedev>(), B<major>(), and B<minor>()  functions are not specified in "
6807 "POSIX.1, but are present on many other systems."
6808 msgstr ""
6809
6810 #. type: Plain text
6811 #: build/C/man3/makedev.3:80
6812 msgid ""
6813 "These interfaces are defined as macros.  Since glibc 2.3.3, they have been "
6814 "aliases for three GNU-specific functions: B<gnu_dev_makedev>(), "
6815 "B<gnu_dev_major>(), and B<gnu_dev_minor>().  The latter names are exported, "
6816 "but the traditional names are more portable."
6817 msgstr ""
6818
6819 #. type: Plain text
6820 #: build/C/man3/makedev.3:83
6821 msgid "B<mknod>(2), B<stat>(2)"
6822 msgstr ""
6823
6824 #. type: TH
6825 #: build/C/man4/mem.4:26
6826 #, no-wrap
6827 msgid "MEM"
6828 msgstr ""
6829
6830 #. type: TH
6831 #: build/C/man4/mem.4:26 build/C/man4/ram.4:26
6832 #, no-wrap
6833 msgid "1992-11-21"
6834 msgstr ""
6835
6836 #. type: Plain text
6837 #: build/C/man4/mem.4:29
6838 msgid "mem, kmem, port - system memory, kernel memory and system ports"
6839 msgstr ""
6840
6841 #. type: Plain text
6842 #: build/C/man4/mem.4:34
6843 msgid ""
6844 "B<mem> is a character device file that is an image of the main memory of the "
6845 "computer.  It may be used, for example, to examine (and even patch) the "
6846 "system."
6847 msgstr ""
6848
6849 #. type: Plain text
6850 #: build/C/man4/mem.4:39
6851 msgid ""
6852 "Byte addresses in B<mem> are interpreted as physical memory addresses.  "
6853 "References to nonexistent locations cause errors to be returned."
6854 msgstr ""
6855
6856 #. type: Plain text
6857 #: build/C/man4/mem.4:42
6858 msgid ""
6859 "Examining and patching is likely to lead to unexpected results when "
6860 "read-only or write-only bits are present."
6861 msgstr ""
6862
6863 #. type: Plain text
6864 #: build/C/man4/mem.4:44 build/C/man4/mem.4:59 build/C/man4/mem.4:72 build/C/man4/ram.4:35
6865 msgid "It is typically created by:"
6866 msgstr ""
6867
6868 #. type: Plain text
6869 #: build/C/man4/mem.4:47
6870 msgid "mknod -m 660 /dev/mem c 1 1"
6871 msgstr ""
6872
6873 #. type: Plain text
6874 #: build/C/man4/mem.4:49
6875 msgid "chown root:kmem /dev/mem"
6876 msgstr ""
6877
6878 #. type: Plain text
6879 #: build/C/man4/mem.4:57
6880 msgid ""
6881 "The file B<kmem> is the same as B<mem>, except that the kernel virtual "
6882 "memory rather than physical memory is accessed."
6883 msgstr ""
6884
6885 #. type: Plain text
6886 #: build/C/man4/mem.4:62
6887 msgid "mknod -m 640 /dev/kmem c 1 2"
6888 msgstr ""
6889
6890 #. type: Plain text
6891 #: build/C/man4/mem.4:64
6892 msgid "chown root:kmem /dev/kmem"
6893 msgstr ""
6894
6895 #. type: Plain text
6896 #: build/C/man4/mem.4:70
6897 msgid "B<port> is similar to B<mem>, but the I/O ports are accessed."
6898 msgstr ""
6899
6900 #. type: Plain text
6901 #: build/C/man4/mem.4:75
6902 msgid "mknod -m 660 /dev/port c 1 4"
6903 msgstr ""
6904
6905 #. type: Plain text
6906 #: build/C/man4/mem.4:77
6907 msgid "chown root:mem /dev/port"
6908 msgstr ""
6909
6910 #. type: Plain text
6911 #: build/C/man4/mem.4:80
6912 msgid "I</dev/mem>"
6913 msgstr ""
6914
6915 #. type: Plain text
6916 #: build/C/man4/mem.4:82
6917 msgid "I</dev/kmem>"
6918 msgstr ""
6919
6920 #. type: Plain text
6921 #: build/C/man4/mem.4:84
6922 msgid "I</dev/port>"
6923 msgstr ""
6924
6925 #. type: Plain text
6926 #: build/C/man4/mem.4:88
6927 msgid "B<chown>(1), B<mknod>(1), B<ioperm>(2)"
6928 msgstr ""
6929
6930 #. type: TH
6931 #: build/C/man3/mkfifo.3:28
6932 #, no-wrap
6933 msgid "MKFIFO"
6934 msgstr ""
6935
6936 #. type: TH
6937 #: build/C/man3/mkfifo.3:28
6938 #, no-wrap
6939 msgid "2014-03-24"
6940 msgstr ""
6941
6942 #. type: TH
6943 #: build/C/man3/mkfifo.3:28
6944 #, no-wrap
6945 msgid "GNU"
6946 msgstr ""
6947
6948 #. type: Plain text
6949 #: build/C/man3/mkfifo.3:31
6950 msgid "mkfifo, mkfifoat - make a FIFO special file (a named pipe)"
6951 msgstr ""
6952
6953 #. type: Plain text
6954 #: build/C/man3/mkfifo.3:35
6955 #, no-wrap
6956 msgid ""
6957 "B<#include E<lt>sys/types.hE<gt>>\n"
6958 "B<#include E<lt>sys/stat.hE<gt>>\n"
6959 msgstr ""
6960
6961 #. type: Plain text
6962 #: build/C/man3/mkfifo.3:37
6963 #, no-wrap
6964 msgid "B<int mkfifo(const char *>I<pathname>B<, mode_t >I<mode>B<);>\n"
6965 msgstr ""
6966
6967 #. type: Plain text
6968 #: build/C/man3/mkfifo.3:40 build/C/man2/mknod.2:29
6969 #, no-wrap
6970 msgid ""
6971 "B<#include E<lt>fcntl.hE<gt>           >/* Definition of AT_* constants */\n"
6972 "B<#include E<lt>sys/stat.hE<gt>>\n"
6973 msgstr ""
6974
6975 #. type: Plain text
6976 #: build/C/man3/mkfifo.3:42
6977 #, no-wrap
6978 msgid ""
6979 "B<int mkfifoat(int >I<dirfd>B<, const char *>I<pathname>B<, mode_t "
6980 ">I<mode>B<);>\n"
6981 msgstr ""
6982
6983 #. type: Plain text
6984 #: build/C/man3/mkfifo.3:47 build/C/man2/mknod.2:37 build/C/man3/syslog.3:55
6985 msgid "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
6986 msgstr ""
6987
6988 #. type: Plain text
6989 #: build/C/man3/mkfifo.3:50
6990 msgid "B<mkfifoat>():"
6991 msgstr ""
6992
6993 #. type: TP
6994 #: build/C/man3/mkfifo.3:53
6995 #, no-wrap
6996 msgid "Since glibc 2.10:"
6997 msgstr ""
6998
6999 #. type: Plain text
7000 #: build/C/man3/mkfifo.3:56
7001 msgid "_XOPEN_SOURCE\\ E<gt>=\\ 700 || _POSIX_C_SOURCE\\ E<gt>=\\ 200809L"
7002 msgstr ""
7003
7004 #. type: TP
7005 #: build/C/man3/mkfifo.3:56
7006 #, no-wrap
7007 msgid "Before glibc 2.10:"
7008 msgstr ""
7009
7010 #. type: Plain text
7011 #: build/C/man3/mkfifo.3:59
7012 msgid "_ATFILE_SOURCE"
7013 msgstr ""
7014
7015 #. type: Plain text
7016 #: build/C/man3/mkfifo.3:69
7017 msgid ""
7018 "B<mkfifo>()  makes a FIFO special file with name I<pathname>.  I<mode> "
7019 "specifies the FIFO's permissions.  It is modified by the process's B<umask> "
7020 "in the usual way: the permissions of the created file are B<(>I<mode>B< & "
7021 "~umask)>."
7022 msgstr ""
7023
7024 #. type: Plain text
7025 #: build/C/man3/mkfifo.3:76
7026 msgid ""
7027 "A FIFO special file is similar to a pipe, except that it is created in a "
7028 "different way.  Instead of being an anonymous communications channel, a FIFO "
7029 "special file is entered into the filesystem by calling B<mkfifo>()."
7030 msgstr ""
7031
7032 #. type: Plain text
7033 #: build/C/man3/mkfifo.3:86
7034 msgid ""
7035 "Once you have created a FIFO special file in this way, any process can open "
7036 "it for reading or writing, in the same way as an ordinary file.  However, it "
7037 "has to be open at both ends simultaneously before you can proceed to do any "
7038 "input or output operations on it.  Opening a FIFO for reading normally "
7039 "blocks until some other process opens the same FIFO for writing, and vice "
7040 "versa.  See B<fifo>(7)  for nonblocking handling of FIFO special files."
7041 msgstr ""
7042
7043 #. type: SS
7044 #: build/C/man3/mkfifo.3:86
7045 #, no-wrap
7046 msgid "mkfifoat()"
7047 msgstr ""
7048
7049 #. type: Plain text
7050 #: build/C/man3/mkfifo.3:92
7051 msgid ""
7052 "The B<mkfifoat>()  function operates in exactly the same way as B<mkfifo>(), "
7053 "except for the differences described here."
7054 msgstr ""
7055
7056 #. type: Plain text
7057 #: build/C/man3/mkfifo.3:102
7058 msgid ""
7059 "If the pathname given in I<pathname> is relative, then it is interpreted "
7060 "relative to the directory referred to by the file descriptor I<dirfd> "
7061 "(rather than relative to the current working directory of the calling "
7062 "process, as is done by B<mkfifo>()  for a relative pathname)."
7063 msgstr ""
7064
7065 #. type: Plain text
7066 #: build/C/man3/mkfifo.3:114
7067 msgid ""
7068 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
7069 "then I<pathname> is interpreted relative to the current working directory of "
7070 "the calling process (like B<mkfifo>())."
7071 msgstr ""
7072
7073 #. type: Plain text
7074 #: build/C/man3/mkfifo.3:120 build/C/man2/mknod.2:144
7075 msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
7076 msgstr ""
7077
7078 #. type: Plain text
7079 #: build/C/man3/mkfifo.3:128
7080 msgid ""
7081 "On success B<mkfifo>()  and B<mkfifoat>()  return 0.  In the case of an "
7082 "error, -1 is returned (in which case, I<errno> is set appropriately)."
7083 msgstr ""
7084
7085 #. type: TP
7086 #: build/C/man3/mkfifo.3:129 build/C/man2/mknod.2:157 build/C/man4/st.4:829
7087 #, no-wrap
7088 msgid "B<EACCES>"
7089 msgstr ""
7090
7091 #. type: Plain text
7092 #: build/C/man3/mkfifo.3:133
7093 msgid ""
7094 "One of the directories in I<pathname> did not allow search (execute) "
7095 "permission."
7096 msgstr ""
7097
7098 #. type: TP
7099 #: build/C/man3/mkfifo.3:133 build/C/man2/mknod.2:165
7100 #, no-wrap
7101 msgid "B<EDQUOT>"
7102 msgstr ""
7103
7104 #. type: Plain text
7105 #: build/C/man3/mkfifo.3:137 build/C/man2/mknod.2:169
7106 msgid ""
7107 "The user's quota of disk blocks or inodes on the filesystem has been "
7108 "exhausted."
7109 msgstr ""
7110
7111 #. type: TP
7112 #: build/C/man3/mkfifo.3:137 build/C/man2/mknod.2:169
7113 #, no-wrap
7114 msgid "B<EEXIST>"
7115 msgstr ""
7116
7117 #. type: Plain text
7118 #: build/C/man3/mkfifo.3:143 build/C/man2/mknod.2:176
7119 msgid ""
7120 "I<pathname> already exists.  This includes the case where I<pathname> is a "
7121 "symbolic link, dangling or not."
7122 msgstr ""
7123
7124 #. type: TP
7125 #: build/C/man3/mkfifo.3:143 build/C/man2/mknod.2:188
7126 #, no-wrap
7127 msgid "B<ENAMETOOLONG>"
7128 msgstr ""
7129
7130 #. type: Plain text
7131 #: build/C/man3/mkfifo.3:151
7132 msgid ""
7133 "Either the total length of I<pathname> is greater than B<PATH_MAX>, or an "
7134 "individual filename component has a length greater than B<NAME_MAX>.  In the "
7135 "GNU system, there is no imposed limit on overall filename length, but some "
7136 "filesystems may place limits on the length of a component."
7137 msgstr ""
7138
7139 #. type: TP
7140 #: build/C/man3/mkfifo.3:151 build/C/man2/mknod.2:191
7141 #, no-wrap
7142 msgid "B<ENOENT>"
7143 msgstr ""
7144
7145 #. type: Plain text
7146 #: build/C/man3/mkfifo.3:155 build/C/man2/mknod.2:196
7147 msgid ""
7148 "A directory component in I<pathname> does not exist or is a dangling "
7149 "symbolic link."
7150 msgstr ""
7151
7152 #. type: TP
7153 #: build/C/man3/mkfifo.3:155 build/C/man2/mknod.2:199 build/C/man4/st.4:857
7154 #, no-wrap
7155 msgid "B<ENOSPC>"
7156 msgstr ""
7157
7158 #. type: Plain text
7159 #: build/C/man3/mkfifo.3:158
7160 msgid "The directory or filesystem has no room for the new file."
7161 msgstr ""
7162
7163 #. type: TP
7164 #: build/C/man3/mkfifo.3:158 build/C/man3/mkfifo.3:172 build/C/man2/mknod.2:204 build/C/man2/mknod.2:234
7165 #, no-wrap
7166 msgid "B<ENOTDIR>"
7167 msgstr ""
7168
7169 #. type: Plain text
7170 #: build/C/man3/mkfifo.3:162 build/C/man2/mknod.2:209
7171 msgid "A component used as a directory in I<pathname> is not, in fact, a directory."
7172 msgstr ""
7173
7174 #. type: TP
7175 #: build/C/man3/mkfifo.3:162 build/C/man2/mknod.2:223 build/C/man4/st.4:872
7176 #, no-wrap
7177 msgid "B<EROFS>"
7178 msgstr ""
7179
7180 #. type: Plain text
7181 #: build/C/man3/mkfifo.3:165
7182 msgid "I<pathname> refers to a read-only filesystem."
7183 msgstr ""
7184
7185 #. type: Plain text
7186 #: build/C/man3/mkfifo.3:168
7187 msgid "The following additional errors can occur for B<mkfifoat>():"
7188 msgstr ""
7189
7190 #. type: Plain text
7191 #: build/C/man3/mkfifo.3:172 build/C/man2/mknod.2:234
7192 msgid "I<dirfd> is not a valid file descriptor."
7193 msgstr ""
7194
7195 #. type: Plain text
7196 #: build/C/man3/mkfifo.3:178
7197 msgid ""
7198 "I<pathname> is a relative path and I<dirfd> is a file descriptor referring "
7199 "to a file other than a directory."
7200 msgstr ""
7201
7202 #. type: Plain text
7203 #: build/C/man3/mkfifo.3:184
7204 msgid ""
7205 "B<mkfifoat>()  was added to glibc in version 2.4.  It is implemented using "
7206 "B<mknodat>(2), available on Linux since kernel 2.6.16."
7207 msgstr ""
7208
7209 #. type: SH
7210 #: build/C/man3/mkfifo.3:184 build/C/man3/stdarg.3:229
7211 #, no-wrap
7212 msgid "ATTRIBUTES"
7213 msgstr ""
7214
7215 #. type: SS
7216 #: build/C/man3/mkfifo.3:185 build/C/man3/stdarg.3:230
7217 #, no-wrap
7218 msgid "Multithreading (see pthreads(7))"
7219 msgstr ""
7220
7221 #. type: Plain text
7222 #: build/C/man3/mkfifo.3:191
7223 msgid "The B<mkfifo>()  and B<mkfifoat>()  functions are thread-safe."
7224 msgstr ""
7225
7226 #. type: Plain text
7227 #: build/C/man3/mkfifo.3:194
7228 msgid "B<mkfifo>(): POSIX.1-2001, POSIX.1-2008."
7229 msgstr ""
7230
7231 #. type: Plain text
7232 #: build/C/man3/mkfifo.3:197
7233 msgid "B<mkfifoat>(): POSIX.1-2008."
7234 msgstr ""
7235
7236 #. type: Plain text
7237 #: build/C/man3/mkfifo.3:206
7238 msgid ""
7239 "B<mkfifo>(1), B<close>(2), B<open>(2), B<read>(2), B<stat>(2), B<umask>(2), "
7240 "B<write>(2), B<fifo>(7)"
7241 msgstr ""
7242
7243 #. type: TH
7244 #: build/C/man2/mknod.2:15
7245 #, no-wrap
7246 msgid "MKNOD"
7247 msgstr ""
7248
7249 #. type: TH
7250 #: build/C/man2/mknod.2:15
7251 #, no-wrap
7252 msgid "2014-02-21"
7253 msgstr ""
7254
7255 #. type: Plain text
7256 #: build/C/man2/mknod.2:18
7257 msgid "mknod, mknodat - create a special or ordinary file"
7258 msgstr ""
7259
7260 #. type: Plain text
7261 #: build/C/man2/mknod.2:24
7262 #, no-wrap
7263 msgid ""
7264 "B<#include E<lt>sys/types.hE<gt>>\n"
7265 "B<#include E<lt>sys/stat.hE<gt>>\n"
7266 "B<#include E<lt>fcntl.hE<gt>>\n"
7267 "B<#include E<lt>unistd.hE<gt>>\n"
7268 msgstr ""
7269
7270 #. type: Plain text
7271 #: build/C/man2/mknod.2:26
7272 #, no-wrap
7273 msgid ""
7274 "B<int mknod(const char *>I<pathname>B<, mode_t >I<mode>B<, dev_t "
7275 ">I<dev>B<);>\n"
7276 msgstr ""
7277
7278 #. type: Plain text
7279 #: build/C/man2/mknod.2:32
7280 #, no-wrap
7281 msgid ""
7282 "B<int mknodat(int >I<dirfd>B<, const char *>I<pathname>B<, mode_t "
7283 ">I<mode>B<, dev_t >I<dev>B<);>\n"
7284 msgstr ""
7285
7286 #. type: Plain text
7287 #: build/C/man2/mknod.2:40
7288 msgid "B<mknod>():"
7289 msgstr ""
7290
7291 #. type: Plain text
7292 #: build/C/man2/mknod.2:44
7293 msgid ""
7294 "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500 || "
7295 "_XOPEN_SOURCE\\ &&\\ _XOPEN_SOURCE_EXTENDED"
7296 msgstr ""
7297
7298 #. type: Plain text
7299 #: build/C/man2/mknod.2:56
7300 msgid ""
7301 "The system call B<mknod>()  creates a filesystem node (file, device special "
7302 "file, or named pipe) named I<pathname>, with attributes specified by I<mode> "
7303 "and I<dev>."
7304 msgstr ""
7305
7306 #. type: Plain text
7307 #: build/C/man2/mknod.2:63
7308 msgid ""
7309 "The I<mode> argument specifies both the permissions to use and the type of "
7310 "node to be created.  It should be a combination (using bitwise OR) of one of "
7311 "the file types listed below and the permissions for the new node."
7312 msgstr ""
7313
7314 #. type: Plain text
7315 #: build/C/man2/mknod.2:68
7316 msgid ""
7317 "The permissions are modified by the process's I<umask> in the usual way: the "
7318 "permissions of the created node are I<(mode & ~umask)>."
7319 msgstr ""
7320
7321 #.  (S_IFSOCK since Linux 1.2.4)
7322 #. type: Plain text
7323 #: build/C/man2/mknod.2:82
7324 msgid ""
7325 "The file type must be one of B<S_IFREG>, B<S_IFCHR>, B<S_IFBLK>, B<S_IFIFO>, "
7326 "or B<S_IFSOCK> to specify a regular file (which will be created empty), "
7327 "character special file, block special file, FIFO (named pipe), or UNIX "
7328 "domain socket, respectively.  (Zero file type is equivalent to type "
7329 "B<S_IFREG>.)"
7330 msgstr ""
7331
7332 #. type: Plain text
7333 #: build/C/man2/mknod.2:95
7334 msgid ""
7335 "If the file type is B<S_IFCHR> or B<S_IFBLK>, then I<dev> specifies the "
7336 "major and minor numbers of the newly created device special file "
7337 "(B<makedev>(3)  may be useful to build the value for I<dev>); otherwise it "
7338 "is ignored."
7339 msgstr ""
7340
7341 #. type: Plain text
7342 #: build/C/man2/mknod.2:101
7343 msgid ""
7344 "If I<pathname> already exists, or is a symbolic link, this call fails with "
7345 "an B<EEXIST> error."
7346 msgstr ""
7347
7348 #. type: Plain text
7349 #: build/C/man2/mknod.2:110
7350 msgid ""
7351 "The newly created node will be owned by the effective user ID of the "
7352 "process.  If the directory containing the node has the set-group-ID bit set, "
7353 "or if the filesystem is mounted with BSD group semantics, the new node will "
7354 "inherit the group ownership from its parent directory; otherwise it will be "
7355 "owned by the effective group ID of the process."
7356 msgstr ""
7357
7358 #. type: SS
7359 #: build/C/man2/mknod.2:110
7360 #, no-wrap
7361 msgid "mknodat()"
7362 msgstr ""
7363
7364 #. type: Plain text
7365 #: build/C/man2/mknod.2:116
7366 msgid ""
7367 "The B<mknodat>()  system call operates in exactly the same way as "
7368 "B<mknod>(2), except for the differences described here."
7369 msgstr ""
7370
7371 #. type: Plain text
7372 #: build/C/man2/mknod.2:126
7373 msgid ""
7374 "If the pathname given in I<pathname> is relative, then it is interpreted "
7375 "relative to the directory referred to by the file descriptor I<dirfd> "
7376 "(rather than relative to the current working directory of the calling "
7377 "process, as is done by B<mknod>(2)  for a relative pathname)."
7378 msgstr ""
7379
7380 #. type: Plain text
7381 #: build/C/man2/mknod.2:138
7382 msgid ""
7383 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
7384 "then I<pathname> is interpreted relative to the current working directory of "
7385 "the calling process (like B<mknod>(2))."
7386 msgstr ""
7387
7388 #. type: Plain text
7389 #: build/C/man2/mknod.2:149
7390 msgid "See B<openat>(2)  for an explanation of the need for B<mknodat>()."
7391 msgstr ""
7392
7393 #. type: Plain text
7394 #: build/C/man2/mknod.2:156
7395 msgid ""
7396 "B<mknod>()  and B<mknodat>()  return zero on success, or -1 if an error "
7397 "occurred (in which case, I<errno> is set appropriately)."
7398 msgstr ""
7399
7400 #. type: Plain text
7401 #: build/C/man2/mknod.2:165
7402 msgid ""
7403 "The parent directory does not allow write permission to the process, or one "
7404 "of the directories in the path prefix of I<pathname> did not allow search "
7405 "permission.  (See also B<path_resolution>(7).)"
7406 msgstr ""
7407
7408 #. type: TP
7409 #: build/C/man2/mknod.2:176 build/C/man4/st.4:838
7410 #, no-wrap
7411 msgid "B<EFAULT>"
7412 msgstr ""
7413
7414 #. type: Plain text
7415 #: build/C/man2/mknod.2:179
7416 msgid "I<pathname> points outside your accessible address space."
7417 msgstr ""
7418
7419 #. type: Plain text
7420 #: build/C/man2/mknod.2:184
7421 msgid ""
7422 "I<mode> requested creation of something other than a regular file, device "
7423 "special file, FIFO or socket."
7424 msgstr ""
7425
7426 #. type: TP
7427 #: build/C/man2/mknod.2:184
7428 #, no-wrap
7429 msgid "B<ELOOP>"
7430 msgstr ""
7431
7432 #. type: Plain text
7433 #: build/C/man2/mknod.2:188
7434 msgid "Too many symbolic links were encountered in resolving I<pathname>."
7435 msgstr ""
7436
7437 #. type: Plain text
7438 #: build/C/man2/mknod.2:191
7439 msgid "I<pathname> was too long."
7440 msgstr ""
7441
7442 #. type: TP
7443 #: build/C/man2/mknod.2:196 build/C/man4/st.4:850
7444 #, no-wrap
7445 msgid "B<ENOMEM>"
7446 msgstr ""
7447
7448 #. type: Plain text
7449 #: build/C/man2/mknod.2:199
7450 msgid "Insufficient kernel memory was available."
7451 msgstr ""
7452
7453 #. type: Plain text
7454 #: build/C/man2/mknod.2:204
7455 msgid "The device containing I<pathname> has no room for the new node."
7456 msgstr ""
7457
7458 #.  For UNIX domain sockets and regular files, EPERM is returned only in
7459 #.  Linux 2.2 and earlier; in Linux 2.4 and later, unprivileged can
7460 #.  use mknod() to make these files.
7461 #. type: Plain text
7462 #: build/C/man2/mknod.2:223
7463 msgid ""
7464 "I<mode> requested creation of something other than a regular file, FIFO "
7465 "(named pipe), or UNIX domain socket, and the caller is not privileged "
7466 "(Linux: does not have the B<CAP_MKNOD> capability); also returned if the "
7467 "filesystem containing I<pathname> does not support the type of node "
7468 "requested."
7469 msgstr ""
7470
7471 #. type: Plain text
7472 #: build/C/man2/mknod.2:227
7473 msgid "I<pathname> refers to a file on a read-only filesystem."
7474 msgstr ""
7475
7476 #. type: Plain text
7477 #: build/C/man2/mknod.2:230
7478 msgid "The following additional errors can occur for B<mknodat>():"
7479 msgstr ""
7480
7481 #. type: Plain text
7482 #: build/C/man2/mknod.2:240
7483 msgid ""
7484 "I<pathname> is relative and I<dirfd> is a file descriptor referring to a "
7485 "file other than a directory."
7486 msgstr ""
7487
7488 #. type: Plain text
7489 #: build/C/man2/mknod.2:244
7490 msgid ""
7491 "B<mknodat>()  was added to Linux in kernel 2.6.16; library support was added "
7492 "to glibc in version 2.4."
7493 msgstr ""
7494
7495 #.  The Linux version differs from the SVr4 version in that it
7496 #.  does not require root permission to create pipes, also in that no
7497 #.  EMULTIHOP, ENOLINK, or EINTR error is documented.
7498 #. type: Plain text
7499 #: build/C/man2/mknod.2:250
7500 msgid "B<mknod>(): SVr4, 4.4BSD, POSIX.1-2001 (but see below), POSIX.1-2008."
7501 msgstr ""
7502
7503 #. type: Plain text
7504 #: build/C/man2/mknod.2:253
7505 msgid "B<mknodat>(): POSIX.1-2008."
7506 msgstr ""
7507
7508 #. type: Plain text
7509 #: build/C/man2/mknod.2:271
7510 msgid ""
7511 "POSIX.1-2001 says: \"The only portable use of B<mknod>()  is to create a "
7512 "FIFO-special file.  If I<mode> is not B<S_IFIFO> or I<dev> is not 0, the "
7513 "behavior of B<mknod>()  is unspecified.\" However, nowadays one should never "
7514 "use B<mknod>()  for this purpose; one should use B<mkfifo>(3), a function "
7515 "especially defined for this purpose."
7516 msgstr ""
7517
7518 #.  and one should make UNIX domain sockets with socket(2) and bind(2).
7519 #. type: Plain text
7520 #: build/C/man2/mknod.2:278
7521 msgid ""
7522 "Under Linux, B<mknod>()  cannot be used to create directories.  One should "
7523 "make directories with B<mkdir>(2)."
7524 msgstr ""
7525
7526 #. type: Plain text
7527 #: build/C/man2/mknod.2:284
7528 msgid ""
7529 "There are many infelicities in the protocol underlying NFS.  Some of these "
7530 "affect B<mknod>()  and B<mknodat>(2)."
7531 msgstr ""
7532
7533 #. type: Plain text
7534 #: build/C/man2/mknod.2:297
7535 msgid ""
7536 "B<chmod>(2), B<chown>(2), B<fcntl>(2), B<mkdir>(2), B<mount>(2), "
7537 "B<socket>(2), B<stat>(2), B<umask>(2), B<unlink>(2), B<makedev>(3), "
7538 "B<mkfifo>(3), B<path_resolution>(7)"
7539 msgstr ""
7540
7541 #. type: TH
7542 #: build/C/man4/mouse.4:26
7543 #, no-wrap
7544 msgid "MOUSE"
7545 msgstr ""
7546
7547 #. type: TH
7548 #: build/C/man4/mouse.4:26
7549 #, no-wrap
7550 msgid "1996-02-10"
7551 msgstr ""
7552
7553 #. type: Plain text
7554 #: build/C/man4/mouse.4:29
7555 msgid "mouse - serial mouse interface"
7556 msgstr ""
7557
7558 #. type: Plain text
7559 #: build/C/man4/mouse.4:33
7560 msgid ""
7561 "Serial mice are connected to a serial RS232/V24 dialout line, see B<ttyS>(4)  "
7562 "for a description."
7563 msgstr ""
7564
7565 #. type: SS
7566 #: build/C/man4/mouse.4:34
7567 #, no-wrap
7568 msgid "Introduction"
7569 msgstr ""
7570
7571 #. type: Plain text
7572 #: build/C/man4/mouse.4:36
7573 msgid "The pinout of the usual 9 pin plug as used for serial mice is:"
7574 msgstr ""
7575
7576 #. type: tbl table
7577 #: build/C/man4/mouse.4:39
7578 #, no-wrap
7579 msgid "pin\tname\tused for\n"
7580 msgstr ""
7581
7582 #. type: tbl table
7583 #: build/C/man4/mouse.4:40
7584 #, no-wrap
7585 msgid "2\tRX\tData\n"
7586 msgstr ""
7587
7588 #. type: tbl table
7589 #: build/C/man4/mouse.4:41
7590 #, no-wrap
7591 msgid "3\tTX\t-12 V, Imax = 10 mA\n"
7592 msgstr ""
7593
7594 #. type: tbl table
7595 #: build/C/man4/mouse.4:42
7596 #, no-wrap
7597 msgid "4\tDTR\t+12 V, Imax = 10 mA\n"
7598 msgstr ""
7599
7600 #. type: tbl table
7601 #: build/C/man4/mouse.4:43
7602 #, no-wrap
7603 msgid "7\tRTS\t+12 V, Imax = 10 mA\n"
7604 msgstr ""
7605
7606 #. type: tbl table
7607 #: build/C/man4/mouse.4:44
7608 #, no-wrap
7609 msgid "5\tGND\tGround\n"
7610 msgstr ""
7611
7612 #. type: Plain text
7613 #: build/C/man4/mouse.4:48
7614 msgid "This is the specification, in fact 9 V suffices with most mice."
7615 msgstr ""
7616
7617 #. type: Plain text
7618 #: build/C/man4/mouse.4:54
7619 msgid ""
7620 "The mouse driver can recognize a mouse by dropping RTS to low and raising it "
7621 "again.  About 14 ms later the mouse will send 0x4D (\\(aqM\\(aq) on the data "
7622 "line.  After a further 63 ms, a Microsoft-compatible 3-button mouse will "
7623 "send 0x33 (\\(aq3\\(aq)."
7624 msgstr ""
7625
7626 #. type: Plain text
7627 #: build/C/man4/mouse.4:66
7628 msgid ""
7629 "The relative mouse movement is sent as I<dx> (positive means right)  and "
7630 "I<dy> (positive means down).  Various mice can operate at different speeds.  "
7631 "To select speeds, cycle through the speeds 9600, 4800, 2400, and 1200 bit/s, "
7632 "each time writing the two characters from the table below and waiting 0.1 "
7633 "seconds.  The following table shows available speeds and the strings that "
7634 "select them:"
7635 msgstr ""
7636
7637 #. type: tbl table
7638 #: build/C/man4/mouse.4:69
7639 #, no-wrap
7640 msgid "bit/s\tstring\n"
7641 msgstr ""
7642
7643 #. type: tbl table
7644 #: build/C/man4/mouse.4:70
7645 #, no-wrap
7646 msgid "9600\t*q\n"
7647 msgstr ""
7648
7649 #. type: tbl table
7650 #: build/C/man4/mouse.4:71
7651 #, no-wrap
7652 msgid "4800\t*p\n"
7653 msgstr ""
7654
7655 #. type: tbl table
7656 #: build/C/man4/mouse.4:72
7657 #, no-wrap
7658 msgid "2400\t*o\n"
7659 msgstr ""
7660
7661 #. type: tbl table
7662 #: build/C/man4/mouse.4:73
7663 #, no-wrap
7664 msgid "1200\t*n\n"
7665 msgstr ""
7666
7667 #. type: Plain text
7668 #: build/C/man4/mouse.4:77
7669 msgid "The first byte of a data packet can be used to synchronization purposes."
7670 msgstr ""
7671
7672 #. type: SS
7673 #: build/C/man4/mouse.4:77
7674 #, no-wrap
7675 msgid "Microsoft protocol"
7676 msgstr ""
7677
7678 #. type: Plain text
7679 #: build/C/man4/mouse.4:93
7680 msgid ""
7681 "The B<Microsoft> protocol uses 1 start bit, 7 data bits, no parity and one "
7682 "stop bit at the speed of 1200 bits/sec.  Data is sent to RxD in 3-byte "
7683 "packets.  The I<dx> and I<dy> movements are sent as two's-complement, I<lb> "
7684 "(I<rb>)  are set when the left (right)  button is pressed:"
7685 msgstr ""
7686
7687 #. type: tbl table
7688 #: build/C/man4/mouse.4:96
7689 #, no-wrap
7690 msgid "byte\td6\td5\td4\td3\td2\td1\td0\n"
7691 msgstr ""
7692
7693 #. type: tbl table
7694 #: build/C/man4/mouse.4:97
7695 #, no-wrap
7696 msgid "1\t1\tlb\trb\tdy7\tdy6\tdx7\tdx6\n"
7697 msgstr ""
7698
7699 #. type: tbl table
7700 #: build/C/man4/mouse.4:98
7701 #, no-wrap
7702 msgid "2\t0\tdx5\tdx4\tdx3\tdx2\tdx1\tdx0\n"
7703 msgstr ""
7704
7705 #. type: tbl table
7706 #: build/C/man4/mouse.4:99
7707 #, no-wrap
7708 msgid "3\t0\tdy5\tdy4\tdy3\tdy2\tdy1\tdy0\n"
7709 msgstr ""
7710
7711 #. type: SS
7712 #: build/C/man4/mouse.4:101
7713 #, no-wrap
7714 msgid "3-button Microsoft protocol"
7715 msgstr ""
7716
7717 #. type: Plain text
7718 #: build/C/man4/mouse.4:110
7719 msgid ""
7720 "Original Microsoft mice only have two buttons.  However, there are some "
7721 "three button mice which also use the Microsoft protocol.  Pressing or "
7722 "releasing the middle button is reported by sending a packet with zero "
7723 "movement and no buttons pressed.  (Thus, unlike for the other two buttons, "
7724 "the status of the middle button is not reported in each packet.)"
7725 msgstr ""
7726
7727 #. type: SS
7728 #: build/C/man4/mouse.4:110
7729 #, no-wrap
7730 msgid "Logitech protocol"
7731 msgstr ""
7732
7733 #. type: Plain text
7734 #: build/C/man4/mouse.4:119
7735 msgid ""
7736 "Logitech serial 3-button mice use a different extension of the Microsoft "
7737 "protocol: when the middle button is up, the above 3-byte packet is sent.  "
7738 "When the middle button is down a 4-byte packet is sent, where the 4th byte "
7739 "has value 0x20 (or at least has the 0x20 bit set).  In particular, a press "
7740 "of the middle button is reported as 0,0,0,0x20 when no other buttons are "
7741 "down."
7742 msgstr ""
7743
7744 #. type: SS
7745 #: build/C/man4/mouse.4:119
7746 #, no-wrap
7747 msgid "Mousesystems protocol"
7748 msgstr ""
7749
7750 #. type: Plain text
7751 #: build/C/man4/mouse.4:137
7752 msgid ""
7753 "The B<Mousesystems> protocol uses 1 start bit, 8 data bits, no parity and "
7754 "two stop bits at the speed of 1200 bits/sec.  Data is sent to RxD in 5-byte "
7755 "packets.  I<dx> is sent as the sum of the two two's-complement values, I<dy> "
7756 "is send as negated sum of the two two's-complement values.  I<lb> (I<mb>, "
7757 "I<rb>)  are cleared when the left (middle, right) button is pressed:"
7758 msgstr ""
7759
7760 #. type: tbl table
7761 #: build/C/man4/mouse.4:140 build/C/man4/mouse.4:175
7762 #, no-wrap
7763 msgid "byte\td7\td6\td5\td4\td3\td2\td1\td0\n"
7764 msgstr ""
7765
7766 #. type: tbl table
7767 #: build/C/man4/mouse.4:141
7768 #, no-wrap
7769 msgid "1\t1\t0\t0\t0\t0\tlb\tmb\trb\n"
7770 msgstr ""
7771
7772 #. type: tbl table
7773 #: build/C/man4/mouse.4:142
7774 #, no-wrap
7775 msgid "2\t0\tdxa6\tdxa5\tdxa4\tdxa3\tdxa2\tdxa1\tdxa0\n"
7776 msgstr ""
7777
7778 #. type: tbl table
7779 #: build/C/man4/mouse.4:143
7780 #, no-wrap
7781 msgid "3\t0\tdya6\tdya5\tdya4\tdya3\tdya2\tdya1\tdya0\n"
7782 msgstr ""
7783
7784 #. type: tbl table
7785 #: build/C/man4/mouse.4:144
7786 #, no-wrap
7787 msgid "4\t0\tdxb6\tdxb5\tdxb4\tdxb3\tdxb2\tdxb1\tdxb0\n"
7788 msgstr ""
7789
7790 #. type: tbl table
7791 #: build/C/man4/mouse.4:145
7792 #, no-wrap
7793 msgid "5\t0\tdyb6\tdyb5\tdyb4\tdyb3\tdyb2\tdyb1\tdyb0\n"
7794 msgstr ""
7795
7796 #. type: Plain text
7797 #: build/C/man4/mouse.4:150
7798 msgid ""
7799 "Bytes 4 and 5 describe the change that occurred since bytes 2 and 3 were "
7800 "transmitted."
7801 msgstr ""
7802
7803 #. type: SS
7804 #: build/C/man4/mouse.4:150
7805 #, no-wrap
7806 msgid "Sun protocol"
7807 msgstr ""
7808
7809 #. type: Plain text
7810 #: build/C/man4/mouse.4:155
7811 msgid ""
7812 "The B<Sun> protocol is the 3-byte version of the above 5-byte Mousesystems "
7813 "protocol: the last two bytes are not sent."
7814 msgstr ""
7815
7816 #. type: SS
7817 #: build/C/man4/mouse.4:155
7818 #, no-wrap
7819 msgid "MM protocol"
7820 msgstr ""
7821
7822 #. type: Plain text
7823 #: build/C/man4/mouse.4:172
7824 msgid ""
7825 "The B<MM> protocol uses 1 start bit, 8 data bits, odd parity and one stop "
7826 "bit at the speed of 1200 bits/sec.  Data is sent to RxD in 3-byte packets.  "
7827 "I<dx> and I<dy> are sent as single signed values, the sign bit indicating a "
7828 "negative value.  I<lb> (I<mb>, I<rb>)  are set when the left (middle, right) "
7829 "button is pressed:"
7830 msgstr ""
7831
7832 #. type: tbl table
7833 #: build/C/man4/mouse.4:176
7834 #, no-wrap
7835 msgid "1\t1\t0\t0\tdxs\tdys\tlb\tmb\trb\n"
7836 msgstr ""
7837
7838 #. type: tbl table
7839 #: build/C/man4/mouse.4:177
7840 #, no-wrap
7841 msgid "2\t0\tdx6\tdx5\tdx4\tdx3\tdx2\tdx1\tdx0\n"
7842 msgstr ""
7843
7844 #. type: tbl table
7845 #: build/C/man4/mouse.4:178
7846 #, no-wrap
7847 msgid "3\t0\tdy6\tdy5\tdy4\tdy3\tdy2\tdy1\tdy0\n"
7848 msgstr ""
7849
7850 #. type: TP
7851 #: build/C/man4/mouse.4:181
7852 #, no-wrap
7853 msgid "I</dev/mouse>"
7854 msgstr ""
7855
7856 #. type: Plain text
7857 #: build/C/man4/mouse.4:184
7858 msgid "A commonly used symlink pointing to a mouse device."
7859 msgstr ""
7860
7861 #. type: Plain text
7862 #: build/C/man4/mouse.4:187
7863 msgid "B<ttyS>(4), B<gpm>(8)"
7864 msgstr ""
7865
7866 #. type: TH
7867 #: build/C/man4/msr.4:26
7868 #, no-wrap
7869 msgid "MSR"
7870 msgstr ""
7871
7872 #. type: Plain text
7873 #: build/C/man4/msr.4:29
7874 msgid "msr - x86 CPU MSR access device"
7875 msgstr ""
7876
7877 #. type: Plain text
7878 #: build/C/man4/msr.4:36
7879 msgid ""
7880 "I</dev/cpu/CPUNUM/msr> provides an interface to read and write the "
7881 "model-specific registers (MSRs) of an x86 CPU.  I<CPUNUM> is the number of "
7882 "the CPU to access as listed in I</proc/cpuinfo>."
7883 msgstr ""
7884
7885 #. type: Plain text
7886 #: build/C/man4/msr.4:42
7887 msgid ""
7888 "The register access is done by opening the file and seeking to the MSR "
7889 "number as offset in the file, and then reading or writing in chunks of 8 "
7890 "bytes.  An I/O transfer of more than 8 bytes means multiple reads or writes "
7891 "of the same register."
7892 msgstr ""
7893
7894 #. type: Plain text
7895 #: build/C/man4/msr.4:47
7896 msgid ""
7897 "This file is protected so that it can be read and written only by the user "
7898 "I<root>, or members of the group I<root>."
7899 msgstr ""
7900
7901 #. type: Plain text
7902 #: build/C/man4/msr.4:53
7903 msgid ""
7904 "The I<msr> driver is not auto-loaded.  On modular kernels you might need to "
7905 "use the following command to load it explicitly before use:"
7906 msgstr ""
7907
7908 #. type: Plain text
7909 #: build/C/man4/msr.4:55
7910 #, no-wrap
7911 msgid "    $ I<modprobe msr>\n"
7912 msgstr ""
7913
7914 #. type: Plain text
7915 #: build/C/man4/msr.4:59
7916 msgid ""
7917 "Intel Corporation Intel 64 and IA-32 Architectures Software Developer's "
7918 "Manual Volume 3B Appendix B, for an overview of the Intel CPU MSRs."
7919 msgstr ""
7920
7921 #. type: TH
7922 #: build/C/man4/null.4:26
7923 #, no-wrap
7924 msgid "NULL"
7925 msgstr ""
7926
7927 #. type: TH
7928 #: build/C/man4/null.4:26
7929 #, no-wrap
7930 msgid "2009-02-23"
7931 msgstr ""
7932
7933 #. type: Plain text
7934 #: build/C/man4/null.4:29
7935 msgid "null, zero - data sink"
7936 msgstr ""
7937
7938 #. type: Plain text
7939 #: build/C/man4/null.4:35
7940 msgid "Data written to a B<null> or B<zero> special file is discarded."
7941 msgstr ""
7942
7943 #. type: Plain text
7944 #: build/C/man4/null.4:44
7945 msgid ""
7946 "Reads from the B<null> special file always return end of file (i.e., "
7947 "B<read>(2)  returns 0), whereas reads from B<zero> always return bytes "
7948 "containing zero (\\e0 characters)."
7949 msgstr ""
7950
7951 #. type: Plain text
7952 #: build/C/man4/null.4:49
7953 msgid "B<null> and B<zero> are typically created by:"
7954 msgstr ""
7955
7956 #. type: Plain text
7957 #: build/C/man4/null.4:52
7958 msgid "mknod -m 666 /dev/null c 1 3"
7959 msgstr ""
7960
7961 #. type: Plain text
7962 #: build/C/man4/null.4:54
7963 msgid "mknod -m 666 /dev/zero c 1 5"
7964 msgstr ""
7965
7966 #. type: Plain text
7967 #: build/C/man4/null.4:56
7968 msgid "chown root:root /dev/null /dev/zero"
7969 msgstr ""
7970
7971 #. type: Plain text
7972 #: build/C/man4/null.4:59
7973 msgid "I</dev/null>"
7974 msgstr ""
7975
7976 #. type: Plain text
7977 #: build/C/man4/null.4:61
7978 msgid "I</dev/zero>"
7979 msgstr ""
7980
7981 #. type: Plain text
7982 #: build/C/man4/null.4:64
7983 msgid ""
7984 "If these devices are not writable and readable for all users, many programs "
7985 "will act strangely."
7986 msgstr ""
7987
7988 #. type: Plain text
7989 #: build/C/man4/null.4:68
7990 msgid "B<chown>(1), B<mknod>(1), B<full>(4)"
7991 msgstr ""
7992
7993 #. type: TH
7994 #: build/C/man7/pipe.7:25
7995 #, no-wrap
7996 msgid "PIPE"
7997 msgstr ""
7998
7999 #. type: TH
8000 #: build/C/man7/pipe.7:25
8001 #, no-wrap
8002 msgid "2005-12-08"
8003 msgstr ""
8004
8005 #. type: Plain text
8006 #: build/C/man7/pipe.7:28
8007 msgid "pipe - overview of pipes and FIFOs"
8008 msgstr ""
8009
8010 #. type: Plain text
8011 #: build/C/man7/pipe.7:37
8012 msgid ""
8013 "Pipes and FIFOs (also known as named pipes)  provide a unidirectional "
8014 "interprocess communication channel.  A pipe has a I<read end> and a I<write "
8015 "end>.  Data written to the write end of a pipe can be read from the read end "
8016 "of the pipe."
8017 msgstr ""
8018
8019 #. type: Plain text
8020 #: build/C/man7/pipe.7:47
8021 msgid ""
8022 "A pipe is created using B<pipe>(2), which creates a new pipe and returns two "
8023 "file descriptors, one referring to the read end of the pipe, the other "
8024 "referring to the write end.  Pipes can be used to create a communication "
8025 "channel between related processes; see B<pipe>(2)  for an example."
8026 msgstr ""
8027
8028 #. type: Plain text
8029 #: build/C/man7/pipe.7:66
8030 msgid ""
8031 "A FIFO (short for First In First Out) has a name within the filesystem "
8032 "(created using B<mkfifo>(3)), and is opened using B<open>(2).  Any process "
8033 "may open a FIFO, assuming the file permissions allow it.  The read end is "
8034 "opened using the B<O_RDONLY> flag; the write end is opened using the "
8035 "B<O_WRONLY> flag.  See B<fifo>(7)  for further details.  I<Note>: although "
8036 "FIFOs have a pathname in the filesystem, I/O on FIFOs does not involve "
8037 "operations on the underlying device (if there is one)."
8038 msgstr ""
8039
8040 #. type: SS
8041 #: build/C/man7/pipe.7:66
8042 #, no-wrap
8043 msgid "I/O on pipes and FIFOs"
8044 msgstr ""
8045
8046 #. type: Plain text
8047 #: build/C/man7/pipe.7:71
8048 msgid ""
8049 "The only difference between pipes and FIFOs is the manner in which they are "
8050 "created and opened.  Once these tasks have been accomplished, I/O on pipes "
8051 "and FIFOs has exactly the same semantics."
8052 msgstr ""
8053
8054 #. type: Plain text
8055 #: build/C/man7/pipe.7:85
8056 msgid ""
8057 "If a process attempts to read from an empty pipe, then B<read>(2)  will "
8058 "block until data is available.  If a process attempts to write to a full "
8059 "pipe (see below), then B<write>(2)  blocks until sufficient data has been "
8060 "read from the pipe to allow the write to complete.  Nonblocking I/O is "
8061 "possible by using the B<fcntl>(2)  B<F_SETFL> operation to enable the "
8062 "B<O_NONBLOCK> open file status flag."
8063 msgstr ""
8064
8065 #. type: Plain text
8066 #: build/C/man7/pipe.7:89
8067 msgid ""
8068 "The communication channel provided by a pipe is a I<byte stream>: there is "
8069 "no concept of message boundaries."
8070 msgstr ""
8071
8072 #. type: Plain text
8073 #: build/C/man7/pipe.7:116
8074 msgid ""
8075 "If all file descriptors referring to the write end of a pipe have been "
8076 "closed, then an attempt to B<read>(2)  from the pipe will see end-of-file "
8077 "(B<read>(2)  will return 0).  If all file descriptors referring to the read "
8078 "end of a pipe have been closed, then a B<write>(2)  will cause a B<SIGPIPE> "
8079 "signal to be generated for the calling process.  If the calling process is "
8080 "ignoring this signal, then B<write>(2)  fails with the error B<EPIPE>.  An "
8081 "application that uses B<pipe>(2)  and B<fork>(2)  should use suitable "
8082 "B<close>(2)  calls to close unnecessary duplicate file descriptors; this "
8083 "ensures that end-of-file and B<SIGPIPE>/B<EPIPE> are delivered when "
8084 "appropriate."
8085 msgstr ""
8086
8087 #. type: Plain text
8088 #: build/C/man7/pipe.7:120
8089 msgid "It is not possible to apply B<lseek>(2)  to a pipe."
8090 msgstr ""
8091
8092 #. type: SS
8093 #: build/C/man7/pipe.7:120
8094 #, no-wrap
8095 msgid "Pipe capacity"
8096 msgstr ""
8097
8098 #. type: Plain text
8099 #: build/C/man7/pipe.7:132
8100 msgid ""
8101 "A pipe has a limited capacity.  If the pipe is full, then a B<write>(2)  "
8102 "will block or fail, depending on whether the B<O_NONBLOCK> flag is set (see "
8103 "below).  Different implementations have different limits for the pipe "
8104 "capacity.  Applications should not rely on a particular capacity: an "
8105 "application should be designed so that a reading process consumes data as "
8106 "soon as it is available, so that a writing process does not remain blocked."
8107 msgstr ""
8108
8109 #. type: Plain text
8110 #: build/C/man7/pipe.7:136
8111 msgid ""
8112 "In Linux versions before 2.6.11, the capacity of a pipe was the same as the "
8113 "system page size (e.g., 4096 bytes on i386).  Since Linux 2.6.11, the pipe "
8114 "capacity is 65536 bytes."
8115 msgstr ""
8116
8117 #. type: SS
8118 #: build/C/man7/pipe.7:136
8119 #, no-wrap
8120 msgid "PIPE_BUF"
8121 msgstr ""
8122
8123 #. type: Plain text
8124 #: build/C/man7/pipe.7:158
8125 msgid ""
8126 "POSIX.1-2001 says that B<write>(2)s of less than B<PIPE_BUF> bytes must be "
8127 "atomic: the output data is written to the pipe as a contiguous sequence.  "
8128 "Writes of more than B<PIPE_BUF> bytes may be nonatomic: the kernel may "
8129 "interleave the data with data written by other processes.  POSIX.1-2001 "
8130 "requires B<PIPE_BUF> to be at least 512 bytes.  (On Linux, B<PIPE_BUF> is "
8131 "4096 bytes.)  The precise semantics depend on whether the file descriptor is "
8132 "nonblocking (B<O_NONBLOCK>), whether there are multiple writers to the pipe, "
8133 "and on I<n>, the number of bytes to be written:"
8134 msgstr ""
8135
8136 #. type: TP
8137 #: build/C/man7/pipe.7:158
8138 #, no-wrap
8139 msgid "B<O_NONBLOCK> disabled, I<n> E<lt>= B<PIPE_BUF>"
8140 msgstr ""
8141
8142 #. type: Plain text
8143 #: build/C/man7/pipe.7:167
8144 msgid ""
8145 "All I<n> bytes are written atomically; B<write>(2)  may block if there is "
8146 "not room for I<n> bytes to be written immediately"
8147 msgstr ""
8148
8149 #. type: TP
8150 #: build/C/man7/pipe.7:167
8151 #, no-wrap
8152 msgid "B<O_NONBLOCK> enabled, I<n> E<lt>= B<PIPE_BUF>"
8153 msgstr ""
8154
8155 #. type: Plain text
8156 #: build/C/man7/pipe.7:181
8157 msgid ""
8158 "If there is room to write I<n> bytes to the pipe, then B<write>(2)  succeeds "
8159 "immediately, writing all I<n> bytes; otherwise B<write>(2)  fails, with "
8160 "I<errno> set to B<EAGAIN>."
8161 msgstr ""
8162
8163 #. type: TP
8164 #: build/C/man7/pipe.7:181
8165 #, no-wrap
8166 msgid "B<O_NONBLOCK> disabled, I<n> E<gt> B<PIPE_BUF>"
8167 msgstr ""
8168
8169 #. type: Plain text
8170 #: build/C/man7/pipe.7:193
8171 msgid ""
8172 "The write is nonatomic: the data given to B<write>(2)  may be interleaved "
8173 "with B<write>(2)s by other process; the B<write>(2)  blocks until I<n> bytes "
8174 "have been written."
8175 msgstr ""
8176
8177 #. type: TP
8178 #: build/C/man7/pipe.7:193
8179 #, no-wrap
8180 msgid "B<O_NONBLOCK> enabled, I<n> E<gt> B<PIPE_BUF>"
8181 msgstr ""
8182
8183 #. type: Plain text
8184 #: build/C/man7/pipe.7:208
8185 msgid ""
8186 "If the pipe is full, then B<write>(2)  fails, with I<errno> set to "
8187 "B<EAGAIN>.  Otherwise, from 1 to I<n> bytes may be written (i.e., a "
8188 "\"partial write\" may occur; the caller should check the return value from "
8189 "B<write>(2)  to see how many bytes were actually written), and these bytes "
8190 "may be interleaved with writes by other processes."
8191 msgstr ""
8192
8193 #. type: SS
8194 #: build/C/man7/pipe.7:208
8195 #, no-wrap
8196 msgid "Open file status flags"
8197 msgstr ""
8198
8199 #. type: Plain text
8200 #: build/C/man7/pipe.7:214
8201 msgid ""
8202 "The only open file status flags that can be meaningfully applied to a pipe "
8203 "or FIFO are B<O_NONBLOCK> and B<O_ASYNC>."
8204 msgstr ""
8205
8206 #. type: Plain text
8207 #: build/C/man7/pipe.7:226
8208 msgid ""
8209 "Setting the B<O_ASYNC> flag for the read end of a pipe causes a signal "
8210 "(B<SIGIO> by default) to be generated when new input becomes available on "
8211 "the pipe (see B<fcntl>(2)  for details).  On Linux, B<O_ASYNC> is supported "
8212 "for pipes and FIFOs only since kernel 2.6."
8213 msgstr ""
8214
8215 #. type: SS
8216 #: build/C/man7/pipe.7:226
8217 #, no-wrap
8218 msgid "Portability notes"
8219 msgstr ""
8220
8221 #. type: Plain text
8222 #: build/C/man7/pipe.7:232
8223 msgid ""
8224 "On some systems (but not Linux), pipes are bidirectional: data can be "
8225 "transmitted in both directions between the pipe ends.  According to "
8226 "POSIX.1-2001, pipes only need to be unidirectional.  Portable applications "
8227 "should avoid reliance on bidirectional pipe semantics."
8228 msgstr ""
8229
8230 #. type: Plain text
8231 #: build/C/man7/pipe.7:244
8232 msgid ""
8233 "B<dup>(2), B<fcntl>(2), B<open>(2), B<pipe>(2), B<poll>(2), B<select>(2), "
8234 "B<socketpair>(2), B<stat>(2), B<mkfifo>(3), B<epoll>(7), B<fifo>(7)"
8235 msgstr ""
8236
8237 #. type: TH
8238 #: build/C/man4/ram.4:26
8239 #, no-wrap
8240 msgid "RAM"
8241 msgstr ""
8242
8243 #. type: Plain text
8244 #: build/C/man4/ram.4:29
8245 msgid "ram - ram disk device"
8246 msgstr ""
8247
8248 #. type: Plain text
8249 #: build/C/man4/ram.4:33
8250 msgid "The I<ram> device is a block device to access the ram disk in raw mode."
8251 msgstr ""
8252
8253 #. type: Plain text
8254 #: build/C/man4/ram.4:38
8255 msgid "mknod -m 660 /dev/ram b 1 1"
8256 msgstr ""
8257
8258 #. type: Plain text
8259 #: build/C/man4/ram.4:40
8260 msgid "chown root:disk /dev/ram"
8261 msgstr ""
8262
8263 #. type: Plain text
8264 #: build/C/man4/ram.4:43
8265 msgid "/dev/ram"
8266 msgstr ""
8267
8268 #. type: Plain text
8269 #: build/C/man4/ram.4:47
8270 msgid "B<chown>(1), B<mknod>(1), B<mount>(8)"
8271 msgstr ""
8272
8273 #. type: TH
8274 #: build/C/man4/random.4:19
8275 #, no-wrap
8276 msgid "RANDOM"
8277 msgstr ""
8278
8279 #. type: TH
8280 #: build/C/man4/random.4:19
8281 #, no-wrap
8282 msgid "2013-03-15"
8283 msgstr ""
8284
8285 #. type: Plain text
8286 #: build/C/man4/random.4:22
8287 msgid "random, urandom - kernel random number source devices"
8288 msgstr ""
8289
8290 #. type: Plain text
8291 #: build/C/man4/random.4:24
8292 msgid "#include E<lt>linux/random.hE<gt>"
8293 msgstr ""
8294
8295 #. type: Plain text
8296 #: build/C/man4/random.4:26
8297 msgid "B<int ioctl(>I<fd>B<, RND>I<request>B<, >I<param>B<);>"
8298 msgstr ""
8299
8300 #. type: Plain text
8301 #: build/C/man4/random.4:33
8302 msgid ""
8303 "The character special files I</dev/random> and I</dev/urandom> (present "
8304 "since Linux 1.3.30)  provide an interface to the kernel's random number "
8305 "generator.  File I</dev/random> has major device number 1 and minor device "
8306 "number 8.  File I</dev/urandom> has major device number 1 and minor device "
8307 "number 9."
8308 msgstr ""
8309
8310 #. type: Plain text
8311 #: build/C/man4/random.4:39
8312 msgid ""
8313 "The random number generator gathers environmental noise from device drivers "
8314 "and other sources into an entropy pool.  The generator also keeps an "
8315 "estimate of the number of bits of noise in the entropy pool.  From this "
8316 "entropy pool random numbers are created."
8317 msgstr ""
8318
8319 #. type: Plain text
8320 #: build/C/man4/random.4:47
8321 msgid ""
8322 "When read, the I</dev/random> device will only return random bytes within "
8323 "the estimated number of bits of noise in the entropy pool.  I</dev/random> "
8324 "should be suitable for uses that need very high quality randomness such as "
8325 "one-time pad or key generation.  When the entropy pool is empty, reads from "
8326 "I</dev/random> will block until additional environmental noise is gathered."
8327 msgstr ""
8328
8329 #. type: Plain text
8330 #: build/C/man4/random.4:58
8331 msgid ""
8332 "A read from the I</dev/urandom> device will not block waiting for more "
8333 "entropy.  As a result, if there is not sufficient entropy in the entropy "
8334 "pool, the returned values are theoretically vulnerable to a cryptographic "
8335 "attack on the algorithms used by the driver.  Knowledge of how to do this is "
8336 "not available in the current unclassified literature, but it is "
8337 "theoretically possible that such an attack may exist.  If this is a concern "
8338 "in your application, use I</dev/random> instead."
8339 msgstr ""
8340
8341 #. type: Plain text
8342 #: build/C/man4/random.4:65
8343 msgid ""
8344 "Writing to I</dev/random> or I</dev/urandom> will update the entropy pool "
8345 "with the data written, but this will not result in a higher entropy count.  "
8346 "This means that it will impact the contents read from both files, but it "
8347 "will not make reads from I</dev/random> faster."
8348 msgstr ""
8349
8350 #. type: Plain text
8351 #: build/C/man4/random.4:74
8352 msgid ""
8353 "If you are unsure about whether you should use I</dev/random> or "
8354 "I</dev/urandom>, then probably you want to use the latter.  As a general "
8355 "rule, I</dev/urandom> should be used for everything except long-lived "
8356 "GPG/SSL/SSH keys."
8357 msgstr ""
8358
8359 #. type: Plain text
8360 #: build/C/man4/random.4:86
8361 msgid ""
8362 "If a seed file is saved across reboots as recommended below (all major Linux "
8363 "distributions have done this since 2000 at least), the output is "
8364 "cryptographically secure against attackers without local root access as soon "
8365 "as it is reloaded in the boot sequence, and perfectly adequate for network "
8366 "encryption session keys.  Since reads from I</dev/random> may block, users "
8367 "will usually want to open it in nonblocking mode (or perform a read with "
8368 "timeout), and provide some sort of user notification if the desired entropy "
8369 "is not immediately available."
8370 msgstr ""
8371
8372 #. type: Plain text
8373 #: build/C/man4/random.4:99
8374 msgid ""
8375 "The kernel random-number generator is designed to produce a small amount of "
8376 "high-quality seed material to seed a cryptographic pseudo-random number "
8377 "generator (CPRNG).  It is designed for security, not speed, and is poorly "
8378 "suited to generating large amounts of random data.  Users should be very "
8379 "economical in the amount of seed material that they read from "
8380 "I</dev/urandom> (and I</dev/random>); unnecessarily reading large quantities "
8381 "of data from this device will have a negative impact on other users of the "
8382 "device."
8383 msgstr ""
8384
8385 #. type: Plain text
8386 #: build/C/man4/random.4:107
8387 msgid ""
8388 "The amount of seed material required to generate a cryptographic key equals "
8389 "the effective key size of the key.  For example, a 3072-bit RSA or "
8390 "Diffie-Hellman private key has an effective key size of 128 bits (it "
8391 "requires about 2^128 operations to break) so a key generator only needs 128 "
8392 "bits (16 bytes) of seed material from I</dev/random>."
8393 msgstr ""
8394
8395 #. type: Plain text
8396 #: build/C/man4/random.4:116
8397 msgid ""
8398 "While some safety margin above that minimum is reasonable, as a guard "
8399 "against flaws in the CPRNG algorithm, no cryptographic primitive available "
8400 "today can hope to promise more than 256 bits of security, so if any program "
8401 "reads more than 256 bits (32 bytes) from the kernel random pool per "
8402 "invocation, or per reasonable reseed interval (not less than one minute), "
8403 "that should be taken as a sign that its cryptography is I<not> skillfully "
8404 "implemented."
8405 msgstr ""
8406
8407 #. type: SS
8408 #: build/C/man4/random.4:116
8409 #, no-wrap
8410 msgid "Configuration"
8411 msgstr ""
8412
8413 #. type: Plain text
8414 #: build/C/man4/random.4:120
8415 msgid ""
8416 "If your system does not have I</dev/random> and I</dev/urandom> created "
8417 "already, they can be created with the following commands:"
8418 msgstr ""
8419
8420 #. type: Plain text
8421 #: build/C/man4/random.4:125
8422 #, no-wrap
8423 msgid ""
8424 "    mknod -m 644 /dev/random c 1 8\n"
8425 "    mknod -m 644 /dev/urandom c 1 9\n"
8426 "    chown root:root /dev/random /dev/urandom\n"
8427 msgstr ""
8428
8429 #. type: Plain text
8430 #: build/C/man4/random.4:135
8431 msgid ""
8432 "When a Linux system starts up without much operator interaction, the entropy "
8433 "pool may be in a fairly predictable state.  This reduces the actual amount "
8434 "of noise in the entropy pool below the estimate.  In order to counteract "
8435 "this effect, it helps to carry entropy pool information across shut-downs "
8436 "and start-ups.  To do this, add the following lines to an appropriate script "
8437 "which is run during the Linux system start-up sequence:"
8438 msgstr ""
8439
8440 #. type: Plain text
8441 #: build/C/man4/random.4:150
8442 #, no-wrap
8443 msgid ""
8444 "    echo \"Initializing random number generator...\"\n"
8445 "    random_seed=/var/run/random-seed\n"
8446 "    # Carry a random seed from start-up to start-up\n"
8447 "    # Load and then save the whole entropy pool\n"
8448 "    if [ -f $random_seed ]; then\n"
8449 "        cat $random_seed E<gt>/dev/urandom\n"
8450 "    else\n"
8451 "        touch $random_seed\n"
8452 "    fi\n"
8453 "    chmod 600 $random_seed\n"
8454 "    poolfile=/proc/sys/kernel/random/poolsize\n"
8455 "    [ -r $poolfile ] && bytes=\\`cat $poolfile\\` || bytes=512\n"
8456 "    dd if=/dev/urandom of=$random_seed count=1 bs=$bytes\n"
8457 msgstr ""
8458
8459 #. type: Plain text
8460 #: build/C/man4/random.4:154
8461 msgid ""
8462 "Also, add the following lines in an appropriate script which is run during "
8463 "the Linux system shutdown:"
8464 msgstr ""
8465
8466 #. type: Plain text
8467 #: build/C/man4/random.4:165
8468 #, no-wrap
8469 msgid ""
8470 "    # Carry a random seed from shut-down to start-up\n"
8471 "    # Save the whole entropy pool\n"
8472 "    echo \"Saving random seed...\"\n"
8473 "    random_seed=/var/run/random-seed\n"
8474 "    touch $random_seed\n"
8475 "    chmod 600 $random_seed\n"
8476 "    poolfile=/proc/sys/kernel/random/poolsize\n"
8477 "    [ -r $poolfile ] && bytes=\\`cat $poolfile\\` || bytes=512\n"
8478 "    dd if=/dev/urandom of=$random_seed count=1 bs=$bytes\n"
8479 msgstr ""
8480
8481 #. type: SS
8482 #: build/C/man4/random.4:166
8483 #, no-wrap
8484 msgid "/proc Interface"
8485 msgstr ""
8486
8487 #. type: Plain text
8488 #: build/C/man4/random.4:172
8489 msgid ""
8490 "The files in the directory I</proc/sys/kernel/random> (present since 2.3.16) "
8491 "provide an additional interface to the I</dev/random> device."
8492 msgstr ""
8493
8494 #. type: Plain text
8495 #: build/C/man4/random.4:178
8496 msgid ""
8497 "The read-only file I<entropy_avail> gives the available entropy.  Normally, "
8498 "this will be 4096 (bits), a full entropy pool."
8499 msgstr ""
8500
8501 #. type: Plain text
8502 #: build/C/man4/random.4:183
8503 msgid ""
8504 "The file I<poolsize> gives the size of the entropy pool.  The semantics of "
8505 "this file vary across kernel versions:"
8506 msgstr ""
8507
8508 #. type: TP
8509 #: build/C/man4/random.4:184
8510 #, no-wrap
8511 msgid "Linux 2.4:"
8512 msgstr ""
8513
8514 #. type: Plain text
8515 #: build/C/man4/random.4:191
8516 msgid ""
8517 "This file gives the size of the entropy pool in I<bytes>.  Normally, this "
8518 "file will have the value 512, but it is writable, and can be changed to any "
8519 "value for which an algorithm is available.  The choices are 32, 64, 128, "
8520 "256, 512, 1024, or 2048."
8521 msgstr ""
8522
8523 #. type: TP
8524 #: build/C/man4/random.4:191
8525 #, no-wrap
8526 msgid "Linux 2.6:"
8527 msgstr ""
8528
8529 #. type: Plain text
8530 #: build/C/man4/random.4:196
8531 msgid ""
8532 "This file is read-only, and gives the size of the entropy pool in I<bits>.  "
8533 "It contains the value 4096."
8534 msgstr ""
8535
8536 #. type: Plain text
8537 #: build/C/man4/random.4:214
8538 msgid ""
8539 "The file I<read_wakeup_threshold> contains the number of bits of entropy "
8540 "required for waking up processes that sleep waiting for entropy from "
8541 "I</dev/random>.  The default is 64.  The file I<write_wakeup_threshold> "
8542 "contains the number of bits of entropy below which we wake up processes that "
8543 "do a B<select>(2)  or B<poll>(2)  for write access to I</dev/random>.  These "
8544 "values can be changed by writing to the files."
8545 msgstr ""
8546
8547 #. type: Plain text
8548 #: build/C/man4/random.4:222
8549 msgid ""
8550 "The read-only files I<uuid> and I<boot_id> contain random strings like "
8551 "6fd5a44b-35f4-4ad4-a9b9-6b9be13e1fe9.  The former is generated afresh for "
8552 "each read, the latter was generated once."
8553 msgstr ""
8554
8555 #. type: SS
8556 #: build/C/man4/random.4:222
8557 #, no-wrap
8558 msgid "ioctl(2) interface"
8559 msgstr ""
8560
8561 #. type: Plain text
8562 #: build/C/man4/random.4:233
8563 msgid ""
8564 "The following B<ioctl>(2)  requests are defined on file descriptors "
8565 "connected to either I</dev/random> or I</dev/urandom>.  All requests "
8566 "performed will interact with the input entropy pool impacting both "
8567 "I</dev/random> and I</dev/urandom>.  The B<CAP_SYS_ADMIN> capability is "
8568 "required for all requests except B<RNDGETENTCNT>."
8569 msgstr ""
8570
8571 #. type: TP
8572 #: build/C/man4/random.4:233
8573 #, no-wrap
8574 msgid "B<RNDGETENTCNT>"
8575 msgstr ""
8576
8577 #. type: Plain text
8578 #: build/C/man4/random.4:240
8579 msgid ""
8580 "Retrieve the entropy count of the input pool, the contents will be the same "
8581 "as the I<entropy_avail> file under proc.  The result will be stored in the "
8582 "int pointed to by the argument."
8583 msgstr ""
8584
8585 #. type: TP
8586 #: build/C/man4/random.4:240
8587 #, no-wrap
8588 msgid "B<RNDADDTOENTCNT>"
8589 msgstr ""
8590
8591 #. type: Plain text
8592 #: build/C/man4/random.4:244
8593 msgid ""
8594 "Increment or decrement the entropy count of the input pool by the value "
8595 "pointed to by the argument."
8596 msgstr ""
8597
8598 #. type: TP
8599 #: build/C/man4/random.4:244
8600 #, no-wrap
8601 msgid "B<RNDGETPOOL>"
8602 msgstr ""
8603
8604 #. type: Plain text
8605 #: build/C/man4/random.4:247
8606 msgid "Removed in Linux 2.6.9."
8607 msgstr ""
8608
8609 #. type: TP
8610 #: build/C/man4/random.4:247
8611 #, no-wrap
8612 msgid "B<RNDADDENTROPY>"
8613 msgstr ""
8614
8615 #. type: Plain text
8616 #: build/C/man4/random.4:255
8617 msgid ""
8618 "Add some additional entropy to the input pool, incrementing the entropy "
8619 "count.  This differs from writing to I</dev/random> or I</dev/urandom>, "
8620 "which only adds some data but does not increment the entropy count.  The "
8621 "following structure is used:"
8622 msgstr ""
8623
8624 #. type: Plain text
8625 #: build/C/man4/random.4:262
8626 #, no-wrap
8627 msgid ""
8628 "    struct rand_pool_info {\n"
8629 "        int    entropy_count;\n"
8630 "        int    buf_size;\n"
8631 "        __u32  buf[0];\n"
8632 "    };\n"
8633 msgstr ""
8634
8635 #. type: Plain text
8636 #: build/C/man4/random.4:271
8637 msgid ""
8638 "Here I<entropy_count> is the value added to (or subtracted from) the entropy "
8639 "count, and I<buf> is the buffer of size I<buf_size> which gets added to the "
8640 "entropy pool."
8641 msgstr ""
8642
8643 #. type: TP
8644 #: build/C/man4/random.4:271
8645 #, no-wrap
8646 msgid "B<RNDZAPENTCNT>, B<RNDCLEARPOOL>"
8647 msgstr ""
8648
8649 #. type: Plain text
8650 #: build/C/man4/random.4:275
8651 msgid ""
8652 "Zero the entropy count of all pools and add some system data (such as wall "
8653 "clock) to the pools."
8654 msgstr ""
8655
8656 #. type: Plain text
8657 #: build/C/man4/random.4:277
8658 msgid "/dev/random"
8659 msgstr ""
8660
8661 #.  .SH AUTHOR
8662 #.  The kernel's random number generator was written by
8663 #.  Theodore Ts'o (tytso@athena.mit.edu).
8664 #. type: Plain text
8665 #: build/C/man4/random.4:282
8666 msgid "/dev/urandom"
8667 msgstr ""
8668
8669 #. type: Plain text
8670 #: build/C/man4/random.4:284
8671 msgid "B<mknod>(1)"
8672 msgstr ""
8673
8674 #. type: Plain text
8675 #: build/C/man4/random.4:286
8676 msgid "RFC\\ 1750, \"Randomness Recommendations for Security\""
8677 msgstr ""
8678
8679 #. type: TH
8680 #: build/C/man4/sd.4:26
8681 #, no-wrap
8682 msgid "SD"
8683 msgstr ""
8684
8685 #. type: TH
8686 #: build/C/man4/sd.4:26
8687 #, no-wrap
8688 msgid "2012-05-03"
8689 msgstr ""
8690
8691 #. type: Plain text
8692 #: build/C/man4/sd.4:29
8693 msgid "sd - driver for SCSI disk drives"
8694 msgstr ""
8695
8696 #. type: Plain text
8697 #: build/C/man4/sd.4:33
8698 #, no-wrap
8699 msgid ""
8700 "B<#include E<lt>linux/hdreg.hE<gt>        >/* for HDIO_GETGEO */\n"
8701 "B<#include E<lt>linux/fs.hE<gt>           >/* for BLKGETSIZE and BLKRRPART "
8702 "*/\n"
8703 msgstr ""
8704
8705 #. type: Plain text
8706 #: build/C/man4/sd.4:45
8707 msgid ""
8708 "The block device name has the following form: B<sd>I<lp,> where I<l> is a "
8709 "letter denoting the physical drive, and I<p> is a number denoting the "
8710 "partition on that physical drive.  Often, the partition number, I<p>, will "
8711 "be left off when the device corresponds to the whole drive."
8712 msgstr ""
8713
8714 #. type: Plain text
8715 #: build/C/man4/sd.4:54
8716 msgid ""
8717 "SCSI disks have a major device number of 8, and a minor device number of the "
8718 "form (16 * I<drive_number>) + I<partition_number>, where I<drive_number> is "
8719 "the number of the physical drive in order of detection, and "
8720 "I<partition_number> is as follows:"
8721 msgstr ""
8722
8723 #. type: Plain text
8724 #: build/C/man4/sd.4:56
8725 msgid "partition 0 is the whole drive"
8726 msgstr ""
8727
8728 #. type: Plain text
8729 #: build/C/man4/sd.4:58
8730 msgid "partitions 1-4 are the DOS \"primary\" partitions"
8731 msgstr ""
8732
8733 #. type: Plain text
8734 #: build/C/man4/sd.4:60
8735 msgid "partitions 5-8 are the DOS \"extended\" (or \"logical\") partitions"
8736 msgstr ""
8737
8738 #. type: Plain text
8739 #: build/C/man4/sd.4:68
8740 msgid ""
8741 "For example, I</dev/sda> will have major 8, minor 0, and will refer to all "
8742 "of the first SCSI drive in the system; and I</dev/sdb3> will have major 8, "
8743 "minor 19, and will refer to the third DOS \"primary\" partition on the "
8744 "second SCSI drive in the system."
8745 msgstr ""
8746
8747 #. type: Plain text
8748 #: build/C/man4/sd.4:71
8749 msgid ""
8750 "At this time, only block devices are provided.  Raw devices have not yet "
8751 "been implemented."
8752 msgstr ""
8753
8754 #. type: Plain text
8755 #: build/C/man4/sd.4:75
8756 msgid "The following I<ioctl>s are provided:"
8757 msgstr ""
8758
8759 #. type: TP
8760 #: build/C/man4/sd.4:75
8761 #, no-wrap
8762 msgid "B<HDIO_GETGEO>"
8763 msgstr ""
8764
8765 #. type: Plain text
8766 #: build/C/man4/sd.4:79
8767 msgid "Returns the BIOS disk parameters in the following structure:"
8768 msgstr ""
8769
8770 #. type: Plain text
8771 #: build/C/man4/sd.4:88
8772 #, no-wrap
8773 msgid ""
8774 "struct hd_geometry {\n"
8775 "    unsigned char  heads;\n"
8776 "    unsigned char  sectors;\n"
8777 "    unsigned short cylinders;\n"
8778 "    unsigned long  start;\n"
8779 "};\n"
8780 msgstr ""
8781
8782 #. type: Plain text
8783 #: build/C/man4/sd.4:94
8784 msgid "A pointer to this structure is passed as the B<ioctl>(2)  parameter."
8785 msgstr ""
8786
8787 #. type: Plain text
8788 #: build/C/man4/sd.4:109
8789 msgid ""
8790 "The information returned in the parameter is the disk geometry of the drive "
8791 "I<as understood by DOS!> This geometry is I<not> the physical geometry of "
8792 "the drive.  It is used when constructing the drive's partition table, "
8793 "however, and is needed for convenient operation of B<fdisk>(1), "
8794 "B<efdisk>(1), and B<lilo>(1).  If the geometry information is not available, "
8795 "zero will be returned for all of the parameters."
8796 msgstr ""
8797
8798 #. type: TP
8799 #: build/C/man4/sd.4:110
8800 #, no-wrap
8801 msgid "B<BLKGETSIZE>"
8802 msgstr ""
8803
8804 #. type: Plain text
8805 #: build/C/man4/sd.4:117
8806 msgid ""
8807 "Returns the device size in sectors.  The B<ioctl>(2)  parameter should be a "
8808 "pointer to a I<long>."
8809 msgstr ""
8810
8811 #. type: TP
8812 #: build/C/man4/sd.4:117
8813 #, no-wrap
8814 msgid "B<BLKRRPART>"
8815 msgstr ""
8816
8817 #. type: Plain text
8818 #: build/C/man4/sd.4:121
8819 msgid "Forces a reread of the SCSI disk partition tables.  No parameter is needed."
8820 msgstr ""
8821
8822 #. type: Plain text
8823 #: build/C/man4/sd.4:131
8824 msgid ""
8825 "The SCSI B<ioctl>(2)  operations are also supported.  If the B<ioctl>(2)  "
8826 "parameter is required, and it is NULL, then B<ioctl>(2)  will fail with the "
8827 "error B<EINVAL>."
8828 msgstr ""
8829
8830 #. type: Plain text
8831 #: build/C/man4/sd.4:133
8832 msgid "/dev/sd[a-h]: the whole device"
8833 msgstr ""
8834
8835 #. .SH "SEE ALSO"
8836 #. .BR scsi (4)
8837 #. type: Plain text
8838 #: build/C/man4/sd.4:137
8839 msgid "/dev/sd[a-h][0-8]: individual block partitions"
8840 msgstr ""
8841
8842 #. type: TH
8843 #: build/C/man3/setlogmask.3:25
8844 #, no-wrap
8845 msgid "SETLOGMASK"
8846 msgstr ""
8847
8848 #. type: TH
8849 #: build/C/man3/setlogmask.3:25
8850 #, no-wrap
8851 msgid "2001-10-05"
8852 msgstr ""
8853
8854 #. type: Plain text
8855 #: build/C/man3/setlogmask.3:28
8856 msgid "setlogmask - set log priority mask"
8857 msgstr ""
8858
8859 #. type: Plain text
8860 #: build/C/man3/setlogmask.3:31
8861 #, no-wrap
8862 msgid "B<#include E<lt>syslog.hE<gt>>\n"
8863 msgstr ""
8864
8865 #. type: Plain text
8866 #: build/C/man3/setlogmask.3:33
8867 #, no-wrap
8868 msgid "B<int setlogmask(int >I<mask>B<);>\n"
8869 msgstr ""
8870
8871 #. type: Plain text
8872 #: build/C/man3/setlogmask.3:43
8873 msgid ""
8874 "A process has a log priority mask that determines which calls to "
8875 "B<syslog>(3)  may be logged.  All other calls will be ignored.  Logging is "
8876 "enabled for the priorities that have the corresponding bit set in I<mask>.  "
8877 "The initial mask is such that logging is enabled for all priorities."
8878 msgstr ""
8879
8880 #. type: Plain text
8881 #: build/C/man3/setlogmask.3:49
8882 msgid ""
8883 "The B<setlogmask>()  function sets this logmask for the calling process, and "
8884 "returns the previous mask.  If the mask argument is 0, the current logmask "
8885 "is not modified."
8886 msgstr ""
8887
8888 #. type: Plain text
8889 #: build/C/man3/setlogmask.3:69
8890 msgid ""
8891 "The eight priorities are B<LOG_EMERG>, B<LOG_ALERT>, B<LOG_CRIT>, "
8892 "B<LOG_ERR>, B<LOG_WARNING>, B<LOG_NOTICE>, B<LOG_INFO>, and B<LOG_DEBUG>.  "
8893 "The bit corresponding to a priority I<p> is I<LOG_MASK(p)>.  Some systems "
8894 "also provide a macro I<LOG_UPTO(p)> for the mask of all priorities in the "
8895 "above list up to and including I<p>."
8896 msgstr ""
8897
8898 #. type: Plain text
8899 #: build/C/man3/setlogmask.3:71
8900 msgid "This function returns the previous log priority mask."
8901 msgstr ""
8902
8903 #.  .SH NOTES
8904 #.  The glibc logmask handling was broken in versions before glibc 2.1.1.
8905 #. type: Plain text
8906 #: build/C/man3/setlogmask.3:75
8907 msgid "None."
8908 msgstr ""
8909
8910 #. type: Plain text
8911 #: build/C/man3/setlogmask.3:78
8912 msgid "POSIX.1-2001.  Note that the description in POSIX.1-2001 is flawed."
8913 msgstr ""
8914
8915 #. type: Plain text
8916 #: build/C/man3/setlogmask.3:82
8917 msgid "B<closelog>(3), B<openlog>(3), B<syslog>(3)"
8918 msgstr ""
8919
8920 #. type: TH
8921 #: build/C/man4/sk98lin.4:27
8922 #, no-wrap
8923 msgid "SK98LIN"
8924 msgstr ""
8925
8926 #. type: Plain text
8927 #: build/C/man4/sk98lin.4:30
8928 msgid "sk98lin - Marvell/SysKonnect Gigabit Ethernet driver v6.21"
8929 msgstr ""
8930
8931 #. type: Plain text
8932 #: build/C/man4/sk98lin.4:62
8933 msgid ""
8934 "B<insmod sk98lin.o> [B<Speed_A=>I<i,j,...>] [B<Speed_B=>I<i,j,...>] "
8935 "[B<AutoNeg_A=>I<i,j,...>] [B<AutoNeg_B=>I<i,j,...>] [B<DupCap_A=>I<i,j,...>] "
8936 "[B<DupCap_B=>I<i,j,...>] [B<FlowCtrl_A=>I<i,j,...>] "
8937 "[B<FlowCtrl_B=>I<i,j,...>] [B<Role_A=>I<i,j,...>] [B<Role_B=>I<i,j,...>] "
8938 "[B<ConType=>I<i,j,...>] [B<Moderation=>I<i,j,...>] "
8939 "[B<IntsPerSec=>I<i,j,...>] [B<PrefPort=>I<i,j,...>] [B<RlmtMode=>I<i,j,...>]"
8940 msgstr ""
8941
8942 #. type: Plain text
8943 #: build/C/man4/sk98lin.4:67
8944 msgid "B<Note>: This obsolete driver was removed from the kernel in version 2.6.26."
8945 msgstr ""
8946
8947 #. type: Plain text
8948 #: build/C/man4/sk98lin.4:74
8949 msgid ""
8950 "B<sk98lin> is the Gigabit Ethernet driver for Marvell and SysKonnect network "
8951 "adapter cards.  It supports SysKonnect SK-98xx/SK-95xx compliant Gigabit "
8952 "Ethernet Adapter and any Yukon compliant chipset."
8953 msgstr ""
8954
8955 #. type: Plain text
8956 #: build/C/man4/sk98lin.4:81
8957 msgid ""
8958 "When loading the driver using insmod, parameters for the network adapter "
8959 "cards might be stated as a sequence of comma separated commands.  If for "
8960 "instance two network adapters are installed and AutoNegotiation on Port A of "
8961 "the first adapter should be ON, but on the Port A of the second adapter "
8962 "switched OFF, one must enter:"
8963 msgstr ""
8964
8965 #. type: Plain text
8966 #: build/C/man4/sk98lin.4:83
8967 #, no-wrap
8968 msgid "   insmod sk98lin.o AutoNeg_A=On,Off\n"
8969 msgstr ""
8970
8971 #. type: Plain text
8972 #: build/C/man4/sk98lin.4:98
8973 msgid ""
8974 "After B<sk98lin> is bound to one or more adapter cards and the I</proc> "
8975 "filesystem is mounted on your system, a dedicated statistics file will be "
8976 "created in the folder I</proc/net/sk98lin> for all ports of the installed "
8977 "network adapter cards.  Those files are named I<eth[x]>, where I<x> is the "
8978 "number of the interface that has been assigned to a dedicated port by the "
8979 "system."
8980 msgstr ""
8981
8982 #. type: Plain text
8983 #: build/C/man4/sk98lin.4:108
8984 msgid ""
8985 "If loading is finished, any desired IP address can be assigned to the "
8986 "respective I<eth[x]> interface using the B<ifconfig>(8)  command.  This "
8987 "causes the adapter to connect to the Ethernet and to display a status "
8988 "message on the console saying \"ethx: network connection up using port y\" "
8989 "followed by the configured or detected connection parameters."
8990 msgstr ""
8991
8992 #. type: Plain text
8993 #: build/C/man4/sk98lin.4:124
8994 msgid ""
8995 "The B<sk98lin> also supports large frames (also called jumbo frames).  Using "
8996 "jumbo frames can improve throughput tremendously when transferring large "
8997 "amounts of data.  To enable large frames, the MTU (maximum transfer unit) "
8998 "size for an interface is to be set to a high value.  The default MTU size is "
8999 "1500 and can be changed up to 9000 (bytes).  Setting the MTU size can be "
9000 "done when assigning the IP address to the interface or later by using the "
9001 "B<ifconfig>(8)  command with the mtu parameter.  If for instance eth0 needs "
9002 "an IP address and a large frame MTU size, the following two commands might "
9003 "be used:"
9004 msgstr ""
9005
9006 #. type: Plain text
9007 #: build/C/man4/sk98lin.4:127
9008 #, no-wrap
9009 msgid ""
9010 "    ifconfig eth0 10.1.1.1\n"
9011 "    ifconfig eth0 mtu 9000\n"
9012 msgstr ""
9013
9014 #. type: Plain text
9015 #: build/C/man4/sk98lin.4:129
9016 msgid "Those two commands might even be combined into one:"
9017 msgstr ""
9018
9019 #. type: Plain text
9020 #: build/C/man4/sk98lin.4:131
9021 #, no-wrap
9022 msgid "    ifconfig eth0 10.1.1.1 mtu 9000\n"
9023 msgstr ""
9024
9025 #. type: Plain text
9026 #: build/C/man4/sk98lin.4:144
9027 msgid ""
9028 "Note that large frames can be used only if permitted by your network "
9029 "infrastructure.  This means, that any switch being used in your Ethernet "
9030 "must also support large frames.  Quite some switches support large frames, "
9031 "but need to be configured to do so.  Most of the times, their default "
9032 "setting is to support only standard frames with an MTU size of 1500 "
9033 "(bytes).  In addition to the switches inside the network, all network "
9034 "adapters that are to be used must also be enabled regarding jumbo frames.  "
9035 "If an adapter is not set to receive large frames, it will simply drop them."
9036 msgstr ""
9037
9038 #. type: Plain text
9039 #: build/C/man4/sk98lin.4:148
9040 msgid ""
9041 "Switching back to the standard Ethernet frame size can be done by using the "
9042 "B<ifconfig>(8)  command again:"
9043 msgstr ""
9044
9045 #. type: Plain text
9046 #: build/C/man4/sk98lin.4:150
9047 #, no-wrap
9048 msgid "    ifconfig eth0 mtu 1500\n"
9049 msgstr ""
9050
9051 #. type: Plain text
9052 #: build/C/man4/sk98lin.4:156
9053 msgid ""
9054 "The Marvell/SysKonnect Gigabit Ethernet driver for Linux is able to support "
9055 "VLAN and Link Aggregation according to IEEE standards 802.1, 802.1q, and "
9056 "802.3ad.  Those features are available only after installation of open "
9057 "source modules which can be found on the Internet:"
9058 msgstr ""
9059
9060 #. type: Plain text
9061 #: build/C/man4/sk98lin.4:161
9062 msgid "I<VLAN>: E<.UR http://www.candelatech.com\\:/~greear\\:/vlan.html> E<.UE>"
9063 msgstr ""
9064
9065 #. type: Plain text
9066 #: build/C/man4/sk98lin.4:167
9067 msgid "I<Link> I<Aggregation>: E<.UR http://www.st.rim.or.jp\\:/~yumo> E<.UE>"
9068 msgstr ""
9069
9070 #. type: Plain text
9071 #: build/C/man4/sk98lin.4:172
9072 msgid ""
9073 "Note that Marvell/SysKonnect does not offer any support for these open "
9074 "source modules and does not take the responsibility for any kind of failures "
9075 "or problems arising when using these modules."
9076 msgstr ""
9077
9078 #. type: SS
9079 #: build/C/man4/sk98lin.4:172 build/C/man4/wavelan.4:39
9080 #, no-wrap
9081 msgid "Parameters"
9082 msgstr ""
9083
9084 #. type: TP
9085 #: build/C/man4/sk98lin.4:173
9086 #, no-wrap
9087 msgid "B<Speed_A=>I<i,j,...>"
9088 msgstr ""
9089
9090 #. type: Plain text
9091 #: build/C/man4/sk98lin.4:190
9092 msgid ""
9093 "This parameter is used to set the speed capabilities of port A of an adapter "
9094 "card.  It is valid only for Yukon copper adapters.  Possible values are: "
9095 "I<10>, I<100>, I<1000>, or I<Auto>; I<Auto> is the default.  Usually, the "
9096 "speed is negotiated between the two ports during link establishment.  If "
9097 "this fails, a port can be forced to a specific setting with this parameter."
9098 msgstr ""
9099
9100 #. type: TP
9101 #: build/C/man4/sk98lin.4:190
9102 #, no-wrap
9103 msgid "B<Speed_B=>I<i,j,...>"
9104 msgstr ""
9105
9106 #. type: Plain text
9107 #: build/C/man4/sk98lin.4:207
9108 msgid ""
9109 "This parameter is used to set the speed capabilities of port B of an adapter "
9110 "card.  It is valid only for Yukon copper adapters.  Possible values are: "
9111 "I<10>, I<100>, I<1000>, or I<Auto>; I<Auto> is the default.  Usually, the "
9112 "speed is negotiated between the two ports during link establishment.  If "
9113 "this fails, a port can be forced to a specific setting with this parameter."
9114 msgstr ""
9115
9116 #. type: TP
9117 #: build/C/man4/sk98lin.4:207
9118 #, no-wrap
9119 msgid "B<AutoNeg_A=>I<i,j,...>"
9120 msgstr ""
9121
9122 #. type: Plain text
9123 #: build/C/man4/sk98lin.4:221
9124 msgid ""
9125 "Enables or disables the use of autonegotiation of port A of an adapter "
9126 "card.  Possible values are: I<On>, I<Off>, or I<Sense>; I<On> is the "
9127 "default.  The I<Sense> mode automatically detects whether the link partner "
9128 "supports auto-negotiation or not."
9129 msgstr ""
9130
9131 #. type: TP
9132 #: build/C/man4/sk98lin.4:221
9133 #, no-wrap
9134 msgid "B<AutoNeg_B=>I<i,j,...>"
9135 msgstr ""
9136
9137 #. type: Plain text
9138 #: build/C/man4/sk98lin.4:235
9139 msgid ""
9140 "Enables or disables the use of autonegotiation of port B of an adapter "
9141 "card.  Possible values are: I<On>, I<Off>, or I<Sense>; I<On> is the "
9142 "default.  The I<Sense> mode automatically detects whether the link partner "
9143 "supports auto-negotiation or not."
9144 msgstr ""
9145
9146 #. type: TP
9147 #: build/C/man4/sk98lin.4:235
9148 #, no-wrap
9149 msgid "B<DupCap_A=>I<i,j,...>"
9150 msgstr ""
9151
9152 #. type: Plain text
9153 #: build/C/man4/sk98lin.4:265
9154 msgid ""
9155 "This parameter indicates the duplex mode to be used for port A of an adapter "
9156 "card.  Possible values are: I<Half>, I<Full>, or I<Both>; I<Both> is the "
9157 "default.  This parameter is relevant only if AutoNeg_A of port A is not set "
9158 "to I<Sense>.  If AutoNeg_A is set to I<On>, all three values of DupCap_A ( "
9159 "I<Half>, I<Full> or I<Both>)  might be stated.  If AutoNeg_A is set to "
9160 "I<Off>, only DupCap_A values I<Full> and I<Half> are allowed.  This DupCap_A "
9161 "parameter is useful if your link partner does not support all possible "
9162 "duplex combinations."
9163 msgstr ""
9164
9165 #. type: TP
9166 #: build/C/man4/sk98lin.4:265
9167 #, no-wrap
9168 msgid "B<DupCap_B=>I<i,j,...>"
9169 msgstr ""
9170
9171 #. type: Plain text
9172 #: build/C/man4/sk98lin.4:295
9173 msgid ""
9174 "This parameter indicates the duplex mode to be used for port B of an adapter "
9175 "card.  Possible values are: I<Half>, I<Full>, or I<Both>; I<Both> is the "
9176 "default.  This parameter is relevant only if AutoNeg_B of port B is not set "
9177 "to I<Sense>.  If AutoNeg_B is set to I<On>, all three values of DupCap_B ( "
9178 "I<Half>, I<Full> or I<Both>)  might be stated.  If AutoNeg_B is set to "
9179 "I<Off>, only DupCap_B values I<Full> and I<Half> are allowed.  This DupCap_B "
9180 "parameter is useful if your link partner does not support all possible "
9181 "duplex combinations."
9182 msgstr ""
9183
9184 #. type: TP
9185 #: build/C/man4/sk98lin.4:295
9186 #, no-wrap
9187 msgid "B<FlowCtrl_A=>I<i,j,...>"
9188 msgstr ""
9189
9190 #. type: Plain text
9191 #: build/C/man4/sk98lin.4:308 build/C/man4/sk98lin.4:341
9192 msgid ""
9193 "This parameter can be used to set the flow control capabilities the port "
9194 "reports during auto-negotiation.  Possible values are: I<Sym>, I<SymOrRem>, "
9195 "I<LocSend>, or I<None>; I<SymOrRem> is the default.  The different modes "
9196 "have the following meaning:"
9197 msgstr ""
9198
9199 #. type: Plain text
9200 #: build/C/man4/sk98lin.4:313 build/C/man4/sk98lin.4:345
9201 #, no-wrap
9202 msgid ""
9203 "I<Sym>\n"
9204 "= Symmetric\n"
9205 " both link partners are allowed to send PAUSE frames\n"
9206 msgstr ""
9207
9208 #. type: Plain text
9209 #: build/C/man4/sk98lin.4:317 build/C/man4/sk98lin.4:349
9210 #, no-wrap
9211 msgid ""
9212 "I<SymOrRem>\n"
9213 "= SymmetricOrRemote\n"
9214 " both or only remote partner are allowed to send PAUSE frames\n"
9215 msgstr ""
9216
9217 #. type: Plain text
9218 #: build/C/man4/sk98lin.4:321 build/C/man4/sk98lin.4:353
9219 #, no-wrap
9220 msgid ""
9221 "I<LocSend>\n"
9222 "= LocalSend\n"
9223 " only local link partner is allowed to send PAUSE frames\n"
9224 msgstr ""
9225
9226 #. type: Plain text
9227 #: build/C/man4/sk98lin.4:325 build/C/man4/sk98lin.4:357
9228 #, no-wrap
9229 msgid ""
9230 "I<None>\n"
9231 "= None\n"
9232 " no link partner is allowed to send PAUSE frames\n"
9233 msgstr ""
9234
9235 #. type: Plain text
9236 #: build/C/man4/sk98lin.4:328
9237 msgid "Note that this parameter is ignored if AutoNeg_A is set to I<Off>."
9238 msgstr ""
9239
9240 #. type: TP
9241 #: build/C/man4/sk98lin.4:328
9242 #, no-wrap
9243 msgid "B<FlowCtrl_B=>I<i,j,...>"
9244 msgstr ""
9245
9246 #. type: Plain text
9247 #: build/C/man4/sk98lin.4:361
9248 msgid "Note that this parameter is ignored if AutoNeg_B is set to I<Off>."
9249 msgstr ""
9250
9251 #. type: TP
9252 #: build/C/man4/sk98lin.4:361
9253 #, no-wrap
9254 msgid "B<Role_A=>I<i,j,...>"
9255 msgstr ""
9256
9257 #. type: Plain text
9258 #: build/C/man4/sk98lin.4:377
9259 msgid ""
9260 "This parameter is valid only for 1000Base-T adapter cards.  For two "
9261 "1000Base-T ports to communicate, one must take the role of the master "
9262 "(providing timing information), while the other must be the slave.  Possible "
9263 "values are: I<Auto>, I<Master>, or I<Slave>; I<Auto> is the default.  "
9264 "Usually, the role of a port is negotiated between two ports during link "
9265 "establishment, but if that fails the port A of an adapter card can be forced "
9266 "to a specific setting with this parameter."
9267 msgstr ""
9268
9269 #. type: TP
9270 #: build/C/man4/sk98lin.4:377
9271 #, no-wrap
9272 msgid "B<Role_B=>I<i,j,...>"
9273 msgstr ""
9274
9275 #. type: Plain text
9276 #: build/C/man4/sk98lin.4:394
9277 msgid ""
9278 "This parameter is valid only for 1000Base-T adapter cards.  For two "
9279 "1000Base-T ports to communicate, one must take the role of the master "
9280 "(providing timing information), while the other must be the slave.  Possible "
9281 "values are: I<Auto>, I<Master>, or I<Slave>; I<Auto> is the default.  "
9282 "Usually, the role of a port is negotiated between two ports during link "
9283 "establishment, but if that fails the port B of an adapter card can be forced "
9284 "to a specific setting with this parameter."
9285 msgstr ""
9286
9287 #. type: TP
9288 #: build/C/man4/sk98lin.4:394
9289 #, no-wrap
9290 msgid "B<ConType=>I<i,j,...>"
9291 msgstr ""
9292
9293 #. type: Plain text
9294 #: build/C/man4/sk98lin.4:402
9295 msgid ""
9296 "This parameter is a combination of all five per-port parameters within one "
9297 "single parameter.  This simplifies the configuration of both ports of an "
9298 "adapter card.  The different values of this variable reflect the most "
9299 "meaningful combinations of port parameters.  Possible values and their "
9300 "corresponding combination of per-port parameters:"
9301 msgstr ""
9302
9303 #. type: Plain text
9304 #: build/C/man4/sk98lin.4:407
9305 #, no-wrap
9306 msgid ""
9307 "ConType | DupCap   AutoNeg   FlowCtrl   Role   Speed\n"
9308 "--------+-------------------------------------------\n"
9309 "I<Auto>    |  Both      On      SymOrRem   Auto   Auto\n"
9310 msgstr ""
9311
9312 #. type: Plain text
9313 #: build/C/man4/sk98lin.4:409
9314 #, no-wrap
9315 msgid "I<100FD>   |  Full      Off       None     Auto   100\n"
9316 msgstr ""
9317
9318 #. type: Plain text
9319 #: build/C/man4/sk98lin.4:411
9320 #, no-wrap
9321 msgid "I<100HD>   |  Half      Off       None     Auto   100\n"
9322 msgstr ""
9323
9324 #. type: Plain text
9325 #: build/C/man4/sk98lin.4:413
9326 #, no-wrap
9327 msgid "I<10FD>    |  Full      Off       None     Auto   10\n"
9328 msgstr ""
9329
9330 #. type: Plain text
9331 #: build/C/man4/sk98lin.4:415
9332 #, no-wrap
9333 msgid "I<10HD>    |  Half      Off       None     Auto   10\n"
9334 msgstr ""
9335
9336 #. type: Plain text
9337 #: build/C/man4/sk98lin.4:425
9338 msgid ""
9339 "Stating any other port parameter together with this I<ConType> parameter "
9340 "will result in a merged configuration of those settings.  This is due to the "
9341 "fact, that the per-port parameters (e.g., I<Speed_A>)  have a higher "
9342 "priority than the combined variable I<ConType>."
9343 msgstr ""
9344
9345 #. type: TP
9346 #: build/C/man4/sk98lin.4:425
9347 #, no-wrap
9348 msgid "B<Moderation=>I<i,j,...>"
9349 msgstr ""
9350
9351 #. type: Plain text
9352 #: build/C/man4/sk98lin.4:442
9353 msgid ""
9354 "Interrupt moderation is employed to limit the maximum number of interrupts "
9355 "the driver has to serve.  That is, one or more interrupts (which indicate "
9356 "any transmit or receive packet to be processed) are queued until the driver "
9357 "processes them.  When queued interrupts are to be served, is determined by "
9358 "the I<IntsPerSec> parameter, which is explained later below.  Possible "
9359 "moderation modes are: I<None>, I<Static>, or I<Dynamic>; I<None> is the "
9360 "default.  The different modes have the following meaning:"
9361 msgstr ""
9362
9363 #. type: Plain text
9364 #: build/C/man4/sk98lin.4:447
9365 msgid ""
9366 "I<None> No interrupt moderation is applied on the adapter card.  Therefore, "
9367 "each transmit or receive interrupt is served immediately as soon as it "
9368 "appears on the interrupt line of the adapter card."
9369 msgstr ""
9370
9371 #. type: Plain text
9372 #: build/C/man4/sk98lin.4:462
9373 msgid ""
9374 "I<Static> Interrupt moderation is applied on the adapter card.  All transmit "
9375 "and receive interrupts are queued until a complete moderation interval "
9376 "ends.  If such a moderation interval ends, all queued interrupts are "
9377 "processed in one big bunch without any delay.  The term I<Static> reflects "
9378 "the fact, that interrupt moderation is always enabled, regardless how much "
9379 "network load is currently passing via a particular interface.  In addition, "
9380 "the duration of the moderation interval has a fixed length that never "
9381 "changes while the driver is operational."
9382 msgstr ""
9383
9384 #. type: Plain text
9385 #: build/C/man4/sk98lin.4:473
9386 msgid ""
9387 "I<Dynamic> Interrupt moderation might be applied on the adapter card, "
9388 "depending on the load of the system.  If the driver detects that the system "
9389 "load is too high, the driver tries to shield the system against too much "
9390 "network load by enabling interrupt moderation.  If\\(emat a later "
9391 "time\\(emthe CPU utilization decreases again (or if the network load is "
9392 "negligible), the interrupt moderation will automatically be disabled."
9393 msgstr ""
9394
9395 #. type: Plain text
9396 #: build/C/man4/sk98lin.4:479
9397 msgid ""
9398 "Interrupt moderation should be used when the driver has to handle one or "
9399 "more interfaces with a high network load, which\\(emas a "
9400 "consequence\\(emleads also to a high CPU utilization.  When moderation is "
9401 "applied in such high network load situations, CPU load might be reduced by "
9402 "20-30% on slow computers."
9403 msgstr ""
9404
9405 #. type: Plain text
9406 #: build/C/man4/sk98lin.4:483
9407 msgid ""
9408 "Note that the drawback of using interrupt moderation is an increase of the "
9409 "round-trip-time (RTT), due to the queuing and serving of interrupts at "
9410 "dedicated moderation times."
9411 msgstr ""
9412
9413 #. type: TP
9414 #: build/C/man4/sk98lin.4:483
9415 #, no-wrap
9416 msgid "B<IntsPerSec=>I<i,j,...>"
9417 msgstr ""
9418
9419 #. type: Plain text
9420 #: build/C/man4/sk98lin.4:493
9421 msgid ""
9422 "This parameter determines the length of any interrupt moderation interval.  "
9423 "Assuming that static interrupt moderation is to be used, an I<IntsPerSec> "
9424 "parameter value of 2000 will lead to an interrupt moderation interval of 500 "
9425 "microseconds.  Possible values for this parameter are in the range of "
9426 "30...40000 (interrupts per second).  The default value is 2000."
9427 msgstr ""
9428
9429 #. type: Plain text
9430 #: build/C/man4/sk98lin.4:497
9431 msgid ""
9432 "This parameter is used only if either static or dynamic interrupt moderation "
9433 "is enabled on a network adapter card.  This parameter is ignored if no "
9434 "moderation is applied."
9435 msgstr ""
9436
9437 #. type: Plain text
9438 #: build/C/man4/sk98lin.4:504
9439 msgid ""
9440 "Note that the duration of the moderation interval is to be chosen with "
9441 "care.  At first glance, selecting a very long duration (e.g., only 100 "
9442 "interrupts per second) seems to be meaningful, but the increase of "
9443 "packet-processing delay is tremendous.  On the other hand, selecting a very "
9444 "short moderation time might compensate the use of any moderation being "
9445 "applied."
9446 msgstr ""
9447
9448 #. type: TP
9449 #: build/C/man4/sk98lin.4:504
9450 #, no-wrap
9451 msgid "B<PrefPort=>I<i,j,...>"
9452 msgstr ""
9453
9454 #. type: Plain text
9455 #: build/C/man4/sk98lin.4:516
9456 msgid ""
9457 "This parameter is used to force the preferred port to A or B (on dual-port "
9458 "network adapters).  The preferred port is the one that is used if both ports "
9459 "A and B are detected as fully functional.  Possible values are: I<A> or "
9460 "I<B>; I<A> is the default."
9461 msgstr ""
9462
9463 #. type: TP
9464 #: build/C/man4/sk98lin.4:516
9465 #, no-wrap
9466 msgid "B<RlmtMode=>I<i,j,...>"
9467 msgstr ""
9468
9469 #. type: Plain text
9470 #: build/C/man4/sk98lin.4:532
9471 msgid ""
9472 "RLMT monitors the status of the port.  If the link of the active port fails, "
9473 "RLMT switches immediately to the standby link.  The virtual link is "
9474 "maintained as long as at least one \"physical\" link is up.  This parameters "
9475 "states how RLMT should monitor both ports.  Possible values are: "
9476 "I<CheckLinkState>, I<CheckLocalPort>, I<CheckSeg>, or I<DualNet>; "
9477 "I<CheckLinkState> is the default.  The different modes have the following "
9478 "meaning:"
9479 msgstr ""
9480
9481 #. type: Plain text
9482 #: build/C/man4/sk98lin.4:537
9483 msgid ""
9484 "I<CheckLinkState> Check link state only: RLMT uses the link state reported "
9485 "by the adapter hardware for each individual port to determine whether a port "
9486 "can be used for all network traffic or not."
9487 msgstr ""
9488
9489 #. type: Plain text
9490 #: build/C/man4/sk98lin.4:545
9491 msgid ""
9492 "I<CheckLocalPort> In this mode, RLMT monitors the network path between the "
9493 "two ports of an adapter by regularly exchanging packets between them.  This "
9494 "mode requires a network configuration in which the two ports are able to "
9495 "\"see\" each other (i.e., there must not be any router between the ports)."
9496 msgstr ""
9497
9498 #. type: Plain text
9499 #: build/C/man4/sk98lin.4:554
9500 msgid ""
9501 "I<CheckSeg> Check local port and segmentation: This mode supports the same "
9502 "functions as the CheckLocalPort mode and additionally checks network "
9503 "segmentation between the ports.  Therefore, this mode is to be used only if "
9504 "Gigabit Ethernet switches are installed on the network that have been "
9505 "configured to use the Spanning Tree protocol."
9506 msgstr ""
9507
9508 #. type: Plain text
9509 #: build/C/man4/sk98lin.4:565
9510 msgid ""
9511 "I<DualNet> In this mode, ports A and B are used as separate devices.  If you "
9512 "have a dual port adapter, port A will be configured as I<eth[x]> and port B "
9513 "as I<eth[x+1]>.  Both ports can be used independently with distinct IP "
9514 "addresses.  The preferred port setting is not used.  RLMT is turned off."
9515 msgstr ""
9516
9517 #. type: Plain text
9518 #: build/C/man4/sk98lin.4:574
9519 msgid ""
9520 "Note that RLMT modes I<CheckLocalPort> and I<CheckLinkState> are designed to "
9521 "operate in configurations where a network path between the ports on one "
9522 "adapter exists.  Moreover, they are not designed to work where adapters are "
9523 "connected back-to-back."
9524 msgstr ""
9525
9526 #. type: TP
9527 #: build/C/man4/sk98lin.4:575
9528 #, no-wrap
9529 msgid "I</proc/net/sk98lin/eth[x]>"
9530 msgstr ""
9531
9532 #. type: Plain text
9533 #: build/C/man4/sk98lin.4:581
9534 msgid ""
9535 "The statistics file of a particular interface of an adapter card.  It "
9536 "contains generic information about the adapter card plus a detailed summary "
9537 "of all transmit and receive counters."
9538 msgstr ""
9539
9540 #. type: TP
9541 #: build/C/man4/sk98lin.4:581
9542 #, no-wrap
9543 msgid "I</usr/src/linux/Documentation/networking/sk98lin.txt>"
9544 msgstr ""
9545
9546 #. type: Plain text
9547 #: build/C/man4/sk98lin.4:592
9548 msgid ""
9549 "This is the I<README> file of the I<sk98lin> driver.  It contains a detailed "
9550 "installation HOWTO and describes all parameters of the driver.  It denotes "
9551 "also common problems and provides the solution to them."
9552 msgstr ""
9553
9554 #.  .SH AUTHORS
9555 #.  Ralph Roesler \(em rroesler@syskonnect.de
9556 #.  .br
9557 #.  Mirko Lindner \(em mlindner@syskonnect.de
9558 #. type: Plain text
9559 #: build/C/man4/sk98lin.4:598
9560 msgid "Report any bugs to linux@syskonnect.de"
9561 msgstr ""
9562
9563 #. type: Plain text
9564 #: build/C/man4/sk98lin.4:602
9565 msgid "B<ifconfig>(8), B<insmod>(8), B<modprobe>(8)"
9566 msgstr ""
9567
9568 #. type: TH
9569 #: build/C/man4/st.4:25
9570 #, no-wrap
9571 msgid "ST"
9572 msgstr ""
9573
9574 #. type: Plain text
9575 #: build/C/man4/st.4:28
9576 msgid "st - SCSI tape device"
9577 msgstr ""
9578
9579 #. type: Plain text
9580 #: build/C/man4/st.4:31
9581 #, no-wrap
9582 msgid "B<#include E<lt>sys/mtio.hE<gt>>\n"
9583 msgstr ""
9584
9585 #. type: Plain text
9586 #: build/C/man4/st.4:36
9587 #, no-wrap
9588 msgid ""
9589 "B<int ioctl(int >I<fd>B<, int >I<request>B< [, (void *)>I<arg3>B<]);>\n"
9590 "B<int ioctl(int >I<fd>B<, MTIOCTOP, (struct mtop *)>I<mt_cmd>B<);>\n"
9591 "B<int ioctl(int >I<fd>B<, MTIOCGET, (struct mtget *)>I<mt_status>B<);>\n"
9592 "B<int ioctl(int >I<fd>B<, MTIOCPOS, (struct mtpos *)>I<mt_pos>B<);>\n"
9593 msgstr ""
9594
9595 #. type: Plain text
9596 #: build/C/man4/st.4:46
9597 msgid ""
9598 "The B<st> driver provides the interface to a variety of SCSI tape devices.  "
9599 "Currently, the driver takes control of all detected devices of type "
9600 "\\(lqsequential-access\\(rq.  The B<st> driver uses major device number 9."
9601 msgstr ""
9602
9603 #. type: Plain text
9604 #: build/C/man4/st.4:66
9605 msgid ""
9606 "Each device uses eight minor device numbers.  The lowermost five bits in the "
9607 "minor numbers are assigned sequentially in the order of detection.  In the "
9608 "2.6 kernel, the bits above the eight lowermost bits are concatenated to the "
9609 "five lowermost bits to form the tape number.  The minor numbers can be "
9610 "grouped into two sets of four numbers: the principal (auto-rewind) minor "
9611 "device numbers, I<n>, and the \\(lqno-rewind\\(rq device numbers, (I<n> + "
9612 "128).  Devices opened using the principal device number will be sent a "
9613 "B<REWIND> command when they are closed.  Devices opened using the "
9614 "\\(lqno-rewind\\(rq device number will not.  (Note that using an auto-rewind "
9615 "device for positioning the tape with, for instance, mt does not lead to the "
9616 "desired result: the tape is rewound after the mt command and the next "
9617 "command starts from the beginning of the tape)."
9618 msgstr ""
9619
9620 #. type: Plain text
9621 #: build/C/man4/st.4:80
9622 msgid ""
9623 "Within each group, four minor numbers are available to define devices with "
9624 "different characteristics (block size, compression, density, etc.)  When the "
9625 "system starts up, only the first device is available.  The other three are "
9626 "activated when the default characteristics are defined (see below).  (By "
9627 "changing compile-time constants, it is possible to change the balance "
9628 "between the maximum number of tape drives and the number of minor numbers "
9629 "for each drive.  The default allocation allows control of 32 tape drives.  "
9630 "For instance, it is possible to control up to 64 tape drives with two minor "
9631 "numbers for different options.)"
9632 msgstr ""
9633
9634 #. type: Plain text
9635 #: build/C/man4/st.4:82
9636 msgid "Devices are typically created by:"
9637 msgstr ""
9638
9639 #. type: Plain text
9640 #: build/C/man4/st.4:93
9641 #, no-wrap
9642 msgid ""
9643 "mknod -m 666 /dev/st0 c 9 0\n"
9644 "mknod -m 666 /dev/st0l c 9 32\n"
9645 "mknod -m 666 /dev/st0m c 9 64\n"
9646 "mknod -m 666 /dev/st0a c 9 96\n"
9647 "mknod -m 666 /dev/nst0 c 9 128\n"
9648 "mknod -m 666 /dev/nst0l c 9 160\n"
9649 "mknod -m 666 /dev/nst0m c 9 192\n"
9650 "mknod -m 666 /dev/nst0a c 9 224\n"
9651 msgstr ""
9652
9653 #. type: Plain text
9654 #: build/C/man4/st.4:97
9655 msgid "There is no corresponding block device."
9656 msgstr ""
9657
9658 #. type: Plain text
9659 #: build/C/man4/st.4:112
9660 msgid ""
9661 "The driver uses an internal buffer that has to be large enough to hold at "
9662 "least one tape block.  In kernels before 2.1.121, the buffer is allocated as "
9663 "one contiguous block.  This limits the block size to the largest contiguous "
9664 "block of memory the kernel allocator can provide.  The limit is currently "
9665 "128 kB for 32-bit architectures and 256 kB for 64-bit architectures.  In "
9666 "newer kernels the driver allocates the buffer in several parts if "
9667 "necessary.  By default, the maximum number of parts is 16.  This means that "
9668 "the maximum block size is very large (2 MB if allocation of 16 blocks of 128 "
9669 "kB succeeds)."
9670 msgstr ""
9671
9672 #. type: Plain text
9673 #: build/C/man4/st.4:121
9674 msgid ""
9675 "The driver's internal buffer size is determined by a compile-time constant "
9676 "which can be overridden with a kernel startup option.  In addition to this, "
9677 "the driver tries to allocate a larger temporary buffer at run time if "
9678 "necessary.  However, run-time allocation of large contiguous blocks of "
9679 "memory may fail and it is advisable not to rely too much on dynamic buffer "
9680 "allocation with kernels older than 2.1.121 (this applies also to "
9681 "demand-loading the driver with kerneld or kmod)."
9682 msgstr ""
9683
9684 #. type: Plain text
9685 #: build/C/man4/st.4:134
9686 msgid ""
9687 "The driver does not specifically support any tape drive brand or model.  "
9688 "After system start-up the tape device options are defined by the drive "
9689 "firmware.  For example, if the drive firmware selects fixed-block mode, the "
9690 "tape device uses fixed-block mode.  The options can be changed with explicit "
9691 "B<ioctl>(2)  calls and remain in effect when the device is closed and "
9692 "reopened.  Setting the options affects both the auto-rewind and the "
9693 "nonrewind device."
9694 msgstr ""
9695
9696 #. type: Plain text
9697 #: build/C/man4/st.4:143
9698 msgid ""
9699 "Different options can be specified for the different devices within the "
9700 "subgroup of four.  The options take effect when the device is opened.  For "
9701 "example, the system administrator can define one device that writes in "
9702 "fixed-block mode with a certain block size, and one which writes in "
9703 "variable-block mode (if the drive supports both modes)."
9704 msgstr ""
9705
9706 #. type: Plain text
9707 #: build/C/man4/st.4:166
9708 msgid ""
9709 "The driver supports B<tape partitions> if they are supported by the drive.  "
9710 "(Note that the tape partitions have nothing to do with disk partitions.  A "
9711 "partitioned tape can be seen as several logical tapes within one medium.)  "
9712 "Partition support has to be enabled with an B<ioctl>(2).  The tape location "
9713 "is preserved within each partition across partition changes.  The partition "
9714 "used for subsequent tape operations is selected with an B<ioctl>(2).  The "
9715 "partition switch is executed together with the next tape operation in order "
9716 "to avoid unnecessary tape movement.  The maximum number of partitions on a "
9717 "tape is defined by a compile-time constant (originally four).  The driver "
9718 "contains an B<ioctl>(2)  that can format a tape with either one or two "
9719 "partitions."
9720 msgstr ""
9721
9722 #. type: Plain text
9723 #: build/C/man4/st.4:171
9724 msgid ""
9725 "Device I</dev/tape> is usually created as a hard or soft link to the default "
9726 "tape device on the system."
9727 msgstr ""
9728
9729 #. type: Plain text
9730 #: build/C/man4/st.4:175
9731 msgid ""
9732 "Starting from kernel 2.6.2, the driver exports in the sysfs directory "
9733 "I</sys/class/scsi_tape> the attached devices and some parameters assigned to "
9734 "the devices."
9735 msgstr ""
9736
9737 #. type: SS
9738 #: build/C/man4/st.4:175
9739 #, no-wrap
9740 msgid "Data transfer"
9741 msgstr ""
9742
9743 #. type: Plain text
9744 #: build/C/man4/st.4:188
9745 msgid ""
9746 "The driver supports operation in both fixed-block mode and variable-block "
9747 "mode (if supported by the drive).  In fixed-block mode the drive writes "
9748 "blocks of the specified size and the block size is not dependent on the byte "
9749 "counts of the write system calls.  In variable-block mode one tape block is "
9750 "written for each write call and the byte count determines the size of the "
9751 "corresponding tape block.  Note that the blocks on the tape don't contain "
9752 "any information about the writing mode: when reading, the only important "
9753 "thing is to use commands that accept the block sizes on the tape."
9754 msgstr ""
9755
9756 #. type: Plain text
9757 #: build/C/man4/st.4:197
9758 msgid ""
9759 "In variable-block mode the read byte count does not have to match the tape "
9760 "block size exactly.  If the byte count is larger than the next block on "
9761 "tape, the driver returns the data and the function returns the actual block "
9762 "size.  If the block size is larger than the byte count, the requested amount "
9763 "of data from the start of the block is returned and the rest of the block is "
9764 "discarded."
9765 msgstr ""
9766
9767 #. type: Plain text
9768 #: build/C/man4/st.4:206
9769 msgid ""
9770 "In fixed-block mode the read byte counts can be arbitrary if buffering is "
9771 "enabled, or a multiple of the tape block size if buffering is disabled.  "
9772 "Kernels before 2.1.121 allow writes with arbitrary byte count if buffering "
9773 "is enabled.  In all other cases (kernel before 2.1.121 with buffering "
9774 "disabled or newer kernel) the write byte count must be a multiple of the "
9775 "tape block size."
9776 msgstr ""
9777
9778 #. type: Plain text
9779 #: build/C/man4/st.4:215
9780 msgid ""
9781 "In the 2.6 kernel, the driver tries to use direct transfers between the user "
9782 "buffer and the device.  If this is not possible, the driver's internal "
9783 "buffer is used.  The reasons for not using direct transfers include improper "
9784 "alignment of the user buffer (default is 512 bytes but this can be changed "
9785 "by the HBA driver), one or more pages of the user buffer not reachable by "
9786 "the SCSI adapter, and so on."
9787 msgstr ""
9788
9789 #. type: Plain text
9790 #: build/C/man4/st.4:218
9791 msgid ""
9792 "A filemark is automatically written to tape if the last tape operation "
9793 "before close was a write."
9794 msgstr ""
9795
9796 #. type: Plain text
9797 #: build/C/man4/st.4:230
9798 msgid ""
9799 "When a filemark is encountered while reading, the following happens.  If "
9800 "there are data remaining in the buffer when the filemark is found, the "
9801 "buffered data is returned.  The next read returns zero bytes.  The following "
9802 "read returns data from the next file.  The end of recorded data is signaled "
9803 "by returning zero bytes for two consecutive read calls.  The third read "
9804 "returns an error."
9805 msgstr ""
9806
9807 #. type: SS
9808 #: build/C/man4/st.4:230
9809 #, no-wrap
9810 msgid "Ioctls"
9811 msgstr ""
9812
9813 #. type: Plain text
9814 #: build/C/man4/st.4:241
9815 msgid ""
9816 "The driver supports three B<ioctl>(2)  requests.  Requests not recognized by "
9817 "the B<st> driver are passed to the B<SCSI> driver.  The definitions below "
9818 "are from I</usr/include/linux/mtio.h>:"
9819 msgstr ""
9820
9821 #. type: SS
9822 #: build/C/man4/st.4:241
9823 #, no-wrap
9824 msgid "MTIOCTOP \\(em perform a tape operation"
9825 msgstr ""
9826
9827 #. type: Plain text
9828 #: build/C/man4/st.4:249
9829 msgid ""
9830 "This request takes an argument of type I<(struct mtop\\ *)>.  Not all drives "
9831 "support all operations.  The driver returns an B<EIO> error if the drive "
9832 "rejects an operation."
9833 msgstr ""
9834
9835 #. type: Plain text
9836 #: build/C/man4/st.4:257
9837 #, no-wrap
9838 msgid ""
9839 "/* Structure for MTIOCTOP - mag tape op command: */\n"
9840 "struct mtop {\n"
9841 "    short   mt_op;       /* operations defined below */\n"
9842 "    int     mt_count;    /* how many of them */\n"
9843 "};\n"
9844 msgstr ""
9845
9846 #. type: Plain text
9847 #: build/C/man4/st.4:261
9848 msgid "Magnetic Tape operations for normal tape use:"
9849 msgstr ""
9850
9851 #. type: TP
9852 #: build/C/man4/st.4:261
9853 #, no-wrap
9854 msgid "B<MTBSF>"
9855 msgstr ""
9856
9857 #. type: Plain text
9858 #: build/C/man4/st.4:266
9859 msgid "Backward space over I<mt_count> filemarks."
9860 msgstr ""
9861
9862 #. type: TP
9863 #: build/C/man4/st.4:266
9864 #, no-wrap
9865 msgid "B<MTBSFM>"
9866 msgstr ""
9867
9868 #. type: Plain text
9869 #: build/C/man4/st.4:272
9870 msgid ""
9871 "Backward space over I<mt_count> filemarks.  Reposition the tape to the EOT "
9872 "side of the last filemark."
9873 msgstr ""
9874
9875 #. type: TP
9876 #: build/C/man4/st.4:272
9877 #, no-wrap
9878 msgid "B<MTBSR>"
9879 msgstr ""
9880
9881 #. type: Plain text
9882 #: build/C/man4/st.4:277
9883 msgid "Backward space over I<mt_count> records (tape blocks)."
9884 msgstr ""
9885
9886 #. type: TP
9887 #: build/C/man4/st.4:277
9888 #, no-wrap
9889 msgid "B<MTBSS>"
9890 msgstr ""
9891
9892 #. type: Plain text
9893 #: build/C/man4/st.4:282
9894 msgid "Backward space over I<mt_count> setmarks."
9895 msgstr ""
9896
9897 #. type: TP
9898 #: build/C/man4/st.4:282
9899 #, no-wrap
9900 msgid "B<MTCOMPRESSION>"
9901 msgstr ""
9902
9903 #. type: Plain text
9904 #: build/C/man4/st.4:290
9905 msgid ""
9906 "Enable compression of tape data within the drive if I<mt_count> is nonzero "
9907 "and disable compression if I<mt_count> is zero.  This command uses the MODE "
9908 "page 15 supported by most DATs."
9909 msgstr ""
9910
9911 #. type: TP
9912 #: build/C/man4/st.4:290
9913 #, no-wrap
9914 msgid "B<MTEOM>"
9915 msgstr ""
9916
9917 #. type: Plain text
9918 #: build/C/man4/st.4:293
9919 msgid "Go to the end of the recorded media (for appending files)."
9920 msgstr ""
9921
9922 #. type: TP
9923 #: build/C/man4/st.4:293
9924 #, no-wrap
9925 msgid "B<MTERASE>"
9926 msgstr ""
9927
9928 #. type: Plain text
9929 #: build/C/man4/st.4:299
9930 msgid ""
9931 "Erase tape.  With 2.6 kernel, short erase (mark tape empty) is performed if "
9932 "the argument is zero.  Otherwise long erase (erase all) is done."
9933 msgstr ""
9934
9935 #. type: TP
9936 #: build/C/man4/st.4:299
9937 #, no-wrap
9938 msgid "B<MTFSF>"
9939 msgstr ""
9940
9941 #. type: Plain text
9942 #: build/C/man4/st.4:304
9943 msgid "Forward space over I<mt_count> filemarks."
9944 msgstr ""
9945
9946 #. type: TP
9947 #: build/C/man4/st.4:304
9948 #, no-wrap
9949 msgid "B<MTFSFM>"
9950 msgstr ""
9951
9952 #. type: Plain text
9953 #: build/C/man4/st.4:310
9954 msgid ""
9955 "Forward space over I<mt_count> filemarks.  Reposition the tape to the BOT "
9956 "side of the last filemark."
9957 msgstr ""
9958
9959 #. type: TP
9960 #: build/C/man4/st.4:310
9961 #, no-wrap
9962 msgid "B<MTFSR>"
9963 msgstr ""
9964
9965 #. type: Plain text
9966 #: build/C/man4/st.4:315
9967 msgid "Forward space over I<mt_count> records (tape blocks)."
9968 msgstr ""
9969
9970 #. type: TP
9971 #: build/C/man4/st.4:315
9972 #, no-wrap
9973 msgid "B<MTFSS>"
9974 msgstr ""
9975
9976 #. type: Plain text
9977 #: build/C/man4/st.4:320
9978 msgid "Forward space over I<mt_count> setmarks."
9979 msgstr ""
9980
9981 #. type: TP
9982 #: build/C/man4/st.4:320
9983 #, no-wrap
9984 msgid "B<MTLOAD>"
9985 msgstr ""
9986
9987 #. type: Plain text
9988 #: build/C/man4/st.4:331
9989 msgid ""
9990 "Execute the SCSI load command.  A special case is available for some HP "
9991 "autoloaders.  If I<mt_count> is the constant B<MT_ST_HPLOADER_OFFSET> plus a "
9992 "number, the number is sent to the drive to control the autoloader."
9993 msgstr ""
9994
9995 #. type: TP
9996 #: build/C/man4/st.4:331
9997 #, no-wrap
9998 msgid "B<MTLOCK>"
9999 msgstr ""
10000
10001 #. type: Plain text
10002 #: build/C/man4/st.4:334
10003 msgid "Lock the tape drive door."
10004 msgstr ""
10005
10006 #. type: TP
10007 #: build/C/man4/st.4:334
10008 #, no-wrap
10009 msgid "B<MTMKPART>"
10010 msgstr ""
10011
10012 #. type: Plain text
10013 #: build/C/man4/st.4:348
10014 msgid ""
10015 "Format the tape into one or two partitions.  If I<mt_count> is nonzero, it "
10016 "gives the size of the first partition and the second partition contains the "
10017 "rest of the tape.  If I<mt_count> is zero, the tape is formatted into one "
10018 "partition.  This command is not allowed for a drive unless the partition "
10019 "support is enabled for the drive (see B<MT_ST_CAN_PARTITIONS> below)."
10020 msgstr ""
10021
10022 #. type: TP
10023 #: build/C/man4/st.4:348
10024 #, no-wrap
10025 msgid "B<MTNOP>"
10026 msgstr ""
10027
10028 #. type: Plain text
10029 #: build/C/man4/st.4:353
10030 msgid ""
10031 "No op\\(emflushes the driver's buffer as a side effect.  Should be used "
10032 "before reading status with B<MTIOCGET>."
10033 msgstr ""
10034
10035 #. type: TP
10036 #: build/C/man4/st.4:353
10037 #, no-wrap
10038 msgid "B<MTOFFL>"
10039 msgstr ""
10040
10041 #. type: Plain text
10042 #: build/C/man4/st.4:356
10043 msgid "Rewind and put the drive off line."
10044 msgstr ""
10045
10046 #. type: TP
10047 #: build/C/man4/st.4:356
10048 #, no-wrap
10049 msgid "B<MTRESET>"
10050 msgstr ""
10051
10052 #. type: Plain text
10053 #: build/C/man4/st.4:359
10054 msgid "Reset drive."
10055 msgstr ""
10056
10057 #. type: TP
10058 #: build/C/man4/st.4:359
10059 #, no-wrap
10060 msgid "B<MTRETEN>"
10061 msgstr ""
10062
10063 #. type: Plain text
10064 #: build/C/man4/st.4:362
10065 msgid "Re-tension tape."
10066 msgstr ""
10067
10068 #. type: TP
10069 #: build/C/man4/st.4:362
10070 #, no-wrap
10071 msgid "B<MTREW>"
10072 msgstr ""
10073
10074 #. type: Plain text
10075 #: build/C/man4/st.4:365
10076 msgid "Rewind."
10077 msgstr ""
10078
10079 #. type: TP
10080 #: build/C/man4/st.4:365
10081 #, no-wrap
10082 msgid "B<MTSEEK>"
10083 msgstr ""
10084
10085 #. type: Plain text
10086 #: build/C/man4/st.4:377
10087 msgid ""
10088 "Seek to the tape block number specified in I<mt_count>.  This operation "
10089 "requires either a SCSI-2 drive that supports the B<LOCATE> command "
10090 "(device-specific address)  or a Tandberg-compatible SCSI-1 drive (Tandberg, "
10091 "Archive Viper, Wangtek, ...).  The block number should be one that was "
10092 "previously returned by B<MTIOCPOS> if device-specific addresses are used."
10093 msgstr ""
10094
10095 #. type: TP
10096 #: build/C/man4/st.4:377
10097 #, no-wrap
10098 msgid "B<MTSETBLK>"
10099 msgstr ""
10100
10101 #. type: Plain text
10102 #: build/C/man4/st.4:382
10103 msgid ""
10104 "Set the drive's block length to the value specified in I<mt_count>.  A block "
10105 "length of zero sets the drive to variable block size mode."
10106 msgstr ""
10107
10108 #. type: TP
10109 #: build/C/man4/st.4:382
10110 #, no-wrap
10111 msgid "B<MTSETDENSITY>"
10112 msgstr ""
10113
10114 #. type: Plain text
10115 #: build/C/man4/st.4:388
10116 msgid ""
10117 "Set the tape density to the code in I<mt_count>.  The density codes "
10118 "supported by a drive can be found from the drive documentation."
10119 msgstr ""
10120
10121 #. type: TP
10122 #: build/C/man4/st.4:388
10123 #, no-wrap
10124 msgid "B<MTSETPART>"
10125 msgstr ""
10126
10127 #. type: Plain text
10128 #: build/C/man4/st.4:397
10129 msgid ""
10130 "The active partition is switched to I<mt_count>.  The partitions are "
10131 "numbered from zero.  This command is not allowed for a drive unless the "
10132 "partition support is enabled for the drive (see B<MT_ST_CAN_PARTITIONS> "
10133 "below)."
10134 msgstr ""
10135
10136 #. type: TP
10137 #: build/C/man4/st.4:397
10138 #, no-wrap
10139 msgid "B<MTUNLOAD>"
10140 msgstr ""
10141
10142 #. type: Plain text
10143 #: build/C/man4/st.4:400
10144 msgid "Execute the SCSI unload command (does not eject the tape)."
10145 msgstr ""
10146
10147 #. type: TP
10148 #: build/C/man4/st.4:400
10149 #, no-wrap
10150 msgid "B<MTUNLOCK>"
10151 msgstr ""
10152
10153 #. type: Plain text
10154 #: build/C/man4/st.4:403
10155 msgid "Unlock the tape drive door."
10156 msgstr ""
10157
10158 #. type: TP
10159 #: build/C/man4/st.4:403
10160 #, no-wrap
10161 msgid "B<MTWEOF>"
10162 msgstr ""
10163
10164 #. type: Plain text
10165 #: build/C/man4/st.4:408
10166 msgid "Write I<mt_count> filemarks."
10167 msgstr ""
10168
10169 #. type: TP
10170 #: build/C/man4/st.4:408
10171 #, no-wrap
10172 msgid "B<MTWSM>"
10173 msgstr ""
10174
10175 #. type: Plain text
10176 #: build/C/man4/st.4:413
10177 msgid "Write I<mt_count> setmarks."
10178 msgstr ""
10179
10180 #. type: Plain text
10181 #: build/C/man4/st.4:415
10182 msgid "Magnetic Tape operations for setting of device options (by the superuser):"
10183 msgstr ""
10184
10185 #. type: TP
10186 #: build/C/man4/st.4:415
10187 #, no-wrap
10188 msgid "B<MTSETDRVBUFFER>"
10189 msgstr ""
10190
10191 #. type: Plain text
10192 #: build/C/man4/st.4:424
10193 msgid ""
10194 "Set various drive and driver options according to bits encoded in "
10195 "I<mt_count>.  These consist of the drive's buffering mode, a set of Boolean "
10196 "driver options, the buffer write threshold, defaults for the block size and "
10197 "density, and timeouts (only in kernels 2.1 and later).  A single operation "
10198 "can affect only one item in the list above (the Booleans counted as one "
10199 "item.)"
10200 msgstr ""
10201
10202 #. type: Plain text
10203 #: build/C/man4/st.4:428
10204 msgid ""
10205 "A value having zeros in the high-order 4 bits will be used to set the "
10206 "drive's buffering mode.  The buffering modes are:"
10207 msgstr ""
10208
10209 #. type: IP
10210 #: build/C/man4/st.4:429
10211 #, no-wrap
10212 msgid "0"
10213 msgstr ""
10214
10215 #. type: Plain text
10216 #: build/C/man4/st.4:434
10217 msgid ""
10218 "The drive will not report B<GOOD> status on write commands until the data "
10219 "blocks are actually written to the medium."
10220 msgstr ""
10221
10222 #. type: IP
10223 #: build/C/man4/st.4:434
10224 #, no-wrap
10225 msgid "1"
10226 msgstr ""
10227
10228 #. type: Plain text
10229 #: build/C/man4/st.4:439
10230 msgid ""
10231 "The drive may report B<GOOD> status on write commands as soon as all the "
10232 "data has been transferred to the drive's internal buffer."
10233 msgstr ""
10234
10235 #. type: IP
10236 #: build/C/man4/st.4:439
10237 #, no-wrap
10238 msgid "2"
10239 msgstr ""
10240
10241 #. type: Plain text
10242 #: build/C/man4/st.4:446
10243 msgid ""
10244 "The drive may report B<GOOD> status on write commands as soon as (a) all the "
10245 "data has been transferred to the drive's internal buffer, and (b) all "
10246 "buffered data from different initiators has been successfully written to the "
10247 "medium."
10248 msgstr ""
10249
10250 #. type: Plain text
10251 #: build/C/man4/st.4:457
10252 msgid ""
10253 "To control the write threshold the value in I<mt_count> must include the "
10254 "constant B<MT_ST_WRITE_THRESHOLD> bitwise ORed with a block count in the low "
10255 "28 bits.  The block count refers to 1024-byte blocks, not the physical block "
10256 "size on the tape.  The threshold cannot exceed the driver's internal buffer "
10257 "size (see DESCRIPTION, above)."
10258 msgstr ""
10259
10260 #. type: Plain text
10261 #: build/C/man4/st.4:478
10262 msgid ""
10263 "To set and clear the Boolean options the value in I<mt_count> must include "
10264 "one of the constants B<MT_ST_BOOLEANS>, B<MT_ST_SETBOOLEANS>, "
10265 "B<MT_ST_CLEARBOOLEANS>, or B<MT_ST_DEFBOOLEANS> bitwise ORed with whatever "
10266 "combination of the following options is desired.  Using B<MT_ST_BOOLEANS> "
10267 "the options can be set to the values defined in the corresponding bits.  "
10268 "With B<MT_ST_SETBOOLEANS> the options can be selectively set and with "
10269 "B<MT_ST_DEFBOOLEANS> selectively cleared."
10270 msgstr ""
10271
10272 #. type: Plain text
10273 #: build/C/man4/st.4:486
10274 msgid ""
10275 "The default options for a tape device are set with B<MT_ST_DEFBOOLEANS>.  A "
10276 "nonactive tape device (e.g., device with minor 32 or 160) is activated when "
10277 "the default options for it are defined the first time.  An activated device "
10278 "inherits from the device activated at start-up the options not set "
10279 "explicitly."
10280 msgstr ""
10281
10282 #. type: Plain text
10283 #: build/C/man4/st.4:488
10284 msgid "The Boolean options are:"
10285 msgstr ""
10286
10287 #. type: TP
10288 #: build/C/man4/st.4:489
10289 #, no-wrap
10290 msgid "B<MT_ST_BUFFER_WRITES> (Default: true)"
10291 msgstr ""
10292
10293 #. type: Plain text
10294 #: build/C/man4/st.4:495
10295 msgid ""
10296 "Buffer all write operations in fixed-block mode.  If this option is false "
10297 "and the drive uses a fixed block size, then all write operations must be for "
10298 "a multiple of the block size.  This option must be set false to write "
10299 "reliable multivolume archives."
10300 msgstr ""
10301
10302 #. type: TP
10303 #: build/C/man4/st.4:495
10304 #, no-wrap
10305 msgid "B<MT_ST_ASYNC_WRITES> (Default: true)"
10306 msgstr ""
10307
10308 #. type: Plain text
10309 #: build/C/man4/st.4:505
10310 msgid ""
10311 "When this option is true, write operations return immediately without "
10312 "waiting for the data to be transferred to the drive if the data fits into "
10313 "the driver's buffer.  The write threshold determines how full the buffer "
10314 "must be before a new SCSI write command is issued.  Any errors reported by "
10315 "the drive will be held until the next operation.  This option must be set "
10316 "false to write reliable multivolume archives."
10317 msgstr ""
10318
10319 #. type: TP
10320 #: build/C/man4/st.4:505
10321 #, no-wrap
10322 msgid "B<MT_ST_READ_AHEAD> (Default: true)"
10323 msgstr ""
10324
10325 #. type: Plain text
10326 #: build/C/man4/st.4:511
10327 msgid ""
10328 "This option causes the driver to provide read buffering and read-ahead in "
10329 "fixed-block mode.  If this option is false and the drive uses a fixed block "
10330 "size, then all read operations must be for a multiple of the block size."
10331 msgstr ""
10332
10333 #. type: TP
10334 #: build/C/man4/st.4:511
10335 #, no-wrap
10336 msgid "B<MT_ST_TWO_FM> (Default: false)"
10337 msgstr ""
10338
10339 #. type: Plain text
10340 #: build/C/man4/st.4:517
10341 msgid ""
10342 "This option modifies the driver behavior when a file is closed.  The normal "
10343 "action is to write a single filemark.  If the option is true, the driver "
10344 "will write two filemarks and backspace over the second one."
10345 msgstr ""
10346
10347 #. type: Plain text
10348 #: build/C/man4/st.4:526
10349 msgid ""
10350 "Note: This option should not be set true for QIC tape drives since they are "
10351 "unable to overwrite a filemark.  These drives detect the end of recorded "
10352 "data by testing for blank tape rather than two consecutive filemarks.  Most "
10353 "other current drives also detect the end of recorded data and using two "
10354 "filemarks is usually necessary only when interchanging tapes with some other "
10355 "systems."
10356 msgstr ""
10357
10358 #. type: TP
10359 #: build/C/man4/st.4:526
10360 #, no-wrap
10361 msgid "B<MT_ST_DEBUGGING> (Default: false)"
10362 msgstr ""
10363
10364 #. type: Plain text
10365 #: build/C/man4/st.4:532
10366 msgid ""
10367 "This option turns on various debugging messages from the driver (effective "
10368 "only if the driver was compiled with B<DEBUG> defined nonzero)."
10369 msgstr ""
10370
10371 #. type: TP
10372 #: build/C/man4/st.4:532
10373 #, no-wrap
10374 msgid "B<MT_ST_FAST_EOM> (Default: false)"
10375 msgstr ""
10376
10377 #. type: Plain text
10378 #: build/C/man4/st.4:546
10379 msgid ""
10380 "This option causes the B<MTEOM> operation to be sent directly to the drive, "
10381 "potentially speeding up the operation but causing the driver to lose track "
10382 "of the current file number normally returned by the B<MTIOCGET> request.  If "
10383 "B<MT_ST_FAST_EOM> is false, the driver will respond to an B<MTEOM> request "
10384 "by forward spacing over files."
10385 msgstr ""
10386
10387 #. type: TP
10388 #: build/C/man4/st.4:546
10389 #, no-wrap
10390 msgid "B<MT_ST_AUTO_LOCK> (Default: false)"
10391 msgstr ""
10392
10393 #. type: Plain text
10394 #: build/C/man4/st.4:550
10395 msgid ""
10396 "When this option is true, the drive door is locked when the device is opened "
10397 "and unlocked when it is closed."
10398 msgstr ""
10399
10400 #. type: TP
10401 #: build/C/man4/st.4:550
10402 #, no-wrap
10403 msgid "B<MT_ST_DEF_WRITES> (Default: false)"
10404 msgstr ""
10405
10406 #. type: Plain text
10407 #: build/C/man4/st.4:567
10408 msgid ""
10409 "The tape options (block size, mode, compression, etc.) may change when "
10410 "changing from one device linked to a drive to another device linked to the "
10411 "same drive depending on how the devices are defined.  This option defines "
10412 "when the changes are enforced by the driver using SCSI-commands and when the "
10413 "drives auto-detection capabilities are relied upon.  If this option is "
10414 "false, the driver sends the SCSI-commands immediately when the device is "
10415 "changed.  If the option is true, the SCSI-commands are not sent until a "
10416 "write is requested.  In this case, the drive firmware is allowed to detect "
10417 "the tape structure when reading and the SCSI-commands are used only to make "
10418 "sure that a tape is written according to the correct specification."
10419 msgstr ""
10420
10421 #. type: TP
10422 #: build/C/man4/st.4:567
10423 #, no-wrap
10424 msgid "B<MT_ST_CAN_BSR> (Default: false)"
10425 msgstr ""
10426
10427 #. type: Plain text
10428 #: build/C/man4/st.4:580
10429 msgid ""
10430 "When read-ahead is used, the tape must sometimes be spaced backward to the "
10431 "correct position when the device is closed and the SCSI command to space "
10432 "backward over records is used for this purpose.  Some older drives can't "
10433 "process this command reliably and this option can be used to instruct the "
10434 "driver not to use the command.  The end result is that, with read-ahead and "
10435 "fixed-block mode, the tape may not be correctly positioned within a file "
10436 "when the device is closed.  With 2.6 kernel, the default is true for drives "
10437 "supporting SCSI-3."
10438 msgstr ""
10439
10440 #. type: TP
10441 #: build/C/man4/st.4:580
10442 #, no-wrap
10443 msgid "B<MT_ST_NO_BLKLIMS> (Default: false)"
10444 msgstr ""
10445
10446 #. type: Plain text
10447 #: build/C/man4/st.4:589
10448 msgid ""
10449 "Some drives don't accept the B<READ BLOCK LIMITS> SCSI command.  If this is "
10450 "used, the driver does not use the command.  The drawback is that the driver "
10451 "can't check before sending commands if the selected block size is acceptable "
10452 "to the drive."
10453 msgstr ""
10454
10455 #. type: TP
10456 #: build/C/man4/st.4:589
10457 #, no-wrap
10458 msgid "B<MT_ST_CAN_PARTITIONS> (Default: false)"
10459 msgstr ""
10460
10461 #. type: Plain text
10462 #: build/C/man4/st.4:594
10463 msgid ""
10464 "This option enables support for several partitions within a tape.  The "
10465 "option applies to all devices linked to a drive."
10466 msgstr ""
10467
10468 #. type: TP
10469 #: build/C/man4/st.4:594
10470 #, no-wrap
10471 msgid "B<MT_ST_SCSI2LOGICAL> (Default: false)"
10472 msgstr ""
10473
10474 #. type: Plain text
10475 #: build/C/man4/st.4:609
10476 msgid ""
10477 "This option instructs the driver to use the logical block addresses defined "
10478 "in the SCSI-2 standard when performing the seek and tell operations (both "
10479 "with B<MTSEEK> and B<MTIOCPOS> commands and when changing tape partition).  "
10480 "Otherwise the device-specific addresses are used.  It is highly advisable to "
10481 "set this option if the drive supports the logical addresses because they "
10482 "count also filemarks.  There are some drives that support only the logical "
10483 "block addresses."
10484 msgstr ""
10485
10486 #. type: TP
10487 #: build/C/man4/st.4:609
10488 #, no-wrap
10489 msgid "B<MT_ST_SYSV> (Default: false)"
10490 msgstr ""
10491
10492 #. type: Plain text
10493 #: build/C/man4/st.4:620
10494 msgid ""
10495 "When this option is enabled, the tape devices use the SystemV semantics.  "
10496 "Otherwise the BSD semantics are used.  The most important difference between "
10497 "the semantics is what happens when a device used for reading is closed: in "
10498 "System V semantics the tape is spaced forward past the next filemark if this "
10499 "has not happened while using the device.  In BSD semantics the tape position "
10500 "is not changed."
10501 msgstr ""
10502
10503 #. type: TP
10504 #: build/C/man4/st.4:620
10505 #, no-wrap
10506 msgid "B<MT_NO_WAIT> (Default: false)"
10507 msgstr ""
10508
10509 #. type: Plain text
10510 #: build/C/man4/st.4:624
10511 msgid ""
10512 "Enables immediate mode (i.e., don't wait for the command to finish) for some "
10513 "commands (e.g., rewind)."
10514 msgstr ""
10515
10516 #. type: Plain text
10517 #: build/C/man4/st.4:626
10518 msgid "An example:"
10519 msgstr ""
10520
10521 #. type: Plain text
10522 #: build/C/man4/st.4:634
10523 #, no-wrap
10524 msgid ""
10525 "struct mtop mt_cmd;\n"
10526 "mt_cmd.mt_op = MTSETDRVBUFFER;\n"
10527 "mt_cmd.mt_count = MT_ST_BOOLEANS |\n"
10528 "        MT_ST_BUFFER_WRITES | MT_ST_ASYNC_WRITES;\n"
10529 "ioctl(fd, MTIOCTOP, mt_cmd);\n"
10530 msgstr ""
10531
10532 #. type: Plain text
10533 #: build/C/man4/st.4:644
10534 msgid ""
10535 "The default block size for a device can be set with B<MT_ST_DEF_BLKSIZE> and "
10536 "the default density code can be set with B<MT_ST_DEFDENSITY>.  The values "
10537 "for the parameters are or'ed with the operation code."
10538 msgstr ""
10539
10540 #. type: Plain text
10541 #: build/C/man4/st.4:661
10542 msgid ""
10543 "With kernels 2.1.x and later, the timeout values can be set with the "
10544 "subcommand B<MT_ST_SET_TIMEOUT> ORed with the timeout in seconds.  The long "
10545 "timeout (used for rewinds and other commands that may take a long time) can "
10546 "be set with B<MT_ST_SET_LONG_TIMEOUT>.  The kernel defaults are very long to "
10547 "make sure that a successful command is not timed out with any drive.  "
10548 "Because of this the driver may seem stuck even if it is only waiting for the "
10549 "timeout.  These commands can be used to set more practical values for a "
10550 "specific drive.  The timeouts set for one device apply for all devices "
10551 "linked to the same drive."
10552 msgstr ""
10553
10554 #. type: Plain text
10555 #: build/C/man4/st.4:682
10556 msgid ""
10557 "Starting from kernels 2.4.19 and 2.5.43, the driver supports a status bit "
10558 "which indicates whether the drive requests cleaning.  The method used by the "
10559 "drive to return cleaning information is set using the B<MT_ST_SEL_CLN> "
10560 "subcommand.  If the value is zero, the cleaning bit is always zero.  If the "
10561 "value is one, the TapeAlert data defined in the SCSI-3 standard is used (not "
10562 "yet implemented).  Values 2-17 are reserved.  If the lowest eight bits are "
10563 "E<gt>= 18, bits from the extended sense data are used.  The bits 9-16 "
10564 "specify a mask to select the bits to look at and the bits 17-23 specify the "
10565 "bit pattern to look for.  If the bit pattern is zero, one or more bits under "
10566 "the mask indicate the cleaning request.  If the pattern is nonzero, the "
10567 "pattern must match the masked sense data byte."
10568 msgstr ""
10569
10570 #. type: SS
10571 #: build/C/man4/st.4:682
10572 #, no-wrap
10573 msgid "MTIOCGET \\(em get status"
10574 msgstr ""
10575
10576 #. type: Plain text
10577 #: build/C/man4/st.4:686
10578 msgid "This request takes an argument of type I<(struct mtget\\ *)>."
10579 msgstr ""
10580
10581 #. type: Plain text
10582 #: build/C/man4/st.4:701
10583 #, no-wrap
10584 msgid ""
10585 "/* structure for MTIOCGET - mag tape get status command */\n"
10586 "struct mtget {\n"
10587 "    long     mt_type;\n"
10588 "    long     mt_resid;\n"
10589 "    /* the following registers are device dependent */\n"
10590 "    long     mt_dsreg;\n"
10591 "    long     mt_gstat;\n"
10592 "    long     mt_erreg;\n"
10593 "    /* The next two fields are not always used */\n"
10594 "    daddr_t  mt_fileno;\n"
10595 "    daddr_t  mt_blkno;\n"
10596 "};\n"
10597 msgstr ""
10598
10599 #. type: IP
10600 #: build/C/man4/st.4:703
10601 #, no-wrap
10602 msgid "I<mt_type>"
10603 msgstr ""
10604
10605 #. type: Plain text
10606 #: build/C/man4/st.4:712
10607 msgid ""
10608 "The header file defines many values for I<mt_type>, but the current driver "
10609 "reports only the generic types B<MT_ISSCSI1> (Generic SCSI-1 tape)  and "
10610 "B<MT_ISSCSI2> (Generic SCSI-2 tape)."
10611 msgstr ""
10612
10613 #. type: IP
10614 #: build/C/man4/st.4:712
10615 #, no-wrap
10616 msgid "I<mt_resid>"
10617 msgstr ""
10618
10619 #. type: Plain text
10620 #: build/C/man4/st.4:714
10621 msgid "contains the current tape partition number."
10622 msgstr ""
10623
10624 #. type: IP
10625 #: build/C/man4/st.4:714
10626 #, no-wrap
10627 msgid "I<mt_dsreg>"
10628 msgstr ""
10629
10630 #. type: Plain text
10631 #: build/C/man4/st.4:723
10632 msgid ""
10633 "reports the drive's current settings for block size (in the low 24 bits) and "
10634 "density (in the high 8 bits).  These fields are defined by "
10635 "B<MT_ST_BLKSIZE_SHIFT>, B<MT_ST_BLKSIZE_MASK>, B<MT_ST_DENSITY_SHIFT>, and "
10636 "B<MT_ST_DENSITY_MASK>."
10637 msgstr ""
10638
10639 #. type: IP
10640 #: build/C/man4/st.4:723
10641 #, no-wrap
10642 msgid "I<mt_gstat>"
10643 msgstr ""
10644
10645 #. type: Plain text
10646 #: build/C/man4/st.4:726
10647 msgid ""
10648 "reports generic (device independent) status information.  The header file "
10649 "defines macros for testing these status bits:"
10650 msgstr ""
10651
10652 #. type: Plain text
10653 #: build/C/man4/st.4:733
10654 msgid ""
10655 "B<GMT_EOF>(I<x>): The tape is positioned just after a filemark (always false "
10656 "after an B<MTSEEK> operation)."
10657 msgstr ""
10658
10659 #. type: Plain text
10660 #: build/C/man4/st.4:739
10661 msgid ""
10662 "B<GMT_BOT>(I<x>): The tape is positioned at the beginning of the first file "
10663 "(always false after an B<MTSEEK> operation)."
10664 msgstr ""
10665
10666 #. type: Plain text
10667 #: build/C/man4/st.4:742
10668 msgid "B<GMT_EOT>(I<x>): A tape operation has reached the physical End Of Tape."
10669 msgstr ""
10670
10671 #. type: Plain text
10672 #: build/C/man4/st.4:748
10673 msgid ""
10674 "B<GMT_SM>(I<x>): The tape is currently positioned at a setmark (always false "
10675 "after an B<MTSEEK> operation)."
10676 msgstr ""
10677
10678 #. type: Plain text
10679 #: build/C/man4/st.4:751
10680 msgid "B<GMT_EOD>(I<x>): The tape is positioned at the end of recorded data."
10681 msgstr ""
10682
10683 #. type: Plain text
10684 #: build/C/man4/st.4:756
10685 msgid ""
10686 "B<GMT_WR_PROT>(I<x>): The drive is write-protected.  For some drives this "
10687 "can also mean that the drive does not support writing on the current medium "
10688 "type."
10689 msgstr ""
10690
10691 #. type: Plain text
10692 #: build/C/man4/st.4:761
10693 msgid ""
10694 "B<GMT_ONLINE>(I<x>): The last B<open>(2)  found the drive with a tape in "
10695 "place and ready for operation."
10696 msgstr ""
10697
10698 #. type: Plain text
10699 #: build/C/man4/st.4:765
10700 msgid ""
10701 "B<GMT_D_6250>(I<x>), B<GMT_D_1600>(I<x>), B<GMT_D_800>(I<x>): This "
10702 "\\(lqgeneric\\(rq status information reports the current density setting for "
10703 "9-track \\(12\" tape drives only."
10704 msgstr ""
10705
10706 #. type: Plain text
10707 #: build/C/man4/st.4:768
10708 msgid "B<GMT_DR_OPEN>(I<x>): The drive does not have a tape in place."
10709 msgstr ""
10710
10711 #. type: Plain text
10712 #: build/C/man4/st.4:776
10713 msgid ""
10714 "B<GMT_IM_REP_EN>(I<x>): Immediate report mode.  This bit is set if there are "
10715 "no guarantees that the data has been physically written to the tape when the "
10716 "write call returns.  It is set zero only when the driver does not buffer "
10717 "data and the drive is set not to buffer data."
10718 msgstr ""
10719
10720 #. type: Plain text
10721 #: build/C/man4/st.4:780
10722 msgid ""
10723 "B<GMT_CLN>(I<x>): The drive has requested cleaning.  Implemented in kernels "
10724 "since 2.4.19 and 2.5.43."
10725 msgstr ""
10726
10727 #. type: IP
10728 #: build/C/man4/st.4:781
10729 #, no-wrap
10730 msgid "I<mt_erreg>"
10731 msgstr ""
10732
10733 #. type: Plain text
10734 #: build/C/man4/st.4:791
10735 msgid ""
10736 "The only field defined in I<mt_erreg> is the recovered error count in the "
10737 "low 16 bits (as defined by B<MT_ST_SOFTERR_SHIFT> and "
10738 "B<MT_ST_SOFTERR_MASK>.  Due to inconsistencies in the way drives report "
10739 "recovered errors, this count is often not maintained (most drives do not by "
10740 "default report soft errors but this can be changed with a SCSI MODE SELECT "
10741 "command)."
10742 msgstr ""
10743
10744 #. type: IP
10745 #: build/C/man4/st.4:791
10746 #, no-wrap
10747 msgid "I<mt_fileno>"
10748 msgstr ""
10749
10750 #. type: Plain text
10751 #: build/C/man4/st.4:797
10752 msgid ""
10753 "reports the current file number (zero-based).  This value is set to -1 when "
10754 "the file number is unknown (e.g., after B<MTBSS> or B<MTSEEK>)."
10755 msgstr ""
10756
10757 #. type: IP
10758 #: build/C/man4/st.4:797
10759 #, no-wrap
10760 msgid "I<mt_blkno>"
10761 msgstr ""
10762
10763 #. type: Plain text
10764 #: build/C/man4/st.4:804
10765 msgid ""
10766 "reports the block number (zero-based) within the current file.  This value "
10767 "is set to -1 when the block number is unknown (e.g., after B<MTBSF>, "
10768 "B<MTBSS>, or B<MTSEEK>)."
10769 msgstr ""
10770
10771 #. type: SS
10772 #: build/C/man4/st.4:804
10773 #, no-wrap
10774 msgid "MTIOCPOS \\(em get tape position"
10775 msgstr ""
10776
10777 #. type: Plain text
10778 #: build/C/man4/st.4:818
10779 msgid ""
10780 "This request takes an argument of type I<(struct mtpos\\ *)> and reports the "
10781 "drive's notion of the current tape block number, which is not the same as "
10782 "I<mt_blkno> returned by B<MTIOCGET>.  This drive must be a SCSI-2 drive that "
10783 "supports the B<READ POSITION> command (device-specific address)  or a "
10784 "Tandberg-compatible SCSI-1 drive (Tandberg, Archive Viper, Wangtek, ... )."
10785 msgstr ""
10786
10787 #. type: Plain text
10788 #: build/C/man4/st.4:825
10789 #, no-wrap
10790 msgid ""
10791 "/* structure for MTIOCPOS - mag tape get position command */\n"
10792 "struct mtpos {\n"
10793 "    long mt_blkno;    /* current block number */\n"
10794 "};\n"
10795 msgstr ""
10796
10797 #. type: Plain text
10798 #: build/C/man4/st.4:834
10799 msgid ""
10800 "An attempt was made to write or erase a write-protected tape.  (This error "
10801 "is not detected during B<open>(2).)"
10802 msgstr ""
10803
10804 #. type: TP
10805 #: build/C/man4/st.4:834
10806 #, no-wrap
10807 msgid "B<EBUSY>"
10808 msgstr ""
10809
10810 #. type: Plain text
10811 #: build/C/man4/st.4:838
10812 msgid "The device is already in use or the driver was unable to allocate a buffer."
10813 msgstr ""
10814
10815 #. type: Plain text
10816 #: build/C/man4/st.4:842
10817 msgid "The command parameters point to memory not belonging to the calling process."
10818 msgstr ""
10819
10820 #. type: Plain text
10821 #: build/C/man4/st.4:847
10822 msgid ""
10823 "An B<ioctl>(2)  had an invalid argument, or a requested block size was "
10824 "invalid."
10825 msgstr ""
10826
10827 #. type: TP
10828 #: build/C/man4/st.4:847
10829 #, no-wrap
10830 msgid "B<EIO>"
10831 msgstr ""
10832
10833 #. type: Plain text
10834 #: build/C/man4/st.4:850
10835 msgid "The requested operation could not be completed."
10836 msgstr ""
10837
10838 #. type: Plain text
10839 #: build/C/man4/st.4:857
10840 msgid ""
10841 "The byte count in B<read>(2)  is smaller than the next physical block on the "
10842 "tape.  (Before 2.2.18 and 2.4.0-test6 the extra bytes have been silently "
10843 "ignored.)"
10844 msgstr ""
10845
10846 #. type: Plain text
10847 #: build/C/man4/st.4:861
10848 msgid ""
10849 "A write operation could not be completed because the tape reached "
10850 "end-of-medium."
10851 msgstr ""
10852
10853 #. type: TP
10854 #: build/C/man4/st.4:861 build/C/man2/syslog.2:278
10855 #, no-wrap
10856 msgid "B<ENOSYS>"
10857 msgstr ""
10858
10859 #. type: Plain text
10860 #: build/C/man4/st.4:865
10861 msgid "Unknown B<ioctl>(2)."
10862 msgstr ""
10863
10864 #. type: TP
10865 #: build/C/man4/st.4:865
10866 #, no-wrap
10867 msgid "B<ENXIO>"
10868 msgstr ""
10869
10870 #. type: Plain text
10871 #: build/C/man4/st.4:868
10872 msgid "During opening, the tape device does not exist."
10873 msgstr ""
10874
10875 #. type: TP
10876 #: build/C/man4/st.4:868
10877 #, no-wrap
10878 msgid "B<EOVERFLOW>"
10879 msgstr ""
10880
10881 #. type: Plain text
10882 #: build/C/man4/st.4:872
10883 msgid ""
10884 "An attempt was made to read or write a variable-length block that is larger "
10885 "than the driver's internal buffer."
10886 msgstr ""
10887
10888 #. type: Plain text
10889 #: build/C/man4/st.4:879
10890 msgid ""
10891 "Open is attempted with B<O_WRONLY> or B<O_RDWR> when the tape in the drive "
10892 "is write-protected."
10893 msgstr ""
10894
10895 #. type: TP
10896 #: build/C/man4/st.4:880
10897 #, no-wrap
10898 msgid "I</dev/st*>"
10899 msgstr ""
10900
10901 #. type: Plain text
10902 #: build/C/man4/st.4:883
10903 msgid "the auto-rewind SCSI tape devices"
10904 msgstr ""
10905
10906 #. type: TP
10907 #: build/C/man4/st.4:883
10908 #, no-wrap
10909 msgid "I</dev/nst*>"
10910 msgstr ""
10911
10912 #.  .SH AUTHOR
10913 #.  The driver has been written by Kai M\(:akisara (Kai.Makisara@metla.fi)
10914 #.  starting from a driver written by Dwayne Forsyth.
10915 #.  Several other
10916 #.  people have also contributed to the driver.
10917 #. type: Plain text
10918 #: build/C/man4/st.4:891
10919 msgid "the nonrewind SCSI tape devices"
10920 msgstr ""
10921
10922 #. type: Plain text
10923 #: build/C/man4/st.4:912
10924 msgid ""
10925 "When exchanging data between systems, both systems have to agree on the "
10926 "physical tape block size.  The parameters of a drive after startup are often "
10927 "not the ones most operating systems use with these devices.  Most systems "
10928 "use drives in variable-block mode if the drive supports that mode.  This "
10929 "applies to most modern drives, including DATs, 8mm helical scan drives, "
10930 "DLTs, etc.  It may be advisable to use these drives in variable-block mode "
10931 "also in Linux (i.e., use B<MTSETBLK> or B<MTSETDEFBLK> at system startup to "
10932 "set the mode), at least when exchanging data with a foreign system.  The "
10933 "drawback of this is that a fairly large tape block size has to be used to "
10934 "get acceptable data transfer rates on the SCSI bus."
10935 msgstr ""
10936
10937 #. type: Plain text
10938 #: build/C/man4/st.4:919
10939 msgid ""
10940 "Many programs (e.g., B<tar>(1))  allow the user to specify the blocking "
10941 "factor on the command line.  Note that this determines the physical block "
10942 "size on tape only in variable-block mode."
10943 msgstr ""
10944
10945 #. type: Plain text
10946 #: build/C/man4/st.4:926
10947 msgid ""
10948 "In order to use SCSI tape drives, the basic SCSI driver, a SCSI-adapter "
10949 "driver and the SCSI tape driver must be either configured into the kernel or "
10950 "loaded as modules.  If the SCSI-tape driver is not present, the drive is "
10951 "recognized but the tape support described in this page is not available."
10952 msgstr ""
10953
10954 #. type: Plain text
10955 #: build/C/man4/st.4:931
10956 msgid ""
10957 "The driver writes error messages to the console/log.  The SENSE codes "
10958 "written into some messages are automatically translated to text if verbose "
10959 "SCSI messages are enabled in kernel configuration."
10960 msgstr ""
10961
10962 #.  .SH COPYRIGHT
10963 #.  Copyright \(co 1995 Robert K. Nichols.
10964 #.  .br
10965 #.  Copyright \(co 1999-2005 Kai M\(:akisara.
10966 #.  .PP
10967 #.  %%%LICENSE_START(VERBATIM)
10968 #.  Permission is granted to make and distribute verbatim copies of this
10969 #.  manual provided the copyright notice and this permission notice are
10970 #.  preserved on all copies.
10971 #.  Additional permissions are contained in the header of the source file.
10972 #. type: Plain text
10973 #: build/C/man4/st.4:954
10974 msgid ""
10975 "The driver's internal buffering allows good throughput in fixed-block mode "
10976 "also with small B<read>(2)  and B<write>(2)  byte counts.  With direct "
10977 "transfers this is not possible and may cause a surprise when moving to the "
10978 "2.6 kernel.  The solution is to tell the software to use larger transfers "
10979 "(often telling it to use larger blocks).  If this is not possible, direct "
10980 "transfers can be disabled."
10981 msgstr ""
10982
10983 #. type: Plain text
10984 #: build/C/man4/st.4:956
10985 msgid "B<mt>(1)"
10986 msgstr ""
10987
10988 #. type: Plain text
10989 #: build/C/man4/st.4:964
10990 msgid ""
10991 "The file I<drivers/scsi/README.st> or I<Documentation/scsi/st.txt> (kernel "
10992 "E<gt>= 2.6) in the Linux kernel source tree contains the most recent "
10993 "information about the driver and its configuration possibilities"
10994 msgstr ""
10995
10996 #. type: TH
10997 #: build/C/man3/stdarg.3:43
10998 #, no-wrap
10999 msgid "STDARG"
11000 msgstr ""
11001
11002 #. type: TH
11003 #: build/C/man3/stdarg.3:43
11004 #, no-wrap
11005 msgid "2013-12-10"
11006 msgstr ""
11007
11008 #. type: Plain text
11009 #: build/C/man3/stdarg.3:46
11010 msgid "stdarg, va_start, va_arg, va_end, va_copy - variable argument lists"
11011 msgstr ""
11012
11013 #. type: Plain text
11014 #: build/C/man3/stdarg.3:48 build/C/man3/syslog.3:49
11015 msgid "B<#include E<lt>stdarg.hE<gt>>"
11016 msgstr ""
11017
11018 #. type: Plain text
11019 #: build/C/man3/stdarg.3:50
11020 msgid "B<void va_start(va_list >I<ap>B<, >I<last>B<);>"
11021 msgstr ""
11022
11023 #. type: Plain text
11024 #: build/C/man3/stdarg.3:52
11025 msgid "I<type>B< va_arg(va_list >I<ap>B<, >I<type>B<);>"
11026 msgstr ""
11027
11028 #. type: Plain text
11029 #: build/C/man3/stdarg.3:54
11030 msgid "B<void va_end(va_list >I<ap>B<);>"
11031 msgstr ""
11032
11033 #. type: Plain text
11034 #: build/C/man3/stdarg.3:56
11035 msgid "B<void va_copy(va_list >I<dest>B<, va_list >I<src>B<);>"
11036 msgstr ""
11037
11038 #. type: Plain text
11039 #: build/C/man3/stdarg.3:65
11040 msgid ""
11041 "A function may be called with a varying number of arguments of varying "
11042 "types.  The include file I<E<lt>stdarg.hE<gt>> declares a type I<va_list> "
11043 "and defines three macros for stepping through a list of arguments whose "
11044 "number and types are not known to the called function."
11045 msgstr ""
11046
11047 #. type: Plain text
11048 #: build/C/man3/stdarg.3:73
11049 msgid ""
11050 "The called function must declare an object of type I<va_list> which is used "
11051 "by the macros B<va_start>(), B<va_arg>(), and B<va_end>()."
11052 msgstr ""
11053
11054 #. type: SS
11055 #: build/C/man3/stdarg.3:73
11056 #, no-wrap
11057 msgid "va_start()"
11058 msgstr ""
11059
11060 #. type: Plain text
11061 #: build/C/man3/stdarg.3:83
11062 msgid ""
11063 "The B<va_start>()  macro initializes I<ap> for subsequent use by B<va_arg>()  "
11064 "and B<va_end>(), and must be called first."
11065 msgstr ""
11066
11067 #. type: Plain text
11068 #: build/C/man3/stdarg.3:88
11069 msgid ""
11070 "The argument I<last> is the name of the last argument before the variable "
11071 "argument list, that is, the last argument of which the calling function "
11072 "knows the type."
11073 msgstr ""
11074
11075 #. type: Plain text
11076 #: build/C/man3/stdarg.3:93
11077 msgid ""
11078 "Because the address of this argument may be used in the B<va_start>()  "
11079 "macro, it should not be declared as a register variable, or as a function or "
11080 "an array type."
11081 msgstr ""
11082
11083 #. type: SS
11084 #: build/C/man3/stdarg.3:93
11085 #, no-wrap
11086 msgid "va_arg()"
11087 msgstr ""
11088
11089 #. type: Plain text
11090 #: build/C/man3/stdarg.3:115
11091 msgid ""
11092 "The B<va_arg>()  macro expands to an expression that has the type and value "
11093 "of the next argument in the call.  The argument I<ap> is the I<va_list> "
11094 "I<ap> initialized by B<va_start>().  Each call to B<va_arg>()  modifies "
11095 "I<ap> so that the next call returns the next argument.  The argument I<type> "
11096 "is a type name specified so that the type of a pointer to an object that has "
11097 "the specified type can be obtained simply by adding a * to I<type>."
11098 msgstr ""
11099
11100 #. type: Plain text
11101 #: build/C/man3/stdarg.3:123
11102 msgid ""
11103 "The first use of the B<va_arg>()  macro after that of the B<va_start>()  "
11104 "macro returns the argument after I<last>.  Successive invocations return the "
11105 "values of the remaining arguments."
11106 msgstr ""
11107
11108 #. type: Plain text
11109 #: build/C/man3/stdarg.3:128
11110 msgid ""
11111 "If there is no next argument, or if I<type> is not compatible with the type "
11112 "of the actual next argument (as promoted according to the default argument "
11113 "promotions), random errors will occur."
11114 msgstr ""
11115
11116 #. type: Plain text
11117 #: build/C/man3/stdarg.3:136
11118 msgid ""
11119 "If I<ap> is passed to a function that uses B<va_arg(>I<ap>B<,>I<type>B<),> "
11120 "then the value of I<ap> is undefined after the return of that function."
11121 msgstr ""
11122
11123 #. type: SS
11124 #: build/C/man3/stdarg.3:136
11125 #, no-wrap
11126 msgid "va_end()"
11127 msgstr ""
11128
11129 #. type: Plain text
11130 #: build/C/man3/stdarg.3:155
11131 msgid ""
11132 "Each invocation of B<va_start>()  must be matched by a corresponding "
11133 "invocation of B<va_end>()  in the same function.  After the call "
11134 "B<va_end(>I<ap>B<)> the variable I<ap> is undefined.  Multiple traversals of "
11135 "the list, each bracketed by B<va_start>()  and B<va_end>()  are possible.  "
11136 "B<va_end>()  may be a macro or a function."
11137 msgstr ""
11138
11139 #. type: SS
11140 #: build/C/man3/stdarg.3:155
11141 #, no-wrap
11142 msgid "va_copy()"
11143 msgstr ""
11144
11145 #. type: Plain text
11146 #: build/C/man3/stdarg.3:172
11147 msgid ""
11148 "The B<va_copy>()  macro copies the (previously initialized) variable "
11149 "argument list I<src> to I<dest>.  The behavior is as if B<va_start>()  were "
11150 "applied to I<dest> with the same I<last> argument, followed by the same "
11151 "number of B<va_arg>()  invocations that was used to reach the current state "
11152 "of I<src>."
11153 msgstr ""
11154
11155 #.  Proposal from clive@demon.net, 1997-02-28
11156 #. type: Plain text
11157 #: build/C/man3/stdarg.3:179
11158 msgid ""
11159 "An obvious implementation would have a I<va_list> be a pointer to the stack "
11160 "frame of the variadic function.  In such a setup (by far the most common) "
11161 "there seems nothing against an assignment"
11162 msgstr ""
11163
11164 #. type: Plain text
11165 #: build/C/man3/stdarg.3:183
11166 #, no-wrap
11167 msgid "va_list aq = ap;\n"
11168 msgstr ""
11169
11170 #. type: Plain text
11171 #: build/C/man3/stdarg.3:188
11172 msgid ""
11173 "Unfortunately, there are also systems that make it an array of pointers (of "
11174 "length 1), and there one needs"
11175 msgstr ""
11176
11177 #. type: Plain text
11178 #: build/C/man3/stdarg.3:193
11179 #, no-wrap
11180 msgid ""
11181 "va_list aq;\n"
11182 "*aq = *ap;\n"
11183 msgstr ""
11184
11185 #. type: Plain text
11186 #: build/C/man3/stdarg.3:209
11187 msgid ""
11188 "Finally, on systems where arguments are passed in registers, it may be "
11189 "necessary for B<va_start>()  to allocate memory, store the arguments there, "
11190 "and also an indication of which argument is next, so that B<va_arg>()  can "
11191 "step through the list.  Now B<va_end>()  can free the allocated memory "
11192 "again.  To accommodate this situation, C99 adds a macro B<va_copy>(), so "
11193 "that the above assignment can be replaced by"
11194 msgstr ""
11195
11196 #. type: Plain text
11197 #: build/C/man3/stdarg.3:216
11198 #, no-wrap
11199 msgid ""
11200 "va_list aq;\n"
11201 "va_copy(aq, ap);\n"
11202 "\\&...\n"
11203 "va_end(aq);\n"
11204 msgstr ""
11205
11206 #. type: Plain text
11207 #: build/C/man3/stdarg.3:229
11208 msgid ""
11209 "Each invocation of B<va_copy>()  must be matched by a corresponding "
11210 "invocation of B<va_end>()  in the same function.  Some systems that do not "
11211 "supply B<va_copy>()  have B<__va_copy> instead, since that was the name used "
11212 "in the draft proposal."
11213 msgstr ""
11214
11215 #. type: Plain text
11216 #: build/C/man3/stdarg.3:238
11217 msgid ""
11218 "The B<va_start>(), B<va_arg>(), B<va_end>(), and B<va_copy>()  macros are "
11219 "thread-safe."
11220 msgstr ""
11221
11222 #. type: Plain text
11223 #: build/C/man3/stdarg.3:248
11224 msgid ""
11225 "The B<va_start>(), B<va_arg>(), and B<va_end>()  macros conform to C89.  C99 "
11226 "defines the B<va_copy>()  macro."
11227 msgstr ""
11228
11229 #. type: Plain text
11230 #: build/C/man3/stdarg.3:254
11231 msgid ""
11232 "These macros are I<not> compatible with the historic macros they replace.  A "
11233 "backward-compatible version can be found in the include file "
11234 "I<E<lt>varargs.hE<gt>>."
11235 msgstr ""
11236
11237 #. type: Plain text
11238 #: build/C/man3/stdarg.3:256
11239 msgid "The historic setup is:"
11240 msgstr ""
11241
11242 #. type: Plain text
11243 #: build/C/man3/stdarg.3:260
11244 #, no-wrap
11245 msgid "#include E<lt>varargs.hE<gt>\n"
11246 msgstr ""
11247
11248 #. type: Plain text
11249 #: build/C/man3/stdarg.3:266
11250 #, no-wrap
11251 msgid ""
11252 "void\n"
11253 "foo(va_alist)\n"
11254 "    va_dcl\n"
11255 "{\n"
11256 "    va_list ap;\n"
11257 msgstr ""
11258
11259 #. type: Plain text
11260 #: build/C/man3/stdarg.3:275
11261 #, no-wrap
11262 msgid ""
11263 "    va_start(ap);\n"
11264 "    while (...) {\n"
11265 "        ...\n"
11266 "        x = va_arg(ap, type);\n"
11267 "        ...\n"
11268 "    }\n"
11269 "    va_end(ap);\n"
11270 "}\n"
11271 msgstr ""
11272
11273 #. type: Plain text
11274 #: build/C/man3/stdarg.3:284
11275 msgid ""
11276 "On some systems, I<va_end> contains a closing \\(aq}\\(aq matching a "
11277 "\\(aq{\\(aq in I<va_start>, so that both macros must occur in the same "
11278 "function, and in a way that allows this."
11279 msgstr ""
11280
11281 #. type: Plain text
11282 #: build/C/man3/stdarg.3:300
11283 msgid ""
11284 "Unlike the B<varargs> macros, the B<stdarg> macros do not permit programmers "
11285 "to code a function with no fixed arguments.  This problem generates work "
11286 "mainly when converting B<varargs> code to B<stdarg> code, but it also "
11287 "creates difficulties for variadic functions that wish to pass all of their "
11288 "arguments on to a function that takes a I<va_list> argument, such as "
11289 "B<vfprintf>(3)."
11290 msgstr ""
11291
11292 #. type: Plain text
11293 #: build/C/man3/stdarg.3:305
11294 msgid ""
11295 "The function I<foo> takes a string of format characters and prints out the "
11296 "argument associated with each format character based on the type."
11297 msgstr ""
11298
11299 #. type: Plain text
11300 #: build/C/man3/stdarg.3:309
11301 #, no-wrap
11302 msgid ""
11303 "#include E<lt>stdio.hE<gt>\n"
11304 "#include E<lt>stdarg.hE<gt>\n"
11305 msgstr ""
11306
11307 #. type: Plain text
11308 #: build/C/man3/stdarg.3:316
11309 #, no-wrap
11310 msgid ""
11311 "void\n"
11312 "foo(char *fmt, ...)\n"
11313 "{\n"
11314 "    va_list ap;\n"
11315 "    int d;\n"
11316 "    char c, *s;\n"
11317 msgstr ""
11318
11319 #. type: Plain text
11320 #: build/C/man3/stdarg.3:337
11321 #, no-wrap
11322 msgid ""
11323 "    va_start(ap, fmt);\n"
11324 "    while (*fmt)\n"
11325 "        switch (*fmt++) {\n"
11326 "        case \\(aqs\\(aq:              /* string */\n"
11327 "            s = va_arg(ap, char *);\n"
11328 "            printf(\"string %s\\en\", s);\n"
11329 "            break;\n"
11330 "        case \\(aqd\\(aq:              /* int */\n"
11331 "            d = va_arg(ap, int);\n"
11332 "            printf(\"int %d\\en\", d);\n"
11333 "            break;\n"
11334 "        case \\(aqc\\(aq:              /* char */\n"
11335 "            /* need a cast here since va_arg only\n"
11336 "               takes fully promoted types */\n"
11337 "            c = (char) va_arg(ap, int);\n"
11338 "            printf(\"char %c\\en\", c);\n"
11339 "            break;\n"
11340 "        }\n"
11341 "    va_end(ap);\n"
11342 "}\n"
11343 msgstr ""
11344
11345 #. type: TH
11346 #: build/C/man2/syslog.2:31 build/C/man3/syslog.3:36
11347 #, no-wrap
11348 msgid "SYSLOG"
11349 msgstr ""
11350
11351 #. type: TH
11352 #: build/C/man2/syslog.2:31
11353 #, no-wrap
11354 msgid "2012-11-29"
11355 msgstr ""
11356
11357 #. type: Plain text
11358 #: build/C/man2/syslog.2:35
11359 msgid ""
11360 "syslog, klogctl - read and/or clear kernel message ring buffer; set "
11361 "console_loglevel"
11362 msgstr ""
11363
11364 #. type: Plain text
11365 #: build/C/man2/syslog.2:39
11366 #, no-wrap
11367 msgid ""
11368 "B<int syslog(int >I<type>B<, char *>I<bufp>B<, int >I<len>B<);>\n"
11369 "B</* No wrapper provided in glibc */>\n"
11370 msgstr ""
11371
11372 #. type: Plain text
11373 #: build/C/man2/syslog.2:41
11374 #, no-wrap
11375 msgid "/* The glibc interface */\n"
11376 msgstr ""
11377
11378 #. type: Plain text
11379 #: build/C/man2/syslog.2:43
11380 #, no-wrap
11381 msgid "B<#include E<lt>sys/klog.hE<gt>>\n"
11382 msgstr ""
11383
11384 #. type: Plain text
11385 #: build/C/man2/syslog.2:45
11386 #, no-wrap
11387 msgid "B<int klogctl(int >I<type>B<, char *>I<bufp>B<, int >I<len>B<);>\n"
11388 msgstr ""
11389
11390 #. type: Plain text
11391 #: build/C/man2/syslog.2:57
11392 msgid ""
11393 "If you need the C library function B<syslog>()  (which talks to "
11394 "B<syslogd>(8)), then look at B<syslog>(3).  The system call of this name is "
11395 "about controlling the kernel I<printk>()  buffer, and the glibc wrapper "
11396 "function is called B<klogctl>()."
11397 msgstr ""
11398
11399 #. type: SS
11400 #: build/C/man2/syslog.2:57
11401 #, no-wrap
11402 msgid "The kernel log buffer"
11403 msgstr ""
11404
11405 #.  Under "General setup" ==> "Kernel log buffer size"
11406 #.  For 2.6, precisely the option seems to have appeared in 2.5.55.
11407 #. type: Plain text
11408 #: build/C/man2/syslog.2:73
11409 msgid ""
11410 "The kernel has a cyclic buffer of length B<LOG_BUF_LEN> in which messages "
11411 "given as arguments to the kernel function B<printk>()  are stored "
11412 "(regardless of their loglevel).  In early kernels, B<LOG_BUF_LEN> had the "
11413 "value 4096; from kernel 1.3.54, it was 8192; from kernel 2.1.113 it was "
11414 "16384; since 2.4.23/2.6 the value is a kernel configuration option "
11415 "(B<CONFIG_LOG_BUF_SHIFT>).  In recent kernels the size can be queried with "
11416 "command type 10 (see below)."
11417 msgstr ""
11418
11419 #. type: SS
11420 #: build/C/man2/syslog.2:73
11421 #, no-wrap
11422 msgid "Commands"
11423 msgstr ""
11424
11425 #. type: Plain text
11426 #: build/C/man2/syslog.2:80
11427 msgid ""
11428 "The I<type> argument determines the action taken by this function.  The list "
11429 "below specifies the values for I<type>.  The symbolic names are defined in "
11430 "the kernel source, but are not exported to user space; you will either need "
11431 "to use the numbers, or define the names yourself."
11432 msgstr ""
11433
11434 #. type: TP
11435 #: build/C/man2/syslog.2:80
11436 #, no-wrap
11437 msgid "B<SYSLOG_ACTION_CLOSE> (0)"
11438 msgstr ""
11439
11440 #. type: Plain text
11441 #: build/C/man2/syslog.2:84
11442 msgid "Close the log.  Currently a NOP."
11443 msgstr ""
11444
11445 #. type: TP
11446 #: build/C/man2/syslog.2:84
11447 #, no-wrap
11448 msgid "B<SYSLOG_ACTION_OPEN> (1)"
11449 msgstr ""
11450
11451 #. type: Plain text
11452 #: build/C/man2/syslog.2:88
11453 msgid "Open the log.  Currently a NOP."
11454 msgstr ""
11455
11456 #. type: TP
11457 #: build/C/man2/syslog.2:88
11458 #, no-wrap
11459 msgid "B<SYSLOG_ACTION_READ> (2)"
11460 msgstr ""
11461
11462 #. type: Plain text
11463 #: build/C/man2/syslog.2:100
11464 msgid ""
11465 "Read from the log.  The call waits until the kernel log buffer is nonempty, "
11466 "and then reads at most I<len> bytes into the buffer pointed to by I<bufp>.  "
11467 "The call returns the number of bytes read.  Bytes read from the log "
11468 "disappear from the log buffer: the information can be read only once.  This "
11469 "is the function executed by the kernel when a user program reads "
11470 "I</proc/kmsg>."
11471 msgstr ""
11472
11473 #. type: TP
11474 #: build/C/man2/syslog.2:100
11475 #, no-wrap
11476 msgid "B<SYSLOG_ACTION_READ_ALL> (3)"
11477 msgstr ""
11478
11479 #. type: Plain text
11480 #: build/C/man2/syslog.2:110
11481 msgid ""
11482 "Read all messages remaining in the ring buffer, placing then in the buffer "
11483 "pointed to by I<bufp>.  The call reads the last I<len> bytes from the log "
11484 "buffer (nondestructively), but will not read more than was written into the "
11485 "buffer since the last \"clear ring buffer\" command (see command 5 below)).  "
11486 "The call returns the number of bytes read."
11487 msgstr ""
11488
11489 #. type: TP
11490 #: build/C/man2/syslog.2:110
11491 #, no-wrap
11492 msgid "B<SYSLOG_ACTION_READ_CLEAR> (4)"
11493 msgstr ""
11494
11495 #. type: Plain text
11496 #: build/C/man2/syslog.2:116
11497 msgid ""
11498 "Read and clear all messages remaining in the ring buffer.  The call does "
11499 "precisely the same as for a I<type> of 3, but also executes the \"clear ring "
11500 "buffer\" command."
11501 msgstr ""
11502
11503 #. type: TP
11504 #: build/C/man2/syslog.2:116
11505 #, no-wrap
11506 msgid "B<SYSLOG_ACTION_CLEAR> (5)"
11507 msgstr ""
11508
11509 #. type: Plain text
11510 #: build/C/man2/syslog.2:124
11511 msgid ""
11512 "The call executes just the \"clear ring buffer\" command.  The I<bufp> and "
11513 "I<len> arguments are ignored."
11514 msgstr ""
11515
11516 #. type: Plain text
11517 #: build/C/man2/syslog.2:135
11518 msgid ""
11519 "This command does not really clear the ring buffer.  Rather, it sets a "
11520 "kernel bookkeeping variable that determines the results returned by commands "
11521 "3 (B<SYSLOG_ACTION_READ_ALL>)  and 4 (B<SYSLOG_ACTION_READ_CLEAR>).  This "
11522 "command has no effect on commands 2 (B<SYSLOG_ACTION_READ>)  and 9 "
11523 "(B<SYSLOG_ACTION_SIZE_UNREAD>)."
11524 msgstr ""
11525
11526 #. type: TP
11527 #: build/C/man2/syslog.2:135
11528 #, no-wrap
11529 msgid "B<SYSLOG_ACTION_CONSOLE_OFF> (6)"
11530 msgstr ""
11531
11532 #. type: Plain text
11533 #: build/C/man2/syslog.2:145
11534 msgid ""
11535 "Disable printk to console.  The call sets the console log level to the "
11536 "minimum, so that no messages are printed to the console.  The I<bufp> and "
11537 "I<len> arguments are ignored."
11538 msgstr ""
11539
11540 #. type: TP
11541 #: build/C/man2/syslog.2:145
11542 #, no-wrap
11543 msgid "B<SYSLOG_ACTION_CONSOLE_ON> (7)"
11544 msgstr ""
11545
11546 #. type: Plain text
11547 #: build/C/man2/syslog.2:154
11548 msgid ""
11549 "The call sets the console log level to the default, so that messages are "
11550 "printed to the console.  The I<bufp> and I<len> arguments are ignored."
11551 msgstr ""
11552
11553 #. type: TP
11554 #: build/C/man2/syslog.2:154
11555 #, no-wrap
11556 msgid "B<SYSLOG_ACTION_CONSOLE_LEVEL> (8)"
11557 msgstr ""
11558
11559 #. type: Plain text
11560 #: build/C/man2/syslog.2:165
11561 msgid ""
11562 "The call sets the console log level to the value given in I<len>, which must "
11563 "be an integer between 1 and 8 (inclusive).  See the B<loglevel> section for "
11564 "details.  The I<bufp> argument is ignored."
11565 msgstr ""
11566
11567 #. type: TP
11568 #: build/C/man2/syslog.2:165
11569 #, no-wrap
11570 msgid "B<SYSLOG_ACTION_SIZE_UNREAD> (9) (since Linux 2.4.10)"
11571 msgstr ""
11572
11573 #. type: Plain text
11574 #: build/C/man2/syslog.2:176
11575 msgid ""
11576 "The call returns the number of bytes currently available to be read from the "
11577 "kernel log buffer via command 2 (B<SYSLOG_ACTION_READ>).  The I<bufp> and "
11578 "I<len> arguments are ignored."
11579 msgstr ""
11580
11581 #. type: TP
11582 #: build/C/man2/syslog.2:176
11583 #, no-wrap
11584 msgid "B<SYSLOG_ACTION_SIZE_BUFFER> (10) (since Linux 2.6.6)"
11585 msgstr ""
11586
11587 #. type: Plain text
11588 #: build/C/man2/syslog.2:184
11589 msgid ""
11590 "This command returns the total size of the kernel log buffer.  The I<bufp> "
11591 "and I<len> arguments are ignored."
11592 msgstr ""
11593
11594 #. type: Plain text
11595 #: build/C/man2/syslog.2:201
11596 msgid ""
11597 "All commands except 3 and 10 require privilege.  In Linux kernels before "
11598 "2.6.37, command types 3 and 10 are allowed to unprivileged processes; since "
11599 "Linux 2.6.37, these commands are allowed to unprivileged processes only if "
11600 "I</proc/sys/kernel/dmesg_restrict> has the value 0.  Before Linux 2.6.37, "
11601 "\"privileged\" means that the caller has the B<CAP_SYS_ADMIN> capability.  "
11602 "Since Linux 2.6.37, \"privileged\" means that the caller has either the "
11603 "B<CAP_SYS_ADMIN> capability (now deprecated for this purpose) or the (new)  "
11604 "B<CAP_SYSLOG> capability."
11605 msgstr ""
11606
11607 #. type: SS
11608 #: build/C/man2/syslog.2:201
11609 #, no-wrap
11610 msgid "The loglevel"
11611 msgstr ""
11612
11613 #. type: Plain text
11614 #: build/C/man2/syslog.2:223
11615 msgid ""
11616 "The kernel routine B<printk>()  will only print a message on the console, if "
11617 "it has a loglevel less than the value of the variable I<console_loglevel>.  "
11618 "This variable initially has the value B<DEFAULT_CONSOLE_LOGLEVEL> (7), but "
11619 "is set to 10 if the kernel command line contains the word \"debug\", and to "
11620 "15 in case of a kernel fault (the 10 and 15 are just silly, and equivalent "
11621 "to 8).  This variable is set (to a value in the range 1-8) by a B<syslog>()  "
11622 "call with a I<type> of 8.  Calls to B<syslog>()  with I<type> equal to 6 or "
11623 "7 set the variable to 1 (kernel panics only)  or 7 (all except debugging "
11624 "messages), respectively."
11625 msgstr ""
11626
11627 #. type: Plain text
11628 #: build/C/man2/syslog.2:233
11629 msgid ""
11630 "Every text line in a message has its own loglevel.  This level is "
11631 "I<DEFAULT_MESSAGE_LOGLEVEL - 1> (6) unless the line starts with E<lt>dE<gt> "
11632 "where I<d> is a digit in the range 1-7, in which case the level is I<d>.  "
11633 "The conventional meaning of the loglevel is defined in "
11634 "I<E<lt>linux/kernel.hE<gt>> as follows:"
11635 msgstr ""
11636
11637 #. type: Plain text
11638 #: build/C/man2/syslog.2:243
11639 #, no-wrap
11640 msgid ""
11641 "#define KERN_EMERG    \"E<lt>0E<gt>\"  /* system is unusable               "
11642 "*/\n"
11643 "#define KERN_ALERT    \"E<lt>1E<gt>\"  /* action must be taken immediately "
11644 "*/\n"
11645 "#define KERN_CRIT     \"E<lt>2E<gt>\"  /* critical conditions              "
11646 "*/\n"
11647 "#define KERN_ERR      \"E<lt>3E<gt>\"  /* error conditions                 "
11648 "*/\n"
11649 "#define KERN_WARNING  \"E<lt>4E<gt>\"  /* warning conditions               "
11650 "*/\n"
11651 "#define KERN_NOTICE   \"E<lt>5E<gt>\"  /* normal but significant condition "
11652 "*/\n"
11653 "#define KERN_INFO     \"E<lt>6E<gt>\"  /* informational                    "
11654 "*/\n"
11655 "#define KERN_DEBUG    \"E<lt>7E<gt>\"  /* debug-level messages             "
11656 "*/\n"
11657 msgstr ""
11658
11659 #. type: Plain text
11660 #: build/C/man2/syslog.2:257
11661 msgid ""
11662 "For I<type> equal to 2, 3, or 4, a successful call to B<syslog>()  returns "
11663 "the number of bytes read.  For I<type> 9, B<syslog>()  returns the number of "
11664 "bytes currently available to be read on the kernel log buffer.  For I<type> "
11665 "10, B<syslog>()  returns the total size of the kernel log buffer.  For other "
11666 "values of I<type>, 0 is returned on success."
11667 msgstr ""
11668
11669 #. type: Plain text
11670 #: build/C/man2/syslog.2:260
11671 msgid "In case of error, -1 is returned, and I<errno> is set to indicate the error."
11672 msgstr ""
11673
11674 #. type: Plain text
11675 #: build/C/man2/syslog.2:278
11676 msgid ""
11677 "Bad arguments (e.g., bad I<type>; or for I<type> 2, 3, or 4, I<buf> is NULL, "
11678 "or I<len> is less than zero; or for I<type> 8, the I<level> is outside the "
11679 "range 1 to 8)."
11680 msgstr ""
11681
11682 #. type: Plain text
11683 #: build/C/man2/syslog.2:285
11684 msgid ""
11685 "This B<syslog>()  system call is not available, because the kernel was "
11686 "compiled with the B<CONFIG_PRINTK> kernel-configuration option disabled."
11687 msgstr ""
11688
11689 #. type: Plain text
11690 #: build/C/man2/syslog.2:294
11691 msgid ""
11692 "An attempt was made to change console_loglevel or clear the kernel message "
11693 "ring buffer by a process without sufficient privilege (more precisely: "
11694 "without the B<CAP_SYS_ADMIN> or B<CAP_SYSLOG> capability)."
11695 msgstr ""
11696
11697 #. type: TP
11698 #: build/C/man2/syslog.2:294
11699 #, no-wrap
11700 msgid "B<ERESTARTSYS>"
11701 msgstr ""
11702
11703 #. type: Plain text
11704 #: build/C/man2/syslog.2:298
11705 msgid ""
11706 "System call was interrupted by a signal; nothing was read.  (This can be "
11707 "seen only during a trace.)"
11708 msgstr ""
11709
11710 #. type: Plain text
11711 #: build/C/man2/syslog.2:301
11712 msgid ""
11713 "This system call is Linux-specific and should not be used in programs "
11714 "intended to be portable."
11715 msgstr ""
11716
11717 #.  In libc4 and libc5 the number of this call was defined by
11718 #.  .BR SYS_klog .
11719 #.  In glibc 2.0 the syscall is baptized
11720 #.  .BR klogctl ().
11721 #. type: Plain text
11722 #: build/C/man2/syslog.2:309
11723 msgid ""
11724 "From the very start people noted that it is unfortunate that a system call "
11725 "and a library routine of the same name are entirely different animals."
11726 msgstr ""
11727
11728 #. type: Plain text
11729 #: build/C/man2/syslog.2:312
11730 msgid "B<syslog>(3), B<capabilities>(7)"
11731 msgstr ""
11732
11733 #. type: TH
11734 #: build/C/man3/syslog.3:36
11735 #, no-wrap
11736 msgid "2012-08-17"
11737 msgstr ""
11738
11739 #. type: Plain text
11740 #: build/C/man3/syslog.3:39
11741 msgid "closelog, openlog, syslog, vsyslog - send messages to the system logger"
11742 msgstr ""
11743
11744 #. type: Plain text
11745 #: build/C/man3/syslog.3:41
11746 msgid "B<#include E<lt>syslog.hE<gt>>"
11747 msgstr ""
11748
11749 #. type: Plain text
11750 #: build/C/man3/syslog.3:43
11751 msgid ""
11752 "B<void openlog(const char *>I<ident>B<, int >I<option>B<, int "
11753 ">I<facility>B<);>"
11754 msgstr ""
11755
11756 #. type: Plain text
11757 #: build/C/man3/syslog.3:45
11758 msgid "B<void syslog(int >I<priority>B<, const char *>I<format>B<, ...);>"
11759 msgstr ""
11760
11761 #. type: Plain text
11762 #: build/C/man3/syslog.3:47
11763 msgid "B<void closelog(void);>"
11764 msgstr ""
11765
11766 #. type: Plain text
11767 #: build/C/man3/syslog.3:51
11768 msgid ""
11769 "B<void vsyslog(int >I<priority>B<, const char *>I<format>B<, va_list "
11770 ">I<ap>B<);>"
11771 msgstr ""
11772
11773 #. type: Plain text
11774 #: build/C/man3/syslog.3:59
11775 msgid "B<vsyslog>(): _BSD_SOURCE"
11776 msgstr ""
11777
11778 #. type: Plain text
11779 #: build/C/man3/syslog.3:65
11780 msgid ""
11781 "B<closelog>()  closes the descriptor being used to write to the system "
11782 "logger.  The use of B<closelog>()  is optional."
11783 msgstr ""
11784
11785 #. type: Plain text
11786 #: build/C/man3/syslog.3:77
11787 msgid ""
11788 "B<openlog>()  opens a connection to the system logger for a program.  The "
11789 "string pointed to by I<ident> is prepended to every message, and is "
11790 "typically set to the program name.  If I<ident> is NULL, the program name is "
11791 "used.  (POSIX.1-2008 does not specify the behavior when I<ident> is NULL.)"
11792 msgstr ""
11793
11794 #. type: Plain text
11795 #: build/C/man3/syslog.3:101
11796 msgid ""
11797 "The I<option> argument specifies flags which control the operation of "
11798 "B<openlog>()  and subsequent calls to B<syslog>().  The I<facility> argument "
11799 "establishes a default to be used if none is specified in subsequent calls to "
11800 "B<syslog>().  Values for I<option> and I<facility> are given below.  The use "
11801 "of B<openlog>()  is optional; it will automatically be called by B<syslog>()  "
11802 "if necessary, in which case I<ident> will default to NULL."
11803 msgstr ""
11804
11805 #. type: Plain text
11806 #: build/C/man3/syslog.3:125
11807 msgid ""
11808 "B<syslog>()  generates a log message, which will be distributed by "
11809 "B<syslogd>(8).  The I<priority> argument is formed by ORing the I<facility> "
11810 "and the I<level> values (explained below).  The remaining arguments are a "
11811 "I<format>, as in B<printf>(3)  and any arguments required by the I<format>, "
11812 "except that the two character sequence B<%m> will be replaced by the error "
11813 "message string I<strerror>(I<errno>).  A trailing newline may be added if "
11814 "needed."
11815 msgstr ""
11816
11817 #. type: Plain text
11818 #: build/C/man3/syslog.3:134
11819 msgid ""
11820 "The function B<vsyslog>()  performs the same task as B<syslog>()  with the "
11821 "difference that it takes a set of arguments which have been obtained using "
11822 "the B<stdarg>(3)  variable argument list macros."
11823 msgstr ""
11824
11825 #. type: Plain text
11826 #: build/C/man3/syslog.3:137
11827 msgid ""
11828 "The subsections below list the parameters used to set the values of "
11829 "I<option>,I< facility>, and I<priority>."
11830 msgstr ""
11831
11832 #. type: SS
11833 #: build/C/man3/syslog.3:137
11834 #, no-wrap
11835 msgid "option"
11836 msgstr ""
11837
11838 #. type: Plain text
11839 #: build/C/man3/syslog.3:143
11840 msgid "The I<option> argument to B<openlog>()  is an OR of any of these:"
11841 msgstr ""
11842
11843 #. type: TP
11844 #: build/C/man3/syslog.3:143
11845 #, no-wrap
11846 msgid "B<LOG_CONS>"
11847 msgstr ""
11848
11849 #. type: Plain text
11850 #: build/C/man3/syslog.3:147
11851 msgid ""
11852 "Write directly to system console if there is an error while sending to "
11853 "system logger."
11854 msgstr ""
11855
11856 #. type: TP
11857 #: build/C/man3/syslog.3:147
11858 #, no-wrap
11859 msgid "B<LOG_NDELAY>"
11860 msgstr ""
11861
11862 #. type: Plain text
11863 #: build/C/man3/syslog.3:151
11864 msgid ""
11865 "Open the connection immediately (normally, the connection is opened when the "
11866 "first message is logged)."
11867 msgstr ""
11868
11869 #. type: TP
11870 #: build/C/man3/syslog.3:151
11871 #, no-wrap
11872 msgid "B<LOG_NOWAIT>"
11873 msgstr ""
11874
11875 #. type: Plain text
11876 #: build/C/man3/syslog.3:157
11877 msgid ""
11878 "Don't wait for child processes that may have been created while logging the "
11879 "message.  (The GNU C library does not create a child process, so this option "
11880 "has no effect on Linux.)"
11881 msgstr ""
11882
11883 #. type: TP
11884 #: build/C/man3/syslog.3:157
11885 #, no-wrap
11886 msgid "B<LOG_ODELAY>"
11887 msgstr ""
11888
11889 #. type: Plain text
11890 #: build/C/man3/syslog.3:165
11891 msgid ""
11892 "The converse of B<LOG_NDELAY>; opening of the connection is delayed until "
11893 "B<syslog>()  is called.  (This is the default, and need not be specified.)"
11894 msgstr ""
11895
11896 #. type: TP
11897 #: build/C/man3/syslog.3:165
11898 #, no-wrap
11899 msgid "B<LOG_PERROR>"
11900 msgstr ""
11901
11902 #. type: Plain text
11903 #: build/C/man3/syslog.3:169
11904 msgid "(Not in POSIX.1-2001 or POSIX.1-2008.)  Print to I<stderr> as well."
11905 msgstr ""
11906
11907 #. type: TP
11908 #: build/C/man3/syslog.3:169
11909 #, no-wrap
11910 msgid "B<LOG_PID>"
11911 msgstr ""
11912
11913 #. type: Plain text
11914 #: build/C/man3/syslog.3:172
11915 msgid "Include PID with each message."
11916 msgstr ""
11917
11918 #. type: SS
11919 #: build/C/man3/syslog.3:172
11920 #, no-wrap
11921 msgid "facility"
11922 msgstr ""
11923
11924 #. type: Plain text
11925 #: build/C/man3/syslog.3:178
11926 msgid ""
11927 "The I<facility> argument is used to specify what type of program is logging "
11928 "the message.  This lets the configuration file specify that messages from "
11929 "different facilities will be handled differently."
11930 msgstr ""
11931
11932 #. type: TP
11933 #: build/C/man3/syslog.3:178
11934 #, no-wrap
11935 msgid "B<LOG_AUTH>"
11936 msgstr ""
11937
11938 #. type: Plain text
11939 #: build/C/man3/syslog.3:181
11940 msgid "security/authorization messages"
11941 msgstr ""
11942
11943 #. type: TP
11944 #: build/C/man3/syslog.3:181
11945 #, no-wrap
11946 msgid "B<LOG_AUTHPRIV>"
11947 msgstr ""
11948
11949 #. type: Plain text
11950 #: build/C/man3/syslog.3:184
11951 msgid "security/authorization messages (private)"
11952 msgstr ""
11953
11954 #. type: TP
11955 #: build/C/man3/syslog.3:184
11956 #, no-wrap
11957 msgid "B<LOG_CRON>"
11958 msgstr ""
11959
11960 #. type: Plain text
11961 #: build/C/man3/syslog.3:188
11962 msgid "clock daemon (B<cron> and B<at>)"
11963 msgstr ""
11964
11965 #. type: TP
11966 #: build/C/man3/syslog.3:188
11967 #, no-wrap
11968 msgid "B<LOG_DAEMON>"
11969 msgstr ""
11970
11971 #. type: Plain text
11972 #: build/C/man3/syslog.3:191
11973 msgid "system daemons without separate facility value"
11974 msgstr ""
11975
11976 #. type: TP
11977 #: build/C/man3/syslog.3:191
11978 #, no-wrap
11979 msgid "B<LOG_FTP>"
11980 msgstr ""
11981
11982 #. type: Plain text
11983 #: build/C/man3/syslog.3:194
11984 msgid "ftp daemon"
11985 msgstr ""
11986
11987 #. type: TP
11988 #: build/C/man3/syslog.3:194
11989 #, no-wrap
11990 msgid "B<LOG_KERN>"
11991 msgstr ""
11992
11993 #.  LOG_KERN has the value 0; if used as a facility, zero translates to:
11994 #.  "use the default facility".
11995 #. type: Plain text
11996 #: build/C/man3/syslog.3:199
11997 msgid "kernel messages (these can't be generated from user processes)"
11998 msgstr ""
11999
12000 #. type: TP
12001 #: build/C/man3/syslog.3:199
12002 #, no-wrap
12003 msgid "B<LOG_LOCAL0> through B<LOG_LOCAL7>"
12004 msgstr ""
12005
12006 #. type: Plain text
12007 #: build/C/man3/syslog.3:202
12008 msgid "reserved for local use"
12009 msgstr ""
12010
12011 #. type: TP
12012 #: build/C/man3/syslog.3:202
12013 #, no-wrap
12014 msgid "B<LOG_LPR>"
12015 msgstr ""
12016
12017 #. type: Plain text
12018 #: build/C/man3/syslog.3:205
12019 msgid "line printer subsystem"
12020 msgstr ""
12021
12022 #. type: TP
12023 #: build/C/man3/syslog.3:205
12024 #, no-wrap
12025 msgid "B<LOG_MAIL>"
12026 msgstr ""
12027
12028 #. type: Plain text
12029 #: build/C/man3/syslog.3:208
12030 msgid "mail subsystem"
12031 msgstr ""
12032
12033 #. type: TP
12034 #: build/C/man3/syslog.3:208
12035 #, no-wrap
12036 msgid "B<LOG_NEWS>"
12037 msgstr ""
12038
12039 #. type: Plain text
12040 #: build/C/man3/syslog.3:211
12041 msgid "USENET news subsystem"
12042 msgstr ""
12043
12044 #. type: TP
12045 #: build/C/man3/syslog.3:211
12046 #, no-wrap
12047 msgid "B<LOG_SYSLOG>"
12048 msgstr ""
12049
12050 #. type: Plain text
12051 #: build/C/man3/syslog.3:215
12052 msgid "messages generated internally by B<syslogd>(8)"
12053 msgstr ""
12054
12055 #. type: TP
12056 #: build/C/man3/syslog.3:215
12057 #, no-wrap
12058 msgid "B<LOG_USER> (default)"
12059 msgstr ""
12060
12061 #. type: Plain text
12062 #: build/C/man3/syslog.3:218
12063 msgid "generic user-level messages"
12064 msgstr ""
12065
12066 #. type: TP
12067 #: build/C/man3/syslog.3:218
12068 #, no-wrap
12069 msgid "B<LOG_UUCP>"
12070 msgstr ""
12071
12072 #. type: Plain text
12073 #: build/C/man3/syslog.3:221
12074 msgid "UUCP subsystem"
12075 msgstr ""
12076
12077 #. type: SS
12078 #: build/C/man3/syslog.3:221
12079 #, no-wrap
12080 msgid "level"
12081 msgstr ""
12082
12083 #. type: Plain text
12084 #: build/C/man3/syslog.3:224
12085 msgid ""
12086 "This determines the importance of the message.  The levels are, in order of "
12087 "decreasing importance:"
12088 msgstr ""
12089
12090 #. type: TP
12091 #: build/C/man3/syslog.3:224
12092 #, no-wrap
12093 msgid "B<LOG_EMERG>"
12094 msgstr ""
12095
12096 #. type: Plain text
12097 #: build/C/man3/syslog.3:227
12098 msgid "system is unusable"
12099 msgstr ""
12100
12101 #. type: TP
12102 #: build/C/man3/syslog.3:227
12103 #, no-wrap
12104 msgid "B<LOG_ALERT>"
12105 msgstr ""
12106
12107 #. type: Plain text
12108 #: build/C/man3/syslog.3:230
12109 msgid "action must be taken immediately"
12110 msgstr ""
12111
12112 #. type: TP
12113 #: build/C/man3/syslog.3:230
12114 #, no-wrap
12115 msgid "B<LOG_CRIT>"
12116 msgstr ""
12117
12118 #. type: Plain text
12119 #: build/C/man3/syslog.3:233
12120 msgid "critical conditions"
12121 msgstr ""
12122
12123 #. type: TP
12124 #: build/C/man3/syslog.3:233
12125 #, no-wrap
12126 msgid "B<LOG_ERR>"
12127 msgstr ""
12128
12129 #. type: Plain text
12130 #: build/C/man3/syslog.3:236
12131 msgid "error conditions"
12132 msgstr ""
12133
12134 #. type: TP
12135 #: build/C/man3/syslog.3:236
12136 #, no-wrap
12137 msgid "B<LOG_WARNING>"
12138 msgstr ""
12139
12140 #. type: Plain text
12141 #: build/C/man3/syslog.3:239
12142 msgid "warning conditions"
12143 msgstr ""
12144
12145 #. type: TP
12146 #: build/C/man3/syslog.3:239
12147 #, no-wrap
12148 msgid "B<LOG_NOTICE>"
12149 msgstr ""
12150
12151 #. type: Plain text
12152 #: build/C/man3/syslog.3:242
12153 msgid "normal, but significant, condition"
12154 msgstr ""
12155
12156 #. type: TP
12157 #: build/C/man3/syslog.3:242
12158 #, no-wrap
12159 msgid "B<LOG_INFO>"
12160 msgstr ""
12161
12162 #. type: Plain text
12163 #: build/C/man3/syslog.3:245
12164 msgid "informational message"
12165 msgstr ""
12166
12167 #. type: TP
12168 #: build/C/man3/syslog.3:245
12169 #, no-wrap
12170 msgid "B<LOG_DEBUG>"
12171 msgstr ""
12172
12173 #. type: Plain text
12174 #: build/C/man3/syslog.3:248
12175 msgid "debug-level message"
12176 msgstr ""
12177
12178 #. type: Plain text
12179 #: build/C/man3/syslog.3:252
12180 msgid ""
12181 "The function B<setlogmask>(3)  can be used to restrict logging to specified "
12182 "levels only."
12183 msgstr ""
12184
12185 #.  .SH HISTORY
12186 #.  A
12187 #.  .BR syslog ()
12188 #.  function call appeared in 4.2BSD.
12189 #.  4.3BSD documents
12190 #.  .BR openlog (),
12191 #.  .BR syslog (),
12192 #.  .BR closelog (),
12193 #.  and
12194 #.  .BR setlogmask ().
12195 #.  4.3BSD-Reno also documents
12196 #.  .BR vsyslog ().
12197 #.  Of course early v* functions used the
12198 #.  .I <varargs.h>
12199 #.  mechanism, which is not compatible with
12200 #.  .IR <stdarg.h> .
12201 #. type: Plain text
12202 #: build/C/man3/syslog.3:296
12203 msgid ""
12204 "The functions B<openlog>(), B<closelog>(), and B<syslog>()  (but not "
12205 "B<vsyslog>())  are specified in SUSv2, POSIX.1-2001, and POSIX.1-2008.  "
12206 "POSIX.1-2001 specifies only the B<LOG_USER> and B<LOG_LOCAL*> values for "
12207 "I<facility>.  However, with the exception of B<LOG_AUTHPRIV> and B<LOG_FTP>, "
12208 "the other I<facility> values appear on most UNIX systems.  The B<LOG_PERROR> "
12209 "value for I<option> is not specified by POSIX.1-2001 or POSIX.1-2008, but is "
12210 "available in most versions of UNIX."
12211 msgstr ""
12212
12213 #. type: Plain text
12214 #: build/C/man3/syslog.3:308
12215 msgid ""
12216 "The argument I<ident> in the call of B<openlog>()  is probably stored "
12217 "as-is.  Thus, if the string it points to is changed, B<syslog>()  may start "
12218 "prepending the changed string, and if the string it points to ceases to "
12219 "exist, the results are undefined.  Most portable is to use a string "
12220 "constant."
12221 msgstr ""
12222
12223 #. type: Plain text
12224 #: build/C/man3/syslog.3:311
12225 msgid ""
12226 "Never pass a string with user-supplied data as a format, use the following "
12227 "instead:"
12228 msgstr ""
12229
12230 #. type: Plain text
12231 #: build/C/man3/syslog.3:314
12232 #, no-wrap
12233 msgid "    syslog(priority, \"%s\", string);\n"
12234 msgstr ""
12235
12236 #. type: Plain text
12237 #: build/C/man3/syslog.3:320
12238 msgid "B<logger>(1), B<setlogmask>(3), B<syslog.conf>(5), B<syslogd>(8)"
12239 msgstr ""
12240
12241 #. type: TH
12242 #: build/C/man4/ttyS.4:26
12243 #, no-wrap
12244 msgid "TTYS"
12245 msgstr ""
12246
12247 #. type: TH
12248 #: build/C/man4/ttyS.4:26
12249 #, no-wrap
12250 msgid "1992-12-19"
12251 msgstr ""
12252
12253 #. type: Plain text
12254 #: build/C/man4/ttyS.4:29
12255 msgid "ttyS - serial terminal lines"
12256 msgstr ""
12257
12258 #. type: Plain text
12259 #: build/C/man4/ttyS.4:32
12260 msgid "B<ttyS[0-3]> are character devices for the serial terminal lines."
12261 msgstr ""
12262
12263 #. type: Plain text
12264 #: build/C/man4/ttyS.4:37
12265 msgid "mknod -m 660 /dev/ttyS0 c 4 64 # base address 0x3f8"
12266 msgstr ""
12267
12268 #. type: Plain text
12269 #: build/C/man4/ttyS.4:39
12270 msgid "mknod -m 660 /dev/ttyS1 c 4 65 # base address 0x2f8"
12271 msgstr ""
12272
12273 #. type: Plain text
12274 #: build/C/man4/ttyS.4:41
12275 msgid "mknod -m 660 /dev/ttyS2 c 4 66 # base address 0x3e8"
12276 msgstr ""
12277
12278 #. type: Plain text
12279 #: build/C/man4/ttyS.4:43
12280 msgid "mknod -m 660 /dev/ttyS3 c 4 67 # base address 0x2e8"
12281 msgstr ""
12282
12283 #. type: Plain text
12284 #: build/C/man4/ttyS.4:45
12285 msgid "chown root:tty /dev/ttyS[0-3]"
12286 msgstr ""
12287
12288 #. type: Plain text
12289 #: build/C/man4/ttyS.4:48
12290 msgid "/dev/ttyS[0-3]"
12291 msgstr ""
12292
12293 #. type: Plain text
12294 #: build/C/man4/ttyS.4:55
12295 msgid ""
12296 "B<chown>(1), B<mknod>(1), B<tty>(4), B<agetty>(8), B<mingetty>(8), "
12297 "B<setserial>(8)"
12298 msgstr ""
12299
12300 #. type: TH
12301 #: build/C/man7/uri.7:48
12302 #, no-wrap
12303 msgid "URI"
12304 msgstr ""
12305
12306 #. type: TH
12307 #: build/C/man7/uri.7:48
12308 #, no-wrap
12309 msgid "2014-03-18"
12310 msgstr ""
12311
12312 #. type: Plain text
12313 #: build/C/man7/uri.7:51
12314 msgid "uri, url, urn - uniform resource identifier (URI), including a URL or URN"
12315 msgstr ""
12316
12317 #. type: Plain text
12318 #: build/C/man7/uri.7:55
12319 #, no-wrap
12320 msgid "URI = [ absoluteURI | relativeURI ] [ \"#\" fragment ]\n"
12321 msgstr ""
12322
12323 #. type: Plain text
12324 #: build/C/man7/uri.7:57
12325 #, no-wrap
12326 msgid "absoluteURI = scheme \":\" ( hierarchical_part | opaque_part )\n"
12327 msgstr ""
12328
12329 #. type: Plain text
12330 #: build/C/man7/uri.7:59
12331 #, no-wrap
12332 msgid "relativeURI = ( net_path | absolute_path | relative_path ) [ \"?\" query ]\n"
12333 msgstr ""
12334
12335 #. type: Plain text
12336 #: build/C/man7/uri.7:62
12337 #, no-wrap
12338 msgid ""
12339 "scheme = \"http\" | \"ftp\" | \"gopher\" | \"mailto\" | \"news\" | "
12340 "\"telnet\" |\n"
12341 "         \"file\" | \"man\" | \"info\" | \"whatis\" | \"ldap\" | \"wais\" | "
12342 "\\&...\n"
12343 msgstr ""
12344
12345 #. type: Plain text
12346 #: build/C/man7/uri.7:64
12347 #, no-wrap
12348 msgid "hierarchical_part = ( net_path | absolute_path ) [ \"?\" query ]\n"
12349 msgstr ""
12350
12351 #. type: Plain text
12352 #: build/C/man7/uri.7:66
12353 #, no-wrap
12354 msgid "net_path = \"//\" authority [ absolute_path ]\n"
12355 msgstr ""
12356
12357 #. type: Plain text
12358 #: build/C/man7/uri.7:68
12359 #, no-wrap
12360 msgid "absolute_path = \"/\"  path_segments\n"
12361 msgstr ""
12362
12363 #. type: Plain text
12364 #: build/C/man7/uri.7:70
12365 #, no-wrap
12366 msgid "relative_path = relative_segment [ absolute_path ]\n"
12367 msgstr ""
12368
12369 #. type: Plain text
12370 #: build/C/man7/uri.7:82
12371 msgid ""
12372 "A Uniform Resource Identifier (URI) is a short string of characters "
12373 "identifying an abstract or physical resource (for example, a web page).  A "
12374 "Uniform Resource Locator (URL) is a URI that identifies a resource through "
12375 "its primary access mechanism (e.g., its network \"location\"), rather than "
12376 "by name or some other attribute of that resource.  A Uniform Resource Name "
12377 "(URN) is a URI that must remain globally unique and persistent even when the "
12378 "resource ceases to exist or becomes unavailable."
12379 msgstr ""
12380
12381 #. type: Plain text
12382 #: build/C/man7/uri.7:89
12383 msgid ""
12384 "URIs are the standard way to name hypertext link destinations for tools such "
12385 "as web browsers.  The string \"http://www.kernelnotes.org\" is a URL (and "
12386 "thus it is also a URI).  Many people use the term URL loosely as a synonym "
12387 "for URI (though technically URLs are a subset of URIs)."
12388 msgstr ""
12389
12390 #. type: Plain text
12391 #: build/C/man7/uri.7:105
12392 msgid ""
12393 "URIs can be absolute or relative.  An absolute identifier refers to a "
12394 "resource independent of context, while a relative identifier refers to a "
12395 "resource by describing the difference from the current context.  Within a "
12396 "relative path reference, the complete path segments \".\" and \"..\" have "
12397 "special meanings: \"the current hierarchy level\" and \"the level above this "
12398 "hierarchy level\", respectively, just like they do in UNIX-like systems.  A "
12399 "path segment which contains a colon character can't be used as the first "
12400 "segment of a relative URI path (e.g., \"this:that\"), because it would be "
12401 "mistaken for a scheme name; precede such segments with ./ (e.g., "
12402 "\"./this:that\").  Note that descendants of MS-DOS (e.g., Microsoft Windows) "
12403 "replace devicename colons with the vertical bar (\"|\") in URIs, so \"C:\" "
12404 "becomes \"C|\"."
12405 msgstr ""
12406
12407 #. type: Plain text
12408 #: build/C/man7/uri.7:109
12409 msgid ""
12410 "A fragment identifier, if included, refers to a particular named portion "
12411 "(fragment) of a resource; text after a \\(aq#\\(aq identifies the fragment.  "
12412 "A URI beginning with \\(aq#\\(aq refers to that fragment in the current "
12413 "resource."
12414 msgstr ""
12415
12416 #. type: Plain text
12417 #: build/C/man7/uri.7:117
12418 msgid ""
12419 "There are many different URI schemes, each with specific additional rules "
12420 "and meanings, but they are intentionally made to be as similar as possible.  "
12421 "For example, many URL schemes permit the authority to be the following "
12422 "format, called here an I<ip_server> (square brackets show what's optional):"
12423 msgstr ""
12424
12425 #. type: Plain text
12426 #: build/C/man7/uri.7:119
12427 msgid "I<ip_server = >[I<user> [ : I<password> ] @ ] I<host> [ : I<port>]"
12428 msgstr ""
12429
12430 #. type: Plain text
12431 #: build/C/man7/uri.7:135
12432 msgid ""
12433 "This format allows you to optionally insert a username, a user plus "
12434 "password, and/or a port number.  The I<host> is the name of the host "
12435 "computer, either its name as determined by DNS or an IP address (numbers "
12436 "separated by periods).  Thus the URI "
12437 "E<lt>http://fred:fredpassword@xyz.com:8080/E<gt> logs into a web server on "
12438 "host xyz.com as fred (using fredpassword) using port 8080.  Avoid including "
12439 "a password in a URI if possible because of the many security risks of having "
12440 "a password written down.  If the URL supplies a username but no password, "
12441 "and the remote server requests a password, the program interpreting the URL "
12442 "should request one from the user."
12443 msgstr ""
12444
12445 #. type: Plain text
12446 #: build/C/man7/uri.7:140
12447 msgid ""
12448 "Here are some of the most common schemes in use on UNIX-like systems that "
12449 "are understood by many tools.  Note that many tools using URIs also have "
12450 "internal schemes or specialized schemes; see those tools' documentation for "
12451 "information on those schemes."
12452 msgstr ""
12453
12454 #. type: Plain text
12455 #: build/C/man7/uri.7:142
12456 msgid "B<http - Web (HTTP) server>"
12457 msgstr ""
12458
12459 #. type: Plain text
12460 #: build/C/man7/uri.7:144
12461 msgid "http://I<ip_server>/I<path>"
12462 msgstr ""
12463
12464 #. type: Plain text
12465 #: build/C/man7/uri.7:146
12466 msgid "http://I<ip_server>/I<path>?I<query>"
12467 msgstr ""
12468
12469 #. type: Plain text
12470 #: build/C/man7/uri.7:154
12471 msgid ""
12472 "This is a URL accessing a web (HTTP) server.  The default port is 80.  If "
12473 "the path refers to a directory, the web server will choose what to return; "
12474 "usually if there is a file named \"index.html\" or \"index.htm\" its content "
12475 "is returned, otherwise, a list of the files in the current directory (with "
12476 "appropriate links) is generated and returned.  An example is "
12477 "E<lt>http://lwn.netE<gt>."
12478 msgstr ""
12479
12480 #. type: Plain text
12481 #: build/C/man7/uri.7:177
12482 msgid ""
12483 "A query can be given in the archaic \"isindex\" format, consisting of a word "
12484 "or phrase and not including an equal sign (=).  A query can also be in the "
12485 "longer \"GET\" format, which has one or more query entries of the form "
12486 "I<key>=I<value> separated by the ampersand character (&).  Note that I<key> "
12487 "can be repeated more than once, though it's up to the web server and its "
12488 "application programs to determine if there's any meaning to that.  There is "
12489 "an unfortunate interaction with HTML/XML/SGML and the GET query format; when "
12490 "such URIs with more than one key are embedded in SGML/XML documents "
12491 "(including HTML), the ampersand (&) has to be rewritten as &amp;.  Note that "
12492 "not all queries use this format; larger forms may be too long to store as a "
12493 "URI, so they use a different interaction mechanism (called POST) which does "
12494 "not include the data in the URI.  See the Common Gateway Interface "
12495 "specification at E<.UR http://www.w3.org\\:/CGI> E<.UE> for more "
12496 "information."
12497 msgstr ""
12498
12499 #. type: Plain text
12500 #: build/C/man7/uri.7:179
12501 msgid "B<ftp - File Transfer Protocol (FTP)>"
12502 msgstr ""
12503
12504 #. type: Plain text
12505 #: build/C/man7/uri.7:181
12506 msgid "ftp://I<ip_server>/I<path>"
12507 msgstr ""
12508
12509 #. type: Plain text
12510 #: build/C/man7/uri.7:189
12511 msgid ""
12512 "This is a URL accessing a file through the file transfer protocol (FTP).  "
12513 "The default port (for control) is 21.  If no username is included, the "
12514 "username \"anonymous\" is supplied, and in that case many clients provide as "
12515 "the password the requestor's Internet email address.  An example is "
12516 "E<lt>ftp://ftp.is.co.za/rfc/rfc1808.txtE<gt>."
12517 msgstr ""
12518
12519 #. type: Plain text
12520 #: build/C/man7/uri.7:191
12521 msgid "B<gopher - Gopher server>"
12522 msgstr ""
12523
12524 #. type: Plain text
12525 #: build/C/man7/uri.7:193
12526 msgid "gopher://I<ip_server>/I<gophertype selector>"
12527 msgstr ""
12528
12529 #. type: Plain text
12530 #: build/C/man7/uri.7:195
12531 msgid "gopher://I<ip_server>/I<gophertype selector>%09I<search>"
12532 msgstr ""
12533
12534 #. type: Plain text
12535 #: build/C/man7/uri.7:197
12536 msgid "gopher://I<ip_server>/I<gophertype selector>%09I<search>%09I<gopher+_string>"
12537 msgstr ""
12538
12539 #. type: Plain text
12540 #: build/C/man7/uri.7:207
12541 msgid ""
12542 "The default gopher port is 70.  I<gophertype> is a single-character field to "
12543 "denote the Gopher type of the resource to which the URL refers.  The entire "
12544 "path may also be empty, in which case the delimiting \"/\" is also optional "
12545 "and the gophertype defaults to \"1\"."
12546 msgstr ""
12547
12548 #. type: Plain text
12549 #: build/C/man7/uri.7:214
12550 msgid ""
12551 "I<selector> is the Gopher selector string.  In the Gopher protocol, Gopher "
12552 "selector strings are a sequence of octets which may contain any octets "
12553 "except 09 hexadecimal (US-ASCII HT or tab), 0A hexadecimal (US-ASCII "
12554 "character LF), and 0D (US-ASCII character CR)."
12555 msgstr ""
12556
12557 #. type: Plain text
12558 #: build/C/man7/uri.7:216
12559 msgid "B<mailto - Email address>"
12560 msgstr ""
12561
12562 #. type: Plain text
12563 #: build/C/man7/uri.7:218
12564 msgid "mailto:I<email-address>"
12565 msgstr ""
12566
12567 #. type: Plain text
12568 #: build/C/man7/uri.7:226
12569 msgid ""
12570 "This is an email address, usually of the form I<name>@I<hostname>.  See "
12571 "B<mailaddr>(7)  for more information on the correct format of an email "
12572 "address.  Note that any % character must be rewritten as %25.  An example is "
12573 "E<lt>mailto:dwheeler@dwheeler.comE<gt>."
12574 msgstr ""
12575
12576 #. type: Plain text
12577 #: build/C/man7/uri.7:228
12578 msgid "B<news - Newsgroup or News message>"
12579 msgstr ""
12580
12581 #. type: Plain text
12582 #: build/C/man7/uri.7:230
12583 msgid "news:I<newsgroup-name>"
12584 msgstr ""
12585
12586 #. type: Plain text
12587 #: build/C/man7/uri.7:232
12588 msgid "news:I<message-id>"
12589 msgstr ""
12590
12591 #. type: Plain text
12592 #: build/C/man7/uri.7:240
12593 msgid ""
12594 "A I<newsgroup-name> is a period-delimited hierarchical name, such as "
12595 "\"comp.infosystems.www.misc\".  If E<lt>newsgroup-nameE<gt> is \"*\" (as in "
12596 "E<lt>news:*E<gt>), it is used to refer to \"all available news groups\".  An "
12597 "example is E<lt>news:comp.lang.adaE<gt>."
12598 msgstr ""
12599
12600 #. type: Plain text
12601 #: build/C/man7/uri.7:252
12602 msgid ""
12603 "A I<message-id> corresponds to the Message-ID of E<.UR "
12604 "http://www.ietf.org\\:/rfc\\:/rfc1036.txt> IETF RFC\\ 1036, E<.UE> without "
12605 "the enclosing \"E<lt>\" and \"E<gt>\"; it takes the form "
12606 "I<unique>@I<full_domain_name>.  A message identifier may be distinguished "
12607 "from a news group name by the presence of the \"@\" character."
12608 msgstr ""
12609
12610 #. type: Plain text
12611 #: build/C/man7/uri.7:254
12612 msgid "B<telnet - Telnet login>"
12613 msgstr ""
12614
12615 #. type: Plain text
12616 #: build/C/man7/uri.7:256
12617 msgid "telnet://I<ip_server>/"
12618 msgstr ""
12619
12620 #. type: Plain text
12621 #: build/C/man7/uri.7:262
12622 msgid ""
12623 "The Telnet URL scheme is used to designate interactive text services that "
12624 "may be accessed by the Telnet protocol.  The final \"/\" character may be "
12625 "omitted.  The default port is 23.  An example is "
12626 "E<lt>telnet://melvyl.ucop.edu/E<gt>."
12627 msgstr ""
12628
12629 #. type: Plain text
12630 #: build/C/man7/uri.7:264
12631 msgid "B<file - Normal file>"
12632 msgstr ""
12633
12634 #. type: Plain text
12635 #: build/C/man7/uri.7:266
12636 msgid "file://I<ip_server>/I<path_segments>"
12637 msgstr ""
12638
12639 #. type: Plain text
12640 #: build/C/man7/uri.7:268
12641 msgid "file:I<path_segments>"
12642 msgstr ""
12643
12644 #. type: Plain text
12645 #: build/C/man7/uri.7:285
12646 msgid ""
12647 "This represents a file or directory accessible locally.  As a special case, "
12648 "I<ip_server> can be the string \"localhost\" or the empty string; this is "
12649 "interpreted as \"the machine from which the URL is being interpreted\".  If "
12650 "the path is to a directory, the viewer should display the directory's "
12651 "contents with links to each containee; not all viewers currently do this.  "
12652 "KDE supports generated files through the URL E<lt>file:/cgi-binE<gt>.  If "
12653 "the given file isn't found, browser writers may want to try to expand the "
12654 "filename via filename globbing (see B<glob>(7)  and B<glob>(3))."
12655 msgstr ""
12656
12657 #. type: Plain text
12658 #: build/C/man7/uri.7:299
12659 msgid ""
12660 "The second format (e.g., E<lt>file:/etc/passwdE<gt>)  is a correct format "
12661 "for referring to a local file.  However, older standards did not permit this "
12662 "format, and some programs don't recognize this as a URI.  A more portable "
12663 "syntax is to use an empty string as the server name, for example, "
12664 "E<lt>file:///etc/passwdE<gt>; this form does the same thing and is easily "
12665 "recognized by pattern matchers and older programs as a URI.  Note that if "
12666 "you really mean to say \"start from the current location,\" don't specify "
12667 "the scheme at all; use a relative address like E<lt>../test.txtE<gt>, which "
12668 "has the side-effect of being scheme-independent.  An example of this scheme "
12669 "is E<lt>file:///etc/passwdE<gt>."
12670 msgstr ""
12671
12672 #. type: Plain text
12673 #: build/C/man7/uri.7:301
12674 msgid "B<man - Man page documentation>"
12675 msgstr ""
12676
12677 #. type: Plain text
12678 #: build/C/man7/uri.7:303
12679 msgid "man:I<command-name>"
12680 msgstr ""
12681
12682 #. type: Plain text
12683 #: build/C/man7/uri.7:305
12684 msgid "man:I<command-name>(I<section>)"
12685 msgstr ""
12686
12687 #. type: Plain text
12688 #: build/C/man7/uri.7:314
12689 msgid ""
12690 "This refers to local online manual (man) reference pages.  The command name "
12691 "can optionally be followed by a parenthesis and section number; see "
12692 "B<man>(7)  for more information on the meaning of the section numbers.  This "
12693 "URI scheme is unique to UNIX-like systems (such as Linux)  and is not "
12694 "currently registered by the IETF.  An example is E<lt>man:ls(1)E<gt>."
12695 msgstr ""
12696
12697 #. type: Plain text
12698 #: build/C/man7/uri.7:316
12699 msgid "B<info - Info page documentation>"
12700 msgstr ""
12701
12702 #. type: Plain text
12703 #: build/C/man7/uri.7:318
12704 msgid "info:I<virtual-filename>"
12705 msgstr ""
12706
12707 #. type: Plain text
12708 #: build/C/man7/uri.7:320
12709 msgid "info:I<virtual-filename>#I<nodename>"
12710 msgstr ""
12711
12712 #. type: Plain text
12713 #: build/C/man7/uri.7:322
12714 msgid "info:(I<virtual-filename>)"
12715 msgstr ""
12716
12717 #. type: Plain text
12718 #: build/C/man7/uri.7:324
12719 msgid "info:(I<virtual-filename>)I<nodename>"
12720 msgstr ""
12721
12722 #. type: Plain text
12723 #: build/C/man7/uri.7:343
12724 msgid ""
12725 "This scheme refers to online info reference pages (generated from texinfo "
12726 "files), a documentation format used by programs such as the GNU tools.  This "
12727 "URI scheme is unique to UNIX-like systems (such as Linux)  and is not "
12728 "currently registered by the IETF.  As of this writing, GNOME and KDE differ "
12729 "in their URI syntax and do not accept the other's syntax.  The first two "
12730 "formats are the GNOME format; in nodenames all spaces are written as "
12731 "underscores.  The second two formats are the KDE format; spaces in nodenames "
12732 "must be written as spaces, even though this is forbidden by the URI "
12733 "standards.  It's hoped that in the future most tools will understand all of "
12734 "these formats and will always accept underscores for spaces in nodenames.  "
12735 "In both GNOME and KDE, if the form without the nodename is used the nodename "
12736 "is assumed to be \"Top\".  Examples of the GNOME format are "
12737 "E<lt>info:gccE<gt> and E<lt>info:gcc#G++_and_GCCE<gt>.  Examples of the KDE "
12738 "format are E<lt>info:(gcc)E<gt> and E<lt>info:(gcc)G++ and GCCE<gt>."
12739 msgstr ""
12740
12741 #. type: Plain text
12742 #: build/C/man7/uri.7:345
12743 msgid "B<whatis - Documentation search>"
12744 msgstr ""
12745
12746 #. type: Plain text
12747 #: build/C/man7/uri.7:347
12748 msgid "whatis:I<string>"
12749 msgstr ""
12750
12751 #. type: Plain text
12752 #: build/C/man7/uri.7:355
12753 msgid ""
12754 "This scheme searches the database of short (one-line) descriptions of "
12755 "commands and returns a list of descriptions containing that string.  Only "
12756 "complete word matches are returned.  See B<whatis>(1).  This URI scheme is "
12757 "unique to UNIX-like systems (such as Linux)  and is not currently registered "
12758 "by the IETF."
12759 msgstr ""
12760
12761 #. type: Plain text
12762 #: build/C/man7/uri.7:357
12763 msgid "B<ghelp - GNOME help documentation>"
12764 msgstr ""
12765
12766 #. type: Plain text
12767 #: build/C/man7/uri.7:359
12768 msgid "ghelp:I<name-of-application>"
12769 msgstr ""
12770
12771 #. type: Plain text
12772 #: build/C/man7/uri.7:362
12773 msgid ""
12774 "This loads GNOME help for the given application.  Note that not much "
12775 "documentation currently exists in this format."
12776 msgstr ""
12777
12778 #. type: Plain text
12779 #: build/C/man7/uri.7:364
12780 msgid "B<ldap - Lightweight Directory Access Protocol>"
12781 msgstr ""
12782
12783 #. type: Plain text
12784 #: build/C/man7/uri.7:366
12785 msgid "ldap://I<hostport>"
12786 msgstr ""
12787
12788 #. type: Plain text
12789 #: build/C/man7/uri.7:368
12790 msgid "ldap://I<hostport>/"
12791 msgstr ""
12792
12793 #. type: Plain text
12794 #: build/C/man7/uri.7:370
12795 msgid "ldap://I<hostport>/I<dn>"
12796 msgstr ""
12797
12798 #. type: Plain text
12799 #: build/C/man7/uri.7:372
12800 msgid "ldap://I<hostport>/I<dn>?I<attributes>"
12801 msgstr ""
12802
12803 #. type: Plain text
12804 #: build/C/man7/uri.7:374
12805 msgid "ldap://I<hostport>/I<dn>?I<attributes>?I<scope>"
12806 msgstr ""
12807
12808 #. type: Plain text
12809 #: build/C/man7/uri.7:376
12810 msgid "ldap://I<hostport>/I<dn>?I<attributes>?I<scope>?I<filter>"
12811 msgstr ""
12812
12813 #. type: Plain text
12814 #: build/C/man7/uri.7:378
12815 msgid "ldap://I<hostport>/I<dn>?I<attributes>?I<scope>?I<filter>?I<extensions>"
12816 msgstr ""
12817
12818 #. type: Plain text
12819 #: build/C/man7/uri.7:389
12820 msgid ""
12821 "This scheme supports queries to the Lightweight Directory Access Protocol "
12822 "(LDAP), a protocol for querying a set of servers for hierarchically "
12823 "organized information (such as people and computing resources).  See E<.UR "
12824 "http://www.ietf.org\\:/rfc\\:/rfc2255.txt> RFC\\ 2255 E<.UE> for more "
12825 "information on the LDAP URL scheme.  The components of this URL are:"
12826 msgstr ""
12827
12828 #. type: IP
12829 #: build/C/man7/uri.7:389
12830 #, no-wrap
12831 msgid "hostport"
12832 msgstr ""
12833
12834 #. type: Plain text
12835 #: build/C/man7/uri.7:394
12836 msgid ""
12837 "the LDAP server to query, written as a hostname optionally followed by a "
12838 "colon and the port number.  The default LDAP port is TCP port 389.  If "
12839 "empty, the client determines which the LDAP server to use."
12840 msgstr ""
12841
12842 #. type: IP
12843 #: build/C/man7/uri.7:394
12844 #, no-wrap
12845 msgid "dn"
12846 msgstr ""
12847
12848 #. type: Plain text
12849 #: build/C/man7/uri.7:401
12850 msgid ""
12851 "the LDAP Distinguished Name, which identifies the base object of the LDAP "
12852 "search (see E<.UR http://www.ietf.org\\:/rfc\\:/rfc2253.txt> RFC\\ 2253 "
12853 "E<.UE> section 3)."
12854 msgstr ""
12855
12856 #. type: IP
12857 #: build/C/man7/uri.7:401
12858 #, no-wrap
12859 msgid "attributes"
12860 msgstr ""
12861
12862 #. type: Plain text
12863 #: build/C/man7/uri.7:405
12864 msgid ""
12865 "a comma-separated list of attributes to be returned; see RFC\\ 2251 section "
12866 "4.1.5.  If omitted, all attributes should be returned."
12867 msgstr ""
12868
12869 #. type: IP
12870 #: build/C/man7/uri.7:405
12871 #, no-wrap
12872 msgid "scope"
12873 msgstr ""
12874
12875 #. type: Plain text
12876 #: build/C/man7/uri.7:410
12877 msgid ""
12878 "specifies the scope of the search, which can be one of \"base\" (for a base "
12879 "object search), \"one\" (for a one-level search), or \"sub\" (for a subtree "
12880 "search).  If scope is omitted, \"base\" is assumed."
12881 msgstr ""
12882
12883 #. type: IP
12884 #: build/C/man7/uri.7:410
12885 #, no-wrap
12886 msgid "filter"
12887 msgstr ""
12888
12889 #. type: Plain text
12890 #: build/C/man7/uri.7:419
12891 msgid ""
12892 "specifies the search filter (subset of entries to return).  If omitted, all "
12893 "entries should be returned.  See E<.UR "
12894 "http://www.ietf.org\\:/rfc\\:/rfc2254.txt> RFC\\ 2254 E<.UE> section 4."
12895 msgstr ""
12896
12897 #. type: IP
12898 #: build/C/man7/uri.7:419
12899 #, no-wrap
12900 msgid "extensions"
12901 msgstr ""
12902
12903 #. type: Plain text
12904 #: build/C/man7/uri.7:425
12905 msgid ""
12906 "a comma-separated list of type=value pairs, where the =value portion may be "
12907 "omitted for options not requiring it.  An extension prefixed with a "
12908 "\\(aq!\\(aq is critical (must be supported to be valid), otherwise it is "
12909 "noncritical (optional)."
12910 msgstr ""
12911
12912 #. type: Plain text
12913 #: build/C/man7/uri.7:429
12914 msgid ""
12915 "LDAP queries are easiest to explain by example.  Here's a query that asks "
12916 "ldap.itd.umich.edu for information about the University of Michigan in the "
12917 "U.S.:"
12918 msgstr ""
12919
12920 #. type: Plain text
12921 #: build/C/man7/uri.7:432
12922 #, no-wrap
12923 msgid "ldap://ldap.itd.umich.edu/o=University%20of%20Michigan,c=US\n"
12924 msgstr ""
12925
12926 #. type: Plain text
12927 #: build/C/man7/uri.7:435
12928 msgid "To just get its postal address attribute, request:"
12929 msgstr ""
12930
12931 #. type: Plain text
12932 #: build/C/man7/uri.7:438
12933 #, no-wrap
12934 msgid "ldap://ldap.itd.umich.edu/o=University%20of%20Michigan,c=US?postalAddress\n"
12935 msgstr ""
12936
12937 #. type: Plain text
12938 #: build/C/man7/uri.7:442
12939 msgid ""
12940 "To ask a host.com at port 6666 for information about the person with common "
12941 "name (cn) \"Babs Jensen\" at University of Michigan, request:"
12942 msgstr ""
12943
12944 #. type: Plain text
12945 #: build/C/man7/uri.7:445
12946 #, no-wrap
12947 msgid "ldap://host.com:6666/o=University%20of%20Michigan,c=US??sub?(cn=Babs%20Jensen)\n"
12948 msgstr ""
12949
12950 #. type: Plain text
12951 #: build/C/man7/uri.7:448
12952 msgid "B<wais - Wide Area Information Servers>"
12953 msgstr ""
12954
12955 #. type: Plain text
12956 #: build/C/man7/uri.7:450
12957 msgid "wais://I<hostport>/I<database>"
12958 msgstr ""
12959
12960 #. type: Plain text
12961 #: build/C/man7/uri.7:452
12962 msgid "wais://I<hostport>/I<database>?I<search>"
12963 msgstr ""
12964
12965 #. type: Plain text
12966 #: build/C/man7/uri.7:454
12967 msgid "wais://I<hostport>/I<database>/I<wtype>/I<wpath>"
12968 msgstr ""
12969
12970 #. type: Plain text
12971 #: build/C/man7/uri.7:463
12972 msgid ""
12973 "This scheme designates a WAIS database, search, or document (see E<.UR "
12974 "http://www.ietf.org\\:/rfc\\:/rfc1625.txt> IETF RFC\\ 1625 E<.UE> for more "
12975 "information on WAIS).  Hostport is the hostname, optionally followed by a "
12976 "colon and port number (the default port number is 210)."
12977 msgstr ""
12978
12979 #. type: Plain text
12980 #: build/C/man7/uri.7:473
12981 msgid ""
12982 "The first form designates a WAIS database for searching.  The second form "
12983 "designates a particular search of the WAIS database I<database>.  The third "
12984 "form designates a particular document within a WAIS database to be "
12985 "retrieved.  I<wtype> is the WAIS designation of the type of the object and "
12986 "I<wpath> is the WAIS document-id."
12987 msgstr ""
12988
12989 #. type: Plain text
12990 #: build/C/man7/uri.7:475
12991 msgid "B<other schemes>"
12992 msgstr ""
12993
12994 #. type: Plain text
12995 #: build/C/man7/uri.7:489
12996 msgid ""
12997 "There are many other URI schemes.  Most tools that accept URIs support a set "
12998 "of internal URIs (e.g., Mozilla has the about: scheme for internal "
12999 "information, and the GNOME help browser has the toc: scheme for various "
13000 "starting locations).  There are many schemes that have been defined but are "
13001 "not as widely used at the current time (e.g., prospero).  The nntp: scheme "
13002 "is deprecated in favor of the news: scheme.  URNs are to be supported by the "
13003 "urn: scheme, with a hierarchical name space (e.g., urn:ietf:... would "
13004 "identify IETF documents); at this time URNs are not widely implemented.  Not "
13005 "all tools support all schemes."
13006 msgstr ""
13007
13008 #. type: SS
13009 #: build/C/man7/uri.7:489
13010 #, no-wrap
13011 msgid "Character encoding"
13012 msgstr ""
13013
13014 #. type: Plain text
13015 #: build/C/man7/uri.7:493
13016 msgid ""
13017 "URIs use a limited number of characters so that they can be typed in and "
13018 "used in a variety of situations."
13019 msgstr ""
13020
13021 #. type: Plain text
13022 #: build/C/man7/uri.7:497
13023 msgid ""
13024 "The following characters are reserved, that is, they may appear in a URI but "
13025 "their use is limited to their reserved purpose (conflicting data must be "
13026 "escaped before forming the URI):"
13027 msgstr ""
13028
13029 #. type: Plain text
13030 #: build/C/man7/uri.7:499
13031 #, no-wrap
13032 msgid "   ; / ? : @ & = + $ ,\n"
13033 msgstr ""
13034
13035 #. type: Plain text
13036 #: build/C/man7/uri.7:505
13037 msgid ""
13038 "Unreserved characters may be included in a URI.  Unreserved characters "
13039 "include uppercase and lowercase English letters, decimal digits, and the "
13040 "following limited set of punctuation marks and symbols:"
13041 msgstr ""
13042
13043 #. type: Plain text
13044 #: build/C/man7/uri.7:507
13045 #, no-wrap
13046 msgid " - _ . ! ~ * ' ( )\n"
13047 msgstr ""
13048
13049 #. type: Plain text
13050 #: build/C/man7/uri.7:522
13051 msgid ""
13052 "All other characters must be escaped.  An escaped octet is encoded as a "
13053 "character triplet, consisting of the percent character \"%\" followed by the "
13054 "two hexadecimal digits representing the octet code (you can use uppercase or "
13055 "lowercase letters for the hexadecimal digits).  For example, a blank space "
13056 "must be escaped as \"%20\", a tab character as \"%09\", and the \"&\" as "
13057 "\"%26\".  Because the percent \"%\" character always has the reserved "
13058 "purpose of being the escape indicator, it must be escaped as \"%25\".  It is "
13059 "common practice to escape space characters as the plus symbol (+)  in query "
13060 "text; this practice isn't uniformly defined in the relevant RFCs (which "
13061 "recommend %20 instead) but any tool accepting URIs with query text should be "
13062 "prepared for them.  A URI is always shown in its \"escaped\" form."
13063 msgstr ""
13064
13065 #. type: Plain text
13066 #: build/C/man7/uri.7:528
13067 msgid ""
13068 "Unreserved characters can be escaped without changing the semantics of the "
13069 "URI, but this should not be done unless the URI is being used in a context "
13070 "that does not allow the unescaped character to appear.  For example, \"%7e\" "
13071 "is sometimes used instead of \"~\" in an HTTP URL path, but the two are "
13072 "equivalent for an HTTP URL."
13073 msgstr ""
13074
13075 #. type: Plain text
13076 #: build/C/man7/uri.7:532
13077 msgid ""
13078 "For URIs which must handle characters outside the US ASCII character set, "
13079 "the HTML 4.01 specification (section B.2) and IETF RFC\\ 2718 (section "
13080 "2.2.5) recommend the following approach:"
13081 msgstr ""
13082
13083 #. type: Plain text
13084 #: build/C/man7/uri.7:536
13085 msgid ""
13086 "translate the character sequences into UTF-8 (IETF RFC\\ 2279)\\(emsee "
13087 "B<utf-8>(7)\\(emand then"
13088 msgstr ""
13089
13090 #. type: Plain text
13091 #: build/C/man7/uri.7:539
13092 msgid ""
13093 "use the URI escaping mechanism, that is, use the %HH encoding for unsafe "
13094 "octets."
13095 msgstr ""
13096
13097 #. type: SS
13098 #: build/C/man7/uri.7:539
13099 #, no-wrap
13100 msgid "Writing a URI"
13101 msgstr ""
13102
13103 #. type: Plain text
13104 #: build/C/man7/uri.7:562
13105 msgid ""
13106 "When written, URIs should be placed inside double quotes (e.g., "
13107 "\"http://www.kernelnotes.org\"), enclosed in angle brackets (e.g., "
13108 "E<lt>http://lwn.netE<gt>), or placed on a line by themselves.  A warning for "
13109 "those who use double-quotes: B<never> move extraneous punctuation (such as "
13110 "the period ending a sentence or the comma in a list)  inside a URI, since "
13111 "this will change the value of the URI.  Instead, use angle brackets instead, "
13112 "or switch to a quoting system that never includes extraneous characters "
13113 "inside quotation marks.  This latter system, called the 'new' or 'logical' "
13114 "quoting system by \"Hart's Rules\" and the \"Oxford Dictionary for Writers "
13115 "and Editors\", is preferred practice in Great Britain and hackers worldwide "
13116 "(see the Jargon File's section on Hacker Writing Style, E<.UR "
13117 "http://www.fwi.uva.nl\\:/~mes\\:/jargon\\:/h\\:/HackerWritingStyle.html> "
13118 "E<.UE ,> for more information).  Older documents suggested inserting the "
13119 "prefix \"URL:\" just before the URI, but this form has never caught on."
13120 msgstr ""
13121
13122 #. type: Plain text
13123 #: build/C/man7/uri.7:584
13124 msgid ""
13125 "The URI syntax was designed to be unambiguous.  However, as URIs have become "
13126 "commonplace, traditional media (television, radio, newspapers, billboards, "
13127 "etc.) have increasingly used abbreviated URI references consisting of only "
13128 "the authority and path portions of the identified resource (e.g., "
13129 "E<lt>www.w3.org/AddressingE<gt>).  Such references are primarily intended "
13130 "for human interpretation rather than machine, with the assumption that "
13131 "context-based heuristics are sufficient to complete the URI (e.g., hostnames "
13132 "beginning with \"www\" are likely to have a URI prefix of \"http://\" and "
13133 "hostnames beginning with \"ftp\" likely to have a prefix of \"ftp://\").  "
13134 "Many client implementations heuristically resolve these references.  Such "
13135 "heuristics may change over time, particularly when new schemes are "
13136 "introduced.  Since an abbreviated URI has the same syntax as a relative URL "
13137 "path, abbreviated URI references cannot be used where relative URIs are "
13138 "permitted, and can be used only when there is no defined base (such as in "
13139 "dialog boxes).  Don't use abbreviated URIs as hypertext links inside a "
13140 "document; use the standard format as described here."
13141 msgstr ""
13142
13143 #. type: Plain text
13144 #: build/C/man7/uri.7:592
13145 msgid ""
13146 "E<.UR http://www.ietf.org\\:/rfc\\:/rfc2396.txt> (IETF RFC\\ 2396)  E<.UE ,> "
13147 "E<.UR http://www.w3.org\\:/TR\\:/REC-html40> (HTML 4.0)  E<.UE .>"
13148 msgstr ""
13149
13150 #. type: Plain text
13151 #: build/C/man7/uri.7:598
13152 msgid ""
13153 "Any tool accepting URIs (e.g., a web browser) on a Linux system should be "
13154 "able to handle (directly or indirectly) all of the schemes described here, "
13155 "including the man: and info: schemes.  Handling them by invoking some other "
13156 "program is fine and in fact encouraged."
13157 msgstr ""
13158
13159 #. type: Plain text
13160 #: build/C/man7/uri.7:600
13161 msgid "Technically the fragment isn't part of the URI."
13162 msgstr ""
13163
13164 #. type: Plain text
13165 #: build/C/man7/uri.7:609
13166 msgid ""
13167 "For information on how to embed URIs (including URLs) in a data format, see "
13168 "documentation on that format.  HTML uses the format E<lt>A "
13169 "HREF=\"I<uri>\"E<gt> I<text> E<lt>/AE<gt>.  Texinfo files use the format "
13170 "@uref{I<uri>}.  Man and mdoc have the recently added UR macro, or just "
13171 "include the URI in the text (viewers should be able to detect :// as part of "
13172 "a URI)."
13173 msgstr ""
13174
13175 #. type: Plain text
13176 #: build/C/man7/uri.7:630
13177 msgid ""
13178 "The GNOME and KDE desktop environments currently vary in the URIs they "
13179 "accept, in particular in their respective help browsers.  To list man pages, "
13180 "GNOME uses E<lt>toc:manE<gt> while KDE uses E<lt>man:(index)E<gt>, and to "
13181 "list info pages, GNOME uses E<lt>toc:infoE<gt> while KDE uses "
13182 "E<lt>info:(dir)E<gt> (the author of this man page prefers the KDE approach "
13183 "here, though a more regular format would be even better).  In general, KDE "
13184 "uses E<lt>file:/cgi-bin/E<gt> as a prefix to a set of generated files.  KDE "
13185 "prefers documentation in HTML, accessed via the "
13186 "E<lt>file:/cgi-bin/helpindexE<gt>.  GNOME prefers the ghelp scheme to store "
13187 "and find documentation.  Neither browser handles file: references to "
13188 "directories at the time of this writing, making it difficult to refer to an "
13189 "entire directory with a browsable URI.  As noted above, these environments "
13190 "differ in how they handle the info: scheme, probably the most important "
13191 "variation.  It is expected that GNOME and KDE will converge to common URI "
13192 "formats, and a future version of this man page will describe the converged "
13193 "result.  Efforts to aid this convergence are encouraged."
13194 msgstr ""
13195
13196 #. type: SS
13197 #: build/C/man7/uri.7:630
13198 #, no-wrap
13199 msgid "Security"
13200 msgstr ""
13201
13202 #. type: Plain text
13203 #: build/C/man7/uri.7:640
13204 msgid ""
13205 "A URI does not in itself pose a security threat.  There is no general "
13206 "guarantee that a URL, which at one time located a given resource, will "
13207 "continue to do so.  Nor is there any guarantee that a URL will not locate a "
13208 "different resource at some later point in time; such a guarantee can be "
13209 "obtained only from the person(s) controlling that namespace and the resource "
13210 "in question."
13211 msgstr ""
13212
13213 #. type: Plain text
13214 #: build/C/man7/uri.7:655
13215 msgid ""
13216 "It is sometimes possible to construct a URL such that an attempt to perform "
13217 "a seemingly harmless operation, such as the retrieval of an entity "
13218 "associated with the resource, will in fact cause a possibly damaging remote "
13219 "operation to occur.  The unsafe URL is typically constructed by specifying a "
13220 "port number other than that reserved for the network protocol in question.  "
13221 "The client unwittingly contacts a site that is in fact running a different "
13222 "protocol.  The content of the URL contains instructions that, when "
13223 "interpreted according to this other protocol, cause an unexpected "
13224 "operation.  An example has been the use of a gopher URL to cause an "
13225 "unintended or impersonating message to be sent via a SMTP server."
13226 msgstr ""
13227
13228 #. type: Plain text
13229 #: build/C/man7/uri.7:659
13230 msgid ""
13231 "Caution should be used when using any URL that specifies a port number other "
13232 "than the default for the protocol, especially when it is a number within the "
13233 "reserved space."
13234 msgstr ""
13235
13236 #. type: Plain text
13237 #: build/C/man7/uri.7:667
13238 msgid ""
13239 "Care should be taken when a URI contains escaped delimiters for a given "
13240 "protocol (for example, CR and LF characters for telnet protocols) that these "
13241 "are not unescaped before transmission.  This might violate the protocol, but "
13242 "avoids the potential for such characters to be used to simulate an extra "
13243 "operation or parameter in that protocol, which might lead to an unexpected "
13244 "and possibly harmful remote operation to be performed."
13245 msgstr ""
13246
13247 #. type: Plain text
13248 #: build/C/man7/uri.7:673
13249 msgid ""
13250 "It is clearly unwise to use a URI that contains a password which is intended "
13251 "to be secret.  In particular, the use of a password within the \"userinfo\" "
13252 "component of a URI is strongly recommended against except in those rare "
13253 "cases where the \"password\" parameter is intended to be public."
13254 msgstr ""
13255
13256 #. type: Plain text
13257 #: build/C/man7/uri.7:695
13258 msgid ""
13259 "Documentation may be placed in a variety of locations, so there currently "
13260 "isn't a good URI scheme for general online documentation in arbitrary "
13261 "formats.  References of the form E<lt>file:///usr/doc/ZZZE<gt> don't work "
13262 "because different distributions and local installation requirements may "
13263 "place the files in different directories (it may be in /usr/doc, or "
13264 "/usr/local/doc, or /usr/share, or somewhere else).  Also, the directory ZZZ "
13265 "usually changes when a version changes (though filename globbing could "
13266 "partially overcome this).  Finally, using the file: scheme doesn't easily "
13267 "support people who dynamically load documentation from the Internet (instead "
13268 "of loading the files onto a local filesystem).  A future URI scheme may be "
13269 "added (e.g., \"userdoc:\") to permit programs to include cross-references to "
13270 "more detailed documentation without having to know the exact location of "
13271 "that documentation.  Alternatively, a future version of the filesystem "
13272 "specification may specify file locations sufficiently so that the file: "
13273 "scheme will be able to locate documentation."
13274 msgstr ""
13275
13276 #. type: Plain text
13277 #: build/C/man7/uri.7:698
13278 msgid ""
13279 "Many programs and file formats don't include a way to incorporate or "
13280 "implement links using URIs."
13281 msgstr ""
13282
13283 #.  .SH AUTHOR
13284 #.  David A. Wheeler (dwheeler@dwheeler.com) wrote this man page.
13285 #. type: Plain text
13286 #: build/C/man7/uri.7:706
13287 msgid ""
13288 "Many programs can't handle all of these different URI formats; there should "
13289 "be a standard mechanism to load an arbitrary URI that automatically detects "
13290 "the users' environment (e.g., text or graphics, desktop environment, local "
13291 "user preferences, and currently executing tools) and invokes the right tool "
13292 "for any URI."
13293 msgstr ""
13294
13295 #. type: Plain text
13296 #: build/C/man7/uri.7:711
13297 msgid "B<lynx>(1), B<man2html>(1), B<mailaddr>(7), B<utf-8>(7)"
13298 msgstr ""
13299
13300 #. type: Plain text
13301 #: build/C/man7/uri.7:715
13302 msgid "E<.UR http://www.ietf.org\\:/rfc\\:/rfc2255.txt> IETF RFC\\ 2255 E<.UE>"
13303 msgstr ""
13304
13305 #. type: TH
13306 #: build/C/man4/vcs.4:29
13307 #, no-wrap
13308 msgid "VCS"
13309 msgstr ""
13310
13311 #. type: TH
13312 #: build/C/man4/vcs.4:29
13313 #, no-wrap
13314 msgid "2007-12-17"
13315 msgstr ""
13316
13317 #. type: Plain text
13318 #: build/C/man4/vcs.4:32
13319 msgid "vcs, vcsa - virtual console memory"
13320 msgstr ""
13321
13322 #. type: Plain text
13323 #: build/C/man4/vcs.4:38
13324 msgid ""
13325 "I</dev/vcs0> is a character device with major number 7 and minor number 0, "
13326 "usually of mode 0644 and owner root.tty.  It refers to the memory of the "
13327 "currently displayed virtual console terminal."
13328 msgstr ""
13329
13330 #. type: Plain text
13331 #: build/C/man4/vcs.4:58
13332 msgid ""
13333 "I</dev/vcs[1-63]> are character devices for virtual console terminals, they "
13334 "have major number 7 and minor number 1 to 63, usually mode 0644 and owner "
13335 "root.tty.  I</dev/vcsa[0-63]> are the same, but using I<unsigned short>s (in "
13336 "host byte order) that include attributes, and prefixed with four bytes "
13337 "giving the screen dimensions and cursor position: I<lines>, I<columns>, "
13338 "I<x>, I<y>.  (I<x> = I<y> = 0 at the top left corner of the screen.)"
13339 msgstr ""
13340
13341 #. type: Plain text
13342 #: build/C/man4/vcs.4:72
13343 msgid ""
13344 "When a 512-character font is loaded, the 9th bit position can be fetched by "
13345 "applying the B<ioctl>(2)  B<VT_GETHIFONTMASK> operation (available in Linux "
13346 "kernels 2.6.18 and above)  on I</dev/tty[1-63]>; the value is returned in "
13347 "the I<unsigned short> pointed to by the third B<ioctl>(2)  argument."
13348 msgstr ""
13349
13350 #. type: Plain text
13351 #: build/C/man4/vcs.4:79
13352 msgid ""
13353 "These devices replace the screendump B<ioctl>(2)  operations of "
13354 "B<console>(4), so the system administrator can control access using "
13355 "filesystem permissions."
13356 msgstr ""
13357
13358 #. type: Plain text
13359 #: build/C/man4/vcs.4:81
13360 msgid "The devices for the first eight virtual consoles may be created by:"
13361 msgstr ""
13362
13363 #. type: Plain text
13364 #: build/C/man4/vcs.4:88
13365 #, no-wrap
13366 msgid ""
13367 "    for x in 0 1 2 3 4 5 6 7 8; do\n"
13368 "        mknod -m 644 /dev/vcs$x c 7 $x;\n"
13369 "        mknod -m 644 /dev/vcsa$x c 7 $[$x+128];\n"
13370 "    done\n"
13371 "    chown root:tty /dev/vcs*\n"
13372 msgstr ""
13373
13374 #. type: Plain text
13375 #: build/C/man4/vcs.4:93
13376 msgid "No B<ioctl>(2)  requests are supported."
13377 msgstr ""
13378
13379 #. type: Plain text
13380 #: build/C/man4/vcs.4:95
13381 msgid "/dev/vcs[0-63]"
13382 msgstr ""
13383
13384 #.  .SH AUTHOR
13385 #.  Andries Brouwer <aeb@cwi.nl>
13386 #. type: Plain text
13387 #: build/C/man4/vcs.4:99
13388 msgid "/dev/vcsa[0-63]"
13389 msgstr ""
13390
13391 #. type: Plain text
13392 #: build/C/man4/vcs.4:101
13393 msgid "Introduced with version 1.1.92 of the Linux kernel."
13394 msgstr ""
13395
13396 #. type: Plain text
13397 #: build/C/man4/vcs.4:103
13398 msgid "You may do a screendump on vt3 by switching to vt1 and typing"
13399 msgstr ""
13400
13401 #. type: Plain text
13402 #: build/C/man4/vcs.4:105
13403 #, no-wrap
13404 msgid "    cat /dev/vcs3 E<gt>foo\n"
13405 msgstr ""
13406
13407 #. type: Plain text
13408 #: build/C/man4/vcs.4:109
13409 msgid ""
13410 "Note that the output does not contain newline characters, so some processing "
13411 "may be required, like in"
13412 msgstr ""
13413
13414 #. type: Plain text
13415 #: build/C/man4/vcs.4:111
13416 #, no-wrap
13417 msgid "    old -w 81 /dev/vcs3 | lpr\n"
13418 msgstr ""
13419
13420 #. type: Plain text
13421 #: build/C/man4/vcs.4:113
13422 msgid "or (horrors)"
13423 msgstr ""
13424
13425 #. type: Plain text
13426 #: build/C/man4/vcs.4:115
13427 #, no-wrap
13428 msgid "    xetterm -dump 3 -file /proc/self/fd/1\n"
13429 msgstr ""
13430
13431 #. type: Plain text
13432 #: build/C/man4/vcs.4:120
13433 msgid "The I</dev/vcsa0> device is used for Braille support."
13434 msgstr ""
13435
13436 #. type: Plain text
13437 #: build/C/man4/vcs.4:124
13438 msgid ""
13439 "This program displays the character and screen attributes under the cursor "
13440 "of the second virtual console, then changes the background color there:"
13441 msgstr ""
13442
13443 #. type: Plain text
13444 #: build/C/man4/vcs.4:132
13445 #, no-wrap
13446 msgid ""
13447 "#include E<lt>unistd.hE<gt>\n"
13448 "#include E<lt>stdlib.hE<gt>\n"
13449 "#include E<lt>stdio.hE<gt>\n"
13450 "#include E<lt>fcntl.hE<gt>\n"
13451 "#include E<lt>sys/ioctl.hE<gt>\n"
13452 "#include E<lt>linux/vt.hE<gt>\n"
13453 msgstr ""
13454
13455 #. type: Plain text
13456 #: build/C/man4/vcs.4:143
13457 #, no-wrap
13458 msgid ""
13459 "int\n"
13460 "main(void)\n"
13461 "{\n"
13462 "    int fd;\n"
13463 "    char *device = \"/dev/vcsa2\";\n"
13464 "    char *console = \"/dev/tty2\";\n"
13465 "    struct {unsigned char lines, cols, x, y;} scrn;\n"
13466 "    unsigned short s;\n"
13467 "    unsigned short mask;\n"
13468 "    unsigned char ch, attrib;\n"
13469 msgstr ""
13470
13471 #. type: Plain text
13472 #: build/C/man4/vcs.4:172
13473 #, no-wrap
13474 msgid ""
13475 "    fd = open(console, O_RDWR);\n"
13476 "    if (fd E<lt> 0) {\n"
13477 "        perror(console);\n"
13478 "        exit(EXIT_FAILURE);\n"
13479 "    }\n"
13480 "    if (ioctl(fd, VT_GETHIFONTMASK, &mask) E<lt> 0) {\n"
13481 "        perror(\"VT_GETHIFONTMASK\");\n"
13482 "        exit(EXIT_FAILURE);\n"
13483 "    }\n"
13484 "    (void) close(fd);\n"
13485 "    fd = open(device, O_RDWR);\n"
13486 "    if (fd E<lt> 0) {\n"
13487 "        perror(device);\n"
13488 "        exit(EXIT_FAILURE);\n"
13489 "    }\n"
13490 "    (void) read(fd, &scrn, 4);\n"
13491 "    (void) lseek(fd, 4 + 2*(scrn.y*scrn.cols + scrn.x), 0);\n"
13492 "    (void) read(fd, &s, 2);\n"
13493 "    ch = s & 0xff;\n"
13494 "    if (attrib & mask)\n"
13495 "        ch |= 0x100;\n"
13496 "    attrib = ((s & ~mask) E<gt>E<gt> 8);\n"
13497 "    printf(\"ch=\\(aq%c\\(aq attrib=0x%02x\\en\", ch, attrib);\n"
13498 "    attrib ^= 0x10;\n"
13499 "    (void) lseek(fd, -1, 1);\n"
13500 "    (void) write(fd, &attrib, 1);\n"
13501 "    exit(EXIT_SUCCESS);\n"
13502 "}\n"
13503 msgstr ""
13504
13505 #. type: Plain text
13506 #: build/C/man4/vcs.4:178
13507 msgid "B<console>(4), B<tty>(4), B<ttyS>(4), B<gpm>(8)"
13508 msgstr ""
13509
13510 #. type: TH
13511 #: build/C/man4/wavelan.4:15
13512 #, no-wrap
13513 msgid "WAVELAN"
13514 msgstr ""
13515
13516 #. type: TH
13517 #: build/C/man4/wavelan.4:15
13518 #, no-wrap
13519 msgid "2013-09-04"
13520 msgstr ""
13521
13522 #. type: Plain text
13523 #: build/C/man4/wavelan.4:18
13524 msgid "wavelan - AT&T GIS WaveLAN ISA device driver"
13525 msgstr ""
13526
13527 #. type: Plain text
13528 #: build/C/man4/wavelan.4:20
13529 msgid ""
13530 "B<insmod wavelan_cs.o [io=>I<B,B..>B<] [ irq=>I<I,I..>B<] "
13531 "[name=>I<N,N..>B<]>"
13532 msgstr ""
13533
13534 #. type: Plain text
13535 #: build/C/man4/wavelan.4:23
13536 msgid ""
13537 "I<This driver is obsolete:> it was removed from the kernel in version "
13538 "2.6.35."
13539 msgstr ""
13540
13541 #. type: Plain text
13542 #: build/C/man4/wavelan.4:39
13543 msgid ""
13544 "I<wavelan> is the low-level device driver for the NCR / AT&T / Lucent "
13545 "B<WaveLAN ISA> and Digital (DEC)  B<RoamAbout DS> wireless ethernet "
13546 "adapter.  This driver is available as a module or might be compiled in the "
13547 "kernel.  This driver supports multiple cards in both forms (up to 4) and "
13548 "allocates the next available ethernet device (eth0..eth#) for each card "
13549 "found, unless a device name is explicitly specified (see below).  This "
13550 "device name will be reported in the kernel log file with the MAC address, "
13551 "NWID and frequency used by the card."
13552 msgstr ""
13553
13554 #. type: Plain text
13555 #: build/C/man4/wavelan.4:46
13556 msgid ""
13557 "This section apply to the module form (parameters passed on the B<insmod>(8)  "
13558 "command line).  If the driver is included in the kernel, use the "
13559 "I<ether=IRQ,IO,NAME> syntax on the kernel command line."
13560 msgstr ""
13561
13562 #. type: TP
13563 #: build/C/man4/wavelan.4:46
13564 #, no-wrap
13565 msgid "B<io>"
13566 msgstr ""
13567
13568 #. type: Plain text
13569 #: build/C/man4/wavelan.4:53
13570 msgid ""
13571 "Specify the list of base address where to search for wavelan cards (setting "
13572 "by dip switch on the card).  If you don't specify any io address, the driver "
13573 "will scan 0x390 and 0x3E0 addresses, which might conflict with other "
13574 "hardware..."
13575 msgstr ""
13576
13577 #. type: TP
13578 #: build/C/man4/wavelan.4:53
13579 #, no-wrap
13580 msgid "B<irq>"
13581 msgstr ""
13582
13583 #. type: Plain text
13584 #: build/C/man4/wavelan.4:57
13585 msgid ""
13586 "Set the list of irq that each wavelan card should use (the value is saved in "
13587 "permanent storage for future use)."
13588 msgstr ""
13589
13590 #. type: TP
13591 #: build/C/man4/wavelan.4:57
13592 #, no-wrap
13593 msgid "B<name>"
13594 msgstr ""
13595
13596 #. type: Plain text
13597 #: build/C/man4/wavelan.4:62
13598 msgid ""
13599 "Set the list of name to be used for each wavelan cards device (name used by "
13600 "B<ifconfig>(8))."
13601 msgstr ""
13602
13603 #. type: SS
13604 #: build/C/man4/wavelan.4:62
13605 #, no-wrap
13606 msgid "Wireless extensions"
13607 msgstr ""
13608
13609 #. type: Plain text
13610 #: build/C/man4/wavelan.4:66
13611 msgid "Use B<iwconfig>(8)  to manipulate wireless extensions."
13612 msgstr ""
13613
13614 #. type: SS
13615 #: build/C/man4/wavelan.4:66
13616 #, no-wrap
13617 msgid "NWID (or domain)"
13618 msgstr ""
13619
13620 #. type: Plain text
13621 #: build/C/man4/wavelan.4:75
13622 msgid ""
13623 "Set the network ID [I<0> to I<FFFF>] or disable it [I<off>].  As the NWID is "
13624 "stored in the card Permanent Storage Area, it will be reuse at any further "
13625 "invocation of the driver."
13626 msgstr ""
13627
13628 #. type: SS
13629 #: build/C/man4/wavelan.4:75
13630 #, no-wrap
13631 msgid "Frequency & channels"
13632 msgstr ""
13633
13634 #. type: Plain text
13635 #: build/C/man4/wavelan.4:86
13636 msgid ""
13637 "For the 2.4GHz 2.00 Hardware, you are able to set the frequency by "
13638 "specifying one of the 10 defined channels (I<2.412,> I<2.422, 2.425, 2.4305, "
13639 "2.432, 2.442, 2.452, 2.460, 2.462> or I<2.484>)  or directly by its value.  "
13640 "The frequency is changed immediately and permanently.  Frequency "
13641 "availability depends on the regulations..."
13642 msgstr ""
13643
13644 #. type: SS
13645 #: build/C/man4/wavelan.4:86
13646 #, no-wrap
13647 msgid "Statistics spy"
13648 msgstr ""
13649
13650 #. type: Plain text
13651 #: build/C/man4/wavelan.4:90
13652 msgid ""
13653 "Set a list of MAC addresses in the driver (up to 8) and get the last quality "
13654 "of link for each of those (see B<iwspy>(8))."
13655 msgstr ""
13656
13657 #. type: SS
13658 #: build/C/man4/wavelan.4:90
13659 #, no-wrap
13660 msgid "/proc/net/wireless"
13661 msgstr ""
13662
13663 #. type: Plain text
13664 #: build/C/man4/wavelan.4:105
13665 msgid ""
13666 "I<status> is the status reported by the modem.  I<Link quality> reports the "
13667 "quality of the modulation on the air (direct sequence spread spectrum) [max "
13668 "= 16].  I<Level> and I<Noise> refer to the signal level and noise level [max "
13669 "= 64].  The I<crypt discarded packet> and I<misc discarded packet> counters "
13670 "are not implemented."
13671 msgstr ""
13672
13673 #. type: SS
13674 #: build/C/man4/wavelan.4:105
13675 #, no-wrap
13676 msgid "Private ioctl"
13677 msgstr ""
13678
13679 #. type: Plain text
13680 #: build/C/man4/wavelan.4:109
13681 msgid "You may use B<iwpriv>(8)  to manipulate private ioctls."
13682 msgstr ""
13683
13684 #. type: SS
13685 #: build/C/man4/wavelan.4:109
13686 #, no-wrap
13687 msgid "Quality and level threshold"
13688 msgstr ""
13689
13690 #. type: Plain text
13691 #: build/C/man4/wavelan.4:112
13692 msgid ""
13693 "Enable you the define the quality and level threshold used by the modem "
13694 "(packet below that level are discarded)."
13695 msgstr ""
13696
13697 #. type: SS
13698 #: build/C/man4/wavelan.4:112
13699 #, no-wrap
13700 msgid "Histogram"
13701 msgstr ""
13702
13703 #. type: Plain text
13704 #: build/C/man4/wavelan.4:119
13705 msgid ""
13706 "This functionality makes it possible to set a number of signal level "
13707 "intervals and to count the number of packets received in each of those "
13708 "defined intervals.  This distribution might be used to calculate the mean "
13709 "value and standard deviation of the signal level."
13710 msgstr ""
13711
13712 #. type: SS
13713 #: build/C/man4/wavelan.4:119
13714 #, no-wrap
13715 msgid "Specific notes"
13716 msgstr ""
13717
13718 #. type: Plain text
13719 #: build/C/man4/wavelan.4:125
13720 msgid ""
13721 "This driver will fail to detect some B<non-NCR/ATT&T/Lucent> Wavelan cards.  "
13722 "If this happens for you, you must look in the source code on how to add your "
13723 "card to the detection routine."
13724 msgstr ""
13725
13726 #.  .SH AUTHOR
13727 #.  Bruce Janson \(em bruce@cs.usyd.edu.au
13728 #.  .br
13729 #.  Jean Tourrilhes \(em jt@hplb.hpl.hp.com
13730 #.  .br
13731 #.  (and others; see source code for details)
13732 #
13733 #.  SEE ALSO part
13734 #. type: Plain text
13735 #: build/C/man4/wavelan.4:138
13736 msgid ""
13737 "Some of the mentioned features are optional.  You may enable to disable them "
13738 "by changing flags in the driver header and recompile."
13739 msgstr ""
13740
13741 #. type: Plain text
13742 #: build/C/man4/wavelan.4:145
13743 msgid ""
13744 "B<wavelan_cs>(4), B<ifconfig>(8), B<insmod>(8), B<iwconfig>(8), "
13745 "B<iwpriv>(8), B<iwspy>(8)"
13746 msgstr ""