OSDN Git Service

LDP: Update POT and ja.po to LDP v3.68
[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-06-08 01:30+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:132 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:195 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:66 build/C/man5/core.5:70 build/C/man5/core.5:74 build/C/man5/core.5:77 build/C/man5/core.5:90 build/C/man5/core.5:93 build/C/man5/core.5:106 build/C/man5/core.5:223 build/C/man5/core.5:227 build/C/man5/core.5:230 build/C/man5/core.5:234
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:428 build/C/man4/cpuid.4:89 build/C/man4/dsp56k.4:115 build/C/man4/fd.4:214 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:439 build/C/man4/cpuid.4:96 build/C/man4/dsp56k.4:121 build/C/man4/fd.4:222 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:378 build/C/man4/console.4:120 build/C/man4/console_codes.4:654 build/C/man4/console_ioctl.4:881 build/C/man5/core.5:447 build/C/man4/cpuid.4:104 build/C/man4/dsp56k.4:129 build/C/man4/fd.4:230 build/C/man7/fifo.7:82 build/C/man4/full.4:73 build/C/man3/gnu_get_libc_version.3:86 build/C/man4/hd.4:118 build/C/man4/hpsa.4:205 build/C/man4/initrd.4:492 build/C/man4/lp.4:149 build/C/man3/makedev.3:91 build/C/man4/mem.4:96 build/C/man3/mkfifo.3:214 build/C/man2/mknod.2:305 build/C/man4/mouse.4:195 build/C/man4/msr.4:67 build/C/man4/null.4:76 build/C/man7/pipe.7:252 build/C/man4/ram.4:55 build/C/man4/random.4:294 build/C/man4/sd.4:145 build/C/man3/setlogmask.3:90 build/C/man4/sk98lin.4:610 build/C/man4/st.4:972 build/C/man3/stdarg.3:346 build/C/man2/syslog.2:320 build/C/man3/syslog.3:328 build/C/man4/ttyS.4:63 build/C/man7/uri.7:723 build/C/man4/vcs.4:186 build/C/man4/wavelan.4:153
679 msgid ""
680 "This page is part of release 3.68 of the Linux I<man-pages> project.  A "
681 "description of the project, information about reporting bugs, and the latest "
682 "version of this page, can be found at "
683 "\\%http://www.kernel.org/doc/man-pages/."
684 msgstr ""
685
686 #. type: TH
687 #: build/C/man4/console.4:12
688 #, no-wrap
689 msgid "CONSOLE"
690 msgstr ""
691
692 #. type: TH
693 #: build/C/man4/console.4:12
694 #, no-wrap
695 msgid "1994-10-31"
696 msgstr ""
697
698 #. type: Plain text
699 #: build/C/man4/console.4:15
700 msgid "console - console terminal and virtual consoles"
701 msgstr ""
702
703 #. type: Plain text
704 #: build/C/man4/console.4:37
705 msgid ""
706 "A Linux system has up to 63 I<virtual consoles> (character devices with "
707 "major number 4 and minor number 1 to 63), usually called I</dev/ttyn> with 1 "
708 "\\(E<lt>= I<n> \\(E<lt>= 63.  The current console is also addressed by "
709 "I</dev/console> or I</dev/tty0>, the character device with major number 4 "
710 "and minor number 0.  The device files I</dev/*> are usually created using "
711 "the script MAKEDEV, or using B<mknod>(1), usually with mode 0622 and owner "
712 "I<root.tty>."
713 msgstr ""
714
715 #. type: Plain text
716 #: build/C/man4/console.4:45
717 msgid ""
718 "Before kernel version 1.1.54 the number of virtual consoles was compiled "
719 "into the kernel (in I<tty.h>: #define NR_CONSOLES 8)  and could be changed "
720 "by editing and recompiling.  Since version 1.1.54 virtual consoles are "
721 "created on the fly, as soon as they are needed."
722 msgstr ""
723
724 #. type: Plain text
725 #: build/C/man4/console.4:63
726 msgid ""
727 "Common ways to start a process on a console are: (a) tell B<init>(8)  (in "
728 "B<inittab>(5))  to start a B<mingetty>(8)  (or B<agetty>(8))  on the "
729 "console; (b) ask B<openvt>(1)  to start a process on the console; (c) start "
730 "X\\(emit will find the first unused console, and display its output there.  "
731 "(There is also the ancient B<doshell>(8).)"
732 msgstr ""
733
734 #. type: Plain text
735 #: build/C/man4/console.4:76
736 msgid ""
737 "Common ways to switch consoles are: (a) use Alt+FI<n> or Ctrl+Alt+FI<n> to "
738 "switch to console I<n>; AltGr+FI<n> might bring you to console I<n>+12 [here "
739 "Alt and AltGr refer to the left and right Alt keys, respectively]; (b) use "
740 "Alt+RightArrow or Alt+LeftArrow to cycle through the presently allocated "
741 "consoles; (c) use the program B<chvt>(1).  (The key mapping is user "
742 "settable, see B<loadkeys>(1); the above mentioned key combinations are "
743 "according to the default settings.)"
744 msgstr ""
745
746 #. type: Plain text
747 #: build/C/man4/console.4:83
748 msgid ""
749 "The command B<deallocvt>(1)  (formerly B<disalloc>)  will free the memory "
750 "taken by the screen buffers for consoles that no longer have any associated "
751 "process."
752 msgstr ""
753
754 #. type: SS
755 #: build/C/man4/console.4:83
756 #, no-wrap
757 msgid "Properties"
758 msgstr ""
759
760 #. type: Plain text
761 #: build/C/man4/console.4:91
762 msgid ""
763 "Consoles carry a lot of state.  I hope to document that some other time.  "
764 "The most important fact is that the consoles simulate vt100 terminals.  In "
765 "particular, a console is reset to the initial state by printing the two "
766 "characters ESC c.  All escape sequences can be found in B<console_codes>(4)."
767 msgstr ""
768
769 #. type: Plain text
770 #: build/C/man4/console.4:93
771 msgid "I</dev/console>"
772 msgstr ""
773
774 #. type: Plain text
775 #: build/C/man4/console.4:95
776 msgid "I</dev/tty*>"
777 msgstr ""
778
779 #. type: Plain text
780 #: build/C/man4/console.4:112
781 msgid ""
782 "B<chvt>(1), B<deallocvt>(1), B<loadkeys>(1), B<mknod>(1), B<openvt>(1), "
783 "B<console_codes>(4), B<console_ioctl>(4), B<tty>(4), B<ttyS>(4), "
784 "B<charsets>(7), B<agetty>(8), B<init>(8), B<mapscrn>(8), B<mingetty>(8), "
785 "B<resizecons>(8), B<setfont>(8)"
786 msgstr ""
787
788 #. type: TH
789 #: build/C/man4/console_codes.4:23
790 #, no-wrap
791 msgid "CONSOLE_CODES"
792 msgstr ""
793
794 #. type: Plain text
795 #: build/C/man4/console_codes.4:26
796 msgid "console_codes - Linux console escape and control sequences"
797 msgstr ""
798
799 #. type: Plain text
800 #: build/C/man4/console_codes.4:33
801 msgid ""
802 "The Linux console implements a large subset of the VT102 and ECMA-48/ISO "
803 "6429/ANSI X3.64 terminal controls, plus certain private-mode sequences for "
804 "changing the color palette, character-set mapping, and so on.  In the "
805 "tabular descriptions below, the second column gives ECMA-48 or DEC mnemonics "
806 "(the latter if prefixed with DEC) for the given function.  Sequences without "
807 "a mnemonic are neither ECMA-48 nor VT102."
808 msgstr ""
809
810 #. type: Plain text
811 #: build/C/man4/console_codes.4:38
812 msgid ""
813 "After all the normal output processing has been done, and a stream of "
814 "characters arrives at the console driver for actual printing, the first "
815 "thing that happens is a translation from the code used for processing to the "
816 "code used for printing."
817 msgstr ""
818
819 #. type: Plain text
820 #: build/C/man4/console_codes.4:44
821 msgid ""
822 "If the console is in UTF-8 mode, then the incoming bytes are first assembled "
823 "into 16-bit Unicode codes.  Otherwise, each byte is transformed according to "
824 "the current mapping table (which translates it to a Unicode value).  See the "
825 "B<Character Sets> section below for discussion."
826 msgstr ""
827
828 #. type: Plain text
829 #: build/C/man4/console_codes.4:50
830 msgid ""
831 "In the normal case, the Unicode value is converted to a font index, and this "
832 "is stored in video memory, so that the corresponding glyph (as found in "
833 "video ROM) appears on the screen.  Note that the use of Unicode (and the "
834 "design of the PC hardware)  allows us to use 512 different glyphs "
835 "simultaneously."
836 msgstr ""
837
838 #. type: Plain text
839 #: build/C/man4/console_codes.4:57
840 msgid ""
841 "If the current Unicode value is a control character, or we are currently "
842 "processing an escape sequence, the value will treated specially.  Instead of "
843 "being turned into a font index and rendered as a glyph, it may trigger "
844 "cursor movement or other control functions.  See the B<Linux Console "
845 "Controls> section below for discussion."
846 msgstr ""
847
848 #. type: Plain text
849 #: build/C/man4/console_codes.4:69
850 msgid ""
851 "It is generally not good practice to hard-wire terminal controls into "
852 "programs.  Linux supports a B<terminfo>(5)  database of terminal "
853 "capabilities.  Rather than emitting console escape sequences by hand, you "
854 "will almost always want to use a terminfo-aware screen library or utility "
855 "such as B<ncurses>(3), B<tput>(1), or B<reset>(1)."
856 msgstr ""
857
858 #. type: SS
859 #: build/C/man4/console_codes.4:69
860 #, no-wrap
861 msgid "Linux console controls"
862 msgstr ""
863
864 #. type: Plain text
865 #: build/C/man4/console_codes.4:73
866 msgid ""
867 "This section describes all the control characters and escape sequences that "
868 "invoke special functions (i.e., anything other than writing a glyph at the "
869 "current cursor location) on the Linux console."
870 msgstr ""
871
872 #. type: Plain text
873 #: build/C/man4/console_codes.4:75
874 msgid "B<Control characters>"
875 msgstr ""
876
877 #. type: Plain text
878 #: build/C/man4/console_codes.4:86
879 msgid ""
880 "A character is a control character if (before transformation according to "
881 "the mapping table) it has one of the 14 codes 00 (NUL), 07 (BEL), 08 (BS), "
882 "09 (HT), 0a (LF), 0b (VT), 0c (FF), 0d (CR), 0e (SO), 0f (SI), 18 (CAN), 1a "
883 "(SUB), 1b (ESC), 7f (DEL).  One can set a \"display control characters\" "
884 "mode (see below), and allow 07, 09, 0b, 18, 1a, 7f to be displayed as "
885 "glyphs.  On the other hand, in UTF-8 mode all codes 00-1f are regarded as "
886 "control characters, regardless of any \"display control characters\" mode."
887 msgstr ""
888
889 #. type: Plain text
890 #: build/C/man4/console_codes.4:95
891 msgid ""
892 "If we have a control character, it is acted upon immediately and then "
893 "discarded (even in the middle of an escape sequence)  and the escape "
894 "sequence continues with the next character.  (However, ESC starts a new "
895 "escape sequence, possibly aborting a previous unfinished one, and CAN and "
896 "SUB abort any escape sequence.)  The recognized control characters are BEL, "
897 "BS, HT, LF, VT, FF, CR, SO, SI, CAN, SUB, ESC, DEL, CSI.  They do what one "
898 "would expect:"
899 msgstr ""
900
901 #. type: Plain text
902 #: build/C/man4/console_codes.4:97
903 msgid "BEL (0x07, B<^G>) beeps;"
904 msgstr ""
905
906 #. type: Plain text
907 #: build/C/man4/console_codes.4:100
908 msgid ""
909 "BS (0x08, B<^H>) backspaces one column (but not past the beginning of the "
910 "line);"
911 msgstr ""
912
913 #. type: Plain text
914 #: build/C/man4/console_codes.4:103
915 msgid ""
916 "HT (0x09, B<^I>) goes to the next tab stop or to the end of the line if "
917 "there is no earlier tab stop;"
918 msgstr ""
919
920 #. type: Plain text
921 #: build/C/man4/console_codes.4:107
922 msgid ""
923 "LF (0x0A, B<^J>), VT (0x0B, B<^K>) and FF (0x0C, B<^L>) all give a linefeed, "
924 "and if LF/NL (new-line mode) is set also a carriage return;"
925 msgstr ""
926
927 #. type: Plain text
928 #: build/C/man4/console_codes.4:109
929 msgid "CR (0x0D, B<^M>) gives a carriage return;"
930 msgstr ""
931
932 #. type: Plain text
933 #: build/C/man4/console_codes.4:111
934 msgid "SO (0x0E, B<^N>) activates the G1 character set;"
935 msgstr ""
936
937 #. type: Plain text
938 #: build/C/man4/console_codes.4:113
939 msgid "SI (0x0F, B<^O>) activates the G0 character set;"
940 msgstr ""
941
942 #. type: Plain text
943 #: build/C/man4/console_codes.4:115
944 msgid "CAN (0x18, B<^X>) and SUB (0x1A, B<^Z>) interrupt escape sequences;"
945 msgstr ""
946
947 #. type: Plain text
948 #: build/C/man4/console_codes.4:117
949 msgid "ESC (0x1B, B<^[>) starts an escape sequence;"
950 msgstr ""
951
952 #. type: Plain text
953 #: build/C/man4/console_codes.4:119
954 msgid "DEL (0x7F) is ignored;"
955 msgstr ""
956
957 #. type: Plain text
958 #: build/C/man4/console_codes.4:121
959 msgid "CSI (0x9B) is equivalent to ESC [."
960 msgstr ""
961
962 #. type: Plain text
963 #: build/C/man4/console_codes.4:123
964 msgid "B<ESC- but not CSI-sequences>"
965 msgstr ""
966
967 #. type: tbl table
968 #: build/C/man4/console_codes.4:125
969 #, no-wrap
970 msgid "ESC c\tRIS\tReset.\n"
971 msgstr ""
972
973 #. type: tbl table
974 #: build/C/man4/console_codes.4:126
975 #, no-wrap
976 msgid "ESC D\tIND\tLinefeed.\n"
977 msgstr ""
978
979 #. type: tbl table
980 #: build/C/man4/console_codes.4:127
981 #, no-wrap
982 msgid "ESC E\tNEL\tNewline.\n"
983 msgstr ""
984
985 #. type: tbl table
986 #: build/C/man4/console_codes.4:128
987 #, no-wrap
988 msgid "ESC H\tHTS\tSet tab stop at current column.\n"
989 msgstr ""
990
991 #. type: tbl table
992 #: build/C/man4/console_codes.4:129
993 #, no-wrap
994 msgid "ESC M\tRI\tReverse linefeed.\n"
995 msgstr ""
996
997 #. type: tbl table
998 #: build/C/man4/console_codes.4:130
999 #, no-wrap
1000 msgid "ESC Z\tDECID\tT{\n"
1001 msgstr ""
1002
1003 #. type: tbl table
1004 #: build/C/man4/console_codes.4:131
1005 #, no-wrap
1006 msgid "DEC private identification. The kernel\n"
1007 msgstr ""
1008
1009 #. type: tbl table
1010 #: build/C/man4/console_codes.4:132
1011 #, no-wrap
1012 msgid "returns the string  ESC [ ? 6 c, claiming\n"
1013 msgstr ""
1014
1015 #. type: tbl table
1016 #: build/C/man4/console_codes.4:133
1017 #, no-wrap
1018 msgid "that it is a VT102.\n"
1019 msgstr ""
1020
1021 #. type: tbl table
1022 #: 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
1023 #, no-wrap
1024 msgid "T}\n"
1025 msgstr ""
1026
1027 #. type: tbl table
1028 #: build/C/man4/console_codes.4:135
1029 #, no-wrap
1030 msgid "ESC 7\tDECSC\tT{\n"
1031 msgstr ""
1032
1033 #. type: tbl table
1034 #: build/C/man4/console_codes.4:136
1035 #, no-wrap
1036 msgid "Save current state (cursor coordinates,\n"
1037 msgstr ""
1038
1039 #. type: tbl table
1040 #: build/C/man4/console_codes.4:137
1041 #, no-wrap
1042 msgid "attributes, character sets pointed at by G0, G1).\n"
1043 msgstr ""
1044
1045 #. type: tbl table
1046 #: build/C/man4/console_codes.4:139
1047 #, no-wrap
1048 msgid "ESC 8\tDECRC\tRestore state most recently saved by ESC 7.\n"
1049 msgstr ""
1050
1051 #. type: tbl table
1052 #: build/C/man4/console_codes.4:140
1053 #, no-wrap
1054 msgid "ESC [\tCSI\tControl sequence introducer\n"
1055 msgstr ""
1056
1057 #. type: tbl table
1058 #: build/C/man4/console_codes.4:141
1059 #, no-wrap
1060 msgid "ESC %\t\tStart sequence selecting character set\n"
1061 msgstr ""
1062
1063 #. type: tbl table
1064 #: build/C/man4/console_codes.4:142
1065 #, no-wrap
1066 msgid "ESC % @\t\t\\0\\0\\0Select default (ISO 646 / ISO 8859-1)\n"
1067 msgstr ""
1068
1069 #. type: tbl table
1070 #: build/C/man4/console_codes.4:143
1071 #, no-wrap
1072 msgid "ESC % G\t\t\\0\\0\\0Select UTF-8\n"
1073 msgstr ""
1074
1075 #. type: tbl table
1076 #: build/C/man4/console_codes.4:144
1077 #, no-wrap
1078 msgid "ESC % 8\t\t\\0\\0\\0Select UTF-8 (obsolete)\n"
1079 msgstr ""
1080
1081 #. type: tbl table
1082 #: build/C/man4/console_codes.4:145
1083 #, no-wrap
1084 msgid "ESC # 8\tDECALN\tDEC screen alignment test - fill screen with E's.\n"
1085 msgstr ""
1086
1087 #. type: tbl table
1088 #: build/C/man4/console_codes.4:146
1089 #, no-wrap
1090 msgid "ESC (\t\tStart sequence defining G0 character set\n"
1091 msgstr ""
1092
1093 #. type: tbl table
1094 #: build/C/man4/console_codes.4:147
1095 #, no-wrap
1096 msgid "ESC ( B\t\t\\0\\0\\0Select default (ISO 8859-1 mapping)\n"
1097 msgstr ""
1098
1099 #. type: tbl table
1100 #: build/C/man4/console_codes.4:148
1101 #, no-wrap
1102 msgid "ESC ( 0\t\t\\0\\0\\0Select VT100 graphics mapping\n"
1103 msgstr ""
1104
1105 #. type: tbl table
1106 #: build/C/man4/console_codes.4:149
1107 #, no-wrap
1108 msgid "ESC ( U\t\t\\0\\0\\0Select null mapping - straight to character ROM\n"
1109 msgstr ""
1110
1111 #. type: tbl table
1112 #: build/C/man4/console_codes.4:150
1113 #, no-wrap
1114 msgid "ESC ( K\t\t\\0\\0\\0Select user mapping - the map that is loaded by\n"
1115 msgstr ""
1116
1117 #. type: tbl table
1118 #: build/C/man4/console_codes.4:151
1119 #, no-wrap
1120 msgid "\t\t\\0\\0\\0the utility B<mapscrn>(8).\n"
1121 msgstr ""
1122
1123 #. type: tbl table
1124 #: build/C/man4/console_codes.4:152
1125 #, no-wrap
1126 msgid "ESC )\t\tStart sequence defining G1\n"
1127 msgstr ""
1128
1129 #. type: tbl table
1130 #: build/C/man4/console_codes.4:153
1131 #, no-wrap
1132 msgid "\t\t(followed by one of B, 0, U, K, as above).\n"
1133 msgstr ""
1134
1135 #. type: tbl table
1136 #: build/C/man4/console_codes.4:154
1137 #, no-wrap
1138 msgid "ESC E<gt>\tDECPNM\tSet numeric keypad mode\n"
1139 msgstr ""
1140
1141 #. type: tbl table
1142 #: build/C/man4/console_codes.4:155
1143 #, no-wrap
1144 msgid "ESC =\tDECPAM\tSet application keypad mode\n"
1145 msgstr ""
1146
1147 #. type: tbl table
1148 #: build/C/man4/console_codes.4:156
1149 #, no-wrap
1150 msgid "ESC ]\tOSC\tT{\n"
1151 msgstr ""
1152
1153 #. type: tbl table
1154 #: build/C/man4/console_codes.4:157
1155 #, no-wrap
1156 msgid "(Should be: Operating system command)\n"
1157 msgstr ""
1158
1159 #. type: tbl table
1160 #: build/C/man4/console_codes.4:158
1161 #, no-wrap
1162 msgid "ESC ] P I<nrrggbb>: set palette, with parameter\n"
1163 msgstr ""
1164
1165 #. type: tbl table
1166 #: build/C/man4/console_codes.4:159
1167 #, no-wrap
1168 msgid "given in 7 hexadecimal digits after the final P :-(.\n"
1169 msgstr ""
1170
1171 #. type: tbl table
1172 #: build/C/man4/console_codes.4:160
1173 #, no-wrap
1174 msgid "Here I<n> is the color (0-15), and I<rrggbb> indicates\n"
1175 msgstr ""
1176
1177 #. type: tbl table
1178 #: build/C/man4/console_codes.4:161
1179 #, no-wrap
1180 msgid "the red/green/blue values (0-255).\n"
1181 msgstr ""
1182
1183 #. type: tbl table
1184 #: build/C/man4/console_codes.4:162
1185 #, no-wrap
1186 msgid "ESC ] R: reset palette\n"
1187 msgstr ""
1188
1189 #. type: Plain text
1190 #: build/C/man4/console_codes.4:167
1191 msgid "B<ECMA-48 CSI sequences>"
1192 msgstr ""
1193
1194 #. type: Plain text
1195 #: build/C/man4/console_codes.4:173
1196 msgid ""
1197 "CSI (or ESC [) is followed by a sequence of parameters, at most NPAR (16), "
1198 "that are decimal numbers separated by semicolons.  An empty or absent "
1199 "parameter is taken to be 0.  The sequence of parameters may be preceded by a "
1200 "single question mark."
1201 msgstr ""
1202
1203 #. type: Plain text
1204 #: build/C/man4/console_codes.4:177
1205 msgid ""
1206 "However, after CSI [ (or ESC [ [) a single character is read and this entire "
1207 "sequence is ignored.  (The idea is to ignore an echoed function key.)"
1208 msgstr ""
1209
1210 #. type: Plain text
1211 #: build/C/man4/console_codes.4:179
1212 msgid "The action of a CSI sequence is determined by its final character."
1213 msgstr ""
1214
1215 #. type: tbl table
1216 #: build/C/man4/console_codes.4:181
1217 #, no-wrap
1218 msgid "@\tICH\tInsert the indicated # of blank characters.\n"
1219 msgstr ""
1220
1221 #. type: tbl table
1222 #: build/C/man4/console_codes.4:182
1223 #, no-wrap
1224 msgid "A\tCUU\tMove cursor up the indicated # of rows.\n"
1225 msgstr ""
1226
1227 #. type: tbl table
1228 #: build/C/man4/console_codes.4:183
1229 #, no-wrap
1230 msgid "B\tCUD\tMove cursor down the indicated # of rows.\n"
1231 msgstr ""
1232
1233 #. type: tbl table
1234 #: build/C/man4/console_codes.4:184
1235 #, no-wrap
1236 msgid "C\tCUF\tMove cursor right the indicated # of columns.\n"
1237 msgstr ""
1238
1239 #. type: tbl table
1240 #: build/C/man4/console_codes.4:185
1241 #, no-wrap
1242 msgid "D\tCUB\tMove cursor left the indicated # of columns.\n"
1243 msgstr ""
1244
1245 #. type: tbl table
1246 #: build/C/man4/console_codes.4:186
1247 #, no-wrap
1248 msgid "E\tCNL\tMove cursor down the indicated # of rows, to column 1.\n"
1249 msgstr ""
1250
1251 #. type: tbl table
1252 #: build/C/man4/console_codes.4:187
1253 #, no-wrap
1254 msgid "F\tCPL\tMove cursor up the indicated # of rows, to column 1.\n"
1255 msgstr ""
1256
1257 #. type: tbl table
1258 #: build/C/man4/console_codes.4:188
1259 #, no-wrap
1260 msgid "G\tCHA\tMove cursor to indicated column in current row.\n"
1261 msgstr ""
1262
1263 #. type: tbl table
1264 #: build/C/man4/console_codes.4:189
1265 #, no-wrap
1266 msgid "H\tCUP\tMove cursor to the indicated row, column (origin at 1,1).\n"
1267 msgstr ""
1268
1269 #. type: tbl table
1270 #: build/C/man4/console_codes.4:190
1271 #, no-wrap
1272 msgid "J\tED\tErase display (default: from cursor to end of display).\n"
1273 msgstr ""
1274
1275 #. type: tbl table
1276 #: build/C/man4/console_codes.4:191
1277 #, no-wrap
1278 msgid "\t\tESC [ 1 J: erase from start to cursor.\n"
1279 msgstr ""
1280
1281 #. type: tbl table
1282 #: build/C/man4/console_codes.4:192
1283 #, no-wrap
1284 msgid "\t\tESC [ 2 J: erase whole display.\n"
1285 msgstr ""
1286
1287 #. type: tbl table
1288 #: build/C/man4/console_codes.4:193
1289 #, no-wrap
1290 msgid "\t\tESC [ 3 J: erase whole display including scroll-back\n"
1291 msgstr ""
1292
1293 #. type: tbl table
1294 #: build/C/man4/console_codes.4:194
1295 #, no-wrap
1296 msgid "\t\t           buffer (since Linux 3.0).\n"
1297 msgstr ""
1298
1299 #.  ESC [ 3 J: commit f8df13e0a901fe55631fed66562369b4dba40f8b
1300 #. type: tbl table
1301 #: build/C/man4/console_codes.4:196
1302 #, no-wrap
1303 msgid "K\tEL\tErase line (default: from cursor to end of line).\n"
1304 msgstr ""
1305
1306 #. type: tbl table
1307 #: build/C/man4/console_codes.4:197
1308 #, no-wrap
1309 msgid "\t\tESC [ 1 K: erase from start of line to cursor.\n"
1310 msgstr ""
1311
1312 #. type: tbl table
1313 #: build/C/man4/console_codes.4:198
1314 #, no-wrap
1315 msgid "\t\tESC [ 2 K: erase whole line.\n"
1316 msgstr ""
1317
1318 #. type: tbl table
1319 #: build/C/man4/console_codes.4:199
1320 #, no-wrap
1321 msgid "L\tIL\tInsert the indicated # of blank lines.\n"
1322 msgstr ""
1323
1324 #. type: tbl table
1325 #: build/C/man4/console_codes.4:200
1326 #, no-wrap
1327 msgid "M\tDL\tDelete the indicated # of lines.\n"
1328 msgstr ""
1329
1330 #. type: tbl table
1331 #: build/C/man4/console_codes.4:201
1332 #, no-wrap
1333 msgid "P\tDCH\tDelete the indicated # of characters on current line.\n"
1334 msgstr ""
1335
1336 #. type: tbl table
1337 #: build/C/man4/console_codes.4:202
1338 #, no-wrap
1339 msgid "X\tECH\tErase the indicated # of characters on current line.\n"
1340 msgstr ""
1341
1342 #. type: tbl table
1343 #: build/C/man4/console_codes.4:203
1344 #, no-wrap
1345 msgid "a\tHPR\tMove cursor right the indicated # of columns.\n"
1346 msgstr ""
1347
1348 #. type: tbl table
1349 #: build/C/man4/console_codes.4:204
1350 #, no-wrap
1351 msgid "c\tDA\tAnswer ESC [ ? 6 c: \"I am a VT102\".\n"
1352 msgstr ""
1353
1354 #. type: tbl table
1355 #: build/C/man4/console_codes.4:205
1356 #, no-wrap
1357 msgid "d\tVPA\tMove cursor to the indicated row, current column.\n"
1358 msgstr ""
1359
1360 #. type: tbl table
1361 #: build/C/man4/console_codes.4:206
1362 #, no-wrap
1363 msgid "e\tVPR\tMove cursor down the indicated # of rows.\n"
1364 msgstr ""
1365
1366 #. type: tbl table
1367 #: build/C/man4/console_codes.4:207
1368 #, no-wrap
1369 msgid "f\tHVP\tMove cursor to the indicated row, column.\n"
1370 msgstr ""
1371
1372 #. type: tbl table
1373 #: build/C/man4/console_codes.4:208
1374 #, no-wrap
1375 msgid "g\tTBC\tWithout parameter: clear tab stop at current position.\n"
1376 msgstr ""
1377
1378 #. type: tbl table
1379 #: build/C/man4/console_codes.4:209
1380 #, no-wrap
1381 msgid "\t\tESC [ 3 g: delete all tab stops.\n"
1382 msgstr ""
1383
1384 #. type: tbl table
1385 #: build/C/man4/console_codes.4:210
1386 #, no-wrap
1387 msgid "h\tSM\tSet Mode (see below).\n"
1388 msgstr ""
1389
1390 #. type: tbl table
1391 #: build/C/man4/console_codes.4:211
1392 #, no-wrap
1393 msgid "l\tRM\tReset Mode (see below).\n"
1394 msgstr ""
1395
1396 #. type: tbl table
1397 #: build/C/man4/console_codes.4:212
1398 #, no-wrap
1399 msgid "m\tSGR\tSet attributes (see below).\n"
1400 msgstr ""
1401
1402 #. type: tbl table
1403 #: build/C/man4/console_codes.4:213
1404 #, no-wrap
1405 msgid "n\tDSR\tStatus report (see below).\n"
1406 msgstr ""
1407
1408 #. type: tbl table
1409 #: build/C/man4/console_codes.4:214
1410 #, no-wrap
1411 msgid "q\tDECLL\tSet keyboard LEDs.\n"
1412 msgstr ""
1413
1414 #. type: tbl table
1415 #: build/C/man4/console_codes.4:215
1416 #, no-wrap
1417 msgid "\t\tESC [ 0 q: clear all LEDs\n"
1418 msgstr ""
1419
1420 #. type: tbl table
1421 #: build/C/man4/console_codes.4:216
1422 #, no-wrap
1423 msgid "\t\tESC [ 1 q: set Scroll Lock LED\n"
1424 msgstr ""
1425
1426 #. type: tbl table
1427 #: build/C/man4/console_codes.4:217
1428 #, no-wrap
1429 msgid "\t\tESC [ 2 q: set Num Lock LED\n"
1430 msgstr ""
1431
1432 #. type: tbl table
1433 #: build/C/man4/console_codes.4:218
1434 #, no-wrap
1435 msgid "\t\tESC [ 3 q: set Caps Lock LED\n"
1436 msgstr ""
1437
1438 #. type: tbl table
1439 #: build/C/man4/console_codes.4:219
1440 #, no-wrap
1441 msgid "r\tDECSTBM\tSet scrolling region; parameters are top and bottom row.\n"
1442 msgstr ""
1443
1444 #. type: tbl table
1445 #: build/C/man4/console_codes.4:220
1446 #, no-wrap
1447 msgid "s\t?\tSave cursor location.\n"
1448 msgstr ""
1449
1450 #. type: tbl table
1451 #: build/C/man4/console_codes.4:221
1452 #, no-wrap
1453 msgid "u\t?\tRestore cursor location.\n"
1454 msgstr ""
1455
1456 #. type: tbl table
1457 #: build/C/man4/console_codes.4:222
1458 #, no-wrap
1459 msgid "\\`\tHPA\tMove cursor to indicated column in current row.\n"
1460 msgstr ""
1461
1462 #. type: Plain text
1463 #: build/C/man4/console_codes.4:226
1464 msgid "B<ECMA-48 Set Graphics Rendition>"
1465 msgstr ""
1466
1467 #. type: Plain text
1468 #: build/C/man4/console_codes.4:233
1469 msgid ""
1470 "The ECMA-48 SGR sequence ESC [ I<parameters> m sets display attributes.  "
1471 "Several attributes can be set in the same sequence, separated by "
1472 "semicolons.  An empty parameter (between semicolons or string initiator or "
1473 "terminator) is interpreted as a zero."
1474 msgstr ""
1475
1476 #. type: tbl table
1477 #: build/C/man4/console_codes.4:235
1478 #, no-wrap
1479 msgid "param\tresult\n"
1480 msgstr ""
1481
1482 #. type: tbl table
1483 #: build/C/man4/console_codes.4:236
1484 #, no-wrap
1485 msgid "0\treset all attributes to their defaults\n"
1486 msgstr ""
1487
1488 #. type: tbl table
1489 #: build/C/man4/console_codes.4:237
1490 #, no-wrap
1491 msgid "1\tset bold\n"
1492 msgstr ""
1493
1494 #. type: tbl table
1495 #: build/C/man4/console_codes.4:238
1496 #, no-wrap
1497 msgid "2\tset half-bright (simulated with color on a color display)\n"
1498 msgstr ""
1499
1500 #. type: tbl table
1501 #: build/C/man4/console_codes.4:239
1502 #, no-wrap
1503 msgid "4\tT{\n"
1504 msgstr ""
1505
1506 #. type: tbl table
1507 #: build/C/man4/console_codes.4:240
1508 #, no-wrap
1509 msgid "set underscore (simulated with color on a color display)\n"
1510 msgstr ""
1511
1512 #. type: tbl table
1513 #: build/C/man4/console_codes.4:241
1514 #, no-wrap
1515 msgid "(the colors used to simulate dim or underline are set\n"
1516 msgstr ""
1517
1518 #. type: tbl table
1519 #: build/C/man4/console_codes.4:242
1520 #, no-wrap
1521 msgid "using ESC ] ...)\n"
1522 msgstr ""
1523
1524 #. type: tbl table
1525 #: build/C/man4/console_codes.4:244
1526 #, no-wrap
1527 msgid "5\tset blink\n"
1528 msgstr ""
1529
1530 #. type: tbl table
1531 #: build/C/man4/console_codes.4:245
1532 #, no-wrap
1533 msgid "7\tset reverse video\n"
1534 msgstr ""
1535
1536 #. type: tbl table
1537 #: build/C/man4/console_codes.4:246
1538 #, no-wrap
1539 msgid "10\tT{\n"
1540 msgstr ""
1541
1542 #. type: tbl table
1543 #: build/C/man4/console_codes.4:247
1544 #, no-wrap
1545 msgid "reset selected mapping, display control flag,\n"
1546 msgstr ""
1547
1548 #. type: tbl table
1549 #: build/C/man4/console_codes.4:248
1550 #, no-wrap
1551 msgid "and toggle meta flag (ECMA-48 says \"primary font\").\n"
1552 msgstr ""
1553
1554 #. type: tbl table
1555 #: build/C/man4/console_codes.4:250
1556 #, no-wrap
1557 msgid "11\tT{\n"
1558 msgstr ""
1559
1560 #. type: tbl table
1561 #: build/C/man4/console_codes.4:251 build/C/man4/console_codes.4:255
1562 #, no-wrap
1563 msgid "select null mapping, set display control flag,\n"
1564 msgstr ""
1565
1566 #. type: tbl table
1567 #: build/C/man4/console_codes.4:252
1568 #, no-wrap
1569 msgid "reset toggle meta flag (ECMA-48 says \"first alternate font\").\n"
1570 msgstr ""
1571
1572 #. type: tbl table
1573 #: build/C/man4/console_codes.4:254
1574 #, no-wrap
1575 msgid "12\tT{\n"
1576 msgstr ""
1577
1578 #. type: tbl table
1579 #: build/C/man4/console_codes.4:256
1580 #, no-wrap
1581 msgid "set toggle meta flag (ECMA-48 says \"second alternate font\").\n"
1582 msgstr ""
1583
1584 #. type: tbl table
1585 #: build/C/man4/console_codes.4:257
1586 #, no-wrap
1587 msgid "The toggle meta flag\n"
1588 msgstr ""
1589
1590 #. type: tbl table
1591 #: build/C/man4/console_codes.4:258
1592 #, no-wrap
1593 msgid "causes the high bit of a byte to be toggled\n"
1594 msgstr ""
1595
1596 #. type: tbl table
1597 #: build/C/man4/console_codes.4:259
1598 #, no-wrap
1599 msgid "before the mapping table translation is done.\n"
1600 msgstr ""
1601
1602 #. type: tbl table
1603 #: build/C/man4/console_codes.4:261
1604 #, no-wrap
1605 msgid "21\tset normal intensity (ECMA-48 says \"doubly underlined\")\n"
1606 msgstr ""
1607
1608 #. type: tbl table
1609 #: build/C/man4/console_codes.4:262
1610 #, no-wrap
1611 msgid "22\tset normal intensity\n"
1612 msgstr ""
1613
1614 #. type: tbl table
1615 #: build/C/man4/console_codes.4:263
1616 #, no-wrap
1617 msgid "24\tunderline off\n"
1618 msgstr ""
1619
1620 #. type: tbl table
1621 #: build/C/man4/console_codes.4:264
1622 #, no-wrap
1623 msgid "25\tblink off\n"
1624 msgstr ""
1625
1626 #. type: tbl table
1627 #: build/C/man4/console_codes.4:265
1628 #, no-wrap
1629 msgid "27\treverse video off\n"
1630 msgstr ""
1631
1632 #. type: tbl table
1633 #: build/C/man4/console_codes.4:266
1634 #, no-wrap
1635 msgid "30\tset black foreground\n"
1636 msgstr ""
1637
1638 #. type: tbl table
1639 #: build/C/man4/console_codes.4:267
1640 #, no-wrap
1641 msgid "31\tset red foreground\n"
1642 msgstr ""
1643
1644 #. type: tbl table
1645 #: build/C/man4/console_codes.4:268
1646 #, no-wrap
1647 msgid "32\tset green foreground\n"
1648 msgstr ""
1649
1650 #. type: tbl table
1651 #: build/C/man4/console_codes.4:269
1652 #, no-wrap
1653 msgid "33\tset brown foreground\n"
1654 msgstr ""
1655
1656 #. type: tbl table
1657 #: build/C/man4/console_codes.4:270
1658 #, no-wrap
1659 msgid "34\tset blue foreground\n"
1660 msgstr ""
1661
1662 #. type: tbl table
1663 #: build/C/man4/console_codes.4:271
1664 #, no-wrap
1665 msgid "35\tset magenta foreground\n"
1666 msgstr ""
1667
1668 #. type: tbl table
1669 #: build/C/man4/console_codes.4:272
1670 #, no-wrap
1671 msgid "36\tset cyan foreground\n"
1672 msgstr ""
1673
1674 #. type: tbl table
1675 #: build/C/man4/console_codes.4:273
1676 #, no-wrap
1677 msgid "37\tset white foreground\n"
1678 msgstr ""
1679
1680 #. type: tbl table
1681 #: build/C/man4/console_codes.4:274
1682 #, no-wrap
1683 msgid "38\tset underscore on, set default foreground color\n"
1684 msgstr ""
1685
1686 #. type: tbl table
1687 #: build/C/man4/console_codes.4:275
1688 #, no-wrap
1689 msgid "39\tset underscore off, set default foreground color\n"
1690 msgstr ""
1691
1692 #. type: tbl table
1693 #: build/C/man4/console_codes.4:276
1694 #, no-wrap
1695 msgid "40\tset black background\n"
1696 msgstr ""
1697
1698 #. type: tbl table
1699 #: build/C/man4/console_codes.4:277
1700 #, no-wrap
1701 msgid "41\tset red background\n"
1702 msgstr ""
1703
1704 #. type: tbl table
1705 #: build/C/man4/console_codes.4:278
1706 #, no-wrap
1707 msgid "42\tset green background\n"
1708 msgstr ""
1709
1710 #. type: tbl table
1711 #: build/C/man4/console_codes.4:279
1712 #, no-wrap
1713 msgid "43\tset brown background\n"
1714 msgstr ""
1715
1716 #. type: tbl table
1717 #: build/C/man4/console_codes.4:280
1718 #, no-wrap
1719 msgid "44\tset blue background\n"
1720 msgstr ""
1721
1722 #. type: tbl table
1723 #: build/C/man4/console_codes.4:281
1724 #, no-wrap
1725 msgid "45\tset magenta background\n"
1726 msgstr ""
1727
1728 #. type: tbl table
1729 #: build/C/man4/console_codes.4:282
1730 #, no-wrap
1731 msgid "46\tset cyan background\n"
1732 msgstr ""
1733
1734 #. type: tbl table
1735 #: build/C/man4/console_codes.4:283
1736 #, no-wrap
1737 msgid "47\tset white background\n"
1738 msgstr ""
1739
1740 #. type: tbl table
1741 #: build/C/man4/console_codes.4:284
1742 #, no-wrap
1743 msgid "49\tset default background color\n"
1744 msgstr ""
1745
1746 #. type: Plain text
1747 #: build/C/man4/console_codes.4:288
1748 msgid "B<ECMA-48 Mode Switches>"
1749 msgstr ""
1750
1751 #. type: TP
1752 #: build/C/man4/console_codes.4:288
1753 #, no-wrap
1754 msgid "ESC [ 3 h"
1755 msgstr ""
1756
1757 #. type: Plain text
1758 #: build/C/man4/console_codes.4:291
1759 msgid "DECCRM (default off): Display control chars."
1760 msgstr ""
1761
1762 #. type: TP
1763 #: build/C/man4/console_codes.4:291
1764 #, no-wrap
1765 msgid "ESC [ 4 h"
1766 msgstr ""
1767
1768 #. type: Plain text
1769 #: build/C/man4/console_codes.4:294
1770 msgid "DECIM (default off): Set insert mode."
1771 msgstr ""
1772
1773 #. type: TP
1774 #: build/C/man4/console_codes.4:294
1775 #, no-wrap
1776 msgid "ESC [ 20 h"
1777 msgstr ""
1778
1779 #. type: Plain text
1780 #: build/C/man4/console_codes.4:298
1781 msgid "LF/NL (default off): Automatically follow echo of LF, VT or FF with CR."
1782 msgstr ""
1783
1784 #. type: Plain text
1785 #: build/C/man4/console_codes.4:301
1786 msgid "B<ECMA-48 Status Report Commands>"
1787 msgstr ""
1788
1789 #. type: TP
1790 #: build/C/man4/console_codes.4:301
1791 #, no-wrap
1792 msgid "ESC [ 5 n"
1793 msgstr ""
1794
1795 #. type: Plain text
1796 #: build/C/man4/console_codes.4:304
1797 msgid "Device status report (DSR): Answer is ESC [ 0 n (Terminal OK)."
1798 msgstr ""
1799
1800 #. type: TP
1801 #: build/C/man4/console_codes.4:304
1802 #, no-wrap
1803 msgid "ESC [ 6 n"
1804 msgstr ""
1805
1806 #. type: Plain text
1807 #: build/C/man4/console_codes.4:309
1808 msgid ""
1809 "Cursor position report (CPR): Answer is ESC [ I<y> ; I<x> R, where I<x,y> is "
1810 "the cursor location."
1811 msgstr ""
1812
1813 #. type: Plain text
1814 #: build/C/man4/console_codes.4:311
1815 msgid "B<DEC Private Mode (DECSET/DECRST) sequences>"
1816 msgstr ""
1817
1818 #. type: Plain text
1819 #: build/C/man4/console_codes.4:317
1820 msgid ""
1821 "These are not described in ECMA-48.  We list the Set Mode sequences; the "
1822 "Reset Mode sequences are obtained by replacing the final \\(aqh\\(aq by "
1823 "\\(aql\\(aq."
1824 msgstr ""
1825
1826 #. type: TP
1827 #: build/C/man4/console_codes.4:317
1828 #, no-wrap
1829 msgid "ESC [ ? 1 h"
1830 msgstr ""
1831
1832 #. type: Plain text
1833 #: build/C/man4/console_codes.4:321
1834 msgid ""
1835 "DECCKM (default off): When set, the cursor keys send an ESC O prefix, rather "
1836 "than ESC [."
1837 msgstr ""
1838
1839 #. type: TP
1840 #: build/C/man4/console_codes.4:321
1841 #, no-wrap
1842 msgid "ESC [ ? 3 h"
1843 msgstr ""
1844
1845 #. type: Plain text
1846 #: build/C/man4/console_codes.4:328
1847 msgid ""
1848 "DECCOLM (default off = 80 columns): 80/132 col mode switch.  The driver "
1849 "sources note that this alone does not suffice; some user-mode utility such "
1850 "as B<resizecons>(8)  has to change the hardware registers on the console "
1851 "video card."
1852 msgstr ""
1853
1854 #. type: TP
1855 #: build/C/man4/console_codes.4:328
1856 #, no-wrap
1857 msgid "ESC [ ? 5 h"
1858 msgstr ""
1859
1860 #. type: Plain text
1861 #: build/C/man4/console_codes.4:331
1862 msgid "DECSCNM (default off): Set reverse-video mode."
1863 msgstr ""
1864
1865 #. type: TP
1866 #: build/C/man4/console_codes.4:331
1867 #, no-wrap
1868 msgid "ESC [ ? 6 h"
1869 msgstr ""
1870
1871 #. type: Plain text
1872 #: build/C/man4/console_codes.4:335
1873 msgid ""
1874 "DECOM (default off): When set, cursor addressing is relative to the upper "
1875 "left corner of the scrolling region."
1876 msgstr ""
1877
1878 #. type: TP
1879 #: build/C/man4/console_codes.4:335
1880 #, no-wrap
1881 msgid "ESC [ ? 7 h"
1882 msgstr ""
1883
1884 #. type: Plain text
1885 #: build/C/man4/console_codes.4:341
1886 msgid ""
1887 "DECAWM (default on): Set autowrap on.  In this mode, a graphic character "
1888 "emitted after column 80 (or column 132 of DECCOLM is on)  forces a wrap to "
1889 "the beginning of the following line first."
1890 msgstr ""
1891
1892 #. type: TP
1893 #: build/C/man4/console_codes.4:341
1894 #, no-wrap
1895 msgid "ESC [ ? 8 h"
1896 msgstr ""
1897
1898 #. type: Plain text
1899 #: build/C/man4/console_codes.4:344
1900 msgid "DECARM (default on): Set keyboard autorepeat on."
1901 msgstr ""
1902
1903 #. type: TP
1904 #: build/C/man4/console_codes.4:344
1905 #, no-wrap
1906 msgid "ESC [ ? 9 h"
1907 msgstr ""
1908
1909 #. type: Plain text
1910 #: build/C/man4/console_codes.4:348
1911 msgid ""
1912 "X10 Mouse Reporting (default off): Set reporting mode to 1 (or reset to "
1913 "0)\\(emsee below."
1914 msgstr ""
1915
1916 #. type: TP
1917 #: build/C/man4/console_codes.4:348
1918 #, no-wrap
1919 msgid "ESC [ ? 25 h"
1920 msgstr ""
1921
1922 #. type: Plain text
1923 #: build/C/man4/console_codes.4:351
1924 msgid "DECTECM (default on): Make cursor visible."
1925 msgstr ""
1926
1927 #. type: TP
1928 #: build/C/man4/console_codes.4:351
1929 #, no-wrap
1930 msgid "ESC [ ? 1000 h"
1931 msgstr ""
1932
1933 #. type: Plain text
1934 #: build/C/man4/console_codes.4:356
1935 msgid ""
1936 "X11 Mouse Reporting (default off): Set reporting mode to 2 (or reset to "
1937 "0)\\(emsee below."
1938 msgstr ""
1939
1940 #. type: Plain text
1941 #: build/C/man4/console_codes.4:358
1942 msgid "B<Linux Console Private CSI Sequences>"
1943 msgstr ""
1944
1945 #. type: Plain text
1946 #: build/C/man4/console_codes.4:365
1947 msgid ""
1948 "The following sequences are neither ECMA-48 nor native VT102.  They are "
1949 "native to the Linux console driver.  Colors are in SGR parameters: 0 = "
1950 "black, 1 = red, 2 = green, 3 = brown, 4 = blue, 5 = magenta, 6 = cyan, 7 = "
1951 "white."
1952 msgstr ""
1953
1954 #. type: tbl table
1955 #: build/C/man4/console_codes.4:367
1956 #, no-wrap
1957 msgid "ESC [ 1 ; I<n> ]\tSet color I<n> as the underline color\n"
1958 msgstr ""
1959
1960 #. type: tbl table
1961 #: build/C/man4/console_codes.4:368
1962 #, no-wrap
1963 msgid "ESC [ 2 ; I<n> ]\tSet color I<n> as the dim color\n"
1964 msgstr ""
1965
1966 #. type: tbl table
1967 #: build/C/man4/console_codes.4:369
1968 #, no-wrap
1969 msgid "ESC [ 8 ]       \tMake the current color pair the default attributes.\n"
1970 msgstr ""
1971
1972 #. type: tbl table
1973 #: build/C/man4/console_codes.4:370
1974 #, no-wrap
1975 msgid "ESC [ 9 ; I<n> ]\tSet screen blank timeout to I<n> minutes.\n"
1976 msgstr ""
1977
1978 #. type: tbl table
1979 #: build/C/man4/console_codes.4:371
1980 #, no-wrap
1981 msgid "ESC [ 10 ; I<n> ]\tSet bell frequency in Hz.\n"
1982 msgstr ""
1983
1984 #. type: tbl table
1985 #: build/C/man4/console_codes.4:372
1986 #, no-wrap
1987 msgid "ESC [ 11 ; I<n> ]\tSet bell duration in msec.\n"
1988 msgstr ""
1989
1990 #. type: tbl table
1991 #: build/C/man4/console_codes.4:373
1992 #, no-wrap
1993 msgid "ESC [ 12 ; I<n> ]\tBring specified console to the front.\n"
1994 msgstr ""
1995
1996 #. type: tbl table
1997 #: build/C/man4/console_codes.4:374
1998 #, no-wrap
1999 msgid "ESC [ 13 ]      \tUnblank the screen.\n"
2000 msgstr ""
2001
2002 #. type: tbl table
2003 #: build/C/man4/console_codes.4:375
2004 #, no-wrap
2005 msgid "ESC [ 14 ; I<n> ]   \tSet the VESA powerdown interval in minutes.\n"
2006 msgstr ""
2007
2008 #. type: SS
2009 #: build/C/man4/console_codes.4:377
2010 #, no-wrap
2011 msgid "Character sets"
2012 msgstr ""
2013
2014 #. type: Plain text
2015 #: build/C/man4/console_codes.4:382
2016 msgid ""
2017 "The kernel knows about 4 translations of bytes into console-screen symbols.  "
2018 "The four tables are: a) Latin1 -E<gt> PC, b) VT100 graphics -E<gt> PC, c) PC "
2019 "-E<gt> PC, d) user-defined."
2020 msgstr ""
2021
2022 #. type: Plain text
2023 #: build/C/man4/console_codes.4:388
2024 msgid ""
2025 "There are two character sets, called G0 and G1, and one of them is the "
2026 "current character set.  (Initially G0.)  Typing B<^N> causes G1 to become "
2027 "current, B<^O> causes G0 to become current."
2028 msgstr ""
2029
2030 #. type: Plain text
2031 #: build/C/man4/console_codes.4:396
2032 msgid ""
2033 "These variables G0 and G1 point at a translation table, and can be changed "
2034 "by the user.  Initially they point at tables a) and b), respectively.  The "
2035 "sequences ESC ( B and ESC ( 0 and ESC ( U and ESC ( K cause G0 to point at "
2036 "translation table a), b), c) and d), respectively.  The sequences ESC ) B "
2037 "and ESC ) 0 and ESC ) U and ESC ) K cause G1 to point at translation table "
2038 "a), b), c) and d), respectively."
2039 msgstr ""
2040
2041 #. type: Plain text
2042 #: build/C/man4/console_codes.4:406
2043 msgid ""
2044 "The sequence ESC c causes a terminal reset, which is what you want if the "
2045 "screen is all garbled.  The oft-advised \"echo ^V^O\" will make only G0 "
2046 "current, but there is no guarantee that G0 points at table a).  In some "
2047 "distributions there is a program B<reset>(1)  that just does \"echo ^[c\".  "
2048 "If your terminfo entry for the console is correct (and has an entry "
2049 "rs1=\\eEc), then \"tput reset\" will also work."
2050 msgstr ""
2051
2052 #. type: Plain text
2053 #: build/C/man4/console_codes.4:414
2054 msgid ""
2055 "The user-defined mapping table can be set using B<mapscrn>(8).  The result "
2056 "of the mapping is that if a symbol c is printed, the symbol s = map[c] is "
2057 "sent to the video memory.  The bitmap that corresponds to s is found in the "
2058 "character ROM, and can be changed using B<setfont>(8)."
2059 msgstr ""
2060
2061 #. type: SS
2062 #: build/C/man4/console_codes.4:414
2063 #, no-wrap
2064 msgid "Mouse tracking"
2065 msgstr ""
2066
2067 #. type: Plain text
2068 #: build/C/man4/console_codes.4:426
2069 msgid ""
2070 "The mouse tracking facility is intended to return B<xterm>(1)-compatible "
2071 "mouse status reports.  Because the console driver has no way to know the "
2072 "device or type of the mouse, these reports are returned in the console input "
2073 "stream only when the virtual terminal driver receives a mouse update ioctl.  "
2074 "These ioctls must be generated by a mouse-aware user-mode application such "
2075 "as the B<gpm>(8)  daemon."
2076 msgstr ""
2077
2078 #. type: Plain text
2079 #: build/C/man4/console_codes.4:432
2080 msgid ""
2081 "The mouse tracking escape sequences generated by B<xterm>(1) encode numeric "
2082 "parameters in a single character as I<value>+040.  For example, \\(aq!\\(aq "
2083 "is 1.  The screen coordinate system is 1-based."
2084 msgstr ""
2085
2086 #. type: Plain text
2087 #: build/C/man4/console_codes.4:442
2088 msgid ""
2089 "The X10 compatibility mode sends an escape sequence on button press encoding "
2090 "the location and the mouse button pressed.  It is enabled by sending ESC [ ? "
2091 "9 h and disabled with ESC [ ? 9 l.  On button press, B<xterm>(1) sends ESC [ "
2092 "M I<bxy> (6 characters).  Here I<b> is button-1, and I<x> and I<y> are the x "
2093 "and y coordinates of the mouse when the button was pressed.  This is the "
2094 "same code the kernel also produces."
2095 msgstr ""
2096
2097 #. type: Plain text
2098 #: build/C/man4/console_codes.4:457
2099 msgid ""
2100 "Normal tracking mode (not implemented in Linux 2.0.24) sends an escape "
2101 "sequence on both button press and release.  Modifier information is also "
2102 "sent.  It is enabled by sending ESC [ ? 1000 h and disabled with ESC [ ? "
2103 "1000 l.  On button press or release, B<xterm>(1) sends ESC [ M I<bxy>.  The "
2104 "low two bits of I<b> encode button information: 0=MB1 pressed, 1=MB2 "
2105 "pressed, 2=MB3 pressed, 3=release.  The upper bits encode what modifiers "
2106 "were down when the button was pressed and are added together: 4=Shift, "
2107 "8=Meta, 16=Control.  Again I<x> and I<y> are the x and y coordinates of the "
2108 "mouse event.  The upper left corner is (1,1)."
2109 msgstr ""
2110
2111 #. type: SS
2112 #: build/C/man4/console_codes.4:457
2113 #, no-wrap
2114 msgid "Comparisons with other terminals"
2115 msgstr ""
2116
2117 #. type: Plain text
2118 #: build/C/man4/console_codes.4:464
2119 msgid ""
2120 "Many different terminal types are described, like the Linux console, as "
2121 "being \"VT100-compatible\".  Here we discuss differences between the Linux "
2122 "console and the two most important others, the DEC VT102 and B<xterm>(1)."
2123 msgstr ""
2124
2125 #. type: Plain text
2126 #: build/C/man4/console_codes.4:466
2127 msgid "B<Control-character handling>"
2128 msgstr ""
2129
2130 #. type: Plain text
2131 #: build/C/man4/console_codes.4:468
2132 msgid "The VT102 also recognized the following control characters:"
2133 msgstr ""
2134
2135 #. type: Plain text
2136 #: build/C/man4/console_codes.4:470
2137 msgid "NUL (0x00) was ignored;"
2138 msgstr ""
2139
2140 #. type: Plain text
2141 #: build/C/man4/console_codes.4:472
2142 msgid "ENQ (0x05) triggered an answerback message;"
2143 msgstr ""
2144
2145 #. type: Plain text
2146 #: build/C/man4/console_codes.4:474
2147 msgid "DC1 (0x11, B<^Q>, XON) resumed transmission;"
2148 msgstr ""
2149
2150 #. type: Plain text
2151 #: build/C/man4/console_codes.4:477
2152 msgid ""
2153 "DC3 (0x13, B<^S>, XOFF) caused VT100 to ignore (and stop transmitting)  all "
2154 "codes except XOFF and XON."
2155 msgstr ""
2156
2157 #. type: Plain text
2158 #: build/C/man4/console_codes.4:479
2159 msgid "VT100-like DC1/DC3 processing may be enabled by the terminal driver."
2160 msgstr ""
2161
2162 #. type: Plain text
2163 #: build/C/man4/console_codes.4:485
2164 msgid ""
2165 "The B<xterm>(1)  program (in VT100 mode) recognizes the control characters "
2166 "BEL, BS, HT, LF, VT, FF, CR, SO, SI, ESC."
2167 msgstr ""
2168
2169 #. type: Plain text
2170 #: build/C/man4/console_codes.4:487
2171 msgid "B<Escape sequences>"
2172 msgstr ""
2173
2174 #. type: Plain text
2175 #: build/C/man4/console_codes.4:489
2176 msgid "VT100 console sequences not implemented on the Linux console:"
2177 msgstr ""
2178
2179 #. type: tbl table
2180 #: build/C/man4/console_codes.4:491
2181 #, no-wrap
2182 msgid "ESC N\tSS2\tSingle shift 2. (Select G2 character set for the next\n"
2183 msgstr ""
2184
2185 #. type: tbl table
2186 #: build/C/man4/console_codes.4:492 build/C/man4/console_codes.4:494
2187 #, no-wrap
2188 msgid "\t\tcharacter only.)\n"
2189 msgstr ""
2190
2191 #. type: tbl table
2192 #: build/C/man4/console_codes.4:493
2193 #, no-wrap
2194 msgid "ESC O\tSS3\tSingle shift 3. (Select G3 character set for the next\n"
2195 msgstr ""
2196
2197 #. type: tbl table
2198 #: build/C/man4/console_codes.4:495
2199 #, no-wrap
2200 msgid "ESC P\tDCS\tDevice control string (ended by ESC \\e)\n"
2201 msgstr ""
2202
2203 #. type: tbl table
2204 #: build/C/man4/console_codes.4:496
2205 #, no-wrap
2206 msgid "ESC X\tSOS\tStart of string.\n"
2207 msgstr ""
2208
2209 #. type: tbl table
2210 #: build/C/man4/console_codes.4:497
2211 #, no-wrap
2212 msgid "ESC ^\tPM\tPrivacy message (ended by ESC \\e)\n"
2213 msgstr ""
2214
2215 #. type: tbl table
2216 #: build/C/man4/console_codes.4:498
2217 #, no-wrap
2218 msgid "ESC \\e\tST\tString terminator\n"
2219 msgstr ""
2220
2221 #. type: tbl table
2222 #: build/C/man4/console_codes.4:499
2223 #, no-wrap
2224 msgid "ESC * ...\t\tDesignate G2 character set\n"
2225 msgstr ""
2226
2227 #. type: tbl table
2228 #: build/C/man4/console_codes.4:500
2229 #, no-wrap
2230 msgid "ESC + ...\t\tDesignate G3 character set\n"
2231 msgstr ""
2232
2233 #. type: Plain text
2234 #: build/C/man4/console_codes.4:513
2235 msgid ""
2236 "The program B<xterm>(1)  (in VT100 mode) recognizes ESC c, ESC # 8, ESC "
2237 "E<gt>, ESC =, ESC D, ESC E, ESC H, ESC M, ESC N, ESC O, ESC P ... ESC \\e, "
2238 "ESC Z (it answers ESC [ ? 1 ; 2 c, \"I am a VT100 with advanced video "
2239 "option\")  and ESC ^ ... ESC \\e with the same meanings as indicated above.  "
2240 "It accepts ESC (, ESC ), ESC *, ESC + followed by 0, A, B for the DEC "
2241 "special character and line drawing set, UK, and US-ASCII, respectively."
2242 msgstr ""
2243
2244 #. type: Plain text
2245 #: build/C/man4/console_codes.4:517
2246 msgid ""
2247 "The user can configure B<xterm>(1) to respond to VT220-specific control "
2248 "sequences, and it will identify itself as a VT52, VT100, and up depending on "
2249 "the way it is configured and initialized."
2250 msgstr ""
2251
2252 #. type: Plain text
2253 #: build/C/man4/console_codes.4:522
2254 msgid ""
2255 "It accepts ESC ] (OSC) for the setting of certain resources.  In addition to "
2256 "the ECMA-48 string terminator (ST), B<xterm>(1) accepts a BEL to terminate "
2257 "an OSC string.  These are a few of the OSC control sequences recognized by "
2258 "B<xterm>(1):"
2259 msgstr ""
2260
2261 #. type: tbl table
2262 #: build/C/man4/console_codes.4:524
2263 #, no-wrap
2264 msgid "ESC ] 0 ; I<txt> ST\tSet icon name and window title to I<txt>.\n"
2265 msgstr ""
2266
2267 #. type: tbl table
2268 #: build/C/man4/console_codes.4:525
2269 #, no-wrap
2270 msgid "ESC ] 1 ; I<txt> ST\tSet icon name to I<txt>.\n"
2271 msgstr ""
2272
2273 #. type: tbl table
2274 #: build/C/man4/console_codes.4:526
2275 #, no-wrap
2276 msgid "ESC ] 2 ; I<txt> ST\tSet window title to I<txt>.\n"
2277 msgstr ""
2278
2279 #. type: tbl table
2280 #: build/C/man4/console_codes.4:527
2281 #, no-wrap
2282 msgid "ESC ] 4 ; I<num>; I<txt> ST\tSet ANSI color I<num> to I<txt>.\n"
2283 msgstr ""
2284
2285 #. type: tbl table
2286 #: build/C/man4/console_codes.4:528
2287 #, no-wrap
2288 msgid "ESC ] 10 ; I<txt> ST\tSet dynamic text color to I<txt>.\n"
2289 msgstr ""
2290
2291 #. type: tbl table
2292 #: build/C/man4/console_codes.4:529
2293 #, no-wrap
2294 msgid "ESC ] 4 6 ; I<name> ST\tChange log file to I<name> (normally disabled\n"
2295 msgstr ""
2296
2297 #. type: tbl table
2298 #: build/C/man4/console_codes.4:530
2299 #, no-wrap
2300 msgid "\tby a compile-time option)\n"
2301 msgstr ""
2302
2303 #. type: tbl table
2304 #: build/C/man4/console_codes.4:531
2305 #, no-wrap
2306 msgid "ESC ] 5 0 ; I<fn> ST\tSet font to I<fn>.\n"
2307 msgstr ""
2308
2309 #. type: Plain text
2310 #: build/C/man4/console_codes.4:536
2311 msgid ""
2312 "It recognizes the following with slightly modified meaning (saving more "
2313 "state, behaving closer to VT100/VT220):"
2314 msgstr ""
2315
2316 #. type: tbl table
2317 #: build/C/man4/console_codes.4:538
2318 #, no-wrap
2319 msgid "ESC 7  DECSC\tSave cursor\n"
2320 msgstr ""
2321
2322 #. type: tbl table
2323 #: build/C/man4/console_codes.4:539
2324 #, no-wrap
2325 msgid "ESC 8  DECRC\tRestore cursor\n"
2326 msgstr ""
2327
2328 #. type: Plain text
2329 #: build/C/man4/console_codes.4:543
2330 msgid "It also recognizes"
2331 msgstr ""
2332
2333 #. type: tbl table
2334 #: build/C/man4/console_codes.4:545
2335 #, no-wrap
2336 msgid "ESC F\t\tCursor to lower left corner of screen (if enabled by\n"
2337 msgstr ""
2338
2339 #. type: tbl table
2340 #: build/C/man4/console_codes.4:546
2341 #, no-wrap
2342 msgid "\t\tB<xterm>(1)'s B<hpLowerleftBugCompat> resource)\n"
2343 msgstr ""
2344
2345 #. type: tbl table
2346 #: build/C/man4/console_codes.4:547
2347 #, no-wrap
2348 msgid "ESC l\t\tMemory lock (per HP terminals).\n"
2349 msgstr ""
2350
2351 #. type: tbl table
2352 #: build/C/man4/console_codes.4:548
2353 #, no-wrap
2354 msgid "\t\tLocks memory above the cursor.\n"
2355 msgstr ""
2356
2357 #. type: tbl table
2358 #: build/C/man4/console_codes.4:549
2359 #, no-wrap
2360 msgid "ESC m\t\tMemory unlock (per HP terminals).\n"
2361 msgstr ""
2362
2363 #. type: tbl table
2364 #: build/C/man4/console_codes.4:550
2365 #, no-wrap
2366 msgid "ESC n\tLS2\tInvoke the G2 character set.\n"
2367 msgstr ""
2368
2369 #. type: tbl table
2370 #: build/C/man4/console_codes.4:551
2371 #, no-wrap
2372 msgid "ESC o\tLS3\tInvoke the G3 character set.\n"
2373 msgstr ""
2374
2375 #. type: tbl table
2376 #: build/C/man4/console_codes.4:552
2377 #, no-wrap
2378 msgid "ESC |\tLS3R\tInvoke the G3 character set as GR.\n"
2379 msgstr ""
2380
2381 #. type: tbl table
2382 #: build/C/man4/console_codes.4:553
2383 #, no-wrap
2384 msgid "ESC }\tLS2R\tInvoke the G2 character set as GR.\n"
2385 msgstr ""
2386
2387 #. type: tbl table
2388 #: build/C/man4/console_codes.4:554
2389 #, no-wrap
2390 msgid "ESC ~\tLS1R\tInvoke the G1 character set as GR.\n"
2391 msgstr ""
2392
2393 #. type: Plain text
2394 #: build/C/man4/console_codes.4:560
2395 msgid ""
2396 "It also recognizes ESC % and provides a more complete UTF-8 implementation "
2397 "than Linux console."
2398 msgstr ""
2399
2400 #. type: Plain text
2401 #: build/C/man4/console_codes.4:562
2402 msgid "B<CSI Sequences>"
2403 msgstr ""
2404
2405 #. type: Plain text
2406 #: build/C/man4/console_codes.4:576
2407 msgid ""
2408 "Old versions of B<xterm>(1), for example, from X11R5, interpret the blink "
2409 "SGR as a bold SGR.  Later versions which implemented ANSI colors, for "
2410 "example, XFree86 3.1.2A in 1995, improved this by allowing the blink "
2411 "attribute to be displayed as a color.  Modern versions of xterm implement "
2412 "blink SGR as blinking text and still allow colored text as an alternate "
2413 "rendering of SGRs.  Stock X11R6 versions did not recognize the color-setting "
2414 "SGRs until the X11R6.8 release, which incorporated XFree86 xterm.  All "
2415 "ECMA-48 CSI sequences recognized by Linux are also recognized by I<xterm>, "
2416 "however B<xterm>(1) implements several ECMA-48 and DEC control sequences not "
2417 "recognized by Linux."
2418 msgstr ""
2419
2420 #. type: Plain text
2421 #: build/C/man4/console_codes.4:590
2422 msgid ""
2423 "The B<xterm>(1)  program recognizes all of the DEC Private Mode sequences "
2424 "listed above, but none of the Linux private-mode sequences.  For discussion "
2425 "of B<xterm>(1)'s own private-mode sequences, refer to the I<Xterm Control "
2426 "Sequences> document by Edward Moy, Stephen Gildea, and Thomas E. Dickey "
2427 "available with the X distribution.  That document, though terse, is much "
2428 "longer than this manual page.  For a chronological overview,"
2429 msgstr ""
2430
2431 #. type: Plain text
2432 #: build/C/man4/console_codes.4:594
2433 msgid "E<.UR http://invisible-island.net\\:/xterm\\:/xterm.log.html> E<.UE>"
2434 msgstr ""
2435
2436 #. type: Plain text
2437 #: build/C/man4/console_codes.4:597
2438 msgid "details changes to xterm."
2439 msgstr ""
2440
2441 #. type: Plain text
2442 #: build/C/man4/console_codes.4:599
2443 msgid "The I<vttest> program"
2444 msgstr ""
2445
2446 #. type: Plain text
2447 #: build/C/man4/console_codes.4:603
2448 msgid "E<.UR http://invisible-island.net\\:/vttest/> E<.UE>"
2449 msgstr ""
2450
2451 #. type: Plain text
2452 #: build/C/man4/console_codes.4:608
2453 msgid ""
2454 "demonstrates many of these control sequences.  The B<xterm>(1) source "
2455 "distribution also contains sample scripts which exercise other features."
2456 msgstr ""
2457
2458 #. type: SH
2459 #: build/C/man4/console_codes.4:608 build/C/man4/console_ioctl.4:824 build/C/man5/core.5:316 build/C/man4/cpuid.4:62 build/C/man4/fd.4:197 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
2460 #, no-wrap
2461 msgid "NOTES"
2462 msgstr ""
2463
2464 #. type: Plain text
2465 #: build/C/man4/console_codes.4:611
2466 msgid "ESC 8 (DECRC) is not able to restore the character set changed with ESC %."
2467 msgstr ""
2468
2469 #. type: SH
2470 #: 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
2471 #, no-wrap
2472 msgid "BUGS"
2473 msgstr ""
2474
2475 #. type: Plain text
2476 #: build/C/man4/console_codes.4:614
2477 msgid "In 2.0.23, CSI is broken, and NUL is not ignored inside escape sequences."
2478 msgstr ""
2479
2480 #. type: Plain text
2481 #: build/C/man4/console_codes.4:623
2482 msgid ""
2483 "Some older kernel versions (after 2.0) interpret 8-bit control sequences.  "
2484 "These \"C1 controls\" use codes between 128 and 159 to replace ESC [, ESC ] "
2485 "and similar two-byte control sequence initiators.  There are fragments of "
2486 "that in modern kernels (either overlooked or broken by changes to support "
2487 "UTF-8), but the implementation is incomplete and should be regarded as "
2488 "unreliable."
2489 msgstr ""
2490
2491 #. type: Plain text
2492 #: build/C/man4/console_codes.4:638
2493 msgid ""
2494 "Linux \"private mode\" sequences do not follow the rules in ECMA-48 for "
2495 "private mode control sequences.  In particular, those ending with ] do not "
2496 "use a standard terminating character.  The OSC (set palette) sequence is a "
2497 "greater problem, since B<xterm>(1) may interpret this as a control sequence "
2498 "which requires a string terminator (ST).  Unlike the B<setterm>(1) sequences "
2499 "which will be ignored (since they are invalid control sequences), the "
2500 "palette sequence will make B<xterm>(1) appear to hang (though pressing the "
2501 "return-key will fix that).  To accommodate applications which have been "
2502 "hardcoded to use Linux control sequences, set the B<xterm>(1) resource "
2503 "B<brokenLinuxOSC> to true."
2504 msgstr ""
2505
2506 #. type: Plain text
2507 #: build/C/man4/console_codes.4:642
2508 msgid ""
2509 "An older version of this document implied that Linux recognizes the ECMA-48 "
2510 "control sequence for invisible text.  It is ignored."
2511 msgstr ""
2512
2513 #. type: Plain text
2514 #: build/C/man4/console_codes.4:646
2515 msgid "B<console>(4), B<console_ioctl>(4), B<charsets>(7)"
2516 msgstr ""
2517
2518 #. type: TH
2519 #: build/C/man4/console_ioctl.4:40
2520 #, no-wrap
2521 msgid "CONSOLE_IOCTL"
2522 msgstr ""
2523
2524 #. type: TH
2525 #: build/C/man4/console_ioctl.4:40
2526 #, no-wrap
2527 msgid "2009-02-28"
2528 msgstr ""
2529
2530 #. type: Plain text
2531 #: build/C/man4/console_ioctl.4:43
2532 msgid "console_ioctl - ioctls for console terminal and virtual consoles"
2533 msgstr ""
2534
2535 #. type: Plain text
2536 #: build/C/man4/console_ioctl.4:49
2537 msgid ""
2538 "The following Linux-specific B<ioctl>(2)  requests are supported.  Each "
2539 "requires a third argument, assumed here to be I<argp>."
2540 msgstr ""
2541
2542 #. type: TP
2543 #: build/C/man4/console_ioctl.4:49
2544 #, no-wrap
2545 msgid "B<KDGETLED>"
2546 msgstr ""
2547
2548 #. type: Plain text
2549 #: build/C/man4/console_ioctl.4:59
2550 msgid ""
2551 "Get state of LEDs.  I<argp> points to a I<char>.  The lower three bits of "
2552 "I<*argp> are set to the state of the LEDs, as follows:"
2553 msgstr ""
2554
2555 #. type: tbl table
2556 #: build/C/man4/console_ioctl.4:61
2557 #, no-wrap
2558 msgid "LED_CAP \t0x04\tcaps lock led\n"
2559 msgstr ""
2560
2561 #. type: tbl table
2562 #: build/C/man4/console_ioctl.4:62
2563 #, no-wrap
2564 msgid "LEC_NUM \t0x02\tnum lock led\n"
2565 msgstr ""
2566
2567 #. type: tbl table
2568 #: build/C/man4/console_ioctl.4:63
2569 #, no-wrap
2570 msgid "LED_SCR \t0x01\tscroll lock led\n"
2571 msgstr ""
2572
2573 #. type: TP
2574 #: build/C/man4/console_ioctl.4:65
2575 #, no-wrap
2576 msgid "B<KDSETLED>"
2577 msgstr ""
2578
2579 #. type: Plain text
2580 #: build/C/man4/console_ioctl.4:73
2581 msgid ""
2582 "Set the LEDs.  The LEDs are set to correspond to the lower three bits of "
2583 "I<argp>.  However, if a higher order bit is set, the LEDs revert to normal: "
2584 "displaying the state of the keyboard functions of caps lock, num lock, and "
2585 "scroll lock."
2586 msgstr ""
2587
2588 #. type: Plain text
2589 #: build/C/man4/console_ioctl.4:80
2590 msgid ""
2591 "Before 1.1.54, the LEDs just reflected the state of the corresponding "
2592 "keyboard flags, and KDGETLED/KDSETLED would also change the keyboard flags.  "
2593 "Since 1.1.54 the LEDs can be made to display arbitrary information, but by "
2594 "default they display the keyboard flags.  The following two ioctls are used "
2595 "to access the keyboard flags."
2596 msgstr ""
2597
2598 #. type: TP
2599 #: build/C/man4/console_ioctl.4:80
2600 #, no-wrap
2601 msgid "B<KDGKBLED>"
2602 msgstr ""
2603
2604 #. type: Plain text
2605 #: build/C/man4/console_ioctl.4:89
2606 msgid ""
2607 "Get keyboard flags CapsLock, NumLock, ScrollLock (not lights).  I<argp> "
2608 "points to a char which is set to the flag state.  The low order three bits "
2609 "(mask 0x7) get the current flag state, and the low order bits of the next "
2610 "nibble (mask 0x70) get the default flag state.  (Since 1.1.54.)"
2611 msgstr ""
2612
2613 #. type: TP
2614 #: build/C/man4/console_ioctl.4:89
2615 #, no-wrap
2616 msgid "B<KDSKBLED>"
2617 msgstr ""
2618
2619 #. type: Plain text
2620 #: build/C/man4/console_ioctl.4:98
2621 msgid ""
2622 "Set keyboard flags CapsLock, NumLock, ScrollLock (not lights).  I<argp> has "
2623 "the desired flag state.  The low order three bits (mask 0x7) have the flag "
2624 "state, and the low order bits of the next nibble (mask 0x70) have the "
2625 "default flag state.  (Since 1.1.54.)"
2626 msgstr ""
2627
2628 #. type: TP
2629 #: build/C/man4/console_ioctl.4:98
2630 #, no-wrap
2631 msgid "B<KDGKBTYPE>"
2632 msgstr ""
2633
2634 #. type: Plain text
2635 #: build/C/man4/console_ioctl.4:102
2636 msgid "Get keyboard type.  This returns the value KB_101, defined as 0x02."
2637 msgstr ""
2638
2639 #. type: TP
2640 #: build/C/man4/console_ioctl.4:102
2641 #, no-wrap
2642 msgid "B<KDADDIO>"
2643 msgstr ""
2644
2645 #. type: Plain text
2646 #: build/C/man4/console_ioctl.4:107
2647 msgid "Add I/O port as valid.  Equivalent to I<ioperm(arg,1,1)>."
2648 msgstr ""
2649
2650 #. type: TP
2651 #: build/C/man4/console_ioctl.4:107
2652 #, no-wrap
2653 msgid "B<KDDELIO>"
2654 msgstr ""
2655
2656 #. type: Plain text
2657 #: build/C/man4/console_ioctl.4:112
2658 msgid "Delete I/O port as valid.  Equivalent to I<ioperm(arg,1,0)>."
2659 msgstr ""
2660
2661 #. type: TP
2662 #: build/C/man4/console_ioctl.4:112
2663 #, no-wrap
2664 msgid "B<KDENABIO>"
2665 msgstr ""
2666
2667 #. type: Plain text
2668 #: build/C/man4/console_ioctl.4:117
2669 msgid ""
2670 "Enable I/O to video board.  Equivalent to I<ioperm(0x3b4, 0x3df-0x3b4+1, "
2671 "1)>."
2672 msgstr ""
2673
2674 #. type: TP
2675 #: build/C/man4/console_ioctl.4:117
2676 #, no-wrap
2677 msgid "B<KDDISABIO>"
2678 msgstr ""
2679
2680 #. type: Plain text
2681 #: build/C/man4/console_ioctl.4:122
2682 msgid ""
2683 "Disable I/O to video board.  Equivalent to I<ioperm(0x3b4, 0x3df-0x3b4+1, "
2684 "0)>."
2685 msgstr ""
2686
2687 #. type: TP
2688 #: build/C/man4/console_ioctl.4:122
2689 #, no-wrap
2690 msgid "B<KDSETMODE>"
2691 msgstr ""
2692
2693 #. type: Plain text
2694 #: build/C/man4/console_ioctl.4:127
2695 msgid "Set text/graphics mode.  I<argp> is one of these:"
2696 msgstr ""
2697
2698 #. type: tbl table
2699 #: build/C/man4/console_ioctl.4:130
2700 #, no-wrap
2701 msgid "KD_TEXT\t0x00\n"
2702 msgstr ""
2703
2704 #. type: tbl table
2705 #: build/C/man4/console_ioctl.4:131
2706 #, no-wrap
2707 msgid "KD_GRAPHICS\t0x01\n"
2708 msgstr ""
2709
2710 #. type: TP
2711 #: build/C/man4/console_ioctl.4:133
2712 #, no-wrap
2713 msgid "B<KDGETMODE>"
2714 msgstr ""
2715
2716 #. type: Plain text
2717 #: build/C/man4/console_ioctl.4:141
2718 msgid ""
2719 "Get text/graphics mode.  I<argp> points to a I<long> which is set to one of "
2720 "the above values."
2721 msgstr ""
2722
2723 #. type: TP
2724 #: build/C/man4/console_ioctl.4:141
2725 #, no-wrap
2726 msgid "B<KDMKTONE>"
2727 msgstr ""
2728
2729 #. type: Plain text
2730 #: build/C/man4/console_ioctl.4:155
2731 msgid ""
2732 "Generate tone of specified length.  The lower 16 bits of I<argp> specify the "
2733 "period in clock cycles, and the upper 16 bits give the duration in msec.  If "
2734 "the duration is zero, the sound is turned off.  Control returns "
2735 "immediately.  For example, I<argp> = (125E<lt>E<lt>16) + 0x637 would specify "
2736 "the beep normally associated with a ctrl-G.  (Thus since 0.99pl1; broken in "
2737 "2.1.49-50.)"
2738 msgstr ""
2739
2740 #. type: TP
2741 #: build/C/man4/console_ioctl.4:155
2742 #, no-wrap
2743 msgid "B<KIOCSOUND>"
2744 msgstr ""
2745
2746 #. type: Plain text
2747 #: build/C/man4/console_ioctl.4:167
2748 msgid ""
2749 "Start or stop sound generation.  The lower 16 bits of I<argp> specify the "
2750 "period in clock cycles (that is, I<argp> = 1193180/frequency).  I<argp> = 0 "
2751 "turns sound off.  In either case, control returns immediately."
2752 msgstr ""
2753
2754 #. type: TP
2755 #: build/C/man4/console_ioctl.4:167
2756 #, no-wrap
2757 msgid "B<GIO_CMAP>"
2758 msgstr ""
2759
2760 #. type: Plain text
2761 #: build/C/man4/console_ioctl.4:174
2762 msgid ""
2763 "Get the current default color map from kernel.  I<argp> points to a 48-byte "
2764 "array.  (Since 1.3.3.)"
2765 msgstr ""
2766
2767 #. type: TP
2768 #: build/C/man4/console_ioctl.4:174
2769 #, no-wrap
2770 msgid "B<PIO_CMAP>"
2771 msgstr ""
2772
2773 #. type: Plain text
2774 #: build/C/man4/console_ioctl.4:187
2775 msgid ""
2776 "Change the default text-mode color map.  I<argp> points to a 48-byte array "
2777 "which contains, in order, the Red, Green, and Blue values for the 16 "
2778 "available screen colors: 0 is off, and 255 is full intensity.  The default "
2779 "colors are, in order: black, dark red, dark green, brown, dark blue, dark "
2780 "purple, dark cyan, light grey, dark grey, bright red, bright green, yellow, "
2781 "bright blue, bright purple, bright cyan and white.  (Since 1.3.3.)"
2782 msgstr ""
2783
2784 #. type: TP
2785 #: build/C/man4/console_ioctl.4:187
2786 #, no-wrap
2787 msgid "B<GIO_FONT>"
2788 msgstr ""
2789
2790 #. type: Plain text
2791 #: build/C/man4/console_ioctl.4:197
2792 msgid ""
2793 "Gets 256-character screen font in expanded form.  I<argp> points to an 8192 "
2794 "byte array.  Fails with error code B<EINVAL> if the currently loaded font is "
2795 "a 512-character font, or if the console is not in text mode."
2796 msgstr ""
2797
2798 #. type: TP
2799 #: build/C/man4/console_ioctl.4:197
2800 #, no-wrap
2801 msgid "B<GIO_FONTX>"
2802 msgstr ""
2803
2804 #. type: Plain text
2805 #: build/C/man4/console_ioctl.4:225
2806 msgid ""
2807 "Gets screen font and associated information.  I<argp> points to a I<struct "
2808 "consolefontdesc> (see B<PIO_FONTX>).  On call, the I<charcount> field should "
2809 "be set to the maximum number of characters that would fit in the buffer "
2810 "pointed to by I<chardata>.  On return, the I<charcount> and I<charheight> "
2811 "are filled with the respective data for the currently loaded font, and the "
2812 "I<chardata> array contains the font data if the initial value of "
2813 "I<charcount> indicated enough space was available; otherwise the buffer is "
2814 "untouched and I<errno> is set to B<ENOMEM>.  (Since 1.3.1.)"
2815 msgstr ""
2816
2817 #. type: TP
2818 #: build/C/man4/console_ioctl.4:225
2819 #, no-wrap
2820 msgid "B<PIO_FONT>"
2821 msgstr ""
2822
2823 #. type: Plain text
2824 #: build/C/man4/console_ioctl.4:240
2825 msgid ""
2826 "Sets 256-character screen font.  Load font into the EGA/VGA character "
2827 "generator.  I<argp> points to a 8192 byte map, with 32 bytes per character.  "
2828 "Only the first I<N> of them are used for an 8xI<N> font (0 E<lt> I<N> E<lt>= "
2829 "32).  This call also invalidates the Unicode mapping."
2830 msgstr ""
2831
2832 #. type: TP
2833 #: build/C/man4/console_ioctl.4:240
2834 #, no-wrap
2835 msgid "B<PIO_FONTX>"
2836 msgstr ""
2837
2838 #. type: Plain text
2839 #: build/C/man4/console_ioctl.4:245
2840 msgid "Sets screen font and associated rendering information.  I<argp> points to a"
2841 msgstr ""
2842
2843 #. type: Plain text
2844 #: build/C/man4/console_ioctl.4:256
2845 #, no-wrap
2846 msgid ""
2847 "struct consolefontdesc {\n"
2848 "    unsigned short charcount;  /* characters in font\n"
2849 "                                  (256 or 512) */\n"
2850 "    unsigned short charheight; /* scan lines per\n"
2851 "                                  character (1-32) */\n"
2852 "    char          *chardata;   /* font data in\n"
2853 "                                  expanded form */\n"
2854 "};\n"
2855 msgstr ""
2856
2857 #. type: Plain text
2858 #: build/C/man4/console_ioctl.4:264
2859 msgid ""
2860 "If necessary, the screen will be appropriately resized, and B<SIGWINCH> sent "
2861 "to the appropriate processes.  This call also invalidates the Unicode "
2862 "mapping.  (Since 1.3.1.)"
2863 msgstr ""
2864
2865 #. type: TP
2866 #: build/C/man4/console_ioctl.4:264
2867 #, no-wrap
2868 msgid "B<PIO_FONTRESET>"
2869 msgstr ""
2870
2871 #. type: Plain text
2872 #: build/C/man4/console_ioctl.4:272
2873 msgid ""
2874 "Resets the screen font, size and Unicode mapping to the bootup defaults.  "
2875 "I<argp> is unused, but should be set to NULL to ensure compatibility with "
2876 "future versions of Linux.  (Since 1.3.28.)"
2877 msgstr ""
2878
2879 #. type: TP
2880 #: build/C/man4/console_ioctl.4:272
2881 #, no-wrap
2882 msgid "B<GIO_SCRNMAP>"
2883 msgstr ""
2884
2885 #. type: Plain text
2886 #: build/C/man4/console_ioctl.4:281
2887 msgid ""
2888 "Get screen mapping from kernel.  I<argp> points to an area of size E_TABSZ, "
2889 "which is loaded with the font positions used to display each character.  "
2890 "This call is likely to return useless information if the currently loaded "
2891 "font is more than 256 characters."
2892 msgstr ""
2893
2894 #. type: TP
2895 #: build/C/man4/console_ioctl.4:281
2896 #, no-wrap
2897 msgid "B<GIO_UNISCRNMAP>"
2898 msgstr ""
2899
2900 #. type: Plain text
2901 #: build/C/man4/console_ioctl.4:293
2902 msgid ""
2903 "Get full Unicode screen mapping from kernel.  I<argp> points to an area of "
2904 "size I<E_TABSZ*sizeof(unsigned short)>, which is loaded with the Unicodes "
2905 "each character represent.  A special set of Unicodes, starting at U+F000, "
2906 "are used to represent \"direct to font\" mappings.  (Since 1.3.1.)"
2907 msgstr ""
2908
2909 #. type: TP
2910 #: build/C/man4/console_ioctl.4:293
2911 #, no-wrap
2912 msgid "B<PIO_SCRNMAP>"
2913 msgstr ""
2914
2915 #. type: Plain text
2916 #: build/C/man4/console_ioctl.4:300
2917 msgid ""
2918 "Loads the \"user definable\" (fourth) table in the kernel which maps bytes "
2919 "into console screen symbols.  I<argp> points to an area of size E_TABSZ."
2920 msgstr ""
2921
2922 #. type: TP
2923 #: build/C/man4/console_ioctl.4:300
2924 #, no-wrap
2925 msgid "B<PIO_UNISCRNMAP>"
2926 msgstr ""
2927
2928 #. type: Plain text
2929 #: build/C/man4/console_ioctl.4:308
2930 msgid ""
2931 "Loads the \"user definable\" (fourth) table in the kernel which maps bytes "
2932 "into Unicodes, which are then translated into screen symbols according to "
2933 "the currently loaded Unicode-to-font map.  Special Unicodes starting at "
2934 "U+F000 can be used to map directly to the font symbols.  (Since 1.3.1.)"
2935 msgstr ""
2936
2937 #. type: TP
2938 #: build/C/man4/console_ioctl.4:308
2939 #, no-wrap
2940 msgid "B<GIO_UNIMAP>"
2941 msgstr ""
2942
2943 #. type: Plain text
2944 #: build/C/man4/console_ioctl.4:313
2945 msgid "Get Unicode-to-font mapping from kernel.  I<argp> points to a"
2946 msgstr ""
2947
2948 #. type: Plain text
2949 #: build/C/man4/console_ioctl.4:320
2950 #, no-wrap
2951 msgid ""
2952 "struct unimapdesc {\n"
2953 "    unsigned short  entry_ct;\n"
2954 "    struct unipair *entries;\n"
2955 "};\n"
2956 msgstr ""
2957
2958 #. type: Plain text
2959 #: build/C/man4/console_ioctl.4:326
2960 msgid "where I<entries> points to an array of"
2961 msgstr ""
2962
2963 #. type: Plain text
2964 #: build/C/man4/console_ioctl.4:333
2965 #, no-wrap
2966 msgid ""
2967 "struct unipair {\n"
2968 "    unsigned short unicode;\n"
2969 "    unsigned short fontpos;\n"
2970 "};\n"
2971 msgstr ""
2972
2973 #. type: Plain text
2974 #: build/C/man4/console_ioctl.4:337 build/C/man4/console_ioctl.4:361
2975 msgid "(Since 1.1.92.)"
2976 msgstr ""
2977
2978 #. type: TP
2979 #: build/C/man4/console_ioctl.4:337
2980 #, no-wrap
2981 msgid "B<PIO_UNIMAP>"
2982 msgstr ""
2983
2984 #. type: Plain text
2985 #: build/C/man4/console_ioctl.4:344
2986 msgid ""
2987 "Put unicode-to-font mapping in kernel.  I<argp> points to a I<struct "
2988 "unimapdesc>.  (Since 1.1.92)"
2989 msgstr ""
2990
2991 #. type: TP
2992 #: build/C/man4/console_ioctl.4:344
2993 #, no-wrap
2994 msgid "B<PIO_UNIMAPCLR>"
2995 msgstr ""
2996
2997 #. type: Plain text
2998 #: build/C/man4/console_ioctl.4:349
2999 msgid "Clear table, possibly advise hash algorithm.  I<argp> points to a"
3000 msgstr ""
3001
3002 #. type: Plain text
3003 #: build/C/man4/console_ioctl.4:357
3004 #, no-wrap
3005 msgid ""
3006 "struct unimapinit {\n"
3007 "    unsigned short advised_hashsize;  /* 0 if no opinion */\n"
3008 "    unsigned short advised_hashstep;  /* 0 if no opinion */\n"
3009 "    unsigned short advised_hashlevel; /* 0 if no opinion */\n"
3010 "};\n"
3011 msgstr ""
3012
3013 #. type: TP
3014 #: build/C/man4/console_ioctl.4:361
3015 #, no-wrap
3016 msgid "B<KDGKBMODE>"
3017 msgstr ""
3018
3019 #. type: Plain text
3020 #: build/C/man4/console_ioctl.4:369
3021 msgid ""
3022 "Gets current keyboard mode.  I<argp> points to a I<long> which is set to one "
3023 "of these:"
3024 msgstr ""
3025
3026 #. type: tbl table
3027 #: build/C/man4/console_ioctl.4:372
3028 #, no-wrap
3029 msgid "K_RAW\t0x00\n"
3030 msgstr ""
3031
3032 #. type: tbl table
3033 #: build/C/man4/console_ioctl.4:373
3034 #, no-wrap
3035 msgid "K_XLATE\t0x01\n"
3036 msgstr ""
3037
3038 #. type: tbl table
3039 #: build/C/man4/console_ioctl.4:374
3040 #, no-wrap
3041 msgid "K_MEDIUMRAW\t0x02\n"
3042 msgstr ""
3043
3044 #. type: tbl table
3045 #: build/C/man4/console_ioctl.4:375
3046 #, no-wrap
3047 msgid "K_UNICODE\t0x03\n"
3048 msgstr ""
3049
3050 #. type: TP
3051 #: build/C/man4/console_ioctl.4:377
3052 #, no-wrap
3053 msgid "B<KDSKBMODE>"
3054 msgstr ""
3055
3056 #. type: Plain text
3057 #: build/C/man4/console_ioctl.4:384
3058 msgid ""
3059 "Sets current keyboard mode.  I<argp> is a I<long> equal to one of the above "
3060 "values."
3061 msgstr ""
3062
3063 #. type: TP
3064 #: build/C/man4/console_ioctl.4:384
3065 #, no-wrap
3066 msgid "B<KDGKBMETA>"
3067 msgstr ""
3068
3069 #. type: Plain text
3070 #: build/C/man4/console_ioctl.4:392
3071 msgid ""
3072 "Gets meta key handling mode.  I<argp> points to a I<long> which is set to "
3073 "one of these:"
3074 msgstr ""
3075
3076 #. type: tbl table
3077 #: build/C/man4/console_ioctl.4:395
3078 #, no-wrap
3079 msgid "K_METABIT\t0x03\tset high order bit\n"
3080 msgstr ""
3081
3082 #. type: tbl table
3083 #: build/C/man4/console_ioctl.4:396
3084 #, no-wrap
3085 msgid "K_ESCPREFIX\t0x04\tescape prefix\n"
3086 msgstr ""
3087
3088 #. type: TP
3089 #: build/C/man4/console_ioctl.4:398
3090 #, no-wrap
3091 msgid "B<KDSKBMETA>"
3092 msgstr ""
3093
3094 #. type: Plain text
3095 #: build/C/man4/console_ioctl.4:405
3096 msgid ""
3097 "Sets meta key handling mode.  I<argp> is a I<long> equal to one of the above "
3098 "values."
3099 msgstr ""
3100
3101 #. type: TP
3102 #: build/C/man4/console_ioctl.4:405
3103 #, no-wrap
3104 msgid "B<KDGKBENT>"
3105 msgstr ""
3106
3107 #. type: Plain text
3108 #: build/C/man4/console_ioctl.4:410
3109 msgid ""
3110 "Gets one entry in key translation table (keycode to action code).  I<argp> "
3111 "points to a"
3112 msgstr ""
3113
3114 #. type: Plain text
3115 #: build/C/man4/console_ioctl.4:418
3116 #, no-wrap
3117 msgid ""
3118 "struct kbentry {\n"
3119 "    unsigned char  kb_table;\n"
3120 "    unsigned char  kb_index;\n"
3121 "    unsigned short kb_value;\n"
3122 "};\n"
3123 msgstr ""
3124
3125 #. type: Plain text
3126 #: build/C/man4/console_ioctl.4:437
3127 msgid ""
3128 "with the first two members filled in: I<kb_table> selects the key table (0 "
3129 "E<lt>= I<kb_table> E<lt> MAX_NR_KEYMAPS), and I<kb_index> is the keycode (0 "
3130 "E<lt>= I<kb_index> E<lt> NR_KEYS).  I<kb_value> is set to the corresponding "
3131 "action code, or K_HOLE if there is no such key, or K_NOSUCHMAP if "
3132 "I<kb_table> is invalid."
3133 msgstr ""
3134
3135 #. type: TP
3136 #: build/C/man4/console_ioctl.4:437
3137 #, no-wrap
3138 msgid "B<KDSKBENT>"
3139 msgstr ""
3140
3141 #. type: Plain text
3142 #: build/C/man4/console_ioctl.4:443
3143 msgid "Sets one entry in translation table.  I<argp> points to a I<struct kbentry>."
3144 msgstr ""
3145
3146 #. type: TP
3147 #: build/C/man4/console_ioctl.4:443
3148 #, no-wrap
3149 msgid "B<KDGKBSENT>"
3150 msgstr ""
3151
3152 #. type: Plain text
3153 #: build/C/man4/console_ioctl.4:448
3154 msgid "Gets one function key string.  I<argp> points to a"
3155 msgstr ""
3156
3157 #. type: Plain text
3158 #: build/C/man4/console_ioctl.4:455
3159 #, no-wrap
3160 msgid ""
3161 "struct kbsentry {\n"
3162 "    unsigned char kb_func;\n"
3163 "    unsigned char kb_string[512];\n"
3164 "};\n"
3165 msgstr ""
3166
3167 #. type: Plain text
3168 #: build/C/man4/console_ioctl.4:463
3169 msgid ""
3170 "I<kb_string> is set to the (null-terminated) string corresponding to the "
3171 "I<kb_func>th function key action code."
3172 msgstr ""
3173
3174 #. type: TP
3175 #: build/C/man4/console_ioctl.4:463
3176 #, no-wrap
3177 msgid "B<KDSKBSENT>"
3178 msgstr ""
3179
3180 #. type: Plain text
3181 #: build/C/man4/console_ioctl.4:469
3182 msgid "Sets one function key string entry.  I<argp> points to a I<struct kbsentry>."
3183 msgstr ""
3184
3185 #. type: TP
3186 #: build/C/man4/console_ioctl.4:469
3187 #, no-wrap
3188 msgid "B<KDGKBDIACR>"
3189 msgstr ""
3190
3191 #. type: Plain text
3192 #: build/C/man4/console_ioctl.4:474
3193 msgid "Read kernel accent table.  I<argp> points to a"
3194 msgstr ""
3195
3196 #. type: Plain text
3197 #: build/C/man4/console_ioctl.4:481
3198 #, no-wrap
3199 msgid ""
3200 "struct kbdiacrs {\n"
3201 "    unsigned int   kb_cnt;\n"
3202 "    struct kbdiacr kbdiacr[256];\n"
3203 "};\n"
3204 msgstr ""
3205
3206 #. type: Plain text
3207 #: build/C/man4/console_ioctl.4:488
3208 msgid "where I<kb_cnt> is the number of entries in the array, each of which is a"
3209 msgstr ""
3210
3211 #. type: Plain text
3212 #: build/C/man4/console_ioctl.4:496
3213 #, no-wrap
3214 msgid ""
3215 "struct kbdiacr {\n"
3216 "    unsigned char diacr;\n"
3217 "    unsigned char base;\n"
3218 "    unsigned char result;\n"
3219 "};\n"
3220 msgstr ""
3221
3222 #. type: TP
3223 #: build/C/man4/console_ioctl.4:498
3224 #, no-wrap
3225 msgid "B<KDGETKEYCODE>"
3226 msgstr ""
3227
3228 #. type: Plain text
3229 #: build/C/man4/console_ioctl.4:503
3230 msgid "Read kernel keycode table entry (scan code to keycode).  I<argp> points to a"
3231 msgstr ""
3232
3233 #. type: Plain text
3234 #: build/C/man4/console_ioctl.4:510
3235 #, no-wrap
3236 msgid ""
3237 "struct kbkeycode {\n"
3238 "    unsigned int scancode;\n"
3239 "    unsigned int keycode;\n"
3240 "};\n"
3241 msgstr ""
3242
3243 #. type: Plain text
3244 #: build/C/man4/console_ioctl.4:524
3245 msgid ""
3246 "I<keycode> is set to correspond to the given I<scancode>.  (89 E<lt>= "
3247 "I<scancode> E<lt>= 255 only.  For 1 E<lt>= I<scancode> E<lt>= 88, "
3248 "I<keycode>==I<scancode>.)  (Since 1.1.63.)"
3249 msgstr ""
3250
3251 #. type: TP
3252 #: build/C/man4/console_ioctl.4:524
3253 #, no-wrap
3254 msgid "B<KDSETKEYCODE>"
3255 msgstr ""
3256
3257 #. type: Plain text
3258 #: build/C/man4/console_ioctl.4:531
3259 msgid ""
3260 "Write kernel keycode table entry.  I<argp> points to a I<struct kbkeycode>.  "
3261 "(Since 1.1.63.)"
3262 msgstr ""
3263
3264 #. type: TP
3265 #: build/C/man4/console_ioctl.4:531
3266 #, no-wrap
3267 msgid "B<KDSIGACCEPT>"
3268 msgstr ""
3269
3270 #. type: Plain text
3271 #: build/C/man4/console_ioctl.4:543
3272 msgid ""
3273 "The calling process indicates its willingness to accept the signal I<argp> "
3274 "when it is generated by pressing an appropriate key combination.  (1 E<lt>= "
3275 "I<argp> E<lt>= NSIG).  (See I<spawn_console>()  in "
3276 "I<linux/drivers/char/keyboard.c>.)"
3277 msgstr ""
3278
3279 #. type: TP
3280 #: build/C/man4/console_ioctl.4:543
3281 #, no-wrap
3282 msgid "B<VT_OPENQRY>"
3283 msgstr ""
3284
3285 #. type: Plain text
3286 #: build/C/man4/console_ioctl.4:553
3287 msgid ""
3288 "Returns the first available (non-opened) console.  I<argp> points to an "
3289 "I<int> which is set to the number of the vt (1 E<lt>= I<*argp> E<lt>= "
3290 "MAX_NR_CONSOLES)."
3291 msgstr ""
3292
3293 #. type: TP
3294 #: build/C/man4/console_ioctl.4:553
3295 #, no-wrap
3296 msgid "B<VT_GETMODE>"
3297 msgstr ""
3298
3299 #. type: Plain text
3300 #: build/C/man4/console_ioctl.4:558
3301 msgid "Get mode of active vt.  I<argp> points to a"
3302 msgstr ""
3303
3304 #. type: Plain text
3305 #: build/C/man4/console_ioctl.4:568
3306 #, no-wrap
3307 msgid ""
3308 "struct vt_mode {\n"
3309 "    char  mode;    /* vt mode */\n"
3310 "    char  waitv;   /* if set, hang on writes if not active */\n"
3311 "    short relsig;  /* signal to raise on release req */\n"
3312 "    short acqsig;  /* signal to raise on acquisition */\n"
3313 "    short frsig;   /* unused (set to 0) */\n"
3314 "};\n"
3315 msgstr ""
3316
3317 #. type: Plain text
3318 #: build/C/man4/console_ioctl.4:574
3319 msgid ""
3320 "which is set to the mode of the active vt.  I<mode> is set to one of these "
3321 "values:"
3322 msgstr ""
3323
3324 #. type: tbl table
3325 #: build/C/man4/console_ioctl.4:577
3326 #, no-wrap
3327 msgid "VT_AUTO\tauto vt switching\n"
3328 msgstr ""
3329
3330 #. type: tbl table
3331 #: build/C/man4/console_ioctl.4:578
3332 #, no-wrap
3333 msgid "VT_PROCESS\tprocess controls switching\n"
3334 msgstr ""
3335
3336 #. type: tbl table
3337 #: build/C/man4/console_ioctl.4:579
3338 #, no-wrap
3339 msgid "VT_ACKACQ\tacknowledge switch\n"
3340 msgstr ""
3341
3342 #. type: TP
3343 #: build/C/man4/console_ioctl.4:581
3344 #, no-wrap
3345 msgid "B<VT_SETMODE>"
3346 msgstr ""
3347
3348 #. type: Plain text
3349 #: build/C/man4/console_ioctl.4:587
3350 msgid "Set mode of active vt.  I<argp> points to a I<struct vt_mode>."
3351 msgstr ""
3352
3353 #. type: TP
3354 #: build/C/man4/console_ioctl.4:587
3355 #, no-wrap
3356 msgid "B<VT_GETSTATE>"
3357 msgstr ""
3358
3359 #. type: Plain text
3360 #: build/C/man4/console_ioctl.4:592
3361 msgid "Get global vt state info.  I<argp> points to a"
3362 msgstr ""
3363
3364 #. type: Plain text
3365 #: build/C/man4/console_ioctl.4:600
3366 #, no-wrap
3367 msgid ""
3368 "struct vt_stat {\n"
3369 "    unsigned short v_active;  /* active vt */\n"
3370 "    unsigned short v_signal;  /* signal to send */\n"
3371 "    unsigned short v_state;   /* vt bit mask */\n"
3372 "};\n"
3373 msgstr ""
3374
3375 #. type: Plain text
3376 #: build/C/man4/console_ioctl.4:607
3377 msgid ""
3378 "For each vt in use, the corresponding bit in the I<v_state> member is set.  "
3379 "(Kernels 1.0 through 1.1.92.)"
3380 msgstr ""
3381
3382 #. type: TP
3383 #: build/C/man4/console_ioctl.4:607
3384 #, no-wrap
3385 msgid "B<VT_RELDISP>"
3386 msgstr ""
3387
3388 #. type: Plain text
3389 #: build/C/man4/console_ioctl.4:610
3390 msgid "Release a display."
3391 msgstr ""
3392
3393 #. type: TP
3394 #: build/C/man4/console_ioctl.4:610
3395 #, no-wrap
3396 msgid "B<VT_ACTIVATE>"
3397 msgstr ""
3398
3399 #. type: Plain text
3400 #: build/C/man4/console_ioctl.4:617
3401 msgid "Switch to vt I<argp> (1 E<lt>= I<argp> E<lt>= MAX_NR_CONSOLES)."
3402 msgstr ""
3403
3404 #. type: TP
3405 #: build/C/man4/console_ioctl.4:617
3406 #, no-wrap
3407 msgid "B<VT_WAITACTIVE>"
3408 msgstr ""
3409
3410 #. type: Plain text
3411 #: build/C/man4/console_ioctl.4:622
3412 msgid "Wait until vt I<argp> has been activated."
3413 msgstr ""
3414
3415 #. type: TP
3416 #: build/C/man4/console_ioctl.4:622
3417 #, no-wrap
3418 msgid "B<VT_DISALLOCATE>"
3419 msgstr ""
3420
3421 #. type: Plain text
3422 #: build/C/man4/console_ioctl.4:627
3423 msgid "Deallocate the memory associated with vt I<argp>.  (Since 1.1.54.)"
3424 msgstr ""
3425
3426 #. type: TP
3427 #: build/C/man4/console_ioctl.4:627
3428 #, no-wrap
3429 msgid "B<VT_RESIZE>"
3430 msgstr ""
3431
3432 #. type: Plain text
3433 #: build/C/man4/console_ioctl.4:632
3434 msgid "Set the kernel's idea of screensize.  I<argp> points to a"
3435 msgstr ""
3436
3437 #. type: Plain text
3438 #: build/C/man4/console_ioctl.4:640
3439 #, no-wrap
3440 msgid ""
3441 "struct vt_sizes {\n"
3442 "    unsigned short v_rows;       /* # rows */\n"
3443 "    unsigned short v_cols;       /* # columns */\n"
3444 "    unsigned short v_scrollsize; /* no longer used */\n"
3445 "};\n"
3446 msgstr ""
3447
3448 #. type: Plain text
3449 #: build/C/man4/console_ioctl.4:647
3450 msgid ""
3451 "Note that this does not change the videomode.  See B<resizecons>(8).  (Since "
3452 "1.1.54.)"
3453 msgstr ""
3454
3455 #. type: TP
3456 #: build/C/man4/console_ioctl.4:647
3457 #, no-wrap
3458 msgid "B<VT_RESIZEX>"
3459 msgstr ""
3460
3461 #. type: Plain text
3462 #: build/C/man4/console_ioctl.4:652
3463 msgid "Set the kernel's idea of various screen parameters.  I<argp> points to a"
3464 msgstr ""
3465
3466 #. type: Plain text
3467 #: build/C/man4/console_ioctl.4:667
3468 #, no-wrap
3469 msgid ""
3470 "struct vt_consize {\n"
3471 "    unsigned short v_rows;  /* number of rows */\n"
3472 "    unsigned short v_cols;  /* number of columns */\n"
3473 "    unsigned short v_vlin;  /* number of pixel rows\n"
3474 "                               on screen */\n"
3475 "    unsigned short v_clin;  /* number of pixel rows\n"
3476 "                               per character */\n"
3477 "    unsigned short v_vcol;  /* number of pixel columns\n"
3478 "                               on screen */\n"
3479 "    unsigned short v_ccol;  /* number of pixel columns\n"
3480 "                               per character */\n"
3481 "};\n"
3482 msgstr ""
3483
3484 #. type: Plain text
3485 #: build/C/man4/console_ioctl.4:676
3486 msgid ""
3487 "Any parameter may be set to zero, indicating \"no change\", but if multiple "
3488 "parameters are set, they must be self-consistent.  Note that this does not "
3489 "change the videomode.  See B<resizecons>(8).  (Since 1.3.3.)"
3490 msgstr ""
3491
3492 #. type: Plain text
3493 #: build/C/man4/console_ioctl.4:683
3494 msgid ""
3495 "The action of the following ioctls depends on the first byte in the struct "
3496 "pointed to by I<argp>, referred to here as the I<subcode>.  These are legal "
3497 "only for the superuser or the owner of the current terminal."
3498 msgstr ""
3499
3500 #. type: TP
3501 #: build/C/man4/console_ioctl.4:683
3502 #, no-wrap
3503 msgid "B<TIOCLINUX, subcode=0>"
3504 msgstr ""
3505
3506 #. type: Plain text
3507 #: build/C/man4/console_ioctl.4:691
3508 msgid ""
3509 "Dump the screen.  Disappeared in 1.1.92.  (With kernel 1.1.92 or later, read "
3510 "from I</dev/vcsN> or I</dev/vcsaN> instead.)"
3511 msgstr ""
3512
3513 #. type: TP
3514 #: build/C/man4/console_ioctl.4:691
3515 #, no-wrap
3516 msgid "B<TIOCLINUX, subcode=1>"
3517 msgstr ""
3518
3519 #. type: Plain text
3520 #: build/C/man4/console_ioctl.4:695
3521 msgid "Get task information.  Disappeared in 1.1.92."
3522 msgstr ""
3523
3524 #. type: TP
3525 #: build/C/man4/console_ioctl.4:695
3526 #, no-wrap
3527 msgid "B<TIOCLINUX, subcode=2>"
3528 msgstr ""
3529
3530 #. type: Plain text
3531 #: build/C/man4/console_ioctl.4:700
3532 msgid "Set selection.  I<argp> points to a"
3533 msgstr ""
3534
3535 #. type: Plain text
3536 #: build/C/man4/console_ioctl.4:708
3537 #, no-wrap
3538 msgid ""
3539 "struct {\n"
3540 "   char  subcode;\n"
3541 "   short xs, ys, xe, ye;\n"
3542 "   short sel_mode;\n"
3543 "};\n"
3544 msgstr ""
3545
3546 #. type: Plain text
3547 #: build/C/man4/console_ioctl.4:728
3548 msgid ""
3549 "I<xs> and I<ys> are the starting column and row.  I<xe> and I<ye> are the "
3550 "ending column and row.  (Upper left corner is row=column=1.)  I<sel_mode> is "
3551 "0 for character-by-character selection, 1 for word-by-word selection, or 2 "
3552 "for line-by-line selection.  The indicated screen characters are highlighted "
3553 "and saved in the static array sel_buffer in I<devices/char/console.c>."
3554 msgstr ""
3555
3556 #. type: TP
3557 #: build/C/man4/console_ioctl.4:728
3558 #, no-wrap
3559 msgid "B<TIOCLINUX, subcode=3>"
3560 msgstr ""
3561
3562 #. type: Plain text
3563 #: build/C/man4/console_ioctl.4:734
3564 msgid ""
3565 "Paste selection.  The characters in the selection buffer are written to "
3566 "I<fd>."
3567 msgstr ""
3568
3569 #. type: TP
3570 #: build/C/man4/console_ioctl.4:734
3571 #, no-wrap
3572 msgid "B<TIOCLINUX, subcode=4>"
3573 msgstr ""
3574
3575 #. type: Plain text
3576 #: build/C/man4/console_ioctl.4:737
3577 msgid "Unblank the screen."
3578 msgstr ""
3579
3580 #. type: TP
3581 #: build/C/man4/console_ioctl.4:737
3582 #, no-wrap
3583 msgid "B<TIOCLINUX, subcode=5>"
3584 msgstr ""
3585
3586 #. type: Plain text
3587 #: build/C/man4/console_ioctl.4:742
3588 msgid ""
3589 "Sets contents of a 256-bit look up table defining characters in a \"word\", "
3590 "for word-by-word selection.  (Since 1.1.32.)"
3591 msgstr ""
3592
3593 #. type: TP
3594 #: build/C/man4/console_ioctl.4:742
3595 #, no-wrap
3596 msgid "B<TIOCLINUX, subcode=6>"
3597 msgstr ""
3598
3599 #. type: Plain text
3600 #: build/C/man4/console_ioctl.4:749
3601 msgid ""
3602 "I<argp> points to a char which is set to the value of the kernel variable "
3603 "I<shift_state>.  (Since 1.1.32.)"
3604 msgstr ""
3605
3606 #. type: TP
3607 #: build/C/man4/console_ioctl.4:749
3608 #, no-wrap
3609 msgid "B<TIOCLINUX, subcode=7>"
3610 msgstr ""
3611
3612 #. type: Plain text
3613 #: build/C/man4/console_ioctl.4:756
3614 msgid ""
3615 "I<argp> points to a char which is set to the value of the kernel variable "
3616 "I<report_mouse>.  (Since 1.1.33.)"
3617 msgstr ""
3618
3619 #. type: TP
3620 #: build/C/man4/console_ioctl.4:756
3621 #, no-wrap
3622 msgid "B<TIOCLINUX, subcode=8>"
3623 msgstr ""
3624
3625 #. type: Plain text
3626 #: build/C/man4/console_ioctl.4:764
3627 msgid ""
3628 "Dump screen width and height, cursor position, and all the "
3629 "character-attribute pairs.  (Kernels 1.1.67 through 1.1.91 only.  With "
3630 "kernel 1.1.92 or later, read from I</dev/vcsa*> instead.)"
3631 msgstr ""
3632
3633 #. type: TP
3634 #: build/C/man4/console_ioctl.4:764
3635 #, no-wrap
3636 msgid "B<TIOCLINUX, subcode=9>"
3637 msgstr ""
3638
3639 #. type: Plain text
3640 #: build/C/man4/console_ioctl.4:772
3641 msgid ""
3642 "Restore screen width and height, cursor position, and all the "
3643 "character-attribute pairs.  (Kernels 1.1.67 through 1.1.91 only.  With "
3644 "kernel 1.1.92 or later, write to I</dev/vcsa*> instead.)"
3645 msgstr ""
3646
3647 #. type: TP
3648 #: build/C/man4/console_ioctl.4:772
3649 #, no-wrap
3650 msgid "B<TIOCLINUX, subcode=10>"
3651 msgstr ""
3652
3653 #. type: Plain text
3654 #: build/C/man4/console_ioctl.4:780
3655 msgid ""
3656 "Handles the Power Saving feature of the new generation of monitors.  VESA "
3657 "screen blanking mode is set to I<argp[1]>, which governs what screen "
3658 "blanking does:"
3659 msgstr ""
3660
3661 #. type: IP
3662 #: build/C/man4/console_ioctl.4:781
3663 #, no-wrap
3664 msgid "0:"
3665 msgstr ""
3666
3667 #. type: Plain text
3668 #: build/C/man4/console_ioctl.4:783
3669 msgid "Screen blanking is disabled."
3670 msgstr ""
3671
3672 #. type: IP
3673 #: build/C/man4/console_ioctl.4:783
3674 #, no-wrap
3675 msgid "1:"
3676 msgstr ""
3677
3678 #. type: Plain text
3679 #: build/C/man4/console_ioctl.4:790
3680 msgid ""
3681 "The current video adapter register settings are saved, then the controller "
3682 "is programmed to turn off the vertical synchronization pulses.  This puts "
3683 "the monitor into \"standby\" mode.  If your monitor has an Off_Mode timer, "
3684 "then it will eventually power down by itself."
3685 msgstr ""
3686
3687 #. type: IP
3688 #: build/C/man4/console_ioctl.4:790
3689 #, no-wrap
3690 msgid "2:"
3691 msgstr ""
3692
3693 #. type: Plain text
3694 #: build/C/man4/console_ioctl.4:800
3695 msgid ""
3696 "The current settings are saved, then both the vertical and horizontal "
3697 "synchronization pulses are turned off.  This puts the monitor into \"off\" "
3698 "mode.  If your monitor has no Off_Mode timer, or if you want your monitor to "
3699 "power down immediately when the blank_timer times out, then you choose this "
3700 "option.  (I<Caution:> Powering down frequently will damage the monitor.)  "
3701 "(Since 1.1.76.)"
3702 msgstr ""
3703
3704 #. type: SH
3705 #: 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
3706 #, no-wrap
3707 msgid "RETURN VALUE"
3708 msgstr ""
3709
3710 #. type: Plain text
3711 #: build/C/man4/console_ioctl.4:806
3712 msgid "On success, 0 is returned.  On error, -1 is returned, and I<errno> is set."
3713 msgstr ""
3714
3715 #. type: SH
3716 #: 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
3717 #, no-wrap
3718 msgid "ERRORS"
3719 msgstr ""
3720
3721 #. type: Plain text
3722 #: build/C/man4/console_ioctl.4:809
3723 msgid "I<errno> may take on these values:"
3724 msgstr ""
3725
3726 #. type: TP
3727 #: build/C/man4/console_ioctl.4:809 build/C/man3/mkfifo.3:168 build/C/man2/mknod.2:230
3728 #, no-wrap
3729 msgid "B<EBADF>"
3730 msgstr ""
3731
3732 #. type: Plain text
3733 #: build/C/man4/console_ioctl.4:812
3734 msgid "The file descriptor is invalid."
3735 msgstr ""
3736
3737 #. type: TP
3738 #: build/C/man4/console_ioctl.4:812
3739 #, no-wrap
3740 msgid "B<ENOTTY>"
3741 msgstr ""
3742
3743 #. type: Plain text
3744 #: build/C/man4/console_ioctl.4:816
3745 msgid ""
3746 "The file descriptor is not associated with a character special device, or "
3747 "the specified request does not apply to it."
3748 msgstr ""
3749
3750 #. type: TP
3751 #: 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
3752 #, no-wrap
3753 msgid "B<EINVAL>"
3754 msgstr ""
3755
3756 #. type: Plain text
3757 #: build/C/man4/console_ioctl.4:821
3758 msgid "The file descriptor or I<argp> is invalid."
3759 msgstr ""
3760
3761 #. type: TP
3762 #: build/C/man4/console_ioctl.4:821 build/C/man2/mknod.2:209 build/C/man2/syslog.2:285
3763 #, no-wrap
3764 msgid "B<EPERM>"
3765 msgstr ""
3766
3767 #. type: Plain text
3768 #: build/C/man4/console_ioctl.4:824
3769 msgid "Insufficient permission."
3770 msgstr ""
3771
3772 #. type: Plain text
3773 #: build/C/man4/console_ioctl.4:835
3774 msgid ""
3775 "B<Warning>: Do not regard this man page as documentation of the Linux "
3776 "console ioctls.  This is provided for the curious only, as an alternative to "
3777 "reading the source.  Ioctl's are undocumented Linux internals, liable to be "
3778 "changed without warning.  (And indeed, this page more or less describes the "
3779 "situation as of kernel version 1.1.94; there are many minor and not-so-minor "
3780 "differences with earlier versions.)"
3781 msgstr ""
3782
3783 #. type: Plain text
3784 #: build/C/man4/console_ioctl.4:840
3785 msgid ""
3786 "Very often, ioctls are introduced for communication between the kernel and "
3787 "one particular well-known program (fdisk, hdparm, setserial, tunelp, "
3788 "loadkeys, selection, setfont, etc.), and their behavior will be changed when "
3789 "required by this particular program."
3790 msgstr ""
3791
3792 #. type: Plain text
3793 #: build/C/man4/console_ioctl.4:844
3794 msgid ""
3795 "Programs using these ioctls will not be portable to other versions of UNIX, "
3796 "will not work on older versions of Linux, and will not work on future "
3797 "versions of Linux."
3798 msgstr ""
3799
3800 #. type: Plain text
3801 #: build/C/man4/console_ioctl.4:846
3802 msgid "Use POSIX functions."
3803 msgstr ""
3804
3805 #. type: Plain text
3806 #: build/C/man4/console_ioctl.4:870
3807 msgid ""
3808 "B<dumpkeys>(1), B<kbd_mode>(1), B<loadkeys>(1), B<mknod>(1), B<setleds>(1), "
3809 "B<setmetamode>(1), B<execve>(2), B<fcntl>(2), B<ioperm>(2), B<termios>(3), "
3810 "B<console>(4), B<console_codes>(4), B<mt>(4), B<sd>(4), B<tty>(4), "
3811 "B<tty_ioctl>(4), B<ttyS>(4), B<vcs>(4), B<vcsa>(4), B<charsets>(7), "
3812 "B<mapscrn>(8), B<resizecons>(8), B<setfont>(8)"
3813 msgstr ""
3814
3815 #. type: Plain text
3816 #: build/C/man4/console_ioctl.4:873
3817 msgid "I</usr/include/linux/kd.h>, I</usr/include/linux/vt.h>"
3818 msgstr ""
3819
3820 #. type: TH
3821 #: build/C/man5/core.5:25
3822 #, no-wrap
3823 msgid "CORE"
3824 msgstr ""
3825
3826 #. type: TH
3827 #: build/C/man5/core.5:25 build/C/man3/makedev.3:26
3828 #, no-wrap
3829 msgid "2014-05-28"
3830 msgstr ""
3831
3832 #. type: Plain text
3833 #: build/C/man5/core.5:28
3834 msgid "core - core dump file"
3835 msgstr ""
3836
3837 #. type: Plain text
3838 #: build/C/man5/core.5:39
3839 msgid ""
3840 "The default action of certain signals is to cause a process to terminate and "
3841 "produce a I<core dump file>, a disk file containing an image of the "
3842 "process's memory at the time of termination.  This image can be used in a "
3843 "debugger (e.g., B<gdb>(1))  to inspect the state of the program at the time "
3844 "that it terminated.  A list of the signals which cause a process to dump "
3845 "core can be found in B<signal>(7)."
3846 msgstr ""
3847
3848 #. type: Plain text
3849 #: build/C/man5/core.5:46
3850 msgid ""
3851 "A process can set its soft B<RLIMIT_CORE> resource limit to place an upper "
3852 "limit on the size of the core dump file that will be produced if it receives "
3853 "a \"core dump\" signal; see B<getrlimit>(2)  for details."
3854 msgstr ""
3855
3856 #. type: Plain text
3857 #: build/C/man5/core.5:49
3858 msgid "There are various circumstances in which a core dump file is not produced:"
3859 msgstr ""
3860
3861 #. type: Plain text
3862 #: build/C/man5/core.5:66
3863 msgid ""
3864 "The process does not have permission to write the core file.  (By default, "
3865 "the core file is called I<core> or I<core.pid>, where I<pid> is the ID of "
3866 "the process that dumped core, and is created in the current working "
3867 "directory.  See below for details on naming.)  Writing the core file will "
3868 "fail if the directory in which it is to be created is nonwritable, or if a "
3869 "file with the same name exists and is not writable or is not a regular file "
3870 "(e.g., it is a directory or a symbolic link)."
3871 msgstr ""
3872
3873 #. type: Plain text
3874 #: build/C/man5/core.5:70
3875 msgid ""
3876 "A (writable, regular) file with the same name as would be used for the core "
3877 "dump already exists, but there is more than one hard link to that file."
3878 msgstr ""
3879
3880 #. type: Plain text
3881 #: build/C/man5/core.5:74
3882 msgid ""
3883 "The filesystem where the core dump file would be created is full; or has run "
3884 "out of inodes; or is mounted read-only; or the user has reached their quota "
3885 "for the filesystem."
3886 msgstr ""
3887
3888 #. type: Plain text
3889 #: build/C/man5/core.5:77
3890 msgid "The directory in which the core dump file is to be created does not exist."
3891 msgstr ""
3892
3893 #. type: Plain text
3894 #: build/C/man5/core.5:90
3895 msgid ""
3896 "The B<RLIMIT_CORE> (core file size) or B<RLIMIT_FSIZE> (file size) resource "
3897 "limits for the process are set to zero; see B<getrlimit>(2)  and the "
3898 "documentation of the shell's I<ulimit> command (I<limit> in B<csh>(1))."
3899 msgstr ""
3900
3901 #. type: Plain text
3902 #: build/C/man5/core.5:93
3903 msgid ""
3904 "The binary being executed by the process does not have read permission "
3905 "enabled."
3906 msgstr ""
3907
3908 #.  FIXME . Perhaps relocate discussion of /proc/sys/fs/suid_dumpable
3909 #.  and PR_SET_DUMPABLE to this page?
3910 #. type: Plain text
3911 #: build/C/man5/core.5:106
3912 msgid ""
3913 "The process is executing a set-user-ID (set-group-ID) program that is owned "
3914 "by a user (group) other than the real user (group)  ID of the process.  "
3915 "(However, see the description of the B<prctl>(2)  B<PR_SET_DUMPABLE> "
3916 "operation, and the description of the I</proc/sys/fs/suid_dumpable> file in "
3917 "B<proc>(5).)"
3918 msgstr ""
3919
3920 #.  commit 046d662f481830e652ac34cd112249adde16452a
3921 #. type: Plain text
3922 #: build/C/man5/core.5:112
3923 msgid ""
3924 "(Since Linux 3.7)  The kernel was configured without the B<CONFIG_COREDUMP> "
3925 "option."
3926 msgstr ""
3927
3928 #. type: Plain text
3929 #: build/C/man5/core.5:118
3930 msgid ""
3931 "In addition, a core dump may exclude part of the address space of the "
3932 "process if the B<madvise>(2)  B<MADV_DONTDUMP> flag was employed."
3933 msgstr ""
3934
3935 #. type: SS
3936 #: build/C/man5/core.5:118
3937 #, no-wrap
3938 msgid "Naming of core dump files"
3939 msgstr ""
3940
3941 #. type: Plain text
3942 #: build/C/man5/core.5:127
3943 msgid ""
3944 "By default, a core dump file is named I<core>, but the "
3945 "I</proc/sys/kernel/core_pattern> file (since Linux 2.6 and 2.4.21)  can be "
3946 "set to define a template that is used to name core dump files.  The template "
3947 "can contain % specifiers which are substituted by the following values when "
3948 "a core file is created:"
3949 msgstr ""
3950
3951 #. type: TP
3952 #: build/C/man5/core.5:130
3953 #, no-wrap
3954 msgid "%%"
3955 msgstr ""
3956
3957 #. type: Plain text
3958 #: build/C/man5/core.5:133
3959 msgid "a single % character"
3960 msgstr ""
3961
3962 #. type: TP
3963 #: build/C/man5/core.5:133
3964 #, no-wrap
3965 msgid "%c"
3966 msgstr ""
3967
3968 #. type: Plain text
3969 #: build/C/man5/core.5:136
3970 msgid "core file size soft resource limit of crashing process (since Linux 2.6.24)"
3971 msgstr ""
3972
3973 #. type: TP
3974 #: build/C/man5/core.5:136
3975 #, no-wrap
3976 msgid "%d"
3977 msgstr ""
3978
3979 #.  Added in git commit 12a2b4b2241e318b4f6df31228e4272d2c2968a1
3980 #. type: Plain text
3981 #: build/C/man5/core.5:143
3982 msgid ""
3983 "dump mode\\(emsame as value returned by B<prctl>(2)  B<PR_GET_DUMPABLE> "
3984 "(since Linux 3.7)"
3985 msgstr ""
3986
3987 #. type: TP
3988 #: build/C/man5/core.5:143
3989 #, no-wrap
3990 msgid "%e"
3991 msgstr ""
3992
3993 #. type: Plain text
3994 #: build/C/man5/core.5:146
3995 msgid "executable filename (without path prefix)"
3996 msgstr ""
3997
3998 #. type: TP
3999 #: build/C/man5/core.5:146
4000 #, no-wrap
4001 msgid "%E"
4002 msgstr ""
4003
4004 #. type: Plain text
4005 #: build/C/man5/core.5:151
4006 msgid ""
4007 "pathname of executable, with slashes (\\(aq/\\(aq) replaced by exclamation "
4008 "marks (\\(aq!\\(aq)  (since Linux 3.0)."
4009 msgstr ""
4010
4011 #. type: TP
4012 #: build/C/man5/core.5:151
4013 #, no-wrap
4014 msgid "%g"
4015 msgstr ""
4016
4017 #. type: Plain text
4018 #: build/C/man5/core.5:154
4019 msgid "(numeric) real GID of dumped process"
4020 msgstr ""
4021
4022 #. type: TP
4023 #: build/C/man5/core.5:154
4024 #, no-wrap
4025 msgid "%h"
4026 msgstr ""
4027
4028 #. type: Plain text
4029 #: build/C/man5/core.5:157
4030 msgid "hostname (same as I<nodename> returned by B<uname>(2))"
4031 msgstr ""
4032
4033 #. type: TP
4034 #: build/C/man5/core.5:157
4035 #, no-wrap
4036 msgid "%p"
4037 msgstr ""
4038
4039 #. type: Plain text
4040 #: build/C/man5/core.5:161
4041 msgid ""
4042 "PID of dumped process, as seen in the PID namespace in which the process "
4043 "resides"
4044 msgstr ""
4045
4046 #. type: TP
4047 #: build/C/man5/core.5:161
4048 #, no-wrap
4049 msgid "%P"
4050 msgstr ""
4051
4052 #.  Added in git commit 65aafb1e7484b7434a0c1d4c593191ebe5776a2f
4053 #. type: Plain text
4054 #: build/C/man5/core.5:166
4055 msgid ""
4056 "PID of dumped process, as seen in the initial PID namespace (since Linux "
4057 "3.12)"
4058 msgstr ""
4059
4060 #. type: TP
4061 #: build/C/man5/core.5:166
4062 #, no-wrap
4063 msgid "%s"
4064 msgstr ""
4065
4066 #. type: Plain text
4067 #: build/C/man5/core.5:169
4068 msgid "number of signal causing dump"
4069 msgstr ""
4070
4071 #. type: TP
4072 #: build/C/man5/core.5:169
4073 #, no-wrap
4074 msgid "%t"
4075 msgstr ""
4076
4077 #. type: Plain text
4078 #: build/C/man5/core.5:173
4079 msgid ""
4080 "time of dump, expressed as seconds since the Epoch, 1970-01-01 00:00:00 "
4081 "+0000 (UTC)"
4082 msgstr ""
4083
4084 #. type: TP
4085 #: build/C/man5/core.5:173
4086 #, no-wrap
4087 msgid "%u"
4088 msgstr ""
4089
4090 #. type: Plain text
4091 #: build/C/man5/core.5:176
4092 msgid "(numeric) real UID of dumped process"
4093 msgstr ""
4094
4095 #. type: Plain text
4096 #: build/C/man5/core.5:195
4097 msgid ""
4098 "A single % at the end of the template is dropped from the core filename, as "
4099 "is the combination of a % followed by any character other than those listed "
4100 "above.  All other characters in the template become a literal part of the "
4101 "core filename.  The template may include \\(aq/\\(aq characters, which are "
4102 "interpreted as delimiters for directory names.  The maximum size of the "
4103 "resulting core filename is 128 bytes (64 bytes in kernels before 2.6.19).  "
4104 "The default value in this file is \"core\".  For backward compatibility, if "
4105 "I</proc/sys/kernel/core_pattern> does not include \"%p\" and "
4106 "I</proc/sys/kernel/core_uses_pid> (see below)  is nonzero, then .PID will be "
4107 "appended to the core filename."
4108 msgstr ""
4109
4110 #. type: Plain text
4111 #: build/C/man5/core.5:206
4112 msgid ""
4113 "Since version 2.4, Linux has also provided a more primitive method of "
4114 "controlling the name of the core dump file.  If the "
4115 "I</proc/sys/kernel/core_uses_pid> file contains the value 0, then a core "
4116 "dump file is simply named I<core>.  If this file contains a nonzero value, "
4117 "then the core dump file includes the process ID in a name of the form "
4118 "I<core.PID>."
4119 msgstr ""
4120
4121 #.  9520628e8ceb69fa9a4aee6b57f22675d9e1b709
4122 #. type: Plain text
4123 #: build/C/man5/core.5:213
4124 msgid ""
4125 "Since Linux 3.6, if I</proc/sys/fs/suid_dumpable> is set to 2 "
4126 "(\"suidsafe\"), the pattern must be either an absolute pathname (starting "
4127 "with a leading \\(aq/\\(aq character) or a pipe, as defined below."
4128 msgstr ""
4129
4130 #. type: SS
4131 #: build/C/man5/core.5:213
4132 #, no-wrap
4133 msgid "Piping core dumps to a program"
4134 msgstr ""
4135
4136 #. type: Plain text
4137 #: build/C/man5/core.5:223
4138 msgid ""
4139 "Since kernel 2.6.19, Linux supports an alternate syntax for the "
4140 "I</proc/sys/kernel/core_pattern> file.  If the first character of this file "
4141 "is a pipe symbol (B<|>), then the remainder of the line is interpreted as a "
4142 "program to be executed.  Instead of being written to a disk file, the core "
4143 "dump is given as standard input to the program.  Note the following points:"
4144 msgstr ""
4145
4146 #. type: Plain text
4147 #: build/C/man5/core.5:227
4148 msgid ""
4149 "The program must be specified using an absolute pathname (or a pathname "
4150 "relative to the root directory, I</>), and must immediately follow the '|' "
4151 "character."
4152 msgstr ""
4153
4154 #. type: Plain text
4155 #: build/C/man5/core.5:230
4156 msgid "The process created to run the program runs as user and group I<root>."
4157 msgstr ""
4158
4159 #. type: Plain text
4160 #: build/C/man5/core.5:234
4161 msgid ""
4162 "Command-line arguments can be supplied to the program (since Linux 2.6.24), "
4163 "delimited by white space (up to a total line length of 128 bytes)."
4164 msgstr ""
4165
4166 #. type: Plain text
4167 #: build/C/man5/core.5:240
4168 msgid ""
4169 "The command-line arguments can include any of the % specifiers listed "
4170 "above.  For example, to pass the PID of the process that is being dumped, "
4171 "specify I<%p> in an argument."
4172 msgstr ""
4173
4174 #. type: SS
4175 #: build/C/man5/core.5:240
4176 #, no-wrap
4177 msgid "Controlling which mappings are written to the core dump"
4178 msgstr ""
4179
4180 #. type: Plain text
4181 #: build/C/man5/core.5:246
4182 msgid ""
4183 "Since kernel 2.6.23, the Linux-specific I</proc/PID/coredump_filter> file "
4184 "can be used to control which memory segments are written to the core dump "
4185 "file in the event that a core dump is performed for the process with the "
4186 "corresponding process ID."
4187 msgstr ""
4188
4189 #. type: Plain text
4190 #: build/C/man5/core.5:252
4191 msgid ""
4192 "The value in the file is a bit mask of memory mapping types (see "
4193 "B<mmap>(2)).  If a bit is set in the mask, then memory mappings of the "
4194 "corresponding type are dumped; otherwise they are not dumped.  The bits in "
4195 "this file have the following meanings:"
4196 msgstr ""
4197
4198 #. type: TP
4199 #: build/C/man5/core.5:255
4200 #, no-wrap
4201 msgid "bit 0"
4202 msgstr ""
4203
4204 #. type: Plain text
4205 #: build/C/man5/core.5:258
4206 msgid "Dump anonymous private mappings."
4207 msgstr ""
4208
4209 #. type: TP
4210 #: build/C/man5/core.5:258
4211 #, no-wrap
4212 msgid "bit 1"
4213 msgstr ""
4214
4215 #. type: Plain text
4216 #: build/C/man5/core.5:261
4217 msgid "Dump anonymous shared mappings."
4218 msgstr ""
4219
4220 #. type: TP
4221 #: build/C/man5/core.5:261
4222 #, no-wrap
4223 msgid "bit 2"
4224 msgstr ""
4225
4226 #. type: Plain text
4227 #: build/C/man5/core.5:264
4228 msgid "Dump file-backed private mappings."
4229 msgstr ""
4230
4231 #. type: TP
4232 #: build/C/man5/core.5:264
4233 #, no-wrap
4234 msgid "bit 3"
4235 msgstr ""
4236
4237 #.  file-backed shared mappings of course also update the underlying
4238 #.  mapped file.
4239 #. type: Plain text
4240 #: build/C/man5/core.5:269
4241 msgid "Dump file-backed shared mappings."
4242 msgstr ""
4243
4244 #. type: TP
4245 #: build/C/man5/core.5:269
4246 #, no-wrap
4247 msgid "bit 4 (since Linux 2.6.24)"
4248 msgstr ""
4249
4250 #. type: Plain text
4251 #: build/C/man5/core.5:272
4252 msgid "Dump ELF headers."
4253 msgstr ""
4254
4255 #. type: TP
4256 #: build/C/man5/core.5:272
4257 #, no-wrap
4258 msgid "bit 5 (since Linux 2.6.28)"
4259 msgstr ""
4260
4261 #. type: Plain text
4262 #: build/C/man5/core.5:275
4263 msgid "Dump private huge pages."
4264 msgstr ""
4265
4266 #. type: TP
4267 #: build/C/man5/core.5:275
4268 #, no-wrap
4269 msgid "bit 6 (since Linux 2.6.28)"
4270 msgstr ""
4271
4272 #. type: Plain text
4273 #: build/C/man5/core.5:278
4274 msgid "Dump shared huge pages."
4275 msgstr ""
4276
4277 #. type: Plain text
4278 #: build/C/man5/core.5:286
4279 msgid ""
4280 "By default, the following bits are set: 0, 1, 4 (if the "
4281 "B<CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS> kernel configuration option is "
4282 "enabled), and 5.  The value of this file is displayed in hexadecimal.  (The "
4283 "default value is thus displayed as 33.)"
4284 msgstr ""
4285
4286 #. type: Plain text
4287 #: build/C/man5/core.5:291
4288 msgid ""
4289 "Memory-mapped I/O pages such as frame buffer are never dumped, and virtual "
4290 "DSO pages are always dumped, regardless of the I<coredump_filter> value."
4291 msgstr ""
4292
4293 #. type: Plain text
4294 #: build/C/man5/core.5:301
4295 msgid ""
4296 "A child process created via B<fork>(2)  inherits its parent's "
4297 "I<coredump_filter> value; the I<coredump_filter> value is preserved across "
4298 "an B<execve>(2)."
4299 msgstr ""
4300
4301 #. type: Plain text
4302 #: build/C/man5/core.5:305
4303 msgid ""
4304 "It can be useful to set I<coredump_filter> in the parent shell before "
4305 "running a program, for example:"
4306 msgstr ""
4307
4308 #. type: Plain text
4309 #: build/C/man5/core.5:310
4310 #, no-wrap
4311 msgid ""
4312 "$B< echo 0x7 E<gt> /proc/self/coredump_filter>\n"
4313 "$B< ./some_program>\n"
4314 msgstr ""
4315
4316 #. type: Plain text
4317 #: build/C/man5/core.5:316
4318 msgid ""
4319 "This file is provided only if the kernel was built with the "
4320 "B<CONFIG_ELF_CORE> configuration option."
4321 msgstr ""
4322
4323 #. type: Plain text
4324 #: build/C/man5/core.5:321
4325 msgid ""
4326 "The B<gdb>(1)  I<gcore> command can be used to obtain a core dump of a "
4327 "running process."
4328 msgstr ""
4329
4330 #.  Changed with commit 6409324b385f3f63a03645b4422e3be67348d922
4331 #.  Always including the PID in the name of the core file made
4332 #.  sense for LinuxThreads, where each thread had a unique PID,
4333 #.  but doesn't seem to serve any purpose with NPTL, where all the
4334 #.  threads in a process share the same PID (as POSIX.1 requires).
4335 #.  Probably the behavior is maintained so that applications using
4336 #.  LinuxThreads continue appending the PID (the kernel has no easy
4337 #.  way of telling which threading implementation the user-space
4338 #.  application is using). -- mtk, April 2006
4339 #. type: Plain text
4340 #: build/C/man5/core.5:344
4341 msgid ""
4342 "In Linux versions up to and including 2.6.27, if a multithreaded process "
4343 "(or, more precisely, a process that shares its memory with another process "
4344 "by being created with the B<CLONE_VM> flag of B<clone>(2))  dumps core, then "
4345 "the process ID is always appended to the core filename, unless the process "
4346 "ID was already included elsewhere in the filename via a %p specification in "
4347 "I</proc/sys/kernel/core_pattern>.  (This is primarily useful when employing "
4348 "the obsolete LinuxThreads implementation, where each thread of a process has "
4349 "a different PID.)"
4350 msgstr ""
4351
4352 #. type: SH
4353 #: build/C/man5/core.5:344 build/C/man3/gnu_get_libc_version.3:51 build/C/man3/stdarg.3:300 build/C/man4/vcs.4:101
4354 #, no-wrap
4355 msgid "EXAMPLE"
4356 msgstr ""
4357
4358 #. type: Plain text
4359 #: build/C/man5/core.5:352
4360 msgid ""
4361 "The program below can be used to demonstrate the use of the pipe syntax in "
4362 "the I</proc/sys/kernel/core_pattern> file.  The following shell session "
4363 "demonstrates the use of this program (compiled to create an executable named "
4364 "I<core_pattern_pipe_test>):"
4365 msgstr ""
4366
4367 #. type: Plain text
4368 #: build/C/man5/core.5:373
4369 #, no-wrap
4370 msgid ""
4371 "$B< cc -o core_pattern_pipe_test core_pattern_pipe_test.c>\n"
4372 "$B< su>\n"
4373 "Password:\n"
4374 "#B< echo \"|$PWD/core_pattern_pipe_test %p UID=%u GID=%g sig=%s\" E<gt> "
4375 "\\e>\n"
4376 "B</proc/sys/kernel/core_pattern>\n"
4377 "#B< exit>\n"
4378 "$B< sleep 100>\n"
4379 "B<^\\e>                     # type control-backslash\n"
4380 "Quit (core dumped)\n"
4381 "$B< cat core.info>\n"
4382 "argc=5\n"
4383 "argc[0]=E<lt>/home/mtk/core_pattern_pipe_testE<gt>\n"
4384 "argc[1]=E<lt>20575E<gt>\n"
4385 "argc[2]=E<lt>UID=1000E<gt>\n"
4386 "argc[3]=E<lt>GID=100E<gt>\n"
4387 "argc[4]=E<lt>sig=3E<gt>\n"
4388 "Total bytes in core dump: 282624\n"
4389 msgstr ""
4390
4391 #. type: SS
4392 #: build/C/man5/core.5:375 build/C/man3/gnu_get_libc_version.3:61
4393 #, no-wrap
4394 msgid "Program source"
4395 msgstr ""
4396
4397 #. type: Plain text
4398 #: build/C/man5/core.5:379
4399 #, no-wrap
4400 msgid "/* core_pattern_pipe_test.c */\n"
4401 msgstr ""
4402
4403 #. type: Plain text
4404 #: build/C/man5/core.5:387
4405 #, no-wrap
4406 msgid ""
4407 "#define _GNU_SOURCE\n"
4408 "#include E<lt>sys/stat.hE<gt>\n"
4409 "#include E<lt>fcntl.hE<gt>\n"
4410 "#include E<lt>limits.hE<gt>\n"
4411 "#include E<lt>stdio.hE<gt>\n"
4412 "#include E<lt>stdlib.hE<gt>\n"
4413 "#include E<lt>unistd.hE<gt>\n"
4414 msgstr ""
4415
4416 #. type: Plain text
4417 #: build/C/man5/core.5:389
4418 #, no-wrap
4419 msgid "#define BUF_SIZE 1024\n"
4420 msgstr ""
4421
4422 #. type: Plain text
4423 #: build/C/man5/core.5:398
4424 #, no-wrap
4425 msgid ""
4426 "int\n"
4427 "main(int argc, char *argv[])\n"
4428 "{\n"
4429 "    int tot, j;\n"
4430 "    ssize_t nread;\n"
4431 "    char buf[BUF_SIZE];\n"
4432 "    FILE *fp;\n"
4433 "    char cwd[PATH_MAX];\n"
4434 msgstr ""
4435
4436 #. type: Plain text
4437 #: build/C/man5/core.5:401
4438 #, no-wrap
4439 msgid ""
4440 "    /* Change our current working directory to that of the\n"
4441 "       crashing process */\n"
4442 msgstr ""
4443
4444 #. type: Plain text
4445 #: build/C/man5/core.5:404
4446 #, no-wrap
4447 msgid ""
4448 "    snprintf(cwd, PATH_MAX, \"/proc/%s/cwd\", argv[1]);\n"
4449 "    chdir(cwd);\n"
4450 msgstr ""
4451
4452 #. type: Plain text
4453 #: build/C/man5/core.5:406
4454 #, no-wrap
4455 msgid "    /* Write output to file \"core.info\" in that directory */\n"
4456 msgstr ""
4457
4458 #. type: Plain text
4459 #: build/C/man5/core.5:410
4460 #, no-wrap
4461 msgid ""
4462 "    fp = fopen(\"core.info\", \"w+\");\n"
4463 "    if (fp == NULL)\n"
4464 "        exit(EXIT_FAILURE);\n"
4465 msgstr ""
4466
4467 #. type: Plain text
4468 #: build/C/man5/core.5:413
4469 #, no-wrap
4470 msgid ""
4471 "    /* Display command-line arguments given to core_pattern\n"
4472 "       pipe program */\n"
4473 msgstr ""
4474
4475 #. type: Plain text
4476 #: build/C/man5/core.5:417
4477 #, no-wrap
4478 msgid ""
4479 "    fprintf(fp, \"argc=%d\\en\", argc);\n"
4480 "    for (j = 0; j E<lt> argc; j++)\n"
4481 "        fprintf(fp, \"argc[%d]=E<lt>%sE<gt>\\en\", j, argv[j]);\n"
4482 msgstr ""
4483
4484 #. type: Plain text
4485 #: build/C/man5/core.5:419
4486 #, no-wrap
4487 msgid "    /* Count bytes in standard input (the core dump) */\n"
4488 msgstr ""
4489
4490 #. type: Plain text
4491 #: build/C/man5/core.5:424
4492 #, no-wrap
4493 msgid ""
4494 "    tot = 0;\n"
4495 "    while ((nread = read(STDIN_FILENO, buf, BUF_SIZE)) E<gt> 0)\n"
4496 "        tot += nread;\n"
4497 "    fprintf(fp, \"Total bytes in core dump: %d\\en\", tot);\n"
4498 msgstr ""
4499
4500 #. type: Plain text
4501 #: build/C/man5/core.5:427
4502 #, no-wrap
4503 msgid ""
4504 "    exit(EXIT_SUCCESS);\n"
4505 "}\n"
4506 msgstr ""
4507
4508 #. type: Plain text
4509 #: build/C/man5/core.5:439
4510 msgid ""
4511 "B<bash>(1), B<gdb>(1), B<getrlimit>(2), B<mmap>(2), B<prctl>(2), "
4512 "B<sigaction>(2), B<elf>(5), B<proc>(5), B<pthreads>(7), B<signal>(7)"
4513 msgstr ""
4514
4515 #. type: TH
4516 #: build/C/man4/cpuid.4:26
4517 #, no-wrap
4518 msgid "CPUID"
4519 msgstr ""
4520
4521 #. type: TH
4522 #: build/C/man4/cpuid.4:26 build/C/man4/msr.4:26
4523 #, no-wrap
4524 msgid "2009-03-31"
4525 msgstr ""
4526
4527 #. type: Plain text
4528 #: build/C/man4/cpuid.4:29
4529 msgid "cpuid - x86 CPUID access device"
4530 msgstr ""
4531
4532 #. type: Plain text
4533 #: build/C/man4/cpuid.4:31
4534 msgid "CPUID provides an interface for querying information about the x86 CPU."
4535 msgstr ""
4536
4537 #. type: Plain text
4538 #: build/C/man4/cpuid.4:38
4539 msgid ""
4540 "This device is accessed by B<lseek>(2)  or B<pread>(2)  to the appropriate "
4541 "CPUID level and reading in chunks of 16 bytes.  A larger read size means "
4542 "multiple reads of consecutive levels."
4543 msgstr ""
4544
4545 #. type: Plain text
4546 #: build/C/man4/cpuid.4:47
4547 msgid ""
4548 "The lower 32 bits of the file position is used as the incoming I<%eax>, and "
4549 "the upper 32 bits of the file position as the incoming I<%ecx>, the latter "
4550 "intended for \"counting\" I<eax> levels like I<eax=4>."
4551 msgstr ""
4552
4553 #. type: Plain text
4554 #: build/C/man4/cpuid.4:57
4555 msgid ""
4556 "This driver uses I</dev/cpu/CPUNUM/cpuid>, where I<CPUNUM> is the minor "
4557 "number, and on an SMP box will direct the access to CPU I<CPUNUM> as listed "
4558 "in I</proc/cpuinfo>."
4559 msgstr ""
4560
4561 #. type: Plain text
4562 #: build/C/man4/cpuid.4:62
4563 msgid ""
4564 "This file is protected so that it can be read only by the user I<root>, or "
4565 "members of the group I<root>."
4566 msgstr ""
4567
4568 #. type: Plain text
4569 #: build/C/man4/cpuid.4:67
4570 msgid ""
4571 "The CPUID instruction can be directly executed by a program using inline "
4572 "assembler.  However this device allows convenient access to all CPUs without "
4573 "changing process affinity."
4574 msgstr ""
4575
4576 #. type: Plain text
4577 #: build/C/man4/cpuid.4:76
4578 msgid ""
4579 "Most of the information in I<cpuid> is reported by the kernel in cooked form "
4580 "either in I</proc/cpuinfo> or through subdirectories in "
4581 "I</sys/devices/system/cpu>.  Direct CPUID access through this device should "
4582 "only be used in exceptional cases."
4583 msgstr ""
4584
4585 #. type: Plain text
4586 #: build/C/man4/cpuid.4:82
4587 msgid ""
4588 "The I<cpuid> driver is not auto-loaded.  On modular kernels you might need "
4589 "to use the following command to load it explicitly before use:"
4590 msgstr ""
4591
4592 #. type: Plain text
4593 #: build/C/man4/cpuid.4:84
4594 #, no-wrap
4595 msgid "     $ I<modprobe cpuid>\n"
4596 msgstr ""
4597
4598 #. type: Plain text
4599 #: build/C/man4/cpuid.4:87
4600 msgid ""
4601 "There is no support for CPUID functions that require additional input "
4602 "registers."
4603 msgstr ""
4604
4605 #. type: Plain text
4606 #: build/C/man4/cpuid.4:89
4607 msgid "Very old x86 CPUs don't support CPUID."
4608 msgstr ""
4609
4610 #. type: Plain text
4611 #: build/C/man4/cpuid.4:93
4612 msgid ""
4613 "Intel Corporation, Intel 64 and IA-32 Architectures Software Developer's "
4614 "Manual Volume 2A: Instruction Set Reference, A-M, 3-180 CPUID reference."
4615 msgstr ""
4616
4617 #. type: Plain text
4618 #: build/C/man4/cpuid.4:96
4619 msgid ""
4620 "Intel Corporation, Intel Processor Identification and the CPUID Instruction, "
4621 "Application note 485."
4622 msgstr ""
4623
4624 #. type: TH
4625 #: build/C/man4/dsp56k.4:27
4626 #, no-wrap
4627 msgid "DSP56K"
4628 msgstr ""
4629
4630 #. type: Plain text
4631 #: build/C/man4/dsp56k.4:30
4632 msgid "dsp56k - DSP56001 interface device"
4633 msgstr ""
4634
4635 #. type: Plain text
4636 #: build/C/man4/dsp56k.4:33
4637 #, no-wrap
4638 msgid "#include E<lt>asm/dsp56k.hE<gt>\n"
4639 msgstr ""
4640
4641 #. type: Plain text
4642 #: build/C/man4/dsp56k.4:36
4643 #, no-wrap
4644 msgid ""
4645 "B<ssize_t read(int >I<fd>B<, void *>I<data>B<, size_t >I<length>B<);>\n"
4646 "B<ssize_t write(int >I<fd>B<, void *>I<data>B<, size_t >I<length>B<);>\n"
4647 msgstr ""
4648
4649 #. type: Plain text
4650 #: build/C/man4/dsp56k.4:42
4651 #, no-wrap
4652 msgid ""
4653 "B<int ioctl(int >I<fd>B<, DSP56K_UPLOAD, struct dsp56k_upload "
4654 "*>I<program>B<);>\n"
4655 "B<int ioctl(int >I<fd>B<, DSP56K_SET_TX_WSIZE, int >I<wsize>B<);>\n"
4656 "B<int ioctl(int >I<fd>B<, DSP56K_SET_RX_WSIZE, int >I<wsize>B<);>\n"
4657 "B<int ioctl(int >I<fd>B<, DSP56K_HOST_FLAGS, struct dsp56k_host_flags "
4658 "*>I<flags>B<);>\n"
4659 "B<int ioctl(int >I<fd>B<, DSP56K_HOST_CMD, int >I<cmd>B<);>\n"
4660 msgstr ""
4661
4662 #. type: SH
4663 #: 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
4664 #, no-wrap
4665 msgid "CONFIGURATION"
4666 msgstr ""
4667
4668 #. type: Plain text
4669 #: build/C/man4/dsp56k.4:46
4670 msgid ""
4671 "The dsp56k device is a character device with major number 55 and minor "
4672 "number 0."
4673 msgstr ""
4674
4675 #. type: Plain text
4676 #: build/C/man4/dsp56k.4:52
4677 msgid ""
4678 "The Motorola DSP56001 is a fully programmable 24-bit digital signal "
4679 "processor found in Atari Falcon030-compatible computers.  The I<dsp56k> "
4680 "special file is used to control the DSP56001, and to send and receive data "
4681 "using the bidirectional handshaked host port."
4682 msgstr ""
4683
4684 #. type: Plain text
4685 #: build/C/man4/dsp56k.4:62
4686 msgid ""
4687 "To send a data stream to the signal processor, use B<write>(2)  to the "
4688 "device, and B<read>(2)  to receive processed data.  The data can be sent or "
4689 "received in 8, 16, 24, or 32-bit quantities on the host side, but will "
4690 "always be seen as 24-bit quantities in the DSP56001."
4691 msgstr ""
4692
4693 #. type: Plain text
4694 #: build/C/man4/dsp56k.4:67
4695 msgid "The following B<ioctl>(2)  calls are used to control the I<dsp56k> device:"
4696 msgstr ""
4697
4698 #. type: IP
4699 #: build/C/man4/dsp56k.4:67
4700 #, no-wrap
4701 msgid "B<DSP56K_UPLOAD>"
4702 msgstr ""
4703
4704 #. type: Plain text
4705 #: build/C/man4/dsp56k.4:74
4706 msgid ""
4707 "resets the DSP56001 and uploads a program.  The third B<ioctl>(2)  argument "
4708 "must be a pointer to a I<struct dsp56k_binary> with members I<bin> pointing "
4709 "to a DSP56001 binary program, and I<len> set to the length of the program, "
4710 "counted in 24-bit words."
4711 msgstr ""
4712
4713 #. type: IP
4714 #: build/C/man4/dsp56k.4:74
4715 #, no-wrap
4716 msgid "B<DSP56K_SET_TX_WSIZE>"
4717 msgstr ""
4718
4719 #. type: Plain text
4720 #: build/C/man4/dsp56k.4:82
4721 msgid ""
4722 "sets the transmit word size.  Allowed values are in the range 1 to 4, and is "
4723 "the number of bytes that will be sent at a time to the DSP56001.  These data "
4724 "quantities will either be padded with zero bytes, or truncated to fit the "
4725 "native 24-bit data format of the DSP56001."
4726 msgstr ""
4727
4728 #. type: IP
4729 #: build/C/man4/dsp56k.4:82
4730 #, no-wrap
4731 msgid "B<DSP56K_SET_RX_WSIZE>"
4732 msgstr ""
4733
4734 #. type: Plain text
4735 #: build/C/man4/dsp56k.4:89
4736 msgid ""
4737 "sets the receive word size.  Allowed values are in the range 1 to 4, and is "
4738 "the number of bytes that will be received at a time from the DSP56001.  "
4739 "These data quantities will either truncated, or padded with a null byte "
4740 "(\\(aq\\e0\\(aq) to fit the native 24-bit data format of the DSP56001."
4741 msgstr ""
4742
4743 #. type: IP
4744 #: build/C/man4/dsp56k.4:89
4745 #, no-wrap
4746 msgid "B<DSP56K_HOST_FLAGS>"
4747 msgstr ""
4748
4749 #. type: Plain text
4750 #: build/C/man4/dsp56k.4:96
4751 msgid ""
4752 "read and write the host flags.  The host flags are four general-purpose bits "
4753 "that can be read by both the hosting computer and the DSP56001.  Bits 0 and "
4754 "1 can be written by the host, and bits 2 and 3 can be written by the "
4755 "DSP56001."
4756 msgstr ""
4757
4758 #. type: Plain text
4759 #: build/C/man4/dsp56k.4:106
4760 msgid ""
4761 "To access the host flags, the third B<ioctl>(2)  argument must be a pointer "
4762 "to a I<struct dsp56k_host_flags>.  If bit 0 or 1 is set in the I<dir> "
4763 "member, the corresponding bit in I<out> will be written to the host flags.  "
4764 "The state of all host flags will be returned in the lower four bits of the "
4765 "I<status> member."
4766 msgstr ""
4767
4768 #. type: IP
4769 #: build/C/man4/dsp56k.4:106
4770 #, no-wrap
4771 msgid "B<DSP56K_HOST_CMD>"
4772 msgstr ""
4773
4774 #. type: Plain text
4775 #: build/C/man4/dsp56k.4:110
4776 msgid ""
4777 "sends a host command.  Allowed values are in the range 0 to 31, and is a "
4778 "user-defined command handled by the program running in the DSP56001."
4779 msgstr ""
4780
4781 #.  .SH AUTHORS
4782 #.  Fredrik Noring <noring@nocrew.org>, lars brinkhoff <lars@nocrew.org>,
4783 #.  Tomas Berndtsson <tomas@nocrew.org>.
4784 #. type: Plain text
4785 #: build/C/man4/dsp56k.4:115
4786 msgid "/dev/dsp56k"
4787 msgstr ""
4788
4789 #. type: Plain text
4790 #: build/C/man4/dsp56k.4:121
4791 msgid ""
4792 "I<linux/include/asm-m68k/dsp56k.h>, I<linux/drivers/char/dsp56k.c>, E<.UR "
4793 "http://dsp56k.nocrew.org/> E<.UE ,> DSP56000/DSP56001 Digital Signal "
4794 "Processor User's Manual"
4795 msgstr ""
4796
4797 #. type: TH
4798 #: build/C/man4/fd.4:28
4799 #, no-wrap
4800 msgid "FD"
4801 msgstr ""
4802
4803 #. type: TH
4804 #: build/C/man4/fd.4:28
4805 #, no-wrap
4806 msgid "2014-05-10"
4807 msgstr ""
4808
4809 #. type: Plain text
4810 #: build/C/man4/fd.4:31
4811 msgid "fd - floppy disk device"
4812 msgstr ""
4813
4814 #. type: Plain text
4815 #: build/C/man4/fd.4:48
4816 msgid ""
4817 "Floppy drives are block devices with major number 2.  Typically they are "
4818 "owned by I<root.floppy> (i.e., user root, group floppy) and have either mode "
4819 "0660 (access checking via group membership) or mode 0666 (everybody has "
4820 "access).  The minor numbers encode the device type, drive number, and "
4821 "controller number.  For each device type (that is, combination of density "
4822 "and track count)  there is a base minor number.  To this base number, add "
4823 "the drive's number on its controller and 128 if the drive is on the "
4824 "secondary controller.  In the following device tables, I<n> represents the "
4825 "drive number."
4826 msgstr ""
4827
4828 #. type: Plain text
4829 #: build/C/man4/fd.4:55
4830 msgid ""
4831 "B<Warning: If you use formats with more tracks than supported by your drive, "
4832 "you may cause it mechanical damage.> Trying once if more tracks than the "
4833 "usual 40/80 are supported should not damage it, but no warranty is given for "
4834 "that.  If you are not sure, don't create device entries for those formats, "
4835 "so as to prevent their usage."
4836 msgstr ""
4837
4838 #. type: Plain text
4839 #: build/C/man4/fd.4:58
4840 msgid ""
4841 "Drive-independent device files which automatically detect the media format "
4842 "and capacity:"
4843 msgstr ""
4844
4845 #. type: tbl table
4846 #: build/C/man4/fd.4:60
4847 #, no-wrap
4848 msgid "Name\tBase minor #\n"
4849 msgstr ""
4850
4851 #. type: tbl table
4852 #: build/C/man4/fd.4:61 build/C/man4/fd.4:69 build/C/man4/fd.4:77 build/C/man4/fd.4:94 build/C/man4/fd.4:106 build/C/man4/fd.4:125
4853 #, no-wrap
4854 msgid "_\n"
4855 msgstr ""
4856
4857 #. type: tbl table
4858 #: build/C/man4/fd.4:62
4859 #, no-wrap
4860 msgid "B<fd>I<n>\t0\n"
4861 msgstr ""
4862
4863 #. type: Plain text
4864 #: build/C/man4/fd.4:66
4865 msgid "5.25 inch double-density device files:"
4866 msgstr ""
4867
4868 #. type: tbl table
4869 #: build/C/man4/fd.4:68 build/C/man4/fd.4:76 build/C/man4/fd.4:93 build/C/man4/fd.4:105 build/C/man4/fd.4:124
4870 #, no-wrap
4871 msgid "Name\tCapac.\tCyl.\tSect.\tHeads\tBase minor #\n"
4872 msgstr ""
4873
4874 #. type: tbl table
4875 #: build/C/man4/fd.4:70
4876 #, no-wrap
4877 msgid "B<fd>I<n>B<d360>\t360K\t40\t9\t2\t4\n"
4878 msgstr ""
4879
4880 #. type: Plain text
4881 #: build/C/man4/fd.4:74
4882 msgid "5.25 inch high-density device files:"
4883 msgstr ""
4884
4885 #. type: tbl table
4886 #: build/C/man4/fd.4:78
4887 #, no-wrap
4888 msgid "B<fd>I<n>B<h360>\t360K\t40\t9\t2\t20\n"
4889 msgstr ""
4890
4891 #. type: tbl table
4892 #: build/C/man4/fd.4:79
4893 #, no-wrap
4894 msgid "B<fd>I<n>B<h410>\t410K\t41\t10\t2\t48\n"
4895 msgstr ""
4896
4897 #. type: tbl table
4898 #: build/C/man4/fd.4:80
4899 #, no-wrap
4900 msgid "B<fd>I<n>B<h420>\t420K\t42\t10\t2\t64\n"
4901 msgstr ""
4902
4903 #. type: tbl table
4904 #: build/C/man4/fd.4:81
4905 #, no-wrap
4906 msgid "B<fd>I<n>B<h720>\t720K\t80\t9\t2\t24\n"
4907 msgstr ""
4908
4909 #. type: tbl table
4910 #: build/C/man4/fd.4:82
4911 #, no-wrap
4912 msgid "B<fd>I<n>B<h880>\t880K\t80\t11\t2\t80\n"
4913 msgstr ""
4914
4915 #. type: tbl table
4916 #: build/C/man4/fd.4:83
4917 #, no-wrap
4918 msgid "B<fd>I<n>B<h1200>\t1200K\t80\t15\t2\t8\n"
4919 msgstr ""
4920
4921 #. type: tbl table
4922 #: build/C/man4/fd.4:84
4923 #, no-wrap
4924 msgid "B<fd>I<n>B<h1440>\t1440K\t80\t18\t2\t40\n"
4925 msgstr ""
4926
4927 #. type: tbl table
4928 #: build/C/man4/fd.4:85
4929 #, no-wrap
4930 msgid "B<fd>I<n>B<h1476>\t1476K\t82\t18\t2\t56\n"
4931 msgstr ""
4932
4933 #. type: tbl table
4934 #: build/C/man4/fd.4:86
4935 #, no-wrap
4936 msgid "B<fd>I<n>B<h1494>\t1494K\t83\t18\t2\t72\n"
4937 msgstr ""
4938
4939 #. type: tbl table
4940 #: build/C/man4/fd.4:87
4941 #, no-wrap
4942 msgid "B<fd>I<n>B<h1600>\t1600K\t80\t20\t2\t92\n"
4943 msgstr ""
4944
4945 #. type: Plain text
4946 #: build/C/man4/fd.4:91
4947 msgid "3.5 inch double-density device files:"
4948 msgstr ""
4949
4950 #. type: tbl table
4951 #: build/C/man4/fd.4:95
4952 #, no-wrap
4953 msgid "B<fd>I<n>B<u360>\t360K\t80\t9\t1\t12\n"
4954 msgstr ""
4955
4956 #. type: tbl table
4957 #: build/C/man4/fd.4:96 build/C/man4/fd.4:108
4958 #, no-wrap
4959 msgid "B<fd>I<n>B<u720>\t720K\t80\t9\t2\t16\n"
4960 msgstr ""
4961
4962 #. type: tbl table
4963 #: build/C/man4/fd.4:97
4964 #, no-wrap
4965 msgid "B<fd>I<n>B<u800>\t800K\t80\t10\t2\t120\n"
4966 msgstr ""
4967
4968 #. type: tbl table
4969 #: build/C/man4/fd.4:98
4970 #, no-wrap
4971 msgid "B<fd>I<n>B<u1040>\t1040K\t80\t13\t2\t84\n"
4972 msgstr ""
4973
4974 #. type: tbl table
4975 #: build/C/man4/fd.4:99
4976 #, no-wrap
4977 msgid "B<fd>I<n>B<u1120>\t1120K\t80\t14\t2\t88\n"
4978 msgstr ""
4979
4980 #. type: Plain text
4981 #: build/C/man4/fd.4:103
4982 msgid "3.5 inch high-density device files:"
4983 msgstr ""
4984
4985 #. type: tbl table
4986 #: build/C/man4/fd.4:107
4987 #, no-wrap
4988 msgid "B<fd>I<n>B<u360>\t360K\t40\t9\t2\t12\n"
4989 msgstr ""
4990
4991 #. type: tbl table
4992 #: build/C/man4/fd.4:109
4993 #, no-wrap
4994 msgid "B<fd>I<n>B<u820>\t820K\t82\t10\t2\t52\n"
4995 msgstr ""
4996
4997 #. type: tbl table
4998 #: build/C/man4/fd.4:110
4999 #, no-wrap
5000 msgid "B<fd>I<n>B<u830>\t830K\t83\t10\t2\t68\n"
5001 msgstr ""
5002
5003 #. type: tbl table
5004 #: build/C/man4/fd.4:111
5005 #, no-wrap
5006 msgid "B<fd>I<n>B<u1440>\t1440K\t80\t18\t2\t28\n"
5007 msgstr ""
5008
5009 #. type: tbl table
5010 #: build/C/man4/fd.4:112
5011 #, no-wrap
5012 msgid "B<fd>I<n>B<u1600>\t1600K\t80\t20\t2\t124\n"
5013 msgstr ""
5014
5015 #. type: tbl table
5016 #: build/C/man4/fd.4:113
5017 #, no-wrap
5018 msgid "B<fd>I<n>B<u1680>\t1680K\t80\t21\t2\t44\n"
5019 msgstr ""
5020
5021 #. type: tbl table
5022 #: build/C/man4/fd.4:114
5023 #, no-wrap
5024 msgid "B<fd>I<n>B<u1722>\t1722K\t82\t21\t2\t60\n"
5025 msgstr ""
5026
5027 #. type: tbl table
5028 #: build/C/man4/fd.4:115
5029 #, no-wrap
5030 msgid "B<fd>I<n>B<u1743>\t1743K\t83\t21\t2\t76\n"
5031 msgstr ""
5032
5033 #. type: tbl table
5034 #: build/C/man4/fd.4:116
5035 #, no-wrap
5036 msgid "B<fd>I<n>B<u1760>\t1760K\t80\t22\t2\t96\n"
5037 msgstr ""
5038
5039 #. type: tbl table
5040 #: build/C/man4/fd.4:117
5041 #, no-wrap
5042 msgid "B<fd>I<n>B<u1840>\t1840K\t80\t23\t2\t116\n"
5043 msgstr ""
5044
5045 #. type: tbl table
5046 #: build/C/man4/fd.4:118
5047 #, no-wrap
5048 msgid "B<fd>I<n>B<u1920>\t1920K\t80\t24\t2\t100\n"
5049 msgstr ""
5050
5051 #. type: Plain text
5052 #: build/C/man4/fd.4:122
5053 msgid "3.5 inch extra-density device files:"
5054 msgstr ""
5055
5056 #. type: tbl table
5057 #: build/C/man4/fd.4:126
5058 #, no-wrap
5059 msgid "B<fd>I<n>B<u2880>\t2880K\t80\t36\t2\t32\n"
5060 msgstr ""
5061
5062 #. type: tbl table
5063 #: build/C/man4/fd.4:127
5064 #, no-wrap
5065 msgid "B<fd>I<n>B<CompaQ>\t2880K\t80\t36\t2\t36\n"
5066 msgstr ""
5067
5068 #. type: tbl table
5069 #: build/C/man4/fd.4:128
5070 #, no-wrap
5071 msgid "B<fd>I<n>B<u3200>\t3200K\t80\t40\t2\t104\n"
5072 msgstr ""
5073
5074 #. type: tbl table
5075 #: build/C/man4/fd.4:129
5076 #, no-wrap
5077 msgid "B<fd>I<n>B<u3520>\t3520K\t80\t44\t2\t108\n"
5078 msgstr ""
5079
5080 #. type: tbl table
5081 #: build/C/man4/fd.4:130
5082 #, no-wrap
5083 msgid "B<fd>I<n>B<u3840>\t3840K\t80\t48\t2\t112\n"
5084 msgstr ""
5085
5086 #. type: Plain text
5087 #: build/C/man4/fd.4:137
5088 msgid ""
5089 "B<fd> special files access the floppy disk drives in raw mode.  The "
5090 "following B<ioctl>(2)  calls are supported by B<fd> devices:"
5091 msgstr ""
5092
5093 #. type: IP
5094 #: build/C/man4/fd.4:137
5095 #, no-wrap
5096 msgid "B<FDCLRPRM>"
5097 msgstr ""
5098
5099 #. type: Plain text
5100 #: build/C/man4/fd.4:139
5101 msgid "clears the media information of a drive (geometry of disk in drive)."
5102 msgstr ""
5103
5104 #. type: IP
5105 #: build/C/man4/fd.4:139
5106 #, no-wrap
5107 msgid "B<FDSETPRM>"
5108 msgstr ""
5109
5110 #. type: Plain text
5111 #: build/C/man4/fd.4:143
5112 msgid ""
5113 "sets the media information of a drive.  The media information will be lost "
5114 "when the media is changed."
5115 msgstr ""
5116
5117 #. type: IP
5118 #: build/C/man4/fd.4:143
5119 #, no-wrap
5120 msgid "B<FDDEFPRM>"
5121 msgstr ""
5122
5123 #. type: Plain text
5124 #: build/C/man4/fd.4:149
5125 msgid ""
5126 "sets the media information of a drive (geometry of disk in drive).  The "
5127 "media information will not be lost when the media is changed.  This will "
5128 "disable autodetection.  In order to reenable autodetection, you have to "
5129 "issue an B<FDCLRPRM>."
5130 msgstr ""
5131
5132 #. type: IP
5133 #: build/C/man4/fd.4:149 build/C/man4/fd.4:161
5134 #, no-wrap
5135 msgid "B<FDGETDRVTYP>"
5136 msgstr ""
5137
5138 #. type: Plain text
5139 #: build/C/man4/fd.4:154
5140 msgid ""
5141 "returns the type of a drive (name parameter).  For formats which work in "
5142 "several drive types, B<FDGETDRVTYP> returns a name which is appropriate for "
5143 "the oldest drive type which supports this format."
5144 msgstr ""
5145
5146 #. type: IP
5147 #: build/C/man4/fd.4:154
5148 #, no-wrap
5149 msgid "B<FDFLUSH>"
5150 msgstr ""
5151
5152 #. type: Plain text
5153 #: build/C/man4/fd.4:156
5154 msgid "invalidates the buffer cache for the given drive."
5155 msgstr ""
5156
5157 #. type: IP
5158 #: build/C/man4/fd.4:156 build/C/man4/fd.4:159
5159 #, no-wrap
5160 msgid "B<FDSETMAXERRS>"
5161 msgstr ""
5162
5163 #. type: Plain text
5164 #: build/C/man4/fd.4:159
5165 msgid ""
5166 "sets the error thresholds for reporting errors, aborting the operation, "
5167 "recalibrating, resetting, and reading sector by sector."
5168 msgstr ""
5169
5170 #. type: Plain text
5171 #: build/C/man4/fd.4:161
5172 msgid "gets the current error thresholds."
5173 msgstr ""
5174
5175 #. type: Plain text
5176 #: build/C/man4/fd.4:163
5177 msgid "gets the internal name of the drive."
5178 msgstr ""
5179
5180 #. type: IP
5181 #: build/C/man4/fd.4:163
5182 #, no-wrap
5183 msgid "B<FDWERRORCLR>"
5184 msgstr ""
5185
5186 #. type: Plain text
5187 #: build/C/man4/fd.4:165
5188 msgid "clears the write error statistics."
5189 msgstr ""
5190
5191 #. type: IP
5192 #: build/C/man4/fd.4:165
5193 #, no-wrap
5194 msgid "B<FDWERRORGET>"
5195 msgstr ""
5196
5197 #. type: Plain text
5198 #: build/C/man4/fd.4:172
5199 msgid ""
5200 "reads the write error statistics.  These include the total number of write "
5201 "errors, the location and disk of the first write error, and the location and "
5202 "disk of the last write error.  Disks are identified by a generation number "
5203 "which is incremented at (almost) each disk change."
5204 msgstr ""
5205
5206 #. type: IP
5207 #: build/C/man4/fd.4:172
5208 #, no-wrap
5209 msgid "B<FDTWADDLE>"
5210 msgstr ""
5211
5212 #. type: Plain text
5213 #: build/C/man4/fd.4:176
5214 msgid ""
5215 "Switch the drive motor off for a few microseconds.  This might be needed in "
5216 "order to access a disk whose sectors are too close together."
5217 msgstr ""
5218
5219 #. type: IP
5220 #: build/C/man4/fd.4:176
5221 #, no-wrap
5222 msgid "B<FDSETDRVPRM>"
5223 msgstr ""
5224
5225 #. type: Plain text
5226 #: build/C/man4/fd.4:178
5227 msgid "sets various drive parameters."
5228 msgstr ""
5229
5230 #. type: IP
5231 #: build/C/man4/fd.4:178
5232 #, no-wrap
5233 msgid "B<FDGETDRVPRM>"
5234 msgstr ""
5235
5236 #. type: Plain text
5237 #: build/C/man4/fd.4:180
5238 msgid "reads these parameters back."
5239 msgstr ""
5240
5241 #. type: IP
5242 #: build/C/man4/fd.4:180
5243 #, no-wrap
5244 msgid "B<FDGETDRVSTAT>"
5245 msgstr ""
5246
5247 #. type: Plain text
5248 #: build/C/man4/fd.4:182
5249 msgid "gets the cached drive state (disk changed, write protected et al.)"
5250 msgstr ""
5251
5252 #. type: IP
5253 #: build/C/man4/fd.4:182
5254 #, no-wrap
5255 msgid "B<FDPOLLDRVSTAT>"
5256 msgstr ""
5257
5258 #. type: Plain text
5259 #: build/C/man4/fd.4:184
5260 msgid "polls the drive and return its state."
5261 msgstr ""
5262
5263 #. type: IP
5264 #: build/C/man4/fd.4:184
5265 #, no-wrap
5266 msgid "B<FDGETFDCSTAT>"
5267 msgstr ""
5268
5269 #. type: Plain text
5270 #: build/C/man4/fd.4:186
5271 msgid "gets the floppy controller state."
5272 msgstr ""
5273
5274 #. type: IP
5275 #: build/C/man4/fd.4:186
5276 #, no-wrap
5277 msgid "B<FDRESET>"
5278 msgstr ""
5279
5280 #. type: Plain text
5281 #: build/C/man4/fd.4:188
5282 msgid "resets the floppy controller under certain conditions."
5283 msgstr ""
5284
5285 #. type: IP
5286 #: build/C/man4/fd.4:188
5287 #, no-wrap
5288 msgid "B<FDRAWCMD>"
5289 msgstr ""
5290
5291 #. type: Plain text
5292 #: build/C/man4/fd.4:190
5293 msgid "sends a raw command to the floppy controller."
5294 msgstr ""
5295
5296 #. type: Plain text
5297 #: build/C/man4/fd.4:195
5298 msgid ""
5299 "For more precise information, consult also the I<E<lt>linux/fd.hE<gt>> and "
5300 "I<E<lt>linux/fdreg.hE<gt>> include files, as well as the B<floppycontrol>(1)  "
5301 "manual page."
5302 msgstr ""
5303
5304 #. type: Plain text
5305 #: build/C/man4/fd.4:197
5306 msgid "/dev/fd*"
5307 msgstr ""
5308
5309 #. type: Plain text
5310 #: build/C/man4/fd.4:203
5311 msgid ""
5312 "The various formats permit reading and writing many types of disks.  "
5313 "However, if a floppy is formatted with an inter-sector gap that is too "
5314 "small, performance may drop, to the point of needing a few seconds to access "
5315 "an entire track.  To prevent this, use interleaved formats."
5316 msgstr ""
5317
5318 #. type: Plain text
5319 #: build/C/man4/fd.4:207
5320 msgid ""
5321 "It is not possible to read floppies which are formatted using GCR (group "
5322 "code recording), which is used by Apple II and Macintosh computers (800k "
5323 "disks)."
5324 msgstr ""
5325
5326 #.  .SH AUTHORS
5327 #.  Alain Knaff (Alain.Knaff@imag.fr), David Niemi
5328 #.  (niemidc@clark.net), Bill Broadhurst (bbroad@netcom.com).
5329 #. type: Plain text
5330 #: build/C/man4/fd.4:214
5331 msgid ""
5332 "Reading floppies which are hard sectored (one hole per sector, with the "
5333 "index hole being a little skewed) is not supported.  This used to be common "
5334 "with older 8-inch floppies."
5335 msgstr ""
5336
5337 #. type: Plain text
5338 #: build/C/man4/fd.4:222
5339 msgid ""
5340 "B<chown>(1), B<floppycontrol>(1), B<getfdprm>(1), B<mknod>(1), "
5341 "B<superformat>(1), B<mount>(8), B<setfdprm>(8)"
5342 msgstr ""
5343
5344 #. type: TH
5345 #: build/C/man7/fifo.7:13
5346 #, no-wrap
5347 msgid "FIFO"
5348 msgstr ""
5349
5350 #. type: TH
5351 #: build/C/man7/fifo.7:13
5352 #, no-wrap
5353 msgid "2008-12-03"
5354 msgstr ""
5355
5356 #. type: Plain text
5357 #: build/C/man7/fifo.7:16
5358 msgid "fifo - first-in first-out special file, named pipe"
5359 msgstr ""
5360
5361 #. type: Plain text
5362 #: build/C/man7/fifo.7:28
5363 msgid ""
5364 "A FIFO special file (a named pipe) is similar to a pipe, except that it is "
5365 "accessed as part of the filesystem.  It can be opened by multiple processes "
5366 "for reading or writing.  When processes are exchanging data via the FIFO, "
5367 "the kernel passes all data internally without writing it to the filesystem.  "
5368 "Thus, the FIFO special file has no contents on the filesystem; the "
5369 "filesystem entry merely serves as a reference point so that processes can "
5370 "access the pipe using a name in the filesystem."
5371 msgstr ""
5372
5373 #. type: Plain text
5374 #: build/C/man7/fifo.7:35
5375 msgid ""
5376 "The kernel maintains exactly one pipe object for each FIFO special file that "
5377 "is opened by at least one process.  The FIFO must be opened on both ends "
5378 "(reading and writing)  before data can be passed.  Normally, opening the "
5379 "FIFO blocks until the other end is opened also."
5380 msgstr ""
5381
5382 #. type: Plain text
5383 #: build/C/man7/fifo.7:44
5384 msgid ""
5385 "A process can open a FIFO in nonblocking mode.  In this case, opening for "
5386 "read-only will succeed even if no-one has opened on the write side yet, "
5387 "opening for write-only will fail with B<ENXIO> (no such device or address) "
5388 "unless the other end has already been opened."
5389 msgstr ""
5390
5391 #. type: Plain text
5392 #: build/C/man7/fifo.7:54
5393 msgid ""
5394 "Under Linux, opening a FIFO for read and write will succeed both in blocking "
5395 "and nonblocking mode.  POSIX leaves this behavior undefined.  This can be "
5396 "used to open a FIFO for writing while there are no readers available.  A "
5397 "process that uses both ends of the connection in order to communicate with "
5398 "itself should be very careful to avoid deadlocks."
5399 msgstr ""
5400
5401 #. type: Plain text
5402 #: build/C/man7/fifo.7:59
5403 msgid ""
5404 "When a process tries to write to a FIFO that is not opened for read on the "
5405 "other side, the process is sent a B<SIGPIPE> signal."
5406 msgstr ""
5407
5408 #. type: Plain text
5409 #: build/C/man7/fifo.7:65
5410 msgid ""
5411 "FIFO special files can be created by B<mkfifo>(3), and are indicated by I<ls "
5412 "-l> with the file type \\(aqp\\(aq."
5413 msgstr ""
5414
5415 #. type: Plain text
5416 #: build/C/man7/fifo.7:74
5417 msgid ""
5418 "B<mkfifo>(1), B<open>(2), B<pipe>(2), B<sigaction>(2), B<signal>(2), "
5419 "B<socketpair>(2), B<mkfifo>(3), B<pipe>(7)"
5420 msgstr ""
5421
5422 #. type: TH
5423 #: build/C/man4/full.4:26
5424 #, no-wrap
5425 msgid "FULL"
5426 msgstr ""
5427
5428 #. type: TH
5429 #: build/C/man4/full.4:26
5430 #, no-wrap
5431 msgid "2007-11-24"
5432 msgstr ""
5433
5434 #. type: Plain text
5435 #: build/C/man4/full.4:29
5436 msgid "full - always full device"
5437 msgstr ""
5438
5439 #. type: Plain text
5440 #: build/C/man4/full.4:34
5441 msgid ""
5442 "If your system does not have I</dev/full> created already, it can be created "
5443 "with the following commands:"
5444 msgstr ""
5445
5446 #. type: Plain text
5447 #: build/C/man4/full.4:38
5448 #, no-wrap
5449 msgid ""
5450 "        mknod -m 666 /dev/full c 1 7\n"
5451 "        chown root:root /dev/full\n"
5452 msgstr ""
5453
5454 #. type: Plain text
5455 #: build/C/man4/full.4:44
5456 msgid "File I</dev/full> has major device number 1 and minor device number 7."
5457 msgstr ""
5458
5459 #. type: Plain text
5460 #: build/C/man4/full.4:51
5461 msgid ""
5462 "Writes to the I</dev/full> device will fail with an B<ENOSPC> error.  This "
5463 "can be used to test how a program handles disk-full errors."
5464 msgstr ""
5465
5466 #. type: Plain text
5467 #: build/C/man4/full.4:55
5468 msgid "Reads from the I</dev/full> device will return \\e0 characters."
5469 msgstr ""
5470
5471 #. type: Plain text
5472 #: build/C/man4/full.4:59
5473 msgid "Seeks on I</dev/full> will always succeed."
5474 msgstr ""
5475
5476 #. type: Plain text
5477 #: build/C/man4/full.4:61
5478 msgid "/dev/full"
5479 msgstr ""
5480
5481 #. type: Plain text
5482 #: build/C/man4/full.4:65
5483 msgid "B<mknod>(1), B<null>(4), B<zero>(4)"
5484 msgstr ""
5485
5486 #. type: TH
5487 #: build/C/man3/gnu_get_libc_version.3:26
5488 #, no-wrap
5489 msgid "GNU_GET_LIBC_VERSION"
5490 msgstr ""
5491
5492 #. type: TH
5493 #: build/C/man3/gnu_get_libc_version.3:26
5494 #, no-wrap
5495 msgid "2012-08-26"
5496 msgstr ""
5497
5498 #. type: Plain text
5499 #: build/C/man3/gnu_get_libc_version.3:29
5500 msgid "gnu_get_libc_version, gnu_get_libc_release - get glibc version and release"
5501 msgstr ""
5502
5503 #. type: Plain text
5504 #: build/C/man3/gnu_get_libc_version.3:32
5505 #, no-wrap
5506 msgid "B<#include E<lt>gnu/libc-version.hE<gt>>\n"
5507 msgstr ""
5508
5509 #. type: Plain text
5510 #: build/C/man3/gnu_get_libc_version.3:35
5511 #, no-wrap
5512 msgid ""
5513 "B<const char *gnu_get_libc_version(void);>\n"
5514 "B<const char *gnu_get_libc_release(void);>\n"
5515 msgstr ""
5516
5517 #. type: Plain text
5518 #: build/C/man3/gnu_get_libc_version.3:40
5519 msgid ""
5520 "The function B<gnu_get_libc_version>()  returns a string that identifies the "
5521 "glibc version available on the system."
5522 msgstr ""
5523
5524 #. type: Plain text
5525 #: build/C/man3/gnu_get_libc_version.3:47
5526 msgid ""
5527 "The function B<gnu_get_libc_release>()  returns a string indicates the "
5528 "release status of the glibc version available on the system.  This will be a "
5529 "string such as I<stable>."
5530 msgstr ""
5531
5532 #. type: SH
5533 #: 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
5534 #, no-wrap
5535 msgid "VERSIONS"
5536 msgstr ""
5537
5538 #. type: Plain text
5539 #: build/C/man3/gnu_get_libc_version.3:49
5540 msgid "These functions first appeared in glibc in version 2.1."
5541 msgstr ""
5542
5543 #. type: SH
5544 #: 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
5545 #, no-wrap
5546 msgid "CONFORMING TO"
5547 msgstr ""
5548
5549 #. type: Plain text
5550 #: build/C/man3/gnu_get_libc_version.3:51
5551 msgid "These functions are glibc-specific."
5552 msgstr ""
5553
5554 #. type: Plain text
5555 #: build/C/man3/gnu_get_libc_version.3:53
5556 msgid "When run, the program below will produce output such as the following:"
5557 msgstr ""
5558
5559 #. type: Plain text
5560 #: build/C/man3/gnu_get_libc_version.3:59
5561 #, no-wrap
5562 msgid ""
5563 "$B< ./a.out>\n"
5564 "GNU libc version: 2.8\n"
5565 "GNU libc release: stable\n"
5566 msgstr ""
5567
5568 #. type: Plain text
5569 #: build/C/man3/gnu_get_libc_version.3:67
5570 #, no-wrap
5571 msgid ""
5572 "#include E<lt>gnu/libc-version.hE<gt>\n"
5573 "#include E<lt>stdlib.hE<gt>\n"
5574 "#include E<lt>stdio.hE<gt>\n"
5575 msgstr ""
5576
5577 #. type: Plain text
5578 #: build/C/man3/gnu_get_libc_version.3:75
5579 #, no-wrap
5580 msgid ""
5581 "int\n"
5582 "main(int argc, char *argv[])\n"
5583 "{\n"
5584 "    printf(\"GNU libc version: %s\\en\", gnu_get_libc_version());\n"
5585 "    printf(\"GNU libc release: %s\\en\", gnu_get_libc_release());\n"
5586 "    exit(EXIT_SUCCESS);\n"
5587 "}\n"
5588 msgstr ""
5589
5590 #. type: Plain text
5591 #: build/C/man3/gnu_get_libc_version.3:78
5592 msgid "B<confstr>(3)"
5593 msgstr ""
5594
5595 #. type: TH
5596 #: build/C/man4/hd.4:29
5597 #, no-wrap
5598 msgid "HD"
5599 msgstr ""
5600
5601 #. type: TH
5602 #: build/C/man4/hd.4:29
5603 #, no-wrap
5604 msgid "1992-12-17"
5605 msgstr ""
5606
5607 #. type: Plain text
5608 #: build/C/man4/hd.4:32
5609 msgid "hd - MFM/IDE hard disk devices"
5610 msgstr ""
5611
5612 #. type: Plain text
5613 #: build/C/man4/hd.4:47
5614 msgid ""
5615 "The B<hd*> devices are block devices to access MFM/IDE hard disk drives in "
5616 "raw mode.  The master drive on the primary IDE controller (major device "
5617 "number 3) is B<hda>; the slave drive is B<hdb>.  The master drive of the "
5618 "second controller (major device number 22)  is B<hdc> and the slave is "
5619 "B<hdd>."
5620 msgstr ""
5621
5622 #. type: Plain text
5623 #: build/C/man4/hd.4:71
5624 msgid ""
5625 "General IDE block device names have the form B<hd>I<X>, or B<hd>I<XP>, where "
5626 "I<X> is a letter denoting the physical drive, and I<P> is a number denoting "
5627 "the partition on that physical drive.  The first form, B<hd>I<X>, is used to "
5628 "address the whole drive.  Partition numbers are assigned in the order the "
5629 "partitions are discovered, and only nonempty, nonextended partitions get a "
5630 "number.  However, partition numbers 1-4 are given to the four partitions "
5631 "described in the MBR (the \"primary\" partitions), regardless of whether "
5632 "they are unused or extended.  Thus, the first logical partition will be "
5633 "B<hd>I<X>B<5>\\&.  Both DOS-type partitioning and BSD-disklabel partitioning "
5634 "are supported.  You can have at most 63 partitions on an IDE disk."
5635 msgstr ""
5636
5637 #. type: Plain text
5638 #: build/C/man4/hd.4:77
5639 msgid ""
5640 "For example, I</dev/hda> refers to all of the first IDE drive in the system; "
5641 "and I</dev/hdb3> refers to the third DOS \"primary\" partition on the second "
5642 "one."
5643 msgstr ""
5644
5645 #. type: Plain text
5646 #: build/C/man4/hd.4:79 build/C/man4/ttyS.4:34
5647 msgid "They are typically created by:"
5648 msgstr ""
5649
5650 #. type: Plain text
5651 #: build/C/man4/hd.4:82
5652 msgid "mknod -m 660 /dev/hda b 3 0"
5653 msgstr ""
5654
5655 #. type: Plain text
5656 #: build/C/man4/hd.4:84
5657 msgid "mknod -m 660 /dev/hda1 b 3 1"
5658 msgstr ""
5659
5660 #. type: Plain text
5661 #: build/C/man4/hd.4:86
5662 msgid "mknod -m 660 /dev/hda2 b 3 2"
5663 msgstr ""
5664
5665 #. type: Plain text
5666 #: build/C/man4/hd.4:88 build/C/man4/hd.4:98
5667 msgid "\\&..."
5668 msgstr ""
5669
5670 #. type: Plain text
5671 #: build/C/man4/hd.4:90
5672 msgid "mknod -m 660 /dev/hda8 b 3 8"
5673 msgstr ""
5674
5675 #. type: Plain text
5676 #: build/C/man4/hd.4:92
5677 msgid "mknod -m 660 /dev/hdb b 3 64"
5678 msgstr ""
5679
5680 #. type: Plain text
5681 #: build/C/man4/hd.4:94
5682 msgid "mknod -m 660 /dev/hdb1 b 3 65"
5683 msgstr ""
5684
5685 #. type: Plain text
5686 #: build/C/man4/hd.4:96
5687 msgid "mknod -m 660 /dev/hdb2 b 3 66"
5688 msgstr ""
5689
5690 #. type: Plain text
5691 #: build/C/man4/hd.4:100
5692 msgid "mknod -m 660 /dev/hdb8 b 3 72"
5693 msgstr ""
5694
5695 #. type: Plain text
5696 #: build/C/man4/hd.4:102
5697 msgid "chown root:disk /dev/hd*"
5698 msgstr ""
5699
5700 #. type: Plain text
5701 #: build/C/man4/hd.4:105
5702 msgid "/dev/hd*"
5703 msgstr ""
5704
5705 #. type: Plain text
5706 #: build/C/man4/hd.4:110
5707 msgid "B<chown>(1), B<mknod>(1), B<sd>(4), B<mount>(8)"
5708 msgstr ""
5709
5710 #. type: TH
5711 #: build/C/man4/hpsa.4:10
5712 #, no-wrap
5713 msgid "HPSA"
5714 msgstr ""
5715
5716 #. type: Plain text
5717 #: build/C/man4/hpsa.4:13
5718 msgid "hpsa - HP Smart Array SCSI driver"
5719 msgstr ""
5720
5721 #. type: Plain text
5722 #: build/C/man4/hpsa.4:16
5723 #, no-wrap
5724 msgid "modprobe hpsa [ hpsa_allow_any=1 ]\n"
5725 msgstr ""
5726
5727 #. type: Plain text
5728 #: build/C/man4/hpsa.4:20
5729 msgid "B<hpsa> is a SCSI driver for HP Smart Array RAID controllers."
5730 msgstr ""
5731
5732 #. type: Plain text
5733 #: build/C/man4/hpsa.4:39
5734 msgid ""
5735 "I<hpsa_allow_any=1>: This option allows the driver to attempt to operate on "
5736 "any HP Smart Array hardware RAID controller, even if it is not explicitly "
5737 "known to the driver.  This allows newer hardware to work with older "
5738 "drivers.  Typically this is used to allow installation of operating systems "
5739 "from media that predates the RAID controller, though it may also be used to "
5740 "enable B<hpsa> to drive older controllers that would normally be handled by "
5741 "the B<cciss>(4)  driver.  These older boards have not been tested and are "
5742 "not supported with B<hpsa>, and B<cciss>(4)  should still be used for these."
5743 msgstr ""
5744
5745 #. type: Plain text
5746 #: build/C/man4/hpsa.4:43
5747 msgid "The B<hpsa> driver supports the following Smart Array boards:"
5748 msgstr ""
5749
5750 #. type: Plain text
5751 #: build/C/man4/hpsa.4:54
5752 #, no-wrap
5753 msgid ""
5754 "    Smart Array P700M\n"
5755 "    Smart Array P212\n"
5756 "    Smart Array P410\n"
5757 "    Smart Array P410i\n"
5758 "    Smart Array P411\n"
5759 "    Smart Array P812\n"
5760 "    Smart Array P712m\n"
5761 "    Smart Array P711m\n"
5762 "    StorageWorks P1210m\n"
5763 msgstr ""
5764
5765 #. type: Plain text
5766 #: build/C/man4/hpsa.4:78
5767 msgid ""
5768 "Logical drives are accessed via the SCSI disk driver (B<sd>(4)), tape drives "
5769 "via the SCSI tape driver (B<st>(4)), and the RAID controller via the SCSI "
5770 "generic driver (B<sg>(4)), with device nodes named I</dev/sd*>, I</dev/st*>, "
5771 "and I</dev/sg*>, respectively."
5772 msgstr ""
5773
5774 #. type: SS
5775 #: build/C/man4/hpsa.4:78
5776 #, no-wrap
5777 msgid "HPSA-specific host attribute files in /sys"
5778 msgstr ""
5779
5780 #. type: TP
5781 #: build/C/man4/hpsa.4:79
5782 #, no-wrap
5783 msgid "I</sys/class/scsi_host/host*/rescan>"
5784 msgstr ""
5785
5786 #. type: Plain text
5787 #: build/C/man4/hpsa.4:93
5788 msgid ""
5789 "This is a write-only attribute.  Writing to this attribute will cause the "
5790 "driver to scan for new, changed, or removed devices (e.g,. hot-plugged tape "
5791 "drives, or newly configured or deleted logical drives, etc.)  and notify the "
5792 "SCSI midlayer of any changes detected.  Normally a rescan is triggered "
5793 "automatically by HP's Array Configuration Utility (either the GUI or the "
5794 "command-line variety); thus, for logical drive changes, the user should not "
5795 "normally have to use this attribute.  This attribute may be useful when hot "
5796 "plugging devices like tape drives, or entire storage boxes containing "
5797 "preconfigured logical drives."
5798 msgstr ""
5799
5800 #. type: TP
5801 #: build/C/man4/hpsa.4:93
5802 #, no-wrap
5803 msgid "I</sys/class/scsi_host/host*/firmware_revision>"
5804 msgstr ""
5805
5806 #. type: Plain text
5807 #: build/C/man4/hpsa.4:96
5808 msgid "This attribute contains the firmware version of the Smart Array."
5809 msgstr ""
5810
5811 #. type: Plain text
5812 #: build/C/man4/hpsa.4:98
5813 msgid "For example:"
5814 msgstr ""
5815
5816 #. type: Plain text
5817 #: build/C/man4/hpsa.4:103
5818 #, no-wrap
5819 msgid ""
5820 "    # B<cd /sys/class/scsi_host/host4>\n"
5821 "    # B<cat firmware_revision>\n"
5822 "    7.14\n"
5823 msgstr ""
5824
5825 #. type: SS
5826 #: build/C/man4/hpsa.4:104
5827 #, no-wrap
5828 msgid "HPSA-specific disk attribute files in /sys"
5829 msgstr ""
5830
5831 #. type: TP
5832 #: build/C/man4/hpsa.4:105
5833 #, no-wrap
5834 msgid "I</sys/class/scsi_disk/c:b:t:l/device/unique_id>"
5835 msgstr ""
5836
5837 #. type: Plain text
5838 #: build/C/man4/hpsa.4:108
5839 msgid "This attribute contains a 32 hex-digit unique ID for each logical drive."
5840 msgstr ""
5841
5842 #. type: Plain text
5843 #: build/C/man4/hpsa.4:111 build/C/man4/hpsa.4:122 build/C/man4/hpsa.4:136
5844 #, no-wrap
5845 msgid "For example:\n"
5846 msgstr ""
5847
5848 #. type: Plain text
5849 #: build/C/man4/hpsa.4:115
5850 #, no-wrap
5851 msgid ""
5852 "    # B<cd /sys/class/scsi_disk/4:0:0:0/device>\n"
5853 "    # B<cat unique_id>\n"
5854 "    600508B1001044395355323037570F77\n"
5855 msgstr ""
5856
5857 #. type: TP
5858 #: build/C/man4/hpsa.4:116
5859 #, no-wrap
5860 msgid "I</sys/class/scsi_disk/c:b:t:l/device/raid_level>"
5861 msgstr ""
5862
5863 #. type: Plain text
5864 #: build/C/man4/hpsa.4:119
5865 msgid "This attribute contains the RAID level of each logical drive."
5866 msgstr ""
5867
5868 #. type: Plain text
5869 #: build/C/man4/hpsa.4:126
5870 #, no-wrap
5871 msgid ""
5872 "    # B<cd /sys/class/scsi_disk/4:0:0:0/device>\n"
5873 "    # B<cat raid_level>\n"
5874 "    RAID 0\n"
5875 msgstr ""
5876
5877 #. type: TP
5878 #: build/C/man4/hpsa.4:127
5879 #, no-wrap
5880 msgid "I</sys/class/scsi_disk/c:b:t:l/device/lunid>"
5881 msgstr ""
5882
5883 #. type: Plain text
5884 #: build/C/man4/hpsa.4:133
5885 msgid ""
5886 "This attribute contains the 16 hex-digit (8 byte) LUN ID by which a logical "
5887 "drive or physical device can be addressed.  I<c>:I<b>:I<t>:I<l> are the "
5888 "controller, bus, target, and lun of the device."
5889 msgstr ""
5890
5891 #. type: Plain text
5892 #: build/C/man4/hpsa.4:140
5893 #, no-wrap
5894 msgid ""
5895 "    # B<cd /sys/class/scsi_disk/4:0:0:0/device>\n"
5896 "    # B<cat lunid>\n"
5897 "    0x0000004000000000\n"
5898 msgstr ""
5899
5900 #. type: SS
5901 #: build/C/man4/hpsa.4:141
5902 #, no-wrap
5903 msgid "Supported ioctl() operations"
5904 msgstr ""
5905
5906 #. type: Plain text
5907 #: build/C/man4/hpsa.4:153
5908 msgid ""
5909 "For compatibility with applications written for the B<cciss>(4)  driver, "
5910 "many, but not all of the ioctls supported by the B<cciss>(4)  driver are "
5911 "also supported by the B<hpsa> driver.  The data structures used by these "
5912 "ioctls are described in the Linux kernel source file "
5913 "I<include/linux/cciss_ioctl.h>."
5914 msgstr ""
5915
5916 #. type: TP
5917 #: build/C/man4/hpsa.4:153
5918 #, no-wrap
5919 msgid "B<CCISS_DEREGDISK>, B<CCISS_REGNEWDISK>, B<CCISS_REGNEWD>"
5920 msgstr ""
5921
5922 #. type: Plain text
5923 #: build/C/man4/hpsa.4:159
5924 msgid ""
5925 "These three ioctls all do exactly the same thing, which is to cause the "
5926 "driver to rescan for new devices.  This does exactly the same thing as "
5927 "writing to the hpsa-specific host \"rescan\" attribute."
5928 msgstr ""
5929
5930 #. type: TP
5931 #: build/C/man4/hpsa.4:159
5932 #, no-wrap
5933 msgid "B<CCISS_GETPCIINFO>"
5934 msgstr ""
5935
5936 #. type: Plain text
5937 #: build/C/man4/hpsa.4:162
5938 msgid ""
5939 "Returns PCI domain, bus, device and function and \"board ID\" (PCI subsystem "
5940 "ID)."
5941 msgstr ""
5942
5943 #. type: TP
5944 #: build/C/man4/hpsa.4:162
5945 #, no-wrap
5946 msgid "B<CCISS_GETDRIVVER>"
5947 msgstr ""
5948
5949 #. type: Plain text
5950 #: build/C/man4/hpsa.4:165
5951 msgid "Returns driver version in three bytes encoded as:"
5952 msgstr ""
5953
5954 #. type: Plain text
5955 #: build/C/man4/hpsa.4:168
5956 #, no-wrap
5957 msgid ""
5958 "    (major_version E<lt>E<lt> 16) | (minor_version E<lt>E<lt> 8) |\n"
5959 "        (subminor_version)\n"
5960 msgstr ""
5961
5962 #. type: TP
5963 #: build/C/man4/hpsa.4:168
5964 #, no-wrap
5965 msgid "B<CCISS_PASSTHRU>, B<CCISS_BIG_PASSTHRU>"
5966 msgstr ""
5967
5968 #. type: Plain text
5969 #: build/C/man4/hpsa.4:179
5970 msgid ""
5971 "Allows \"BMIC\" and \"CISS\" commands to be passed through to the Smart "
5972 "Array.  These are used extensively by the HP Array Configuration Utility, "
5973 "SNMP storage agents, and so on.  See I<cciss_vol_status> at E<.UR "
5974 "http://cciss.sf.net> E<.UE> for some examples."
5975 msgstr ""
5976
5977 #. type: Plain text
5978 #: build/C/man4/hpsa.4:186
5979 msgid ""
5980 "B<cciss>(4), B<sd>(4), B<st>(4), B<cciss_vol_status>(8), B<hpacucli>(8), "
5981 "B<hpacuxe>(8),"
5982 msgstr ""
5983
5984 #.  .SH AUTHORS
5985 #.  Don Brace, Steve Cameron, Tom Lawler, Mike Miller, Scott Teel
5986 #.  and probably some other people.
5987 #. type: Plain text
5988 #: build/C/man4/hpsa.4:197
5989 msgid ""
5990 "E<.UR http://cciss.sf.net> E<.UE ,> and I<Documentation/scsi/hpsa.txt> and "
5991 "I<Documentation/ABI/testing/sysfs-bus-pci-devices-cciss> in the Linux kernel "
5992 "source tree"
5993 msgstr ""
5994
5995 #. type: TH
5996 #: build/C/man4/initrd.4:35
5997 #, no-wrap
5998 msgid "INITRD"
5999 msgstr ""
6000
6001 #. type: TH
6002 #: build/C/man4/initrd.4:35 build/C/man4/st.4:25
6003 #, no-wrap
6004 msgid "2010-09-04"
6005 msgstr ""
6006
6007 #. type: Plain text
6008 #: build/C/man4/initrd.4:38
6009 msgid "initrd - boot loader initialized RAM disk"
6010 msgstr ""
6011
6012 #. type: Plain text
6013 #: build/C/man4/initrd.4:51
6014 msgid ""
6015 "The I</dev/initrd> is a read-only block device assigned major number 1 and "
6016 "minor number 250.  Typically I</dev/initrd> is owned by I<root.disk> with "
6017 "mode 0400 (read access by root only).  If the Linux system does not have "
6018 "I</dev/initrd> already created, it can be created with the following "
6019 "commands:"
6020 msgstr ""
6021
6022 #. type: Plain text
6023 #: build/C/man4/initrd.4:56
6024 #, no-wrap
6025 msgid ""
6026 "B<\n"
6027 "        mknod -m 400 /dev/initrd b 1 250\n"
6028 "        chown root:disk /dev/initrd>\n"
6029 "\n"
6030 msgstr ""
6031
6032 #. type: Plain text
6033 #: build/C/man4/initrd.4:71
6034 msgid ""
6035 "Also, support for both \"RAM disk\" and \"Initial RAM disk\" (e.g., "
6036 "B<CONFIG_BLK_DEV_RAM=y> and B<CONFIG_BLK_DEV_INITRD=y>)  must be compiled "
6037 "directly into the Linux kernel to use I</dev/initrd>.  When using "
6038 "I</dev/initrd>, the RAM disk driver cannot be loaded as a module."
6039 msgstr ""
6040
6041 #. type: Plain text
6042 #: build/C/man4/initrd.4:80
6043 msgid ""
6044 "The special file I</dev/initrd> is a read-only block device.  This device is "
6045 "a RAM disk that is initialized (e.g., loaded)  by the boot loader before the "
6046 "kernel is started.  The kernel then can use I</dev/initrd>'s contents for a "
6047 "two-phase system boot-up."
6048 msgstr ""
6049
6050 #. type: Plain text
6051 #: build/C/man4/initrd.4:93
6052 msgid ""
6053 "In the first boot-up phase, the kernel starts up and mounts an initial root "
6054 "filesystem from the contents of I</dev/initrd> (e.g., RAM disk initialized "
6055 "by the boot loader).  In the second phase, additional drivers or other "
6056 "modules are loaded from the initial root device's contents.  After loading "
6057 "the additional modules, a new root filesystem (i.e., the normal root "
6058 "filesystem) is mounted from a different device."
6059 msgstr ""
6060
6061 #. type: SS
6062 #: build/C/man4/initrd.4:93
6063 #, no-wrap
6064 msgid "Boot-up operation"
6065 msgstr ""
6066
6067 #. type: Plain text
6068 #: build/C/man4/initrd.4:97
6069 msgid "When booting up with B<initrd>, the system boots as follows:"
6070 msgstr ""
6071
6072 #. type: Plain text
6073 #: build/C/man4/initrd.4:101
6074 msgid ""
6075 "The boot loader loads the kernel program and I</dev/initrd>'s contents into "
6076 "memory."
6077 msgstr ""
6078
6079 #. type: Plain text
6080 #: build/C/man4/initrd.4:109
6081 msgid ""
6082 "On kernel startup, the kernel uncompresses and copies the contents of the "
6083 "device I</dev/initrd> onto device I</dev/ram0> and then frees the memory "
6084 "used by I</dev/initrd>."
6085 msgstr ""
6086
6087 #. type: IP
6088 #: build/C/man4/initrd.4:109 build/C/man4/initrd.4:339 build/C/man4/initrd.4:458 build/C/man4/st.4:919
6089 #, no-wrap
6090 msgid "3."
6091 msgstr ""
6092
6093 #. type: Plain text
6094 #: build/C/man4/initrd.4:113
6095 msgid ""
6096 "The kernel then read-write mounts the device I</dev/ram0> as the initial "
6097 "root filesystem."
6098 msgstr ""
6099
6100 #. type: IP
6101 #: build/C/man4/initrd.4:113 build/C/man4/initrd.4:343 build/C/man4/st.4:926
6102 #, no-wrap
6103 msgid "4."
6104 msgstr ""
6105
6106 #. type: Plain text
6107 #: build/C/man4/initrd.4:118
6108 msgid ""
6109 "If the indicated normal root filesystem is also the initial root filesystem "
6110 "(e.g., I</dev/ram0>)  then the kernel skips to the last step for the usual "
6111 "boot sequence."
6112 msgstr ""
6113
6114 #. type: IP
6115 #: build/C/man4/initrd.4:118 build/C/man4/initrd.4:349 build/C/man4/st.4:931
6116 #, no-wrap
6117 msgid "5."
6118 msgstr ""
6119
6120 #. type: Plain text
6121 #: build/C/man4/initrd.4:130
6122 msgid ""
6123 "If the executable file I</linuxrc> is present in the initial root "
6124 "filesystem, I</linuxrc> is executed with UID 0.  (The file I</linuxrc> must "
6125 "have executable permission.  The file I</linuxrc> can be any valid "
6126 "executable, including a shell script.)"
6127 msgstr ""
6128
6129 #. type: IP
6130 #: build/C/man4/initrd.4:130 build/C/man4/initrd.4:358
6131 #, no-wrap
6132 msgid "6."
6133 msgstr ""
6134
6135 #. type: Plain text
6136 #: build/C/man4/initrd.4:142
6137 msgid ""
6138 "If I</linuxrc> is not executed or when I</linuxrc> terminates, the normal "
6139 "root filesystem is mounted.  (If I</linuxrc> exits with any filesystems "
6140 "mounted on the initial root filesystem, then the behavior of the kernel is "
6141 "B<UNSPECIFIED>.  See the NOTES section for the current kernel behavior.)"
6142 msgstr ""
6143
6144 #. type: IP
6145 #: build/C/man4/initrd.4:142 build/C/man4/initrd.4:360
6146 #, no-wrap
6147 msgid "7."
6148 msgstr ""
6149
6150 #. type: Plain text
6151 #: build/C/man4/initrd.4:173
6152 msgid ""
6153 "If the normal root filesystem has a directory I</initrd>, the device "
6154 "I</dev/ram0> is moved from I</> to I</initrd>.  Otherwise, if the directory "
6155 "I</initrd> does not exist, the device I</dev/ram0> is unmounted.  (When "
6156 "moved from I</> to I</initrd>, I</dev/ram0> is not unmounted and therefore "
6157 "processes can remain running from I</dev/ram0>.  If directory I</initrd> "
6158 "does not exist on the normal root filesystem and any processes remain "
6159 "running from I</dev/ram0> when I</linuxrc> exits, the behavior of the kernel "
6160 "is B<UNSPECIFIED>.  See the NOTES section for the current kernel behavior.)"
6161 msgstr ""
6162
6163 #. type: IP
6164 #: build/C/man4/initrd.4:173 build/C/man4/initrd.4:363
6165 #, no-wrap
6166 msgid "8."
6167 msgstr ""
6168
6169 #. type: Plain text
6170 #: build/C/man4/initrd.4:180
6171 msgid ""
6172 "The usual boot sequence (e.g., invocation of I</sbin/init>)  is performed on "
6173 "the normal root filesystem."
6174 msgstr ""
6175
6176 #. type: Plain text
6177 #: build/C/man4/initrd.4:184
6178 msgid ""
6179 "The following boot loader options, when used with B<initrd>, affect the "
6180 "kernel's boot-up operation:"
6181 msgstr ""
6182
6183 #. type: TP
6184 #: build/C/man4/initrd.4:184
6185 #, no-wrap
6186 msgid "B<initrd=>I<filename>"
6187 msgstr ""
6188
6189 #. type: Plain text
6190 #: build/C/man4/initrd.4:199
6191 msgid ""
6192 "Specifies the file to load as the contents of I</dev/initrd>.  For "
6193 "B<LOADLIN> this is a command-line option.  For B<LILO> you have to use this "
6194 "command in the B<LILO> configuration file I</etc/lilo.config>.  The filename "
6195 "specified with this option will typically be a gzipped filesystem image."
6196 msgstr ""
6197
6198 #. type: TP
6199 #: build/C/man4/initrd.4:199
6200 #, no-wrap
6201 msgid "I<noinitrd>"
6202 msgstr ""
6203
6204 #. type: Plain text
6205 #: build/C/man4/initrd.4:214
6206 msgid ""
6207 "This boot option disables the two-phase boot-up operation.  The kernel "
6208 "performs the usual boot sequence as if I</dev/initrd> was not initialized.  "
6209 "With this option, any contents of I</dev/initrd> loaded into memory by the "
6210 "boot loader contents are preserved.  This option permits the contents of "
6211 "I</dev/initrd> to be any data and need not be limited to a filesystem "
6212 "image.  However, device I</dev/initrd> is read-only and can be read only one "
6213 "time after system startup."
6214 msgstr ""
6215
6216 #. type: TP
6217 #: build/C/man4/initrd.4:214
6218 #, no-wrap
6219 msgid "B<root=>I<device-name>"
6220 msgstr ""
6221
6222 #. type: Plain text
6223 #: build/C/man4/initrd.4:232
6224 msgid ""
6225 "Specifies the device to be used as the normal root filesystem.  For "
6226 "B<LOADLIN> this is a command-line option.  For B<LILO> this is a boot time "
6227 "option or can be used as an option line in the B<LILO> configuration file "
6228 "I</etc/lilo.config>.  The device specified by the this option must be a "
6229 "mountable device having a suitable root filesystem."
6230 msgstr ""
6231
6232 #. type: SS
6233 #: build/C/man4/initrd.4:232
6234 #, no-wrap
6235 msgid "Changing the normal root filesystem"
6236 msgstr ""
6237
6238 #. type: Plain text
6239 #: build/C/man4/initrd.4:252
6240 msgid ""
6241 "By default, the kernel's settings (e.g., set in the kernel file with "
6242 "B<rdev>(8)  or compiled into the kernel file), or the boot loader option "
6243 "setting is used for the normal root filesystems.  For an NFS-mounted normal "
6244 "root filesystem, one has to use the B<nfs_root_name> and B<nfs_root_addrs> "
6245 "boot options to give the NFS settings.  For more information on NFS-mounted "
6246 "root see the kernel documentation file "
6247 "B<Documentation/filesystems/nfsroot.txt>.  For more information on setting "
6248 "the root filesystem see also the B<LILO> and B<LOADLIN> documentation."
6249 msgstr ""
6250
6251 #. type: Plain text
6252 #: build/C/man4/initrd.4:284
6253 msgid ""
6254 "It is also possible for the I</linuxrc> executable to change the normal root "
6255 "device.  For I</linuxrc> to change the normal root device, I</proc> must be "
6256 "mounted.  After mounting I</proc>, I</linuxrc> changes the normal root "
6257 "device by writing into the proc files I</proc/sys/kernel/real-root-dev>, "
6258 "I</proc/sys/kernel/nfs-root-name>, and I</proc/sys/kernel/nfs-root-addrs>.  "
6259 "For a physical root device, the root device is changed by having I</linuxrc> "
6260 "write the new root filesystem device number into "
6261 "I</proc/sys/kernel/real-root-dev>.  For an NFS root filesystem, the root "
6262 "device is changed by having I</linuxrc> write the NFS setting into files "
6263 "I</proc/sys/kernel/nfs-root-name> and I</proc/sys/kernel/nfs-root-addrs> and "
6264 "then writing 0xff (e.g., the pseudo-NFS-device number) into file "
6265 "I</proc/sys/kernel/real-root-dev>.  For example, the following shell command "
6266 "line would change the normal root device to I</dev/hdb1>:"
6267 msgstr ""
6268
6269 #. type: Plain text
6270 #: build/C/man4/initrd.4:287
6271 #, no-wrap
6272 msgid "    echo 0x365 E<gt>/proc/sys/kernel/real-root-dev\n"
6273 msgstr ""
6274
6275 #. type: Plain text
6276 #: build/C/man4/initrd.4:294
6277 msgid ""
6278 "For an NFS example, the following shell command lines would change the "
6279 "normal root device to the NFS directory I</var/nfsroot> on a local networked "
6280 "NFS server with IP number 193.8.232.7 for a system with IP number "
6281 "193.8.232.2 and named \"idefix\":"
6282 msgstr ""
6283
6284 #. type: Plain text
6285 #: build/C/man4/initrd.4:300
6286 #, no-wrap
6287 msgid ""
6288 "    echo /var/nfsroot E<gt>/proc/sys/kernel/nfs-root-name\n"
6289 "    echo 193.8.232.2:193.8.232.7::255.255.255.0:idefix \\e\n"
6290 "        E<gt>/proc/sys/kernel/nfs-root-addrs\n"
6291 "    echo 255 E<gt>/proc/sys/kernel/real-root-dev\n"
6292 msgstr ""
6293
6294 #.  FIXME the manual page should describe the pivot_root mechanism.
6295 #. type: Plain text
6296 #: build/C/man4/initrd.4:317
6297 msgid ""
6298 "B<Note>: The use of I</proc/sys/kernel/real-root-dev> to change the root "
6299 "filesystem is obsolete.  See the Linux kernel source file "
6300 "I<Documentation/initrd.txt> as well as B<pivot_root>(2)  and "
6301 "B<pivot_root>(8)  for information on the modern method of changing the root "
6302 "filesystem."
6303 msgstr ""
6304
6305 #. type: SS
6306 #: build/C/man4/initrd.4:317 build/C/man4/random.4:65 build/C/man7/uri.7:109
6307 #, no-wrap
6308 msgid "Usage"
6309 msgstr ""
6310
6311 #. type: Plain text
6312 #: build/C/man4/initrd.4:321
6313 msgid ""
6314 "The main motivation for implementing B<initrd> was to allow for modular "
6315 "kernel configuration at system installation."
6316 msgstr ""
6317
6318 #. type: Plain text
6319 #: build/C/man4/initrd.4:323
6320 msgid "A possible system installation scenario is as follows:"
6321 msgstr ""
6322
6323 #. type: Plain text
6324 #: build/C/man4/initrd.4:331
6325 msgid ""
6326 "The loader program boots from floppy or other media with a minimal kernel "
6327 "(e.g., support for I</dev/ram>, I</dev/initrd>, and the ext2 filesystem) and "
6328 "loads I</dev/initrd> with a gzipped version of the initial filesystem."
6329 msgstr ""
6330
6331 #. type: Plain text
6332 #: build/C/man4/initrd.4:339
6333 msgid ""
6334 "The executable I</linuxrc> determines what is needed to (1) mount the normal "
6335 "root filesystem (i.e., device type, device drivers, filesystem) and (2) the "
6336 "distribution media (e.g., CD-ROM, network, tape, ...).  This can be done by "
6337 "asking the user, by auto-probing, or by using a hybrid approach."
6338 msgstr ""
6339
6340 #. type: Plain text
6341 #: build/C/man4/initrd.4:343
6342 msgid ""
6343 "The executable I</linuxrc> loads the necessary modules from the initial root "
6344 "filesystem."
6345 msgstr ""
6346
6347 #. type: Plain text
6348 #: build/C/man4/initrd.4:349
6349 msgid ""
6350 "The executable I</linuxrc> creates and populates the root filesystem.  (At "
6351 "this stage the normal root filesystem does not have to be a completed system "
6352 "yet.)"
6353 msgstr ""
6354
6355 #. type: Plain text
6356 #: build/C/man4/initrd.4:358
6357 msgid ""
6358 "The executable I</linuxrc> sets I</proc/sys/kernel/real-root-dev>, unmount "
6359 "I</proc>, the normal root filesystem and any other filesystems it has "
6360 "mounted, and then terminates."
6361 msgstr ""
6362
6363 #. type: Plain text
6364 #: build/C/man4/initrd.4:360
6365 msgid "The kernel then mounts the normal root filesystem."
6366 msgstr ""
6367
6368 #. type: Plain text
6369 #: build/C/man4/initrd.4:363
6370 msgid ""
6371 "Now that the filesystem is accessible and intact, the boot loader can be "
6372 "installed."
6373 msgstr ""
6374
6375 #. type: Plain text
6376 #: build/C/man4/initrd.4:372
6377 msgid ""
6378 "The boot loader is configured to load into I</dev/initrd> a filesystem with "
6379 "the set of modules that was used to bring up the system.  (e.g., Device "
6380 "I</dev/ram0> can be modified, then unmounted, and finally, the image is "
6381 "written from I</dev/ram0> to a file.)"
6382 msgstr ""
6383
6384 #. type: IP
6385 #: build/C/man4/initrd.4:372
6386 #, no-wrap
6387 msgid "9."
6388 msgstr ""
6389
6390 #. type: Plain text
6391 #: build/C/man4/initrd.4:375
6392 msgid ""
6393 "The system is now bootable and additional installation tasks can be "
6394 "performed."
6395 msgstr ""
6396
6397 #. type: Plain text
6398 #: build/C/man4/initrd.4:381
6399 msgid ""
6400 "The key role of I</dev/initrd> in the above is to reuse the configuration "
6401 "data during normal system operation without requiring initial kernel "
6402 "selection, a large generic kernel or, recompiling the kernel."
6403 msgstr ""
6404
6405 #. type: Plain text
6406 #: build/C/man4/initrd.4:394
6407 msgid ""
6408 "A second scenario is for installations where Linux runs on systems with "
6409 "different hardware configurations in a single administrative network.  In "
6410 "such cases, it may be desirable to use only a small set of kernels (ideally "
6411 "only one) and to keep the system-specific part of configuration information "
6412 "as small as possible.  In this case, create a common file with all needed "
6413 "modules.  Then, only the I</linuxrc> file or a file executed by I</linuxrc> "
6414 "would be different."
6415 msgstr ""
6416
6417 #. type: Plain text
6418 #: build/C/man4/initrd.4:401
6419 msgid ""
6420 "A third scenario is more convenient recovery disks.  Because information "
6421 "like the location of the root filesystem partition is not needed at boot "
6422 "time, the system loaded from I</dev/initrd> can use a dialog and/or "
6423 "auto-detection followed by a possible sanity check."
6424 msgstr ""
6425
6426 #. type: Plain text
6427 #: build/C/man4/initrd.4:418
6428 msgid ""
6429 "Last but not least, Linux distributions on CD-ROM may use B<initrd> for easy "
6430 "installation from the CD-ROM.  The distribution can use B<LOADLIN> to "
6431 "directly load I</dev/initrd> from CD-ROM without the need of any floppies.  "
6432 "The distribution could also use a B<LILO> boot floppy and then bootstrap a "
6433 "bigger RAM disk via I</dev/initrd> from the CD-ROM."
6434 msgstr ""
6435
6436 #. type: Plain text
6437 #: build/C/man4/initrd.4:420
6438 msgid "I</dev/initrd>"
6439 msgstr ""
6440
6441 #. type: Plain text
6442 #: build/C/man4/initrd.4:422
6443 msgid "I</dev/ram0>"
6444 msgstr ""
6445
6446 #. type: Plain text
6447 #: build/C/man4/initrd.4:424
6448 msgid "I</linuxrc>"
6449 msgstr ""
6450
6451 #. type: Plain text
6452 #: build/C/man4/initrd.4:429
6453 msgid "I</initrd>"
6454 msgstr ""
6455
6456 #. type: Plain text
6457 #: build/C/man4/initrd.4:441
6458 msgid ""
6459 "With the current kernel, any filesystems that remain mounted when "
6460 "I</dev/ram0> is moved from I</> to I</initrd> continue to be accessible.  "
6461 "However, the I</proc/mounts> entries are not updated."
6462 msgstr ""
6463
6464 #. type: Plain text
6465 #: build/C/man4/initrd.4:458
6466 msgid ""
6467 "With the current kernel, if directory I</initrd> does not exist, then "
6468 "I</dev/ram0> will B<not> be fully unmounted if I</dev/ram0> is used by any "
6469 "process or has any filesystem mounted on it.  If I</dev/ram0> is B<not> "
6470 "fully unmounted, then I</dev/ram0> will remain in memory."
6471 msgstr ""
6472
6473 #
6474 #
6475 #
6476 #.  .SH AUTHORS
6477 #.  The kernel code for device
6478 #.  .BR initrd
6479 #.  was written by Werner Almesberger <almesber@lrc.epfl.ch> and
6480 #.  Hans Lermen <lermen@elserv.ffm.fgan.de>.
6481 #.  The code for
6482 #.  .BR initrd
6483 #.  was added to the baseline Linux kernel in development version 1.3.73.
6484 #. type: Plain text
6485 #: build/C/man4/initrd.4:474
6486 msgid ""
6487 "Users of I</dev/initrd> should not depend on the behavior give in the above "
6488 "notes.  The behavior may change in future versions of the Linux kernel."
6489 msgstr ""
6490
6491 #. type: Plain text
6492 #: build/C/man4/initrd.4:480
6493 msgid "B<chown>(1), B<mknod>(1), B<ram>(4), B<freeramdisk>(8), B<rdev>(8)"
6494 msgstr ""
6495
6496 #. type: Plain text
6497 #: build/C/man4/initrd.4:484
6498 msgid ""
6499 "I<Documentation/initrd.txt> in the Linux kernel source tree, the LILO "
6500 "documentation, the LOADLIN documentation, the SYSLINUX documentation"
6501 msgstr ""
6502
6503 #. type: TH
6504 #: build/C/man4/lp.4:27
6505 #, no-wrap
6506 msgid "LP"
6507 msgstr ""
6508
6509 #. type: TH
6510 #: build/C/man4/lp.4:27
6511 #, no-wrap
6512 msgid "1995-01-15"
6513 msgstr ""
6514
6515 #. type: Plain text
6516 #: build/C/man4/lp.4:30
6517 msgid "lp - line printer devices"
6518 msgstr ""
6519
6520 #. type: Plain text
6521 #: build/C/man4/lp.4:32
6522 msgid "B<#include E<lt>linux/lp.hE<gt>>"
6523 msgstr ""
6524
6525 #. type: Plain text
6526 #: build/C/man4/lp.4:43
6527 msgid ""
6528 "B<lp>[0\\(en2] are character devices for the parallel line printers; they "
6529 "have major number 6 and minor number 0\\(en2.  The minor numbers correspond "
6530 "to the printer port base addresses 0x03bc, 0x0378 and 0x0278.  Usually they "
6531 "have mode 220 and are owned by root and group lp.  You can use printer ports "
6532 "either with polling or with interrupts.  Interrupts are recommended when "
6533 "high traffic is expected, for example, for laser printers.  For usual dot "
6534 "matrix printers polling will usually be enough.  The default is polling."
6535 msgstr ""
6536
6537 #. type: Plain text
6538 #: build/C/man4/lp.4:47
6539 msgid "The following B<ioctl>(2)  calls are supported:"
6540 msgstr ""
6541
6542 #. type: IP
6543 #: build/C/man4/lp.4:47
6544 #, no-wrap
6545 msgid "B<int ioctl(int >I<fd>B<, LPTIME, int >I<arg>B<)>"
6546 msgstr ""
6547
6548 #. type: Plain text
6549 #: build/C/man4/lp.4:56
6550 msgid ""
6551 "Sets the amount of time that the driver sleeps before rechecking the printer "
6552 "when the printer's buffer appears to be filled to I<arg>.  If you have a "
6553 "fast printer, decrease this number; if you have a slow printer, then "
6554 "increase it.  This is in hundredths of a second, the default 2 being 0.02 "
6555 "seconds.  It only influences the polling driver."
6556 msgstr ""
6557
6558 #. type: IP
6559 #: build/C/man4/lp.4:56
6560 #, no-wrap
6561 msgid "B<int ioctl(int >I<fd>B<, LPCHAR, int >I<arg>B<)>"
6562 msgstr ""
6563
6564 #. type: Plain text
6565 #: build/C/man4/lp.4:64
6566 msgid ""
6567 "Sets the maximum number of busy-wait iterations which the polling driver "
6568 "does while waiting for the printer to get ready for receiving a character to "
6569 "I<arg>.  If printing is too slow, increase this number; if the system gets "
6570 "too slow, decrease this number.  The default is 1000.  It only influences "
6571 "the polling driver."
6572 msgstr ""
6573
6574 #. type: IP
6575 #: build/C/man4/lp.4:64
6576 #, no-wrap
6577 msgid "B<int ioctl(int >I<fd>B<, LPABORT, int >I<arg>B<)>"
6578 msgstr ""
6579
6580 #. type: Plain text
6581 #: build/C/man4/lp.4:70
6582 msgid ""
6583 "If I<arg> is 0, the printer driver will retry on errors, otherwise it will "
6584 "abort.  The default is 0."
6585 msgstr ""
6586
6587 #. type: IP
6588 #: build/C/man4/lp.4:70
6589 #, no-wrap
6590 msgid "B<int ioctl(int >I<fd>B<, LPABORTOPEN, int >I<arg>B<)>"
6591 msgstr ""
6592
6593 #. type: Plain text
6594 #: build/C/man4/lp.4:77
6595 msgid ""
6596 "If I<arg> is 0, B<open>(2)  will be aborted on error, otherwise error will "
6597 "be ignored.  The default is to ignore it."
6598 msgstr ""
6599
6600 #. type: IP
6601 #: build/C/man4/lp.4:77
6602 #, no-wrap
6603 msgid "B<int ioctl(int >I<fd>B<, LPCAREFUL, int >I<arg>B<)>"
6604 msgstr ""
6605
6606 #. type: Plain text
6607 #: build/C/man4/lp.4:83
6608 msgid ""
6609 "If I<arg> is 0, then the out-of-paper, offline and error signals are "
6610 "required to be false on all writes, otherwise they are ignored.  The default "
6611 "is to ignore them."
6612 msgstr ""
6613
6614 #. type: IP
6615 #: build/C/man4/lp.4:83
6616 #, no-wrap
6617 msgid "B<int ioctl(int >I<fd>B<, LPWAIT, int >I<arg>B<)>"
6618 msgstr ""
6619
6620 #. type: Plain text
6621 #: build/C/man4/lp.4:94
6622 msgid ""
6623 "Sets the number of busy waiting iterations to wait before strobing the "
6624 "printer to accept a just-written character, and the number of iterations to "
6625 "wait before turning the strobe off again, to I<arg>.  The specification says "
6626 "this time should be 0.5 microseconds, but experience has shown the delay "
6627 "caused by the code is already enough.  For that reason, the default value is "
6628 "0.  This is used for both the polling and the interrupt driver."
6629 msgstr ""
6630
6631 #. type: IP
6632 #: build/C/man4/lp.4:94
6633 #, no-wrap
6634 msgid "B<int ioctl(int >I<fd>B<, LPSETIRQ, int >I<arg>B<)>"
6635 msgstr ""
6636
6637 #. type: Plain text
6638 #: build/C/man4/lp.4:105
6639 msgid ""
6640 "This B<ioctl>(2)  requires superuser privileges.  It takes an I<int> "
6641 "containing the new IRQ as argument.  As a side effect, the printer will be "
6642 "reset.  When I<arg> is 0, the polling driver will be used, which is also "
6643 "default."
6644 msgstr ""
6645
6646 #. type: IP
6647 #: build/C/man4/lp.4:105
6648 #, no-wrap
6649 msgid "B<int ioctl(int >I<fd>B<, LPGETIRQ, int *>I<arg>B<)>"
6650 msgstr ""
6651
6652 #. type: Plain text
6653 #: build/C/man4/lp.4:108
6654 msgid "Stores the currently used IRQ in I<arg>."
6655 msgstr ""
6656
6657 #. type: IP
6658 #: build/C/man4/lp.4:108
6659 #, no-wrap
6660 msgid "B<int ioctl(int >I<fd>B<, LPGETSTATUS, int *>I<arg>B<)>"
6661 msgstr ""
6662
6663 #. type: Plain text
6664 #: build/C/man4/lp.4:112
6665 msgid ""
6666 "Stores the value of the status port in I<arg>.  The bits have the following "
6667 "meaning:"
6668 msgstr ""
6669
6670 #. type: tbl table
6671 #: build/C/man4/lp.4:114
6672 #, no-wrap
6673 msgid "LP_PBUSY\tinverted busy input, active high\n"
6674 msgstr ""
6675
6676 #. type: tbl table
6677 #: build/C/man4/lp.4:115
6678 #, no-wrap
6679 msgid "LP_PACK\tunchanged acknowledge input, active low\n"
6680 msgstr ""
6681
6682 #. type: tbl table
6683 #: build/C/man4/lp.4:116
6684 #, no-wrap
6685 msgid "LP_POUTPA\tunchanged out-of-paper input, active high\n"
6686 msgstr ""
6687
6688 #. type: tbl table
6689 #: build/C/man4/lp.4:117
6690 #, no-wrap
6691 msgid "LP_PSELECD\tunchanged selected input, active high\n"
6692 msgstr ""
6693
6694 #. type: tbl table
6695 #: build/C/man4/lp.4:118
6696 #, no-wrap
6697 msgid "LP_PERRORP\tunchanged error input, active low\n"
6698 msgstr ""
6699
6700 #. type: Plain text
6701 #: build/C/man4/lp.4:123
6702 msgid ""
6703 "Refer to your printer manual for the meaning of the signals.  Note that "
6704 "undocumented bits may also be set, depending on your printer."
6705 msgstr ""
6706
6707 #. type: IP
6708 #: build/C/man4/lp.4:123
6709 #, no-wrap
6710 msgid "B<int ioctl(int >I<fd>B<, LPRESET)>"
6711 msgstr ""
6712
6713 #. type: Plain text
6714 #: build/C/man4/lp.4:126
6715 msgid "Resets the printer.  No argument is used."
6716 msgstr ""
6717
6718 #.  .SH AUTHORS
6719 #.  The printer driver was originally written by Jim Weigand and Linus
6720 #.  Torvalds.
6721 #.  It was further improved by Michael K.\& Johnson.
6722 #.  The interrupt code was written by Nigel Gamble.
6723 #.  Alan Cox modularized it.
6724 #.  LPCAREFUL, LPABORT, LPGETSTATUS were added by Chris Metcalf.
6725 #. type: Plain text
6726 #: build/C/man4/lp.4:135
6727 msgid "/dev/lp*"
6728 msgstr ""
6729
6730 #. type: Plain text
6731 #: build/C/man4/lp.4:141
6732 msgid "B<chmod>(1), B<chown>(1), B<mknod>(1), B<lpcntl>(8), B<tunelp>(8)"
6733 msgstr ""
6734
6735 #. type: TH
6736 #: build/C/man3/makedev.3:26
6737 #, no-wrap
6738 msgid "MAKEDEV"
6739 msgstr ""
6740
6741 #. type: Plain text
6742 #: build/C/man3/makedev.3:29
6743 msgid "makedev, major, minor - manage a device number"
6744 msgstr ""
6745
6746 #. type: Plain text
6747 #: build/C/man3/makedev.3:33
6748 #, no-wrap
6749 msgid ""
6750 "B<#define _BSD_SOURCE>             /* See feature_test_macros(7) */\n"
6751 "B<#include E<lt>sys/types.hE<gt>>\n"
6752 msgstr ""
6753
6754 #. type: Plain text
6755 #: build/C/man3/makedev.3:35
6756 #, no-wrap
6757 msgid "B<dev_t makedev(unsigned int >I<maj>B<, unsigned int >I<min>B<);>\n"
6758 msgstr ""
6759
6760 #. type: Plain text
6761 #: build/C/man3/makedev.3:38
6762 #, no-wrap
6763 msgid ""
6764 "B<unsigned int major(dev_t >I<dev>B<);>\n"
6765 "B<unsigned int minor(dev_t >I<dev>B<);>\n"
6766 msgstr ""
6767
6768 #. type: Plain text
6769 #: build/C/man3/makedev.3:45
6770 msgid ""
6771 "A device ID consists of two parts: a major ID, identifying the class of the "
6772 "device, and a minor ID, identifying a specific instance of a device in that "
6773 "class.  A device ID is represented using the type I<dev_t>."
6774 msgstr ""
6775
6776 #. type: Plain text
6777 #: build/C/man3/makedev.3:52
6778 msgid ""
6779 "Given major and minor device IDs, B<makedev>()  combines these to produce a "
6780 "device ID, returned as the function result.  This device ID can be given to "
6781 "B<mknod>(2), for example."
6782 msgstr ""
6783
6784 #. type: Plain text
6785 #: build/C/man3/makedev.3:62
6786 msgid ""
6787 "The B<major>()  and B<minor>()  functions perform the converse task: given a "
6788 "device ID, they return, respectively, the major and minor components.  These "
6789 "macros can be useful to, for example, decompose the device IDs in the "
6790 "structure returned by B<stat>(2)."
6791 msgstr ""
6792
6793 #.  The BSDs, HP-UX, Solaris, AIX, Irix
6794 #. type: Plain text
6795 #: build/C/man3/makedev.3:71
6796 msgid ""
6797 "The B<makedev>(), B<major>(), and B<minor>()  functions are not specified in "
6798 "POSIX.1, but are present on many other systems."
6799 msgstr ""
6800
6801 #. type: Plain text
6802 #: build/C/man3/makedev.3:80
6803 msgid ""
6804 "These interfaces are defined as macros.  Since glibc 2.3.3, they have been "
6805 "aliases for three GNU-specific functions: B<gnu_dev_makedev>(), "
6806 "B<gnu_dev_major>(), and B<gnu_dev_minor>().  The latter names are exported, "
6807 "but the traditional names are more portable."
6808 msgstr ""
6809
6810 #. type: Plain text
6811 #: build/C/man3/makedev.3:83
6812 msgid "B<mknod>(2), B<stat>(2)"
6813 msgstr ""
6814
6815 #. type: TH
6816 #: build/C/man4/mem.4:26
6817 #, no-wrap
6818 msgid "MEM"
6819 msgstr ""
6820
6821 #. type: TH
6822 #: build/C/man4/mem.4:26 build/C/man4/ram.4:26
6823 #, no-wrap
6824 msgid "1992-11-21"
6825 msgstr ""
6826
6827 #. type: Plain text
6828 #: build/C/man4/mem.4:29
6829 msgid "mem, kmem, port - system memory, kernel memory and system ports"
6830 msgstr ""
6831
6832 #. type: Plain text
6833 #: build/C/man4/mem.4:34
6834 msgid ""
6835 "B<mem> is a character device file that is an image of the main memory of the "
6836 "computer.  It may be used, for example, to examine (and even patch) the "
6837 "system."
6838 msgstr ""
6839
6840 #. type: Plain text
6841 #: build/C/man4/mem.4:39
6842 msgid ""
6843 "Byte addresses in B<mem> are interpreted as physical memory addresses.  "
6844 "References to nonexistent locations cause errors to be returned."
6845 msgstr ""
6846
6847 #. type: Plain text
6848 #: build/C/man4/mem.4:42
6849 msgid ""
6850 "Examining and patching is likely to lead to unexpected results when "
6851 "read-only or write-only bits are present."
6852 msgstr ""
6853
6854 #. type: Plain text
6855 #: build/C/man4/mem.4:44 build/C/man4/mem.4:59 build/C/man4/mem.4:72 build/C/man4/ram.4:35
6856 msgid "It is typically created by:"
6857 msgstr ""
6858
6859 #. type: Plain text
6860 #: build/C/man4/mem.4:47
6861 msgid "mknod -m 660 /dev/mem c 1 1"
6862 msgstr ""
6863
6864 #. type: Plain text
6865 #: build/C/man4/mem.4:49
6866 msgid "chown root:kmem /dev/mem"
6867 msgstr ""
6868
6869 #. type: Plain text
6870 #: build/C/man4/mem.4:57
6871 msgid ""
6872 "The file B<kmem> is the same as B<mem>, except that the kernel virtual "
6873 "memory rather than physical memory is accessed."
6874 msgstr ""
6875
6876 #. type: Plain text
6877 #: build/C/man4/mem.4:62
6878 msgid "mknod -m 640 /dev/kmem c 1 2"
6879 msgstr ""
6880
6881 #. type: Plain text
6882 #: build/C/man4/mem.4:64
6883 msgid "chown root:kmem /dev/kmem"
6884 msgstr ""
6885
6886 #. type: Plain text
6887 #: build/C/man4/mem.4:70
6888 msgid "B<port> is similar to B<mem>, but the I/O ports are accessed."
6889 msgstr ""
6890
6891 #. type: Plain text
6892 #: build/C/man4/mem.4:75
6893 msgid "mknod -m 660 /dev/port c 1 4"
6894 msgstr ""
6895
6896 #. type: Plain text
6897 #: build/C/man4/mem.4:77
6898 msgid "chown root:mem /dev/port"
6899 msgstr ""
6900
6901 #. type: Plain text
6902 #: build/C/man4/mem.4:80
6903 msgid "I</dev/mem>"
6904 msgstr ""
6905
6906 #. type: Plain text
6907 #: build/C/man4/mem.4:82
6908 msgid "I</dev/kmem>"
6909 msgstr ""
6910
6911 #. type: Plain text
6912 #: build/C/man4/mem.4:84
6913 msgid "I</dev/port>"
6914 msgstr ""
6915
6916 #. type: Plain text
6917 #: build/C/man4/mem.4:88
6918 msgid "B<chown>(1), B<mknod>(1), B<ioperm>(2)"
6919 msgstr ""
6920
6921 #. type: TH
6922 #: build/C/man3/mkfifo.3:28
6923 #, no-wrap
6924 msgid "MKFIFO"
6925 msgstr ""
6926
6927 #. type: TH
6928 #: build/C/man3/mkfifo.3:28
6929 #, no-wrap
6930 msgid "2014-03-24"
6931 msgstr ""
6932
6933 #. type: TH
6934 #: build/C/man3/mkfifo.3:28
6935 #, no-wrap
6936 msgid "GNU"
6937 msgstr ""
6938
6939 #. type: Plain text
6940 #: build/C/man3/mkfifo.3:31
6941 msgid "mkfifo, mkfifoat - make a FIFO special file (a named pipe)"
6942 msgstr ""
6943
6944 #. type: Plain text
6945 #: build/C/man3/mkfifo.3:35
6946 #, no-wrap
6947 msgid ""
6948 "B<#include E<lt>sys/types.hE<gt>>\n"
6949 "B<#include E<lt>sys/stat.hE<gt>>\n"
6950 msgstr ""
6951
6952 #. type: Plain text
6953 #: build/C/man3/mkfifo.3:37
6954 #, no-wrap
6955 msgid "B<int mkfifo(const char *>I<pathname>B<, mode_t >I<mode>B<);>\n"
6956 msgstr ""
6957
6958 #. type: Plain text
6959 #: build/C/man3/mkfifo.3:40 build/C/man2/mknod.2:29
6960 #, no-wrap
6961 msgid ""
6962 "B<#include E<lt>fcntl.hE<gt>           >/* Definition of AT_* constants */\n"
6963 "B<#include E<lt>sys/stat.hE<gt>>\n"
6964 msgstr ""
6965
6966 #. type: Plain text
6967 #: build/C/man3/mkfifo.3:42
6968 #, no-wrap
6969 msgid ""
6970 "B<int mkfifoat(int >I<dirfd>B<, const char *>I<pathname>B<, mode_t "
6971 ">I<mode>B<);>\n"
6972 msgstr ""
6973
6974 #. type: Plain text
6975 #: build/C/man3/mkfifo.3:47 build/C/man2/mknod.2:37 build/C/man3/syslog.3:55
6976 msgid "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
6977 msgstr ""
6978
6979 #. type: Plain text
6980 #: build/C/man3/mkfifo.3:50
6981 msgid "B<mkfifoat>():"
6982 msgstr ""
6983
6984 #. type: TP
6985 #: build/C/man3/mkfifo.3:53
6986 #, no-wrap
6987 msgid "Since glibc 2.10:"
6988 msgstr ""
6989
6990 #. type: Plain text
6991 #: build/C/man3/mkfifo.3:56
6992 msgid "_XOPEN_SOURCE\\ E<gt>=\\ 700 || _POSIX_C_SOURCE\\ E<gt>=\\ 200809L"
6993 msgstr ""
6994
6995 #. type: TP
6996 #: build/C/man3/mkfifo.3:56
6997 #, no-wrap
6998 msgid "Before glibc 2.10:"
6999 msgstr ""
7000
7001 #. type: Plain text
7002 #: build/C/man3/mkfifo.3:59
7003 msgid "_ATFILE_SOURCE"
7004 msgstr ""
7005
7006 #. type: Plain text
7007 #: build/C/man3/mkfifo.3:69
7008 msgid ""
7009 "B<mkfifo>()  makes a FIFO special file with name I<pathname>.  I<mode> "
7010 "specifies the FIFO's permissions.  It is modified by the process's B<umask> "
7011 "in the usual way: the permissions of the created file are B<(>I<mode>B< & "
7012 "~umask)>."
7013 msgstr ""
7014
7015 #. type: Plain text
7016 #: build/C/man3/mkfifo.3:76
7017 msgid ""
7018 "A FIFO special file is similar to a pipe, except that it is created in a "
7019 "different way.  Instead of being an anonymous communications channel, a FIFO "
7020 "special file is entered into the filesystem by calling B<mkfifo>()."
7021 msgstr ""
7022
7023 #. type: Plain text
7024 #: build/C/man3/mkfifo.3:86
7025 msgid ""
7026 "Once you have created a FIFO special file in this way, any process can open "
7027 "it for reading or writing, in the same way as an ordinary file.  However, it "
7028 "has to be open at both ends simultaneously before you can proceed to do any "
7029 "input or output operations on it.  Opening a FIFO for reading normally "
7030 "blocks until some other process opens the same FIFO for writing, and vice "
7031 "versa.  See B<fifo>(7)  for nonblocking handling of FIFO special files."
7032 msgstr ""
7033
7034 #. type: SS
7035 #: build/C/man3/mkfifo.3:86
7036 #, no-wrap
7037 msgid "mkfifoat()"
7038 msgstr ""
7039
7040 #. type: Plain text
7041 #: build/C/man3/mkfifo.3:92
7042 msgid ""
7043 "The B<mkfifoat>()  function operates in exactly the same way as B<mkfifo>(), "
7044 "except for the differences described here."
7045 msgstr ""
7046
7047 #. type: Plain text
7048 #: build/C/man3/mkfifo.3:102
7049 msgid ""
7050 "If the pathname given in I<pathname> is relative, then it is interpreted "
7051 "relative to the directory referred to by the file descriptor I<dirfd> "
7052 "(rather than relative to the current working directory of the calling "
7053 "process, as is done by B<mkfifo>()  for a relative pathname)."
7054 msgstr ""
7055
7056 #. type: Plain text
7057 #: build/C/man3/mkfifo.3:114
7058 msgid ""
7059 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
7060 "then I<pathname> is interpreted relative to the current working directory of "
7061 "the calling process (like B<mkfifo>())."
7062 msgstr ""
7063
7064 #. type: Plain text
7065 #: build/C/man3/mkfifo.3:120 build/C/man2/mknod.2:144
7066 msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
7067 msgstr ""
7068
7069 #. type: Plain text
7070 #: build/C/man3/mkfifo.3:128
7071 msgid ""
7072 "On success B<mkfifo>()  and B<mkfifoat>()  return 0.  In the case of an "
7073 "error, -1 is returned (in which case, I<errno> is set appropriately)."
7074 msgstr ""
7075
7076 #. type: TP
7077 #: build/C/man3/mkfifo.3:129 build/C/man2/mknod.2:157 build/C/man4/st.4:829
7078 #, no-wrap
7079 msgid "B<EACCES>"
7080 msgstr ""
7081
7082 #. type: Plain text
7083 #: build/C/man3/mkfifo.3:133
7084 msgid ""
7085 "One of the directories in I<pathname> did not allow search (execute) "
7086 "permission."
7087 msgstr ""
7088
7089 #. type: TP
7090 #: build/C/man3/mkfifo.3:133 build/C/man2/mknod.2:165
7091 #, no-wrap
7092 msgid "B<EDQUOT>"
7093 msgstr ""
7094
7095 #. type: Plain text
7096 #: build/C/man3/mkfifo.3:137 build/C/man2/mknod.2:169
7097 msgid ""
7098 "The user's quota of disk blocks or inodes on the filesystem has been "
7099 "exhausted."
7100 msgstr ""
7101
7102 #. type: TP
7103 #: build/C/man3/mkfifo.3:137 build/C/man2/mknod.2:169
7104 #, no-wrap
7105 msgid "B<EEXIST>"
7106 msgstr ""
7107
7108 #. type: Plain text
7109 #: build/C/man3/mkfifo.3:143 build/C/man2/mknod.2:176
7110 msgid ""
7111 "I<pathname> already exists.  This includes the case where I<pathname> is a "
7112 "symbolic link, dangling or not."
7113 msgstr ""
7114
7115 #. type: TP
7116 #: build/C/man3/mkfifo.3:143 build/C/man2/mknod.2:188
7117 #, no-wrap
7118 msgid "B<ENAMETOOLONG>"
7119 msgstr ""
7120
7121 #. type: Plain text
7122 #: build/C/man3/mkfifo.3:151
7123 msgid ""
7124 "Either the total length of I<pathname> is greater than B<PATH_MAX>, or an "
7125 "individual filename component has a length greater than B<NAME_MAX>.  In the "
7126 "GNU system, there is no imposed limit on overall filename length, but some "
7127 "filesystems may place limits on the length of a component."
7128 msgstr ""
7129
7130 #. type: TP
7131 #: build/C/man3/mkfifo.3:151 build/C/man2/mknod.2:191
7132 #, no-wrap
7133 msgid "B<ENOENT>"
7134 msgstr ""
7135
7136 #. type: Plain text
7137 #: build/C/man3/mkfifo.3:155 build/C/man2/mknod.2:196
7138 msgid ""
7139 "A directory component in I<pathname> does not exist or is a dangling "
7140 "symbolic link."
7141 msgstr ""
7142
7143 #. type: TP
7144 #: build/C/man3/mkfifo.3:155 build/C/man2/mknod.2:199 build/C/man4/st.4:857
7145 #, no-wrap
7146 msgid "B<ENOSPC>"
7147 msgstr ""
7148
7149 #. type: Plain text
7150 #: build/C/man3/mkfifo.3:158
7151 msgid "The directory or filesystem has no room for the new file."
7152 msgstr ""
7153
7154 #. type: TP
7155 #: build/C/man3/mkfifo.3:158 build/C/man3/mkfifo.3:172 build/C/man2/mknod.2:204 build/C/man2/mknod.2:234
7156 #, no-wrap
7157 msgid "B<ENOTDIR>"
7158 msgstr ""
7159
7160 #. type: Plain text
7161 #: build/C/man3/mkfifo.3:162 build/C/man2/mknod.2:209
7162 msgid "A component used as a directory in I<pathname> is not, in fact, a directory."
7163 msgstr ""
7164
7165 #. type: TP
7166 #: build/C/man3/mkfifo.3:162 build/C/man2/mknod.2:223 build/C/man4/st.4:872
7167 #, no-wrap
7168 msgid "B<EROFS>"
7169 msgstr ""
7170
7171 #. type: Plain text
7172 #: build/C/man3/mkfifo.3:165
7173 msgid "I<pathname> refers to a read-only filesystem."
7174 msgstr ""
7175
7176 #. type: Plain text
7177 #: build/C/man3/mkfifo.3:168
7178 msgid "The following additional errors can occur for B<mkfifoat>():"
7179 msgstr ""
7180
7181 #. type: Plain text
7182 #: build/C/man3/mkfifo.3:172 build/C/man2/mknod.2:234
7183 msgid "I<dirfd> is not a valid file descriptor."
7184 msgstr ""
7185
7186 #. type: Plain text
7187 #: build/C/man3/mkfifo.3:178
7188 msgid ""
7189 "I<pathname> is a relative path and I<dirfd> is a file descriptor referring "
7190 "to a file other than a directory."
7191 msgstr ""
7192
7193 #. type: Plain text
7194 #: build/C/man3/mkfifo.3:184
7195 msgid ""
7196 "B<mkfifoat>()  was added to glibc in version 2.4.  It is implemented using "
7197 "B<mknodat>(2), available on Linux since kernel 2.6.16."
7198 msgstr ""
7199
7200 #. type: SH
7201 #: build/C/man3/mkfifo.3:184 build/C/man3/stdarg.3:229
7202 #, no-wrap
7203 msgid "ATTRIBUTES"
7204 msgstr ""
7205
7206 #. type: SS
7207 #: build/C/man3/mkfifo.3:185 build/C/man3/stdarg.3:230
7208 #, no-wrap
7209 msgid "Multithreading (see pthreads(7))"
7210 msgstr ""
7211
7212 #. type: Plain text
7213 #: build/C/man3/mkfifo.3:191
7214 msgid "The B<mkfifo>()  and B<mkfifoat>()  functions are thread-safe."
7215 msgstr ""
7216
7217 #. type: Plain text
7218 #: build/C/man3/mkfifo.3:194
7219 msgid "B<mkfifo>(): POSIX.1-2001, POSIX.1-2008."
7220 msgstr ""
7221
7222 #. type: Plain text
7223 #: build/C/man3/mkfifo.3:197
7224 msgid "B<mkfifoat>(): POSIX.1-2008."
7225 msgstr ""
7226
7227 #. type: Plain text
7228 #: build/C/man3/mkfifo.3:206
7229 msgid ""
7230 "B<mkfifo>(1), B<close>(2), B<open>(2), B<read>(2), B<stat>(2), B<umask>(2), "
7231 "B<write>(2), B<fifo>(7)"
7232 msgstr ""
7233
7234 #. type: TH
7235 #: build/C/man2/mknod.2:15
7236 #, no-wrap
7237 msgid "MKNOD"
7238 msgstr ""
7239
7240 #. type: TH
7241 #: build/C/man2/mknod.2:15
7242 #, no-wrap
7243 msgid "2014-02-21"
7244 msgstr ""
7245
7246 #. type: Plain text
7247 #: build/C/man2/mknod.2:18
7248 msgid "mknod, mknodat - create a special or ordinary file"
7249 msgstr ""
7250
7251 #. type: Plain text
7252 #: build/C/man2/mknod.2:24
7253 #, no-wrap
7254 msgid ""
7255 "B<#include E<lt>sys/types.hE<gt>>\n"
7256 "B<#include E<lt>sys/stat.hE<gt>>\n"
7257 "B<#include E<lt>fcntl.hE<gt>>\n"
7258 "B<#include E<lt>unistd.hE<gt>>\n"
7259 msgstr ""
7260
7261 #. type: Plain text
7262 #: build/C/man2/mknod.2:26
7263 #, no-wrap
7264 msgid ""
7265 "B<int mknod(const char *>I<pathname>B<, mode_t >I<mode>B<, dev_t "
7266 ">I<dev>B<);>\n"
7267 msgstr ""
7268
7269 #. type: Plain text
7270 #: build/C/man2/mknod.2:32
7271 #, no-wrap
7272 msgid ""
7273 "B<int mknodat(int >I<dirfd>B<, const char *>I<pathname>B<, mode_t "
7274 ">I<mode>B<, dev_t >I<dev>B<);>\n"
7275 msgstr ""
7276
7277 #. type: Plain text
7278 #: build/C/man2/mknod.2:40
7279 msgid "B<mknod>():"
7280 msgstr ""
7281
7282 #. type: Plain text
7283 #: build/C/man2/mknod.2:44
7284 msgid ""
7285 "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500 || "
7286 "_XOPEN_SOURCE\\ &&\\ _XOPEN_SOURCE_EXTENDED"
7287 msgstr ""
7288
7289 #. type: Plain text
7290 #: build/C/man2/mknod.2:56
7291 msgid ""
7292 "The system call B<mknod>()  creates a filesystem node (file, device special "
7293 "file, or named pipe) named I<pathname>, with attributes specified by I<mode> "
7294 "and I<dev>."
7295 msgstr ""
7296
7297 #. type: Plain text
7298 #: build/C/man2/mknod.2:63
7299 msgid ""
7300 "The I<mode> argument specifies both the permissions to use and the type of "
7301 "node to be created.  It should be a combination (using bitwise OR) of one of "
7302 "the file types listed below and the permissions for the new node."
7303 msgstr ""
7304
7305 #. type: Plain text
7306 #: build/C/man2/mknod.2:68
7307 msgid ""
7308 "The permissions are modified by the process's I<umask> in the usual way: the "
7309 "permissions of the created node are I<(mode & ~umask)>."
7310 msgstr ""
7311
7312 #.  (S_IFSOCK since Linux 1.2.4)
7313 #. type: Plain text
7314 #: build/C/man2/mknod.2:82
7315 msgid ""
7316 "The file type must be one of B<S_IFREG>, B<S_IFCHR>, B<S_IFBLK>, B<S_IFIFO>, "
7317 "or B<S_IFSOCK> to specify a regular file (which will be created empty), "
7318 "character special file, block special file, FIFO (named pipe), or UNIX "
7319 "domain socket, respectively.  (Zero file type is equivalent to type "
7320 "B<S_IFREG>.)"
7321 msgstr ""
7322
7323 #. type: Plain text
7324 #: build/C/man2/mknod.2:95
7325 msgid ""
7326 "If the file type is B<S_IFCHR> or B<S_IFBLK>, then I<dev> specifies the "
7327 "major and minor numbers of the newly created device special file "
7328 "(B<makedev>(3)  may be useful to build the value for I<dev>); otherwise it "
7329 "is ignored."
7330 msgstr ""
7331
7332 #. type: Plain text
7333 #: build/C/man2/mknod.2:101
7334 msgid ""
7335 "If I<pathname> already exists, or is a symbolic link, this call fails with "
7336 "an B<EEXIST> error."
7337 msgstr ""
7338
7339 #. type: Plain text
7340 #: build/C/man2/mknod.2:110
7341 msgid ""
7342 "The newly created node will be owned by the effective user ID of the "
7343 "process.  If the directory containing the node has the set-group-ID bit set, "
7344 "or if the filesystem is mounted with BSD group semantics, the new node will "
7345 "inherit the group ownership from its parent directory; otherwise it will be "
7346 "owned by the effective group ID of the process."
7347 msgstr ""
7348
7349 #. type: SS
7350 #: build/C/man2/mknod.2:110
7351 #, no-wrap
7352 msgid "mknodat()"
7353 msgstr ""
7354
7355 #. type: Plain text
7356 #: build/C/man2/mknod.2:116
7357 msgid ""
7358 "The B<mknodat>()  system call operates in exactly the same way as "
7359 "B<mknod>(2), except for the differences described here."
7360 msgstr ""
7361
7362 #. type: Plain text
7363 #: build/C/man2/mknod.2:126
7364 msgid ""
7365 "If the pathname given in I<pathname> is relative, then it is interpreted "
7366 "relative to the directory referred to by the file descriptor I<dirfd> "
7367 "(rather than relative to the current working directory of the calling "
7368 "process, as is done by B<mknod>(2)  for a relative pathname)."
7369 msgstr ""
7370
7371 #. type: Plain text
7372 #: build/C/man2/mknod.2:138
7373 msgid ""
7374 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
7375 "then I<pathname> is interpreted relative to the current working directory of "
7376 "the calling process (like B<mknod>(2))."
7377 msgstr ""
7378
7379 #. type: Plain text
7380 #: build/C/man2/mknod.2:149
7381 msgid "See B<openat>(2)  for an explanation of the need for B<mknodat>()."
7382 msgstr ""
7383
7384 #. type: Plain text
7385 #: build/C/man2/mknod.2:156
7386 msgid ""
7387 "B<mknod>()  and B<mknodat>()  return zero on success, or -1 if an error "
7388 "occurred (in which case, I<errno> is set appropriately)."
7389 msgstr ""
7390
7391 #. type: Plain text
7392 #: build/C/man2/mknod.2:165
7393 msgid ""
7394 "The parent directory does not allow write permission to the process, or one "
7395 "of the directories in the path prefix of I<pathname> did not allow search "
7396 "permission.  (See also B<path_resolution>(7).)"
7397 msgstr ""
7398
7399 #. type: TP
7400 #: build/C/man2/mknod.2:176 build/C/man4/st.4:838
7401 #, no-wrap
7402 msgid "B<EFAULT>"
7403 msgstr ""
7404
7405 #. type: Plain text
7406 #: build/C/man2/mknod.2:179
7407 msgid "I<pathname> points outside your accessible address space."
7408 msgstr ""
7409
7410 #. type: Plain text
7411 #: build/C/man2/mknod.2:184
7412 msgid ""
7413 "I<mode> requested creation of something other than a regular file, device "
7414 "special file, FIFO or socket."
7415 msgstr ""
7416
7417 #. type: TP
7418 #: build/C/man2/mknod.2:184
7419 #, no-wrap
7420 msgid "B<ELOOP>"
7421 msgstr ""
7422
7423 #. type: Plain text
7424 #: build/C/man2/mknod.2:188
7425 msgid "Too many symbolic links were encountered in resolving I<pathname>."
7426 msgstr ""
7427
7428 #. type: Plain text
7429 #: build/C/man2/mknod.2:191
7430 msgid "I<pathname> was too long."
7431 msgstr ""
7432
7433 #. type: TP
7434 #: build/C/man2/mknod.2:196 build/C/man4/st.4:850
7435 #, no-wrap
7436 msgid "B<ENOMEM>"
7437 msgstr ""
7438
7439 #. type: Plain text
7440 #: build/C/man2/mknod.2:199
7441 msgid "Insufficient kernel memory was available."
7442 msgstr ""
7443
7444 #. type: Plain text
7445 #: build/C/man2/mknod.2:204
7446 msgid "The device containing I<pathname> has no room for the new node."
7447 msgstr ""
7448
7449 #.  For UNIX domain sockets and regular files, EPERM is returned only in
7450 #.  Linux 2.2 and earlier; in Linux 2.4 and later, unprivileged can
7451 #.  use mknod() to make these files.
7452 #. type: Plain text
7453 #: build/C/man2/mknod.2:223
7454 msgid ""
7455 "I<mode> requested creation of something other than a regular file, FIFO "
7456 "(named pipe), or UNIX domain socket, and the caller is not privileged "
7457 "(Linux: does not have the B<CAP_MKNOD> capability); also returned if the "
7458 "filesystem containing I<pathname> does not support the type of node "
7459 "requested."
7460 msgstr ""
7461
7462 #. type: Plain text
7463 #: build/C/man2/mknod.2:227
7464 msgid "I<pathname> refers to a file on a read-only filesystem."
7465 msgstr ""
7466
7467 #. type: Plain text
7468 #: build/C/man2/mknod.2:230
7469 msgid "The following additional errors can occur for B<mknodat>():"
7470 msgstr ""
7471
7472 #. type: Plain text
7473 #: build/C/man2/mknod.2:240
7474 msgid ""
7475 "I<pathname> is relative and I<dirfd> is a file descriptor referring to a "
7476 "file other than a directory."
7477 msgstr ""
7478
7479 #. type: Plain text
7480 #: build/C/man2/mknod.2:244
7481 msgid ""
7482 "B<mknodat>()  was added to Linux in kernel 2.6.16; library support was added "
7483 "to glibc in version 2.4."
7484 msgstr ""
7485
7486 #.  The Linux version differs from the SVr4 version in that it
7487 #.  does not require root permission to create pipes, also in that no
7488 #.  EMULTIHOP, ENOLINK, or EINTR error is documented.
7489 #. type: Plain text
7490 #: build/C/man2/mknod.2:250
7491 msgid "B<mknod>(): SVr4, 4.4BSD, POSIX.1-2001 (but see below), POSIX.1-2008."
7492 msgstr ""
7493
7494 #. type: Plain text
7495 #: build/C/man2/mknod.2:253
7496 msgid "B<mknodat>(): POSIX.1-2008."
7497 msgstr ""
7498
7499 #. type: Plain text
7500 #: build/C/man2/mknod.2:271
7501 msgid ""
7502 "POSIX.1-2001 says: \"The only portable use of B<mknod>()  is to create a "
7503 "FIFO-special file.  If I<mode> is not B<S_IFIFO> or I<dev> is not 0, the "
7504 "behavior of B<mknod>()  is unspecified.\" However, nowadays one should never "
7505 "use B<mknod>()  for this purpose; one should use B<mkfifo>(3), a function "
7506 "especially defined for this purpose."
7507 msgstr ""
7508
7509 #.  and one should make UNIX domain sockets with socket(2) and bind(2).
7510 #. type: Plain text
7511 #: build/C/man2/mknod.2:278
7512 msgid ""
7513 "Under Linux, B<mknod>()  cannot be used to create directories.  One should "
7514 "make directories with B<mkdir>(2)."
7515 msgstr ""
7516
7517 #. type: Plain text
7518 #: build/C/man2/mknod.2:284
7519 msgid ""
7520 "There are many infelicities in the protocol underlying NFS.  Some of these "
7521 "affect B<mknod>()  and B<mknodat>(2)."
7522 msgstr ""
7523
7524 #. type: Plain text
7525 #: build/C/man2/mknod.2:297
7526 msgid ""
7527 "B<chmod>(2), B<chown>(2), B<fcntl>(2), B<mkdir>(2), B<mount>(2), "
7528 "B<socket>(2), B<stat>(2), B<umask>(2), B<unlink>(2), B<makedev>(3), "
7529 "B<mkfifo>(3), B<path_resolution>(7)"
7530 msgstr ""
7531
7532 #. type: TH
7533 #: build/C/man4/mouse.4:26
7534 #, no-wrap
7535 msgid "MOUSE"
7536 msgstr ""
7537
7538 #. type: TH
7539 #: build/C/man4/mouse.4:26
7540 #, no-wrap
7541 msgid "1996-02-10"
7542 msgstr ""
7543
7544 #. type: Plain text
7545 #: build/C/man4/mouse.4:29
7546 msgid "mouse - serial mouse interface"
7547 msgstr ""
7548
7549 #. type: Plain text
7550 #: build/C/man4/mouse.4:33
7551 msgid ""
7552 "Serial mice are connected to a serial RS232/V24 dialout line, see B<ttyS>(4)  "
7553 "for a description."
7554 msgstr ""
7555
7556 #. type: SS
7557 #: build/C/man4/mouse.4:34
7558 #, no-wrap
7559 msgid "Introduction"
7560 msgstr ""
7561
7562 #. type: Plain text
7563 #: build/C/man4/mouse.4:36
7564 msgid "The pinout of the usual 9 pin plug as used for serial mice is:"
7565 msgstr ""
7566
7567 #. type: tbl table
7568 #: build/C/man4/mouse.4:39
7569 #, no-wrap
7570 msgid "pin\tname\tused for\n"
7571 msgstr ""
7572
7573 #. type: tbl table
7574 #: build/C/man4/mouse.4:40
7575 #, no-wrap
7576 msgid "2\tRX\tData\n"
7577 msgstr ""
7578
7579 #. type: tbl table
7580 #: build/C/man4/mouse.4:41
7581 #, no-wrap
7582 msgid "3\tTX\t-12 V, Imax = 10 mA\n"
7583 msgstr ""
7584
7585 #. type: tbl table
7586 #: build/C/man4/mouse.4:42
7587 #, no-wrap
7588 msgid "4\tDTR\t+12 V, Imax = 10 mA\n"
7589 msgstr ""
7590
7591 #. type: tbl table
7592 #: build/C/man4/mouse.4:43
7593 #, no-wrap
7594 msgid "7\tRTS\t+12 V, Imax = 10 mA\n"
7595 msgstr ""
7596
7597 #. type: tbl table
7598 #: build/C/man4/mouse.4:44
7599 #, no-wrap
7600 msgid "5\tGND\tGround\n"
7601 msgstr ""
7602
7603 #. type: Plain text
7604 #: build/C/man4/mouse.4:48
7605 msgid "This is the specification, in fact 9 V suffices with most mice."
7606 msgstr ""
7607
7608 #. type: Plain text
7609 #: build/C/man4/mouse.4:54
7610 msgid ""
7611 "The mouse driver can recognize a mouse by dropping RTS to low and raising it "
7612 "again.  About 14 ms later the mouse will send 0x4D (\\(aqM\\(aq) on the data "
7613 "line.  After a further 63 ms, a Microsoft-compatible 3-button mouse will "
7614 "send 0x33 (\\(aq3\\(aq)."
7615 msgstr ""
7616
7617 #. type: Plain text
7618 #: build/C/man4/mouse.4:66
7619 msgid ""
7620 "The relative mouse movement is sent as I<dx> (positive means right)  and "
7621 "I<dy> (positive means down).  Various mice can operate at different speeds.  "
7622 "To select speeds, cycle through the speeds 9600, 4800, 2400, and 1200 bit/s, "
7623 "each time writing the two characters from the table below and waiting 0.1 "
7624 "seconds.  The following table shows available speeds and the strings that "
7625 "select them:"
7626 msgstr ""
7627
7628 #. type: tbl table
7629 #: build/C/man4/mouse.4:69
7630 #, no-wrap
7631 msgid "bit/s\tstring\n"
7632 msgstr ""
7633
7634 #. type: tbl table
7635 #: build/C/man4/mouse.4:70
7636 #, no-wrap
7637 msgid "9600\t*q\n"
7638 msgstr ""
7639
7640 #. type: tbl table
7641 #: build/C/man4/mouse.4:71
7642 #, no-wrap
7643 msgid "4800\t*p\n"
7644 msgstr ""
7645
7646 #. type: tbl table
7647 #: build/C/man4/mouse.4:72
7648 #, no-wrap
7649 msgid "2400\t*o\n"
7650 msgstr ""
7651
7652 #. type: tbl table
7653 #: build/C/man4/mouse.4:73
7654 #, no-wrap
7655 msgid "1200\t*n\n"
7656 msgstr ""
7657
7658 #. type: Plain text
7659 #: build/C/man4/mouse.4:77
7660 msgid "The first byte of a data packet can be used to synchronization purposes."
7661 msgstr ""
7662
7663 #. type: SS
7664 #: build/C/man4/mouse.4:77
7665 #, no-wrap
7666 msgid "Microsoft protocol"
7667 msgstr ""
7668
7669 #. type: Plain text
7670 #: build/C/man4/mouse.4:93
7671 msgid ""
7672 "The B<Microsoft> protocol uses 1 start bit, 7 data bits, no parity and one "
7673 "stop bit at the speed of 1200 bits/sec.  Data is sent to RxD in 3-byte "
7674 "packets.  The I<dx> and I<dy> movements are sent as two's-complement, I<lb> "
7675 "(I<rb>)  are set when the left (right)  button is pressed:"
7676 msgstr ""
7677
7678 #. type: tbl table
7679 #: build/C/man4/mouse.4:96
7680 #, no-wrap
7681 msgid "byte\td6\td5\td4\td3\td2\td1\td0\n"
7682 msgstr ""
7683
7684 #. type: tbl table
7685 #: build/C/man4/mouse.4:97
7686 #, no-wrap
7687 msgid "1\t1\tlb\trb\tdy7\tdy6\tdx7\tdx6\n"
7688 msgstr ""
7689
7690 #. type: tbl table
7691 #: build/C/man4/mouse.4:98
7692 #, no-wrap
7693 msgid "2\t0\tdx5\tdx4\tdx3\tdx2\tdx1\tdx0\n"
7694 msgstr ""
7695
7696 #. type: tbl table
7697 #: build/C/man4/mouse.4:99
7698 #, no-wrap
7699 msgid "3\t0\tdy5\tdy4\tdy3\tdy2\tdy1\tdy0\n"
7700 msgstr ""
7701
7702 #. type: SS
7703 #: build/C/man4/mouse.4:101
7704 #, no-wrap
7705 msgid "3-button Microsoft protocol"
7706 msgstr ""
7707
7708 #. type: Plain text
7709 #: build/C/man4/mouse.4:110
7710 msgid ""
7711 "Original Microsoft mice only have two buttons.  However, there are some "
7712 "three button mice which also use the Microsoft protocol.  Pressing or "
7713 "releasing the middle button is reported by sending a packet with zero "
7714 "movement and no buttons pressed.  (Thus, unlike for the other two buttons, "
7715 "the status of the middle button is not reported in each packet.)"
7716 msgstr ""
7717
7718 #. type: SS
7719 #: build/C/man4/mouse.4:110
7720 #, no-wrap
7721 msgid "Logitech protocol"
7722 msgstr ""
7723
7724 #. type: Plain text
7725 #: build/C/man4/mouse.4:119
7726 msgid ""
7727 "Logitech serial 3-button mice use a different extension of the Microsoft "
7728 "protocol: when the middle button is up, the above 3-byte packet is sent.  "
7729 "When the middle button is down a 4-byte packet is sent, where the 4th byte "
7730 "has value 0x20 (or at least has the 0x20 bit set).  In particular, a press "
7731 "of the middle button is reported as 0,0,0,0x20 when no other buttons are "
7732 "down."
7733 msgstr ""
7734
7735 #. type: SS
7736 #: build/C/man4/mouse.4:119
7737 #, no-wrap
7738 msgid "Mousesystems protocol"
7739 msgstr ""
7740
7741 #. type: Plain text
7742 #: build/C/man4/mouse.4:137
7743 msgid ""
7744 "The B<Mousesystems> protocol uses 1 start bit, 8 data bits, no parity and "
7745 "two stop bits at the speed of 1200 bits/sec.  Data is sent to RxD in 5-byte "
7746 "packets.  I<dx> is sent as the sum of the two two's-complement values, I<dy> "
7747 "is send as negated sum of the two two's-complement values.  I<lb> (I<mb>, "
7748 "I<rb>)  are cleared when the left (middle, right) button is pressed:"
7749 msgstr ""
7750
7751 #. type: tbl table
7752 #: build/C/man4/mouse.4:140 build/C/man4/mouse.4:175
7753 #, no-wrap
7754 msgid "byte\td7\td6\td5\td4\td3\td2\td1\td0\n"
7755 msgstr ""
7756
7757 #. type: tbl table
7758 #: build/C/man4/mouse.4:141
7759 #, no-wrap
7760 msgid "1\t1\t0\t0\t0\t0\tlb\tmb\trb\n"
7761 msgstr ""
7762
7763 #. type: tbl table
7764 #: build/C/man4/mouse.4:142
7765 #, no-wrap
7766 msgid "2\t0\tdxa6\tdxa5\tdxa4\tdxa3\tdxa2\tdxa1\tdxa0\n"
7767 msgstr ""
7768
7769 #. type: tbl table
7770 #: build/C/man4/mouse.4:143
7771 #, no-wrap
7772 msgid "3\t0\tdya6\tdya5\tdya4\tdya3\tdya2\tdya1\tdya0\n"
7773 msgstr ""
7774
7775 #. type: tbl table
7776 #: build/C/man4/mouse.4:144
7777 #, no-wrap
7778 msgid "4\t0\tdxb6\tdxb5\tdxb4\tdxb3\tdxb2\tdxb1\tdxb0\n"
7779 msgstr ""
7780
7781 #. type: tbl table
7782 #: build/C/man4/mouse.4:145
7783 #, no-wrap
7784 msgid "5\t0\tdyb6\tdyb5\tdyb4\tdyb3\tdyb2\tdyb1\tdyb0\n"
7785 msgstr ""
7786
7787 #. type: Plain text
7788 #: build/C/man4/mouse.4:150
7789 msgid ""
7790 "Bytes 4 and 5 describe the change that occurred since bytes 2 and 3 were "
7791 "transmitted."
7792 msgstr ""
7793
7794 #. type: SS
7795 #: build/C/man4/mouse.4:150
7796 #, no-wrap
7797 msgid "Sun protocol"
7798 msgstr ""
7799
7800 #. type: Plain text
7801 #: build/C/man4/mouse.4:155
7802 msgid ""
7803 "The B<Sun> protocol is the 3-byte version of the above 5-byte Mousesystems "
7804 "protocol: the last two bytes are not sent."
7805 msgstr ""
7806
7807 #. type: SS
7808 #: build/C/man4/mouse.4:155
7809 #, no-wrap
7810 msgid "MM protocol"
7811 msgstr ""
7812
7813 #. type: Plain text
7814 #: build/C/man4/mouse.4:172
7815 msgid ""
7816 "The B<MM> protocol uses 1 start bit, 8 data bits, odd parity and one stop "
7817 "bit at the speed of 1200 bits/sec.  Data is sent to RxD in 3-byte packets.  "
7818 "I<dx> and I<dy> are sent as single signed values, the sign bit indicating a "
7819 "negative value.  I<lb> (I<mb>, I<rb>)  are set when the left (middle, right) "
7820 "button is pressed:"
7821 msgstr ""
7822
7823 #. type: tbl table
7824 #: build/C/man4/mouse.4:176
7825 #, no-wrap
7826 msgid "1\t1\t0\t0\tdxs\tdys\tlb\tmb\trb\n"
7827 msgstr ""
7828
7829 #. type: tbl table
7830 #: build/C/man4/mouse.4:177
7831 #, no-wrap
7832 msgid "2\t0\tdx6\tdx5\tdx4\tdx3\tdx2\tdx1\tdx0\n"
7833 msgstr ""
7834
7835 #. type: tbl table
7836 #: build/C/man4/mouse.4:178
7837 #, no-wrap
7838 msgid "3\t0\tdy6\tdy5\tdy4\tdy3\tdy2\tdy1\tdy0\n"
7839 msgstr ""
7840
7841 #. type: TP
7842 #: build/C/man4/mouse.4:181
7843 #, no-wrap
7844 msgid "I</dev/mouse>"
7845 msgstr ""
7846
7847 #. type: Plain text
7848 #: build/C/man4/mouse.4:184
7849 msgid "A commonly used symlink pointing to a mouse device."
7850 msgstr ""
7851
7852 #. type: Plain text
7853 #: build/C/man4/mouse.4:187
7854 msgid "B<ttyS>(4), B<gpm>(8)"
7855 msgstr ""
7856
7857 #. type: TH
7858 #: build/C/man4/msr.4:26
7859 #, no-wrap
7860 msgid "MSR"
7861 msgstr ""
7862
7863 #. type: Plain text
7864 #: build/C/man4/msr.4:29
7865 msgid "msr - x86 CPU MSR access device"
7866 msgstr ""
7867
7868 #. type: Plain text
7869 #: build/C/man4/msr.4:36
7870 msgid ""
7871 "I</dev/cpu/CPUNUM/msr> provides an interface to read and write the "
7872 "model-specific registers (MSRs) of an x86 CPU.  I<CPUNUM> is the number of "
7873 "the CPU to access as listed in I</proc/cpuinfo>."
7874 msgstr ""
7875
7876 #. type: Plain text
7877 #: build/C/man4/msr.4:42
7878 msgid ""
7879 "The register access is done by opening the file and seeking to the MSR "
7880 "number as offset in the file, and then reading or writing in chunks of 8 "
7881 "bytes.  An I/O transfer of more than 8 bytes means multiple reads or writes "
7882 "of the same register."
7883 msgstr ""
7884
7885 #. type: Plain text
7886 #: build/C/man4/msr.4:47
7887 msgid ""
7888 "This file is protected so that it can be read and written only by the user "
7889 "I<root>, or members of the group I<root>."
7890 msgstr ""
7891
7892 #. type: Plain text
7893 #: build/C/man4/msr.4:53
7894 msgid ""
7895 "The I<msr> driver is not auto-loaded.  On modular kernels you might need to "
7896 "use the following command to load it explicitly before use:"
7897 msgstr ""
7898
7899 #. type: Plain text
7900 #: build/C/man4/msr.4:55
7901 #, no-wrap
7902 msgid "    $ I<modprobe msr>\n"
7903 msgstr ""
7904
7905 #. type: Plain text
7906 #: build/C/man4/msr.4:59
7907 msgid ""
7908 "Intel Corporation Intel 64 and IA-32 Architectures Software Developer's "
7909 "Manual Volume 3B Appendix B, for an overview of the Intel CPU MSRs."
7910 msgstr ""
7911
7912 #. type: TH
7913 #: build/C/man4/null.4:26
7914 #, no-wrap
7915 msgid "NULL"
7916 msgstr ""
7917
7918 #. type: TH
7919 #: build/C/man4/null.4:26
7920 #, no-wrap
7921 msgid "2009-02-23"
7922 msgstr ""
7923
7924 #. type: Plain text
7925 #: build/C/man4/null.4:29
7926 msgid "null, zero - data sink"
7927 msgstr ""
7928
7929 #. type: Plain text
7930 #: build/C/man4/null.4:35
7931 msgid "Data written to a B<null> or B<zero> special file is discarded."
7932 msgstr ""
7933
7934 #. type: Plain text
7935 #: build/C/man4/null.4:44
7936 msgid ""
7937 "Reads from the B<null> special file always return end of file (i.e., "
7938 "B<read>(2)  returns 0), whereas reads from B<zero> always return bytes "
7939 "containing zero (\\e0 characters)."
7940 msgstr ""
7941
7942 #. type: Plain text
7943 #: build/C/man4/null.4:49
7944 msgid "B<null> and B<zero> are typically created by:"
7945 msgstr ""
7946
7947 #. type: Plain text
7948 #: build/C/man4/null.4:52
7949 msgid "mknod -m 666 /dev/null c 1 3"
7950 msgstr ""
7951
7952 #. type: Plain text
7953 #: build/C/man4/null.4:54
7954 msgid "mknod -m 666 /dev/zero c 1 5"
7955 msgstr ""
7956
7957 #. type: Plain text
7958 #: build/C/man4/null.4:56
7959 msgid "chown root:root /dev/null /dev/zero"
7960 msgstr ""
7961
7962 #. type: Plain text
7963 #: build/C/man4/null.4:59
7964 msgid "I</dev/null>"
7965 msgstr ""
7966
7967 #. type: Plain text
7968 #: build/C/man4/null.4:61
7969 msgid "I</dev/zero>"
7970 msgstr ""
7971
7972 #. type: Plain text
7973 #: build/C/man4/null.4:64
7974 msgid ""
7975 "If these devices are not writable and readable for all users, many programs "
7976 "will act strangely."
7977 msgstr ""
7978
7979 #. type: Plain text
7980 #: build/C/man4/null.4:68
7981 msgid "B<chown>(1), B<mknod>(1), B<full>(4)"
7982 msgstr ""
7983
7984 #. type: TH
7985 #: build/C/man7/pipe.7:25
7986 #, no-wrap
7987 msgid "PIPE"
7988 msgstr ""
7989
7990 #. type: TH
7991 #: build/C/man7/pipe.7:25
7992 #, no-wrap
7993 msgid "2005-12-08"
7994 msgstr ""
7995
7996 #. type: Plain text
7997 #: build/C/man7/pipe.7:28
7998 msgid "pipe - overview of pipes and FIFOs"
7999 msgstr ""
8000
8001 #. type: Plain text
8002 #: build/C/man7/pipe.7:37
8003 msgid ""
8004 "Pipes and FIFOs (also known as named pipes)  provide a unidirectional "
8005 "interprocess communication channel.  A pipe has a I<read end> and a I<write "
8006 "end>.  Data written to the write end of a pipe can be read from the read end "
8007 "of the pipe."
8008 msgstr ""
8009
8010 #. type: Plain text
8011 #: build/C/man7/pipe.7:47
8012 msgid ""
8013 "A pipe is created using B<pipe>(2), which creates a new pipe and returns two "
8014 "file descriptors, one referring to the read end of the pipe, the other "
8015 "referring to the write end.  Pipes can be used to create a communication "
8016 "channel between related processes; see B<pipe>(2)  for an example."
8017 msgstr ""
8018
8019 #. type: Plain text
8020 #: build/C/man7/pipe.7:66
8021 msgid ""
8022 "A FIFO (short for First In First Out) has a name within the filesystem "
8023 "(created using B<mkfifo>(3)), and is opened using B<open>(2).  Any process "
8024 "may open a FIFO, assuming the file permissions allow it.  The read end is "
8025 "opened using the B<O_RDONLY> flag; the write end is opened using the "
8026 "B<O_WRONLY> flag.  See B<fifo>(7)  for further details.  I<Note>: although "
8027 "FIFOs have a pathname in the filesystem, I/O on FIFOs does not involve "
8028 "operations on the underlying device (if there is one)."
8029 msgstr ""
8030
8031 #. type: SS
8032 #: build/C/man7/pipe.7:66
8033 #, no-wrap
8034 msgid "I/O on pipes and FIFOs"
8035 msgstr ""
8036
8037 #. type: Plain text
8038 #: build/C/man7/pipe.7:71
8039 msgid ""
8040 "The only difference between pipes and FIFOs is the manner in which they are "
8041 "created and opened.  Once these tasks have been accomplished, I/O on pipes "
8042 "and FIFOs has exactly the same semantics."
8043 msgstr ""
8044
8045 #. type: Plain text
8046 #: build/C/man7/pipe.7:85
8047 msgid ""
8048 "If a process attempts to read from an empty pipe, then B<read>(2)  will "
8049 "block until data is available.  If a process attempts to write to a full "
8050 "pipe (see below), then B<write>(2)  blocks until sufficient data has been "
8051 "read from the pipe to allow the write to complete.  Nonblocking I/O is "
8052 "possible by using the B<fcntl>(2)  B<F_SETFL> operation to enable the "
8053 "B<O_NONBLOCK> open file status flag."
8054 msgstr ""
8055
8056 #. type: Plain text
8057 #: build/C/man7/pipe.7:89
8058 msgid ""
8059 "The communication channel provided by a pipe is a I<byte stream>: there is "
8060 "no concept of message boundaries."
8061 msgstr ""
8062
8063 #. type: Plain text
8064 #: build/C/man7/pipe.7:116
8065 msgid ""
8066 "If all file descriptors referring to the write end of a pipe have been "
8067 "closed, then an attempt to B<read>(2)  from the pipe will see end-of-file "
8068 "(B<read>(2)  will return 0).  If all file descriptors referring to the read "
8069 "end of a pipe have been closed, then a B<write>(2)  will cause a B<SIGPIPE> "
8070 "signal to be generated for the calling process.  If the calling process is "
8071 "ignoring this signal, then B<write>(2)  fails with the error B<EPIPE>.  An "
8072 "application that uses B<pipe>(2)  and B<fork>(2)  should use suitable "
8073 "B<close>(2)  calls to close unnecessary duplicate file descriptors; this "
8074 "ensures that end-of-file and B<SIGPIPE>/B<EPIPE> are delivered when "
8075 "appropriate."
8076 msgstr ""
8077
8078 #. type: Plain text
8079 #: build/C/man7/pipe.7:120
8080 msgid "It is not possible to apply B<lseek>(2)  to a pipe."
8081 msgstr ""
8082
8083 #. type: SS
8084 #: build/C/man7/pipe.7:120
8085 #, no-wrap
8086 msgid "Pipe capacity"
8087 msgstr ""
8088
8089 #. type: Plain text
8090 #: build/C/man7/pipe.7:132
8091 msgid ""
8092 "A pipe has a limited capacity.  If the pipe is full, then a B<write>(2)  "
8093 "will block or fail, depending on whether the B<O_NONBLOCK> flag is set (see "
8094 "below).  Different implementations have different limits for the pipe "
8095 "capacity.  Applications should not rely on a particular capacity: an "
8096 "application should be designed so that a reading process consumes data as "
8097 "soon as it is available, so that a writing process does not remain blocked."
8098 msgstr ""
8099
8100 #. type: Plain text
8101 #: build/C/man7/pipe.7:136
8102 msgid ""
8103 "In Linux versions before 2.6.11, the capacity of a pipe was the same as the "
8104 "system page size (e.g., 4096 bytes on i386).  Since Linux 2.6.11, the pipe "
8105 "capacity is 65536 bytes."
8106 msgstr ""
8107
8108 #. type: SS
8109 #: build/C/man7/pipe.7:136
8110 #, no-wrap
8111 msgid "PIPE_BUF"
8112 msgstr ""
8113
8114 #. type: Plain text
8115 #: build/C/man7/pipe.7:158
8116 msgid ""
8117 "POSIX.1-2001 says that B<write>(2)s of less than B<PIPE_BUF> bytes must be "
8118 "atomic: the output data is written to the pipe as a contiguous sequence.  "
8119 "Writes of more than B<PIPE_BUF> bytes may be nonatomic: the kernel may "
8120 "interleave the data with data written by other processes.  POSIX.1-2001 "
8121 "requires B<PIPE_BUF> to be at least 512 bytes.  (On Linux, B<PIPE_BUF> is "
8122 "4096 bytes.)  The precise semantics depend on whether the file descriptor is "
8123 "nonblocking (B<O_NONBLOCK>), whether there are multiple writers to the pipe, "
8124 "and on I<n>, the number of bytes to be written:"
8125 msgstr ""
8126
8127 #. type: TP
8128 #: build/C/man7/pipe.7:158
8129 #, no-wrap
8130 msgid "B<O_NONBLOCK> disabled, I<n> E<lt>= B<PIPE_BUF>"
8131 msgstr ""
8132
8133 #. type: Plain text
8134 #: build/C/man7/pipe.7:167
8135 msgid ""
8136 "All I<n> bytes are written atomically; B<write>(2)  may block if there is "
8137 "not room for I<n> bytes to be written immediately"
8138 msgstr ""
8139
8140 #. type: TP
8141 #: build/C/man7/pipe.7:167
8142 #, no-wrap
8143 msgid "B<O_NONBLOCK> enabled, I<n> E<lt>= B<PIPE_BUF>"
8144 msgstr ""
8145
8146 #. type: Plain text
8147 #: build/C/man7/pipe.7:181
8148 msgid ""
8149 "If there is room to write I<n> bytes to the pipe, then B<write>(2)  succeeds "
8150 "immediately, writing all I<n> bytes; otherwise B<write>(2)  fails, with "
8151 "I<errno> set to B<EAGAIN>."
8152 msgstr ""
8153
8154 #. type: TP
8155 #: build/C/man7/pipe.7:181
8156 #, no-wrap
8157 msgid "B<O_NONBLOCK> disabled, I<n> E<gt> B<PIPE_BUF>"
8158 msgstr ""
8159
8160 #. type: Plain text
8161 #: build/C/man7/pipe.7:193
8162 msgid ""
8163 "The write is nonatomic: the data given to B<write>(2)  may be interleaved "
8164 "with B<write>(2)s by other process; the B<write>(2)  blocks until I<n> bytes "
8165 "have been written."
8166 msgstr ""
8167
8168 #. type: TP
8169 #: build/C/man7/pipe.7:193
8170 #, no-wrap
8171 msgid "B<O_NONBLOCK> enabled, I<n> E<gt> B<PIPE_BUF>"
8172 msgstr ""
8173
8174 #. type: Plain text
8175 #: build/C/man7/pipe.7:208
8176 msgid ""
8177 "If the pipe is full, then B<write>(2)  fails, with I<errno> set to "
8178 "B<EAGAIN>.  Otherwise, from 1 to I<n> bytes may be written (i.e., a "
8179 "\"partial write\" may occur; the caller should check the return value from "
8180 "B<write>(2)  to see how many bytes were actually written), and these bytes "
8181 "may be interleaved with writes by other processes."
8182 msgstr ""
8183
8184 #. type: SS
8185 #: build/C/man7/pipe.7:208
8186 #, no-wrap
8187 msgid "Open file status flags"
8188 msgstr ""
8189
8190 #. type: Plain text
8191 #: build/C/man7/pipe.7:214
8192 msgid ""
8193 "The only open file status flags that can be meaningfully applied to a pipe "
8194 "or FIFO are B<O_NONBLOCK> and B<O_ASYNC>."
8195 msgstr ""
8196
8197 #. type: Plain text
8198 #: build/C/man7/pipe.7:226
8199 msgid ""
8200 "Setting the B<O_ASYNC> flag for the read end of a pipe causes a signal "
8201 "(B<SIGIO> by default) to be generated when new input becomes available on "
8202 "the pipe (see B<fcntl>(2)  for details).  On Linux, B<O_ASYNC> is supported "
8203 "for pipes and FIFOs only since kernel 2.6."
8204 msgstr ""
8205
8206 #. type: SS
8207 #: build/C/man7/pipe.7:226
8208 #, no-wrap
8209 msgid "Portability notes"
8210 msgstr ""
8211
8212 #. type: Plain text
8213 #: build/C/man7/pipe.7:232
8214 msgid ""
8215 "On some systems (but not Linux), pipes are bidirectional: data can be "
8216 "transmitted in both directions between the pipe ends.  According to "
8217 "POSIX.1-2001, pipes only need to be unidirectional.  Portable applications "
8218 "should avoid reliance on bidirectional pipe semantics."
8219 msgstr ""
8220
8221 #. type: Plain text
8222 #: build/C/man7/pipe.7:244
8223 msgid ""
8224 "B<dup>(2), B<fcntl>(2), B<open>(2), B<pipe>(2), B<poll>(2), B<select>(2), "
8225 "B<socketpair>(2), B<stat>(2), B<mkfifo>(3), B<epoll>(7), B<fifo>(7)"
8226 msgstr ""
8227
8228 #. type: TH
8229 #: build/C/man4/ram.4:26
8230 #, no-wrap
8231 msgid "RAM"
8232 msgstr ""
8233
8234 #. type: Plain text
8235 #: build/C/man4/ram.4:29
8236 msgid "ram - ram disk device"
8237 msgstr ""
8238
8239 #. type: Plain text
8240 #: build/C/man4/ram.4:33
8241 msgid "The I<ram> device is a block device to access the ram disk in raw mode."
8242 msgstr ""
8243
8244 #. type: Plain text
8245 #: build/C/man4/ram.4:38
8246 msgid "mknod -m 660 /dev/ram b 1 1"
8247 msgstr ""
8248
8249 #. type: Plain text
8250 #: build/C/man4/ram.4:40
8251 msgid "chown root:disk /dev/ram"
8252 msgstr ""
8253
8254 #. type: Plain text
8255 #: build/C/man4/ram.4:43
8256 msgid "/dev/ram"
8257 msgstr ""
8258
8259 #. type: Plain text
8260 #: build/C/man4/ram.4:47
8261 msgid "B<chown>(1), B<mknod>(1), B<mount>(8)"
8262 msgstr ""
8263
8264 #. type: TH
8265 #: build/C/man4/random.4:19
8266 #, no-wrap
8267 msgid "RANDOM"
8268 msgstr ""
8269
8270 #. type: TH
8271 #: build/C/man4/random.4:19
8272 #, no-wrap
8273 msgid "2013-03-15"
8274 msgstr ""
8275
8276 #. type: Plain text
8277 #: build/C/man4/random.4:22
8278 msgid "random, urandom - kernel random number source devices"
8279 msgstr ""
8280
8281 #. type: Plain text
8282 #: build/C/man4/random.4:24
8283 msgid "#include E<lt>linux/random.hE<gt>"
8284 msgstr ""
8285
8286 #. type: Plain text
8287 #: build/C/man4/random.4:26
8288 msgid "B<int ioctl(>I<fd>B<, RND>I<request>B<, >I<param>B<);>"
8289 msgstr ""
8290
8291 #. type: Plain text
8292 #: build/C/man4/random.4:33
8293 msgid ""
8294 "The character special files I</dev/random> and I</dev/urandom> (present "
8295 "since Linux 1.3.30)  provide an interface to the kernel's random number "
8296 "generator.  File I</dev/random> has major device number 1 and minor device "
8297 "number 8.  File I</dev/urandom> has major device number 1 and minor device "
8298 "number 9."
8299 msgstr ""
8300
8301 #. type: Plain text
8302 #: build/C/man4/random.4:39
8303 msgid ""
8304 "The random number generator gathers environmental noise from device drivers "
8305 "and other sources into an entropy pool.  The generator also keeps an "
8306 "estimate of the number of bits of noise in the entropy pool.  From this "
8307 "entropy pool random numbers are created."
8308 msgstr ""
8309
8310 #. type: Plain text
8311 #: build/C/man4/random.4:47
8312 msgid ""
8313 "When read, the I</dev/random> device will only return random bytes within "
8314 "the estimated number of bits of noise in the entropy pool.  I</dev/random> "
8315 "should be suitable for uses that need very high quality randomness such as "
8316 "one-time pad or key generation.  When the entropy pool is empty, reads from "
8317 "I</dev/random> will block until additional environmental noise is gathered."
8318 msgstr ""
8319
8320 #. type: Plain text
8321 #: build/C/man4/random.4:58
8322 msgid ""
8323 "A read from the I</dev/urandom> device will not block waiting for more "
8324 "entropy.  As a result, if there is not sufficient entropy in the entropy "
8325 "pool, the returned values are theoretically vulnerable to a cryptographic "
8326 "attack on the algorithms used by the driver.  Knowledge of how to do this is "
8327 "not available in the current unclassified literature, but it is "
8328 "theoretically possible that such an attack may exist.  If this is a concern "
8329 "in your application, use I</dev/random> instead."
8330 msgstr ""
8331
8332 #. type: Plain text
8333 #: build/C/man4/random.4:65
8334 msgid ""
8335 "Writing to I</dev/random> or I</dev/urandom> will update the entropy pool "
8336 "with the data written, but this will not result in a higher entropy count.  "
8337 "This means that it will impact the contents read from both files, but it "
8338 "will not make reads from I</dev/random> faster."
8339 msgstr ""
8340
8341 #. type: Plain text
8342 #: build/C/man4/random.4:74
8343 msgid ""
8344 "If you are unsure about whether you should use I</dev/random> or "
8345 "I</dev/urandom>, then probably you want to use the latter.  As a general "
8346 "rule, I</dev/urandom> should be used for everything except long-lived "
8347 "GPG/SSL/SSH keys."
8348 msgstr ""
8349
8350 #. type: Plain text
8351 #: build/C/man4/random.4:86
8352 msgid ""
8353 "If a seed file is saved across reboots as recommended below (all major Linux "
8354 "distributions have done this since 2000 at least), the output is "
8355 "cryptographically secure against attackers without local root access as soon "
8356 "as it is reloaded in the boot sequence, and perfectly adequate for network "
8357 "encryption session keys.  Since reads from I</dev/random> may block, users "
8358 "will usually want to open it in nonblocking mode (or perform a read with "
8359 "timeout), and provide some sort of user notification if the desired entropy "
8360 "is not immediately available."
8361 msgstr ""
8362
8363 #. type: Plain text
8364 #: build/C/man4/random.4:99
8365 msgid ""
8366 "The kernel random-number generator is designed to produce a small amount of "
8367 "high-quality seed material to seed a cryptographic pseudo-random number "
8368 "generator (CPRNG).  It is designed for security, not speed, and is poorly "
8369 "suited to generating large amounts of random data.  Users should be very "
8370 "economical in the amount of seed material that they read from "
8371 "I</dev/urandom> (and I</dev/random>); unnecessarily reading large quantities "
8372 "of data from this device will have a negative impact on other users of the "
8373 "device."
8374 msgstr ""
8375
8376 #. type: Plain text
8377 #: build/C/man4/random.4:107
8378 msgid ""
8379 "The amount of seed material required to generate a cryptographic key equals "
8380 "the effective key size of the key.  For example, a 3072-bit RSA or "
8381 "Diffie-Hellman private key has an effective key size of 128 bits (it "
8382 "requires about 2^128 operations to break) so a key generator only needs 128 "
8383 "bits (16 bytes) of seed material from I</dev/random>."
8384 msgstr ""
8385
8386 #. type: Plain text
8387 #: build/C/man4/random.4:116
8388 msgid ""
8389 "While some safety margin above that minimum is reasonable, as a guard "
8390 "against flaws in the CPRNG algorithm, no cryptographic primitive available "
8391 "today can hope to promise more than 256 bits of security, so if any program "
8392 "reads more than 256 bits (32 bytes) from the kernel random pool per "
8393 "invocation, or per reasonable reseed interval (not less than one minute), "
8394 "that should be taken as a sign that its cryptography is I<not> skillfully "
8395 "implemented."
8396 msgstr ""
8397
8398 #. type: SS
8399 #: build/C/man4/random.4:116
8400 #, no-wrap
8401 msgid "Configuration"
8402 msgstr ""
8403
8404 #. type: Plain text
8405 #: build/C/man4/random.4:120
8406 msgid ""
8407 "If your system does not have I</dev/random> and I</dev/urandom> created "
8408 "already, they can be created with the following commands:"
8409 msgstr ""
8410
8411 #. type: Plain text
8412 #: build/C/man4/random.4:125
8413 #, no-wrap
8414 msgid ""
8415 "    mknod -m 644 /dev/random c 1 8\n"
8416 "    mknod -m 644 /dev/urandom c 1 9\n"
8417 "    chown root:root /dev/random /dev/urandom\n"
8418 msgstr ""
8419
8420 #. type: Plain text
8421 #: build/C/man4/random.4:135
8422 msgid ""
8423 "When a Linux system starts up without much operator interaction, the entropy "
8424 "pool may be in a fairly predictable state.  This reduces the actual amount "
8425 "of noise in the entropy pool below the estimate.  In order to counteract "
8426 "this effect, it helps to carry entropy pool information across shut-downs "
8427 "and start-ups.  To do this, add the following lines to an appropriate script "
8428 "which is run during the Linux system start-up sequence:"
8429 msgstr ""
8430
8431 #. type: Plain text
8432 #: build/C/man4/random.4:150
8433 #, no-wrap
8434 msgid ""
8435 "    echo \"Initializing random number generator...\"\n"
8436 "    random_seed=/var/run/random-seed\n"
8437 "    # Carry a random seed from start-up to start-up\n"
8438 "    # Load and then save the whole entropy pool\n"
8439 "    if [ -f $random_seed ]; then\n"
8440 "        cat $random_seed E<gt>/dev/urandom\n"
8441 "    else\n"
8442 "        touch $random_seed\n"
8443 "    fi\n"
8444 "    chmod 600 $random_seed\n"
8445 "    poolfile=/proc/sys/kernel/random/poolsize\n"
8446 "    [ -r $poolfile ] && bytes=\\`cat $poolfile\\` || bytes=512\n"
8447 "    dd if=/dev/urandom of=$random_seed count=1 bs=$bytes\n"
8448 msgstr ""
8449
8450 #. type: Plain text
8451 #: build/C/man4/random.4:154
8452 msgid ""
8453 "Also, add the following lines in an appropriate script which is run during "
8454 "the Linux system shutdown:"
8455 msgstr ""
8456
8457 #. type: Plain text
8458 #: build/C/man4/random.4:165
8459 #, no-wrap
8460 msgid ""
8461 "    # Carry a random seed from shut-down to start-up\n"
8462 "    # Save the whole entropy pool\n"
8463 "    echo \"Saving random seed...\"\n"
8464 "    random_seed=/var/run/random-seed\n"
8465 "    touch $random_seed\n"
8466 "    chmod 600 $random_seed\n"
8467 "    poolfile=/proc/sys/kernel/random/poolsize\n"
8468 "    [ -r $poolfile ] && bytes=\\`cat $poolfile\\` || bytes=512\n"
8469 "    dd if=/dev/urandom of=$random_seed count=1 bs=$bytes\n"
8470 msgstr ""
8471
8472 #. type: SS
8473 #: build/C/man4/random.4:166
8474 #, no-wrap
8475 msgid "/proc Interface"
8476 msgstr ""
8477
8478 #. type: Plain text
8479 #: build/C/man4/random.4:172
8480 msgid ""
8481 "The files in the directory I</proc/sys/kernel/random> (present since 2.3.16) "
8482 "provide an additional interface to the I</dev/random> device."
8483 msgstr ""
8484
8485 #. type: Plain text
8486 #: build/C/man4/random.4:178
8487 msgid ""
8488 "The read-only file I<entropy_avail> gives the available entropy.  Normally, "
8489 "this will be 4096 (bits), a full entropy pool."
8490 msgstr ""
8491
8492 #. type: Plain text
8493 #: build/C/man4/random.4:183
8494 msgid ""
8495 "The file I<poolsize> gives the size of the entropy pool.  The semantics of "
8496 "this file vary across kernel versions:"
8497 msgstr ""
8498
8499 #. type: TP
8500 #: build/C/man4/random.4:184
8501 #, no-wrap
8502 msgid "Linux 2.4:"
8503 msgstr ""
8504
8505 #. type: Plain text
8506 #: build/C/man4/random.4:191
8507 msgid ""
8508 "This file gives the size of the entropy pool in I<bytes>.  Normally, this "
8509 "file will have the value 512, but it is writable, and can be changed to any "
8510 "value for which an algorithm is available.  The choices are 32, 64, 128, "
8511 "256, 512, 1024, or 2048."
8512 msgstr ""
8513
8514 #. type: TP
8515 #: build/C/man4/random.4:191
8516 #, no-wrap
8517 msgid "Linux 2.6:"
8518 msgstr ""
8519
8520 #. type: Plain text
8521 #: build/C/man4/random.4:196
8522 msgid ""
8523 "This file is read-only, and gives the size of the entropy pool in I<bits>.  "
8524 "It contains the value 4096."
8525 msgstr ""
8526
8527 #. type: Plain text
8528 #: build/C/man4/random.4:214
8529 msgid ""
8530 "The file I<read_wakeup_threshold> contains the number of bits of entropy "
8531 "required for waking up processes that sleep waiting for entropy from "
8532 "I</dev/random>.  The default is 64.  The file I<write_wakeup_threshold> "
8533 "contains the number of bits of entropy below which we wake up processes that "
8534 "do a B<select>(2)  or B<poll>(2)  for write access to I</dev/random>.  These "
8535 "values can be changed by writing to the files."
8536 msgstr ""
8537
8538 #. type: Plain text
8539 #: build/C/man4/random.4:222
8540 msgid ""
8541 "The read-only files I<uuid> and I<boot_id> contain random strings like "
8542 "6fd5a44b-35f4-4ad4-a9b9-6b9be13e1fe9.  The former is generated afresh for "
8543 "each read, the latter was generated once."
8544 msgstr ""
8545
8546 #. type: SS
8547 #: build/C/man4/random.4:222
8548 #, no-wrap
8549 msgid "ioctl(2) interface"
8550 msgstr ""
8551
8552 #. type: Plain text
8553 #: build/C/man4/random.4:233
8554 msgid ""
8555 "The following B<ioctl>(2)  requests are defined on file descriptors "
8556 "connected to either I</dev/random> or I</dev/urandom>.  All requests "
8557 "performed will interact with the input entropy pool impacting both "
8558 "I</dev/random> and I</dev/urandom>.  The B<CAP_SYS_ADMIN> capability is "
8559 "required for all requests except B<RNDGETENTCNT>."
8560 msgstr ""
8561
8562 #. type: TP
8563 #: build/C/man4/random.4:233
8564 #, no-wrap
8565 msgid "B<RNDGETENTCNT>"
8566 msgstr ""
8567
8568 #. type: Plain text
8569 #: build/C/man4/random.4:240
8570 msgid ""
8571 "Retrieve the entropy count of the input pool, the contents will be the same "
8572 "as the I<entropy_avail> file under proc.  The result will be stored in the "
8573 "int pointed to by the argument."
8574 msgstr ""
8575
8576 #. type: TP
8577 #: build/C/man4/random.4:240
8578 #, no-wrap
8579 msgid "B<RNDADDTOENTCNT>"
8580 msgstr ""
8581
8582 #. type: Plain text
8583 #: build/C/man4/random.4:244
8584 msgid ""
8585 "Increment or decrement the entropy count of the input pool by the value "
8586 "pointed to by the argument."
8587 msgstr ""
8588
8589 #. type: TP
8590 #: build/C/man4/random.4:244
8591 #, no-wrap
8592 msgid "B<RNDGETPOOL>"
8593 msgstr ""
8594
8595 #. type: Plain text
8596 #: build/C/man4/random.4:247
8597 msgid "Removed in Linux 2.6.9."
8598 msgstr ""
8599
8600 #. type: TP
8601 #: build/C/man4/random.4:247
8602 #, no-wrap
8603 msgid "B<RNDADDENTROPY>"
8604 msgstr ""
8605
8606 #. type: Plain text
8607 #: build/C/man4/random.4:255
8608 msgid ""
8609 "Add some additional entropy to the input pool, incrementing the entropy "
8610 "count.  This differs from writing to I</dev/random> or I</dev/urandom>, "
8611 "which only adds some data but does not increment the entropy count.  The "
8612 "following structure is used:"
8613 msgstr ""
8614
8615 #. type: Plain text
8616 #: build/C/man4/random.4:262
8617 #, no-wrap
8618 msgid ""
8619 "    struct rand_pool_info {\n"
8620 "        int    entropy_count;\n"
8621 "        int    buf_size;\n"
8622 "        __u32  buf[0];\n"
8623 "    };\n"
8624 msgstr ""
8625
8626 #. type: Plain text
8627 #: build/C/man4/random.4:271
8628 msgid ""
8629 "Here I<entropy_count> is the value added to (or subtracted from) the entropy "
8630 "count, and I<buf> is the buffer of size I<buf_size> which gets added to the "
8631 "entropy pool."
8632 msgstr ""
8633
8634 #. type: TP
8635 #: build/C/man4/random.4:271
8636 #, no-wrap
8637 msgid "B<RNDZAPENTCNT>, B<RNDCLEARPOOL>"
8638 msgstr ""
8639
8640 #. type: Plain text
8641 #: build/C/man4/random.4:275
8642 msgid ""
8643 "Zero the entropy count of all pools and add some system data (such as wall "
8644 "clock) to the pools."
8645 msgstr ""
8646
8647 #. type: Plain text
8648 #: build/C/man4/random.4:277
8649 msgid "/dev/random"
8650 msgstr ""
8651
8652 #.  .SH AUTHOR
8653 #.  The kernel's random number generator was written by
8654 #.  Theodore Ts'o (tytso@athena.mit.edu).
8655 #. type: Plain text
8656 #: build/C/man4/random.4:282
8657 msgid "/dev/urandom"
8658 msgstr ""
8659
8660 #. type: Plain text
8661 #: build/C/man4/random.4:284
8662 msgid "B<mknod>(1)"
8663 msgstr ""
8664
8665 #. type: Plain text
8666 #: build/C/man4/random.4:286
8667 msgid "RFC\\ 1750, \"Randomness Recommendations for Security\""
8668 msgstr ""
8669
8670 #. type: TH
8671 #: build/C/man4/sd.4:26
8672 #, no-wrap
8673 msgid "SD"
8674 msgstr ""
8675
8676 #. type: TH
8677 #: build/C/man4/sd.4:26
8678 #, no-wrap
8679 msgid "2012-05-03"
8680 msgstr ""
8681
8682 #. type: Plain text
8683 #: build/C/man4/sd.4:29
8684 msgid "sd - driver for SCSI disk drives"
8685 msgstr ""
8686
8687 #. type: Plain text
8688 #: build/C/man4/sd.4:33
8689 #, no-wrap
8690 msgid ""
8691 "B<#include E<lt>linux/hdreg.hE<gt>        >/* for HDIO_GETGEO */\n"
8692 "B<#include E<lt>linux/fs.hE<gt>           >/* for BLKGETSIZE and BLKRRPART "
8693 "*/\n"
8694 msgstr ""
8695
8696 #. type: Plain text
8697 #: build/C/man4/sd.4:45
8698 msgid ""
8699 "The block device name has the following form: B<sd>I<lp,> where I<l> is a "
8700 "letter denoting the physical drive, and I<p> is a number denoting the "
8701 "partition on that physical drive.  Often, the partition number, I<p>, will "
8702 "be left off when the device corresponds to the whole drive."
8703 msgstr ""
8704
8705 #. type: Plain text
8706 #: build/C/man4/sd.4:54
8707 msgid ""
8708 "SCSI disks have a major device number of 8, and a minor device number of the "
8709 "form (16 * I<drive_number>) + I<partition_number>, where I<drive_number> is "
8710 "the number of the physical drive in order of detection, and "
8711 "I<partition_number> is as follows:"
8712 msgstr ""
8713
8714 #. type: Plain text
8715 #: build/C/man4/sd.4:56
8716 msgid "partition 0 is the whole drive"
8717 msgstr ""
8718
8719 #. type: Plain text
8720 #: build/C/man4/sd.4:58
8721 msgid "partitions 1-4 are the DOS \"primary\" partitions"
8722 msgstr ""
8723
8724 #. type: Plain text
8725 #: build/C/man4/sd.4:60
8726 msgid "partitions 5-8 are the DOS \"extended\" (or \"logical\") partitions"
8727 msgstr ""
8728
8729 #. type: Plain text
8730 #: build/C/man4/sd.4:68
8731 msgid ""
8732 "For example, I</dev/sda> will have major 8, minor 0, and will refer to all "
8733 "of the first SCSI drive in the system; and I</dev/sdb3> will have major 8, "
8734 "minor 19, and will refer to the third DOS \"primary\" partition on the "
8735 "second SCSI drive in the system."
8736 msgstr ""
8737
8738 #. type: Plain text
8739 #: build/C/man4/sd.4:71
8740 msgid ""
8741 "At this time, only block devices are provided.  Raw devices have not yet "
8742 "been implemented."
8743 msgstr ""
8744
8745 #. type: Plain text
8746 #: build/C/man4/sd.4:75
8747 msgid "The following I<ioctl>s are provided:"
8748 msgstr ""
8749
8750 #. type: TP
8751 #: build/C/man4/sd.4:75
8752 #, no-wrap
8753 msgid "B<HDIO_GETGEO>"
8754 msgstr ""
8755
8756 #. type: Plain text
8757 #: build/C/man4/sd.4:79
8758 msgid "Returns the BIOS disk parameters in the following structure:"
8759 msgstr ""
8760
8761 #. type: Plain text
8762 #: build/C/man4/sd.4:88
8763 #, no-wrap
8764 msgid ""
8765 "struct hd_geometry {\n"
8766 "    unsigned char  heads;\n"
8767 "    unsigned char  sectors;\n"
8768 "    unsigned short cylinders;\n"
8769 "    unsigned long  start;\n"
8770 "};\n"
8771 msgstr ""
8772
8773 #. type: Plain text
8774 #: build/C/man4/sd.4:94
8775 msgid "A pointer to this structure is passed as the B<ioctl>(2)  parameter."
8776 msgstr ""
8777
8778 #. type: Plain text
8779 #: build/C/man4/sd.4:109
8780 msgid ""
8781 "The information returned in the parameter is the disk geometry of the drive "
8782 "I<as understood by DOS!> This geometry is I<not> the physical geometry of "
8783 "the drive.  It is used when constructing the drive's partition table, "
8784 "however, and is needed for convenient operation of B<fdisk>(1), "
8785 "B<efdisk>(1), and B<lilo>(1).  If the geometry information is not available, "
8786 "zero will be returned for all of the parameters."
8787 msgstr ""
8788
8789 #. type: TP
8790 #: build/C/man4/sd.4:110
8791 #, no-wrap
8792 msgid "B<BLKGETSIZE>"
8793 msgstr ""
8794
8795 #. type: Plain text
8796 #: build/C/man4/sd.4:117
8797 msgid ""
8798 "Returns the device size in sectors.  The B<ioctl>(2)  parameter should be a "
8799 "pointer to a I<long>."
8800 msgstr ""
8801
8802 #. type: TP
8803 #: build/C/man4/sd.4:117
8804 #, no-wrap
8805 msgid "B<BLKRRPART>"
8806 msgstr ""
8807
8808 #. type: Plain text
8809 #: build/C/man4/sd.4:121
8810 msgid "Forces a reread of the SCSI disk partition tables.  No parameter is needed."
8811 msgstr ""
8812
8813 #. type: Plain text
8814 #: build/C/man4/sd.4:131
8815 msgid ""
8816 "The SCSI B<ioctl>(2)  operations are also supported.  If the B<ioctl>(2)  "
8817 "parameter is required, and it is NULL, then B<ioctl>(2)  will fail with the "
8818 "error B<EINVAL>."
8819 msgstr ""
8820
8821 #. type: Plain text
8822 #: build/C/man4/sd.4:133
8823 msgid "/dev/sd[a-h]: the whole device"
8824 msgstr ""
8825
8826 #. .SH "SEE ALSO"
8827 #. .BR scsi (4)
8828 #. type: Plain text
8829 #: build/C/man4/sd.4:137
8830 msgid "/dev/sd[a-h][0-8]: individual block partitions"
8831 msgstr ""
8832
8833 #. type: TH
8834 #: build/C/man3/setlogmask.3:25
8835 #, no-wrap
8836 msgid "SETLOGMASK"
8837 msgstr ""
8838
8839 #. type: TH
8840 #: build/C/man3/setlogmask.3:25
8841 #, no-wrap
8842 msgid "2001-10-05"
8843 msgstr ""
8844
8845 #. type: Plain text
8846 #: build/C/man3/setlogmask.3:28
8847 msgid "setlogmask - set log priority mask"
8848 msgstr ""
8849
8850 #. type: Plain text
8851 #: build/C/man3/setlogmask.3:31
8852 #, no-wrap
8853 msgid "B<#include E<lt>syslog.hE<gt>>\n"
8854 msgstr ""
8855
8856 #. type: Plain text
8857 #: build/C/man3/setlogmask.3:33
8858 #, no-wrap
8859 msgid "B<int setlogmask(int >I<mask>B<);>\n"
8860 msgstr ""
8861
8862 #. type: Plain text
8863 #: build/C/man3/setlogmask.3:43
8864 msgid ""
8865 "A process has a log priority mask that determines which calls to "
8866 "B<syslog>(3)  may be logged.  All other calls will be ignored.  Logging is "
8867 "enabled for the priorities that have the corresponding bit set in I<mask>.  "
8868 "The initial mask is such that logging is enabled for all priorities."
8869 msgstr ""
8870
8871 #. type: Plain text
8872 #: build/C/man3/setlogmask.3:49
8873 msgid ""
8874 "The B<setlogmask>()  function sets this logmask for the calling process, and "
8875 "returns the previous mask.  If the mask argument is 0, the current logmask "
8876 "is not modified."
8877 msgstr ""
8878
8879 #. type: Plain text
8880 #: build/C/man3/setlogmask.3:69
8881 msgid ""
8882 "The eight priorities are B<LOG_EMERG>, B<LOG_ALERT>, B<LOG_CRIT>, "
8883 "B<LOG_ERR>, B<LOG_WARNING>, B<LOG_NOTICE>, B<LOG_INFO>, and B<LOG_DEBUG>.  "
8884 "The bit corresponding to a priority I<p> is I<LOG_MASK(p)>.  Some systems "
8885 "also provide a macro I<LOG_UPTO(p)> for the mask of all priorities in the "
8886 "above list up to and including I<p>."
8887 msgstr ""
8888
8889 #. type: Plain text
8890 #: build/C/man3/setlogmask.3:71
8891 msgid "This function returns the previous log priority mask."
8892 msgstr ""
8893
8894 #.  .SH NOTES
8895 #.  The glibc logmask handling was broken in versions before glibc 2.1.1.
8896 #. type: Plain text
8897 #: build/C/man3/setlogmask.3:75
8898 msgid "None."
8899 msgstr ""
8900
8901 #. type: Plain text
8902 #: build/C/man3/setlogmask.3:78
8903 msgid "POSIX.1-2001.  Note that the description in POSIX.1-2001 is flawed."
8904 msgstr ""
8905
8906 #. type: Plain text
8907 #: build/C/man3/setlogmask.3:82
8908 msgid "B<closelog>(3), B<openlog>(3), B<syslog>(3)"
8909 msgstr ""
8910
8911 #. type: TH
8912 #: build/C/man4/sk98lin.4:27
8913 #, no-wrap
8914 msgid "SK98LIN"
8915 msgstr ""
8916
8917 #. type: Plain text
8918 #: build/C/man4/sk98lin.4:30
8919 msgid "sk98lin - Marvell/SysKonnect Gigabit Ethernet driver v6.21"
8920 msgstr ""
8921
8922 #. type: Plain text
8923 #: build/C/man4/sk98lin.4:62
8924 msgid ""
8925 "B<insmod sk98lin.o> [B<Speed_A=>I<i,j,...>] [B<Speed_B=>I<i,j,...>] "
8926 "[B<AutoNeg_A=>I<i,j,...>] [B<AutoNeg_B=>I<i,j,...>] [B<DupCap_A=>I<i,j,...>] "
8927 "[B<DupCap_B=>I<i,j,...>] [B<FlowCtrl_A=>I<i,j,...>] "
8928 "[B<FlowCtrl_B=>I<i,j,...>] [B<Role_A=>I<i,j,...>] [B<Role_B=>I<i,j,...>] "
8929 "[B<ConType=>I<i,j,...>] [B<Moderation=>I<i,j,...>] "
8930 "[B<IntsPerSec=>I<i,j,...>] [B<PrefPort=>I<i,j,...>] [B<RlmtMode=>I<i,j,...>]"
8931 msgstr ""
8932
8933 #. type: Plain text
8934 #: build/C/man4/sk98lin.4:67
8935 msgid "B<Note>: This obsolete driver was removed from the kernel in version 2.6.26."
8936 msgstr ""
8937
8938 #. type: Plain text
8939 #: build/C/man4/sk98lin.4:74
8940 msgid ""
8941 "B<sk98lin> is the Gigabit Ethernet driver for Marvell and SysKonnect network "
8942 "adapter cards.  It supports SysKonnect SK-98xx/SK-95xx compliant Gigabit "
8943 "Ethernet Adapter and any Yukon compliant chipset."
8944 msgstr ""
8945
8946 #. type: Plain text
8947 #: build/C/man4/sk98lin.4:81
8948 msgid ""
8949 "When loading the driver using insmod, parameters for the network adapter "
8950 "cards might be stated as a sequence of comma separated commands.  If for "
8951 "instance two network adapters are installed and AutoNegotiation on Port A of "
8952 "the first adapter should be ON, but on the Port A of the second adapter "
8953 "switched OFF, one must enter:"
8954 msgstr ""
8955
8956 #. type: Plain text
8957 #: build/C/man4/sk98lin.4:83
8958 #, no-wrap
8959 msgid "   insmod sk98lin.o AutoNeg_A=On,Off\n"
8960 msgstr ""
8961
8962 #. type: Plain text
8963 #: build/C/man4/sk98lin.4:98
8964 msgid ""
8965 "After B<sk98lin> is bound to one or more adapter cards and the I</proc> "
8966 "filesystem is mounted on your system, a dedicated statistics file will be "
8967 "created in the folder I</proc/net/sk98lin> for all ports of the installed "
8968 "network adapter cards.  Those files are named I<eth[x]>, where I<x> is the "
8969 "number of the interface that has been assigned to a dedicated port by the "
8970 "system."
8971 msgstr ""
8972
8973 #. type: Plain text
8974 #: build/C/man4/sk98lin.4:108
8975 msgid ""
8976 "If loading is finished, any desired IP address can be assigned to the "
8977 "respective I<eth[x]> interface using the B<ifconfig>(8)  command.  This "
8978 "causes the adapter to connect to the Ethernet and to display a status "
8979 "message on the console saying \"ethx: network connection up using port y\" "
8980 "followed by the configured or detected connection parameters."
8981 msgstr ""
8982
8983 #. type: Plain text
8984 #: build/C/man4/sk98lin.4:124
8985 msgid ""
8986 "The B<sk98lin> also supports large frames (also called jumbo frames).  Using "
8987 "jumbo frames can improve throughput tremendously when transferring large "
8988 "amounts of data.  To enable large frames, the MTU (maximum transfer unit) "
8989 "size for an interface is to be set to a high value.  The default MTU size is "
8990 "1500 and can be changed up to 9000 (bytes).  Setting the MTU size can be "
8991 "done when assigning the IP address to the interface or later by using the "
8992 "B<ifconfig>(8)  command with the mtu parameter.  If for instance eth0 needs "
8993 "an IP address and a large frame MTU size, the following two commands might "
8994 "be used:"
8995 msgstr ""
8996
8997 #. type: Plain text
8998 #: build/C/man4/sk98lin.4:127
8999 #, no-wrap
9000 msgid ""
9001 "    ifconfig eth0 10.1.1.1\n"
9002 "    ifconfig eth0 mtu 9000\n"
9003 msgstr ""
9004
9005 #. type: Plain text
9006 #: build/C/man4/sk98lin.4:129
9007 msgid "Those two commands might even be combined into one:"
9008 msgstr ""
9009
9010 #. type: Plain text
9011 #: build/C/man4/sk98lin.4:131
9012 #, no-wrap
9013 msgid "    ifconfig eth0 10.1.1.1 mtu 9000\n"
9014 msgstr ""
9015
9016 #. type: Plain text
9017 #: build/C/man4/sk98lin.4:144
9018 msgid ""
9019 "Note that large frames can be used only if permitted by your network "
9020 "infrastructure.  This means, that any switch being used in your Ethernet "
9021 "must also support large frames.  Quite some switches support large frames, "
9022 "but need to be configured to do so.  Most of the times, their default "
9023 "setting is to support only standard frames with an MTU size of 1500 "
9024 "(bytes).  In addition to the switches inside the network, all network "
9025 "adapters that are to be used must also be enabled regarding jumbo frames.  "
9026 "If an adapter is not set to receive large frames, it will simply drop them."
9027 msgstr ""
9028
9029 #. type: Plain text
9030 #: build/C/man4/sk98lin.4:148
9031 msgid ""
9032 "Switching back to the standard Ethernet frame size can be done by using the "
9033 "B<ifconfig>(8)  command again:"
9034 msgstr ""
9035
9036 #. type: Plain text
9037 #: build/C/man4/sk98lin.4:150
9038 #, no-wrap
9039 msgid "    ifconfig eth0 mtu 1500\n"
9040 msgstr ""
9041
9042 #. type: Plain text
9043 #: build/C/man4/sk98lin.4:156
9044 msgid ""
9045 "The Marvell/SysKonnect Gigabit Ethernet driver for Linux is able to support "
9046 "VLAN and Link Aggregation according to IEEE standards 802.1, 802.1q, and "
9047 "802.3ad.  Those features are available only after installation of open "
9048 "source modules which can be found on the Internet:"
9049 msgstr ""
9050
9051 #. type: Plain text
9052 #: build/C/man4/sk98lin.4:161
9053 msgid "I<VLAN>: E<.UR http://www.candelatech.com\\:/~greear\\:/vlan.html> E<.UE>"
9054 msgstr ""
9055
9056 #. type: Plain text
9057 #: build/C/man4/sk98lin.4:167
9058 msgid "I<Link> I<Aggregation>: E<.UR http://www.st.rim.or.jp\\:/~yumo> E<.UE>"
9059 msgstr ""
9060
9061 #. type: Plain text
9062 #: build/C/man4/sk98lin.4:172
9063 msgid ""
9064 "Note that Marvell/SysKonnect does not offer any support for these open "
9065 "source modules and does not take the responsibility for any kind of failures "
9066 "or problems arising when using these modules."
9067 msgstr ""
9068
9069 #. type: SS
9070 #: build/C/man4/sk98lin.4:172 build/C/man4/wavelan.4:39
9071 #, no-wrap
9072 msgid "Parameters"
9073 msgstr ""
9074
9075 #. type: TP
9076 #: build/C/man4/sk98lin.4:173
9077 #, no-wrap
9078 msgid "B<Speed_A=>I<i,j,...>"
9079 msgstr ""
9080
9081 #. type: Plain text
9082 #: build/C/man4/sk98lin.4:190
9083 msgid ""
9084 "This parameter is used to set the speed capabilities of port A of an adapter "
9085 "card.  It is valid only for Yukon copper adapters.  Possible values are: "
9086 "I<10>, I<100>, I<1000>, or I<Auto>; I<Auto> is the default.  Usually, the "
9087 "speed is negotiated between the two ports during link establishment.  If "
9088 "this fails, a port can be forced to a specific setting with this parameter."
9089 msgstr ""
9090
9091 #. type: TP
9092 #: build/C/man4/sk98lin.4:190
9093 #, no-wrap
9094 msgid "B<Speed_B=>I<i,j,...>"
9095 msgstr ""
9096
9097 #. type: Plain text
9098 #: build/C/man4/sk98lin.4:207
9099 msgid ""
9100 "This parameter is used to set the speed capabilities of port B of an adapter "
9101 "card.  It is valid only for Yukon copper adapters.  Possible values are: "
9102 "I<10>, I<100>, I<1000>, or I<Auto>; I<Auto> is the default.  Usually, the "
9103 "speed is negotiated between the two ports during link establishment.  If "
9104 "this fails, a port can be forced to a specific setting with this parameter."
9105 msgstr ""
9106
9107 #. type: TP
9108 #: build/C/man4/sk98lin.4:207
9109 #, no-wrap
9110 msgid "B<AutoNeg_A=>I<i,j,...>"
9111 msgstr ""
9112
9113 #. type: Plain text
9114 #: build/C/man4/sk98lin.4:221
9115 msgid ""
9116 "Enables or disables the use of autonegotiation of port A of an adapter "
9117 "card.  Possible values are: I<On>, I<Off>, or I<Sense>; I<On> is the "
9118 "default.  The I<Sense> mode automatically detects whether the link partner "
9119 "supports auto-negotiation or not."
9120 msgstr ""
9121
9122 #. type: TP
9123 #: build/C/man4/sk98lin.4:221
9124 #, no-wrap
9125 msgid "B<AutoNeg_B=>I<i,j,...>"
9126 msgstr ""
9127
9128 #. type: Plain text
9129 #: build/C/man4/sk98lin.4:235
9130 msgid ""
9131 "Enables or disables the use of autonegotiation of port B of an adapter "
9132 "card.  Possible values are: I<On>, I<Off>, or I<Sense>; I<On> is the "
9133 "default.  The I<Sense> mode automatically detects whether the link partner "
9134 "supports auto-negotiation or not."
9135 msgstr ""
9136
9137 #. type: TP
9138 #: build/C/man4/sk98lin.4:235
9139 #, no-wrap
9140 msgid "B<DupCap_A=>I<i,j,...>"
9141 msgstr ""
9142
9143 #. type: Plain text
9144 #: build/C/man4/sk98lin.4:265
9145 msgid ""
9146 "This parameter indicates the duplex mode to be used for port A of an adapter "
9147 "card.  Possible values are: I<Half>, I<Full>, or I<Both>; I<Both> is the "
9148 "default.  This parameter is relevant only if AutoNeg_A of port A is not set "
9149 "to I<Sense>.  If AutoNeg_A is set to I<On>, all three values of DupCap_A ( "
9150 "I<Half>, I<Full> or I<Both>)  might be stated.  If AutoNeg_A is set to "
9151 "I<Off>, only DupCap_A values I<Full> and I<Half> are allowed.  This DupCap_A "
9152 "parameter is useful if your link partner does not support all possible "
9153 "duplex combinations."
9154 msgstr ""
9155
9156 #. type: TP
9157 #: build/C/man4/sk98lin.4:265
9158 #, no-wrap
9159 msgid "B<DupCap_B=>I<i,j,...>"
9160 msgstr ""
9161
9162 #. type: Plain text
9163 #: build/C/man4/sk98lin.4:295
9164 msgid ""
9165 "This parameter indicates the duplex mode to be used for port B of an adapter "
9166 "card.  Possible values are: I<Half>, I<Full>, or I<Both>; I<Both> is the "
9167 "default.  This parameter is relevant only if AutoNeg_B of port B is not set "
9168 "to I<Sense>.  If AutoNeg_B is set to I<On>, all three values of DupCap_B ( "
9169 "I<Half>, I<Full> or I<Both>)  might be stated.  If AutoNeg_B is set to "
9170 "I<Off>, only DupCap_B values I<Full> and I<Half> are allowed.  This DupCap_B "
9171 "parameter is useful if your link partner does not support all possible "
9172 "duplex combinations."
9173 msgstr ""
9174
9175 #. type: TP
9176 #: build/C/man4/sk98lin.4:295
9177 #, no-wrap
9178 msgid "B<FlowCtrl_A=>I<i,j,...>"
9179 msgstr ""
9180
9181 #. type: Plain text
9182 #: build/C/man4/sk98lin.4:308 build/C/man4/sk98lin.4:341
9183 msgid ""
9184 "This parameter can be used to set the flow control capabilities the port "
9185 "reports during auto-negotiation.  Possible values are: I<Sym>, I<SymOrRem>, "
9186 "I<LocSend>, or I<None>; I<SymOrRem> is the default.  The different modes "
9187 "have the following meaning:"
9188 msgstr ""
9189
9190 #. type: Plain text
9191 #: build/C/man4/sk98lin.4:313 build/C/man4/sk98lin.4:345
9192 #, no-wrap
9193 msgid ""
9194 "I<Sym>\n"
9195 "= Symmetric\n"
9196 " both link partners are allowed to send PAUSE frames\n"
9197 msgstr ""
9198
9199 #. type: Plain text
9200 #: build/C/man4/sk98lin.4:317 build/C/man4/sk98lin.4:349
9201 #, no-wrap
9202 msgid ""
9203 "I<SymOrRem>\n"
9204 "= SymmetricOrRemote\n"
9205 " both or only remote partner are allowed to send PAUSE frames\n"
9206 msgstr ""
9207
9208 #. type: Plain text
9209 #: build/C/man4/sk98lin.4:321 build/C/man4/sk98lin.4:353
9210 #, no-wrap
9211 msgid ""
9212 "I<LocSend>\n"
9213 "= LocalSend\n"
9214 " only local link partner is allowed to send PAUSE frames\n"
9215 msgstr ""
9216
9217 #. type: Plain text
9218 #: build/C/man4/sk98lin.4:325 build/C/man4/sk98lin.4:357
9219 #, no-wrap
9220 msgid ""
9221 "I<None>\n"
9222 "= None\n"
9223 " no link partner is allowed to send PAUSE frames\n"
9224 msgstr ""
9225
9226 #. type: Plain text
9227 #: build/C/man4/sk98lin.4:328
9228 msgid "Note that this parameter is ignored if AutoNeg_A is set to I<Off>."
9229 msgstr ""
9230
9231 #. type: TP
9232 #: build/C/man4/sk98lin.4:328
9233 #, no-wrap
9234 msgid "B<FlowCtrl_B=>I<i,j,...>"
9235 msgstr ""
9236
9237 #. type: Plain text
9238 #: build/C/man4/sk98lin.4:361
9239 msgid "Note that this parameter is ignored if AutoNeg_B is set to I<Off>."
9240 msgstr ""
9241
9242 #. type: TP
9243 #: build/C/man4/sk98lin.4:361
9244 #, no-wrap
9245 msgid "B<Role_A=>I<i,j,...>"
9246 msgstr ""
9247
9248 #. type: Plain text
9249 #: build/C/man4/sk98lin.4:377
9250 msgid ""
9251 "This parameter is valid only for 1000Base-T adapter cards.  For two "
9252 "1000Base-T ports to communicate, one must take the role of the master "
9253 "(providing timing information), while the other must be the slave.  Possible "
9254 "values are: I<Auto>, I<Master>, or I<Slave>; I<Auto> is the default.  "
9255 "Usually, the role of a port is negotiated between two ports during link "
9256 "establishment, but if that fails the port A of an adapter card can be forced "
9257 "to a specific setting with this parameter."
9258 msgstr ""
9259
9260 #. type: TP
9261 #: build/C/man4/sk98lin.4:377
9262 #, no-wrap
9263 msgid "B<Role_B=>I<i,j,...>"
9264 msgstr ""
9265
9266 #. type: Plain text
9267 #: build/C/man4/sk98lin.4:394
9268 msgid ""
9269 "This parameter is valid only for 1000Base-T adapter cards.  For two "
9270 "1000Base-T ports to communicate, one must take the role of the master "
9271 "(providing timing information), while the other must be the slave.  Possible "
9272 "values are: I<Auto>, I<Master>, or I<Slave>; I<Auto> is the default.  "
9273 "Usually, the role of a port is negotiated between two ports during link "
9274 "establishment, but if that fails the port B of an adapter card can be forced "
9275 "to a specific setting with this parameter."
9276 msgstr ""
9277
9278 #. type: TP
9279 #: build/C/man4/sk98lin.4:394
9280 #, no-wrap
9281 msgid "B<ConType=>I<i,j,...>"
9282 msgstr ""
9283
9284 #. type: Plain text
9285 #: build/C/man4/sk98lin.4:402
9286 msgid ""
9287 "This parameter is a combination of all five per-port parameters within one "
9288 "single parameter.  This simplifies the configuration of both ports of an "
9289 "adapter card.  The different values of this variable reflect the most "
9290 "meaningful combinations of port parameters.  Possible values and their "
9291 "corresponding combination of per-port parameters:"
9292 msgstr ""
9293
9294 #. type: Plain text
9295 #: build/C/man4/sk98lin.4:407
9296 #, no-wrap
9297 msgid ""
9298 "ConType | DupCap   AutoNeg   FlowCtrl   Role   Speed\n"
9299 "--------+-------------------------------------------\n"
9300 "I<Auto>    |  Both      On      SymOrRem   Auto   Auto\n"
9301 msgstr ""
9302
9303 #. type: Plain text
9304 #: build/C/man4/sk98lin.4:409
9305 #, no-wrap
9306 msgid "I<100FD>   |  Full      Off       None     Auto   100\n"
9307 msgstr ""
9308
9309 #. type: Plain text
9310 #: build/C/man4/sk98lin.4:411
9311 #, no-wrap
9312 msgid "I<100HD>   |  Half      Off       None     Auto   100\n"
9313 msgstr ""
9314
9315 #. type: Plain text
9316 #: build/C/man4/sk98lin.4:413
9317 #, no-wrap
9318 msgid "I<10FD>    |  Full      Off       None     Auto   10\n"
9319 msgstr ""
9320
9321 #. type: Plain text
9322 #: build/C/man4/sk98lin.4:415
9323 #, no-wrap
9324 msgid "I<10HD>    |  Half      Off       None     Auto   10\n"
9325 msgstr ""
9326
9327 #. type: Plain text
9328 #: build/C/man4/sk98lin.4:425
9329 msgid ""
9330 "Stating any other port parameter together with this I<ConType> parameter "
9331 "will result in a merged configuration of those settings.  This is due to the "
9332 "fact, that the per-port parameters (e.g., I<Speed_A>)  have a higher "
9333 "priority than the combined variable I<ConType>."
9334 msgstr ""
9335
9336 #. type: TP
9337 #: build/C/man4/sk98lin.4:425
9338 #, no-wrap
9339 msgid "B<Moderation=>I<i,j,...>"
9340 msgstr ""
9341
9342 #. type: Plain text
9343 #: build/C/man4/sk98lin.4:442
9344 msgid ""
9345 "Interrupt moderation is employed to limit the maximum number of interrupts "
9346 "the driver has to serve.  That is, one or more interrupts (which indicate "
9347 "any transmit or receive packet to be processed) are queued until the driver "
9348 "processes them.  When queued interrupts are to be served, is determined by "
9349 "the I<IntsPerSec> parameter, which is explained later below.  Possible "
9350 "moderation modes are: I<None>, I<Static>, or I<Dynamic>; I<None> is the "
9351 "default.  The different modes have the following meaning:"
9352 msgstr ""
9353
9354 #. type: Plain text
9355 #: build/C/man4/sk98lin.4:447
9356 msgid ""
9357 "I<None> No interrupt moderation is applied on the adapter card.  Therefore, "
9358 "each transmit or receive interrupt is served immediately as soon as it "
9359 "appears on the interrupt line of the adapter card."
9360 msgstr ""
9361
9362 #. type: Plain text
9363 #: build/C/man4/sk98lin.4:462
9364 msgid ""
9365 "I<Static> Interrupt moderation is applied on the adapter card.  All transmit "
9366 "and receive interrupts are queued until a complete moderation interval "
9367 "ends.  If such a moderation interval ends, all queued interrupts are "
9368 "processed in one big bunch without any delay.  The term I<Static> reflects "
9369 "the fact, that interrupt moderation is always enabled, regardless how much "
9370 "network load is currently passing via a particular interface.  In addition, "
9371 "the duration of the moderation interval has a fixed length that never "
9372 "changes while the driver is operational."
9373 msgstr ""
9374
9375 #. type: Plain text
9376 #: build/C/man4/sk98lin.4:473
9377 msgid ""
9378 "I<Dynamic> Interrupt moderation might be applied on the adapter card, "
9379 "depending on the load of the system.  If the driver detects that the system "
9380 "load is too high, the driver tries to shield the system against too much "
9381 "network load by enabling interrupt moderation.  If\\(emat a later "
9382 "time\\(emthe CPU utilization decreases again (or if the network load is "
9383 "negligible), the interrupt moderation will automatically be disabled."
9384 msgstr ""
9385
9386 #. type: Plain text
9387 #: build/C/man4/sk98lin.4:479
9388 msgid ""
9389 "Interrupt moderation should be used when the driver has to handle one or "
9390 "more interfaces with a high network load, which\\(emas a "
9391 "consequence\\(emleads also to a high CPU utilization.  When moderation is "
9392 "applied in such high network load situations, CPU load might be reduced by "
9393 "20-30% on slow computers."
9394 msgstr ""
9395
9396 #. type: Plain text
9397 #: build/C/man4/sk98lin.4:483
9398 msgid ""
9399 "Note that the drawback of using interrupt moderation is an increase of the "
9400 "round-trip-time (RTT), due to the queuing and serving of interrupts at "
9401 "dedicated moderation times."
9402 msgstr ""
9403
9404 #. type: TP
9405 #: build/C/man4/sk98lin.4:483
9406 #, no-wrap
9407 msgid "B<IntsPerSec=>I<i,j,...>"
9408 msgstr ""
9409
9410 #. type: Plain text
9411 #: build/C/man4/sk98lin.4:493
9412 msgid ""
9413 "This parameter determines the length of any interrupt moderation interval.  "
9414 "Assuming that static interrupt moderation is to be used, an I<IntsPerSec> "
9415 "parameter value of 2000 will lead to an interrupt moderation interval of 500 "
9416 "microseconds.  Possible values for this parameter are in the range of "
9417 "30...40000 (interrupts per second).  The default value is 2000."
9418 msgstr ""
9419
9420 #. type: Plain text
9421 #: build/C/man4/sk98lin.4:497
9422 msgid ""
9423 "This parameter is used only if either static or dynamic interrupt moderation "
9424 "is enabled on a network adapter card.  This parameter is ignored if no "
9425 "moderation is applied."
9426 msgstr ""
9427
9428 #. type: Plain text
9429 #: build/C/man4/sk98lin.4:504
9430 msgid ""
9431 "Note that the duration of the moderation interval is to be chosen with "
9432 "care.  At first glance, selecting a very long duration (e.g., only 100 "
9433 "interrupts per second) seems to be meaningful, but the increase of "
9434 "packet-processing delay is tremendous.  On the other hand, selecting a very "
9435 "short moderation time might compensate the use of any moderation being "
9436 "applied."
9437 msgstr ""
9438
9439 #. type: TP
9440 #: build/C/man4/sk98lin.4:504
9441 #, no-wrap
9442 msgid "B<PrefPort=>I<i,j,...>"
9443 msgstr ""
9444
9445 #. type: Plain text
9446 #: build/C/man4/sk98lin.4:516
9447 msgid ""
9448 "This parameter is used to force the preferred port to A or B (on dual-port "
9449 "network adapters).  The preferred port is the one that is used if both ports "
9450 "A and B are detected as fully functional.  Possible values are: I<A> or "
9451 "I<B>; I<A> is the default."
9452 msgstr ""
9453
9454 #. type: TP
9455 #: build/C/man4/sk98lin.4:516
9456 #, no-wrap
9457 msgid "B<RlmtMode=>I<i,j,...>"
9458 msgstr ""
9459
9460 #. type: Plain text
9461 #: build/C/man4/sk98lin.4:532
9462 msgid ""
9463 "RLMT monitors the status of the port.  If the link of the active port fails, "
9464 "RLMT switches immediately to the standby link.  The virtual link is "
9465 "maintained as long as at least one \"physical\" link is up.  This parameters "
9466 "states how RLMT should monitor both ports.  Possible values are: "
9467 "I<CheckLinkState>, I<CheckLocalPort>, I<CheckSeg>, or I<DualNet>; "
9468 "I<CheckLinkState> is the default.  The different modes have the following "
9469 "meaning:"
9470 msgstr ""
9471
9472 #. type: Plain text
9473 #: build/C/man4/sk98lin.4:537
9474 msgid ""
9475 "I<CheckLinkState> Check link state only: RLMT uses the link state reported "
9476 "by the adapter hardware for each individual port to determine whether a port "
9477 "can be used for all network traffic or not."
9478 msgstr ""
9479
9480 #. type: Plain text
9481 #: build/C/man4/sk98lin.4:545
9482 msgid ""
9483 "I<CheckLocalPort> In this mode, RLMT monitors the network path between the "
9484 "two ports of an adapter by regularly exchanging packets between them.  This "
9485 "mode requires a network configuration in which the two ports are able to "
9486 "\"see\" each other (i.e., there must not be any router between the ports)."
9487 msgstr ""
9488
9489 #. type: Plain text
9490 #: build/C/man4/sk98lin.4:554
9491 msgid ""
9492 "I<CheckSeg> Check local port and segmentation: This mode supports the same "
9493 "functions as the CheckLocalPort mode and additionally checks network "
9494 "segmentation between the ports.  Therefore, this mode is to be used only if "
9495 "Gigabit Ethernet switches are installed on the network that have been "
9496 "configured to use the Spanning Tree protocol."
9497 msgstr ""
9498
9499 #. type: Plain text
9500 #: build/C/man4/sk98lin.4:565
9501 msgid ""
9502 "I<DualNet> In this mode, ports A and B are used as separate devices.  If you "
9503 "have a dual port adapter, port A will be configured as I<eth[x]> and port B "
9504 "as I<eth[x+1]>.  Both ports can be used independently with distinct IP "
9505 "addresses.  The preferred port setting is not used.  RLMT is turned off."
9506 msgstr ""
9507
9508 #. type: Plain text
9509 #: build/C/man4/sk98lin.4:574
9510 msgid ""
9511 "Note that RLMT modes I<CheckLocalPort> and I<CheckLinkState> are designed to "
9512 "operate in configurations where a network path between the ports on one "
9513 "adapter exists.  Moreover, they are not designed to work where adapters are "
9514 "connected back-to-back."
9515 msgstr ""
9516
9517 #. type: TP
9518 #: build/C/man4/sk98lin.4:575
9519 #, no-wrap
9520 msgid "I</proc/net/sk98lin/eth[x]>"
9521 msgstr ""
9522
9523 #. type: Plain text
9524 #: build/C/man4/sk98lin.4:581
9525 msgid ""
9526 "The statistics file of a particular interface of an adapter card.  It "
9527 "contains generic information about the adapter card plus a detailed summary "
9528 "of all transmit and receive counters."
9529 msgstr ""
9530
9531 #. type: TP
9532 #: build/C/man4/sk98lin.4:581
9533 #, no-wrap
9534 msgid "I</usr/src/linux/Documentation/networking/sk98lin.txt>"
9535 msgstr ""
9536
9537 #. type: Plain text
9538 #: build/C/man4/sk98lin.4:592
9539 msgid ""
9540 "This is the I<README> file of the I<sk98lin> driver.  It contains a detailed "
9541 "installation HOWTO and describes all parameters of the driver.  It denotes "
9542 "also common problems and provides the solution to them."
9543 msgstr ""
9544
9545 #.  .SH AUTHORS
9546 #.  Ralph Roesler \(em rroesler@syskonnect.de
9547 #.  .br
9548 #.  Mirko Lindner \(em mlindner@syskonnect.de
9549 #. type: Plain text
9550 #: build/C/man4/sk98lin.4:598
9551 msgid "Report any bugs to linux@syskonnect.de"
9552 msgstr ""
9553
9554 #. type: Plain text
9555 #: build/C/man4/sk98lin.4:602
9556 msgid "B<ifconfig>(8), B<insmod>(8), B<modprobe>(8)"
9557 msgstr ""
9558
9559 #. type: TH
9560 #: build/C/man4/st.4:25
9561 #, no-wrap
9562 msgid "ST"
9563 msgstr ""
9564
9565 #. type: Plain text
9566 #: build/C/man4/st.4:28
9567 msgid "st - SCSI tape device"
9568 msgstr ""
9569
9570 #. type: Plain text
9571 #: build/C/man4/st.4:31
9572 #, no-wrap
9573 msgid "B<#include E<lt>sys/mtio.hE<gt>>\n"
9574 msgstr ""
9575
9576 #. type: Plain text
9577 #: build/C/man4/st.4:36
9578 #, no-wrap
9579 msgid ""
9580 "B<int ioctl(int >I<fd>B<, int >I<request>B< [, (void *)>I<arg3>B<]);>\n"
9581 "B<int ioctl(int >I<fd>B<, MTIOCTOP, (struct mtop *)>I<mt_cmd>B<);>\n"
9582 "B<int ioctl(int >I<fd>B<, MTIOCGET, (struct mtget *)>I<mt_status>B<);>\n"
9583 "B<int ioctl(int >I<fd>B<, MTIOCPOS, (struct mtpos *)>I<mt_pos>B<);>\n"
9584 msgstr ""
9585
9586 #. type: Plain text
9587 #: build/C/man4/st.4:46
9588 msgid ""
9589 "The B<st> driver provides the interface to a variety of SCSI tape devices.  "
9590 "Currently, the driver takes control of all detected devices of type "
9591 "\\(lqsequential-access\\(rq.  The B<st> driver uses major device number 9."
9592 msgstr ""
9593
9594 #. type: Plain text
9595 #: build/C/man4/st.4:66
9596 msgid ""
9597 "Each device uses eight minor device numbers.  The lowermost five bits in the "
9598 "minor numbers are assigned sequentially in the order of detection.  In the "
9599 "2.6 kernel, the bits above the eight lowermost bits are concatenated to the "
9600 "five lowermost bits to form the tape number.  The minor numbers can be "
9601 "grouped into two sets of four numbers: the principal (auto-rewind) minor "
9602 "device numbers, I<n>, and the \\(lqno-rewind\\(rq device numbers, (I<n> + "
9603 "128).  Devices opened using the principal device number will be sent a "
9604 "B<REWIND> command when they are closed.  Devices opened using the "
9605 "\\(lqno-rewind\\(rq device number will not.  (Note that using an auto-rewind "
9606 "device for positioning the tape with, for instance, mt does not lead to the "
9607 "desired result: the tape is rewound after the mt command and the next "
9608 "command starts from the beginning of the tape)."
9609 msgstr ""
9610
9611 #. type: Plain text
9612 #: build/C/man4/st.4:80
9613 msgid ""
9614 "Within each group, four minor numbers are available to define devices with "
9615 "different characteristics (block size, compression, density, etc.)  When the "
9616 "system starts up, only the first device is available.  The other three are "
9617 "activated when the default characteristics are defined (see below).  (By "
9618 "changing compile-time constants, it is possible to change the balance "
9619 "between the maximum number of tape drives and the number of minor numbers "
9620 "for each drive.  The default allocation allows control of 32 tape drives.  "
9621 "For instance, it is possible to control up to 64 tape drives with two minor "
9622 "numbers for different options.)"
9623 msgstr ""
9624
9625 #. type: Plain text
9626 #: build/C/man4/st.4:82
9627 msgid "Devices are typically created by:"
9628 msgstr ""
9629
9630 #. type: Plain text
9631 #: build/C/man4/st.4:93
9632 #, no-wrap
9633 msgid ""
9634 "mknod -m 666 /dev/st0 c 9 0\n"
9635 "mknod -m 666 /dev/st0l c 9 32\n"
9636 "mknod -m 666 /dev/st0m c 9 64\n"
9637 "mknod -m 666 /dev/st0a c 9 96\n"
9638 "mknod -m 666 /dev/nst0 c 9 128\n"
9639 "mknod -m 666 /dev/nst0l c 9 160\n"
9640 "mknod -m 666 /dev/nst0m c 9 192\n"
9641 "mknod -m 666 /dev/nst0a c 9 224\n"
9642 msgstr ""
9643
9644 #. type: Plain text
9645 #: build/C/man4/st.4:97
9646 msgid "There is no corresponding block device."
9647 msgstr ""
9648
9649 #. type: Plain text
9650 #: build/C/man4/st.4:112
9651 msgid ""
9652 "The driver uses an internal buffer that has to be large enough to hold at "
9653 "least one tape block.  In kernels before 2.1.121, the buffer is allocated as "
9654 "one contiguous block.  This limits the block size to the largest contiguous "
9655 "block of memory the kernel allocator can provide.  The limit is currently "
9656 "128 kB for 32-bit architectures and 256 kB for 64-bit architectures.  In "
9657 "newer kernels the driver allocates the buffer in several parts if "
9658 "necessary.  By default, the maximum number of parts is 16.  This means that "
9659 "the maximum block size is very large (2 MB if allocation of 16 blocks of 128 "
9660 "kB succeeds)."
9661 msgstr ""
9662
9663 #. type: Plain text
9664 #: build/C/man4/st.4:121
9665 msgid ""
9666 "The driver's internal buffer size is determined by a compile-time constant "
9667 "which can be overridden with a kernel startup option.  In addition to this, "
9668 "the driver tries to allocate a larger temporary buffer at run time if "
9669 "necessary.  However, run-time allocation of large contiguous blocks of "
9670 "memory may fail and it is advisable not to rely too much on dynamic buffer "
9671 "allocation with kernels older than 2.1.121 (this applies also to "
9672 "demand-loading the driver with kerneld or kmod)."
9673 msgstr ""
9674
9675 #. type: Plain text
9676 #: build/C/man4/st.4:134
9677 msgid ""
9678 "The driver does not specifically support any tape drive brand or model.  "
9679 "After system start-up the tape device options are defined by the drive "
9680 "firmware.  For example, if the drive firmware selects fixed-block mode, the "
9681 "tape device uses fixed-block mode.  The options can be changed with explicit "
9682 "B<ioctl>(2)  calls and remain in effect when the device is closed and "
9683 "reopened.  Setting the options affects both the auto-rewind and the "
9684 "nonrewind device."
9685 msgstr ""
9686
9687 #. type: Plain text
9688 #: build/C/man4/st.4:143
9689 msgid ""
9690 "Different options can be specified for the different devices within the "
9691 "subgroup of four.  The options take effect when the device is opened.  For "
9692 "example, the system administrator can define one device that writes in "
9693 "fixed-block mode with a certain block size, and one which writes in "
9694 "variable-block mode (if the drive supports both modes)."
9695 msgstr ""
9696
9697 #. type: Plain text
9698 #: build/C/man4/st.4:166
9699 msgid ""
9700 "The driver supports B<tape partitions> if they are supported by the drive.  "
9701 "(Note that the tape partitions have nothing to do with disk partitions.  A "
9702 "partitioned tape can be seen as several logical tapes within one medium.)  "
9703 "Partition support has to be enabled with an B<ioctl>(2).  The tape location "
9704 "is preserved within each partition across partition changes.  The partition "
9705 "used for subsequent tape operations is selected with an B<ioctl>(2).  The "
9706 "partition switch is executed together with the next tape operation in order "
9707 "to avoid unnecessary tape movement.  The maximum number of partitions on a "
9708 "tape is defined by a compile-time constant (originally four).  The driver "
9709 "contains an B<ioctl>(2)  that can format a tape with either one or two "
9710 "partitions."
9711 msgstr ""
9712
9713 #. type: Plain text
9714 #: build/C/man4/st.4:171
9715 msgid ""
9716 "Device I</dev/tape> is usually created as a hard or soft link to the default "
9717 "tape device on the system."
9718 msgstr ""
9719
9720 #. type: Plain text
9721 #: build/C/man4/st.4:175
9722 msgid ""
9723 "Starting from kernel 2.6.2, the driver exports in the sysfs directory "
9724 "I</sys/class/scsi_tape> the attached devices and some parameters assigned to "
9725 "the devices."
9726 msgstr ""
9727
9728 #. type: SS
9729 #: build/C/man4/st.4:175
9730 #, no-wrap
9731 msgid "Data transfer"
9732 msgstr ""
9733
9734 #. type: Plain text
9735 #: build/C/man4/st.4:188
9736 msgid ""
9737 "The driver supports operation in both fixed-block mode and variable-block "
9738 "mode (if supported by the drive).  In fixed-block mode the drive writes "
9739 "blocks of the specified size and the block size is not dependent on the byte "
9740 "counts of the write system calls.  In variable-block mode one tape block is "
9741 "written for each write call and the byte count determines the size of the "
9742 "corresponding tape block.  Note that the blocks on the tape don't contain "
9743 "any information about the writing mode: when reading, the only important "
9744 "thing is to use commands that accept the block sizes on the tape."
9745 msgstr ""
9746
9747 #. type: Plain text
9748 #: build/C/man4/st.4:197
9749 msgid ""
9750 "In variable-block mode the read byte count does not have to match the tape "
9751 "block size exactly.  If the byte count is larger than the next block on "
9752 "tape, the driver returns the data and the function returns the actual block "
9753 "size.  If the block size is larger than the byte count, the requested amount "
9754 "of data from the start of the block is returned and the rest of the block is "
9755 "discarded."
9756 msgstr ""
9757
9758 #. type: Plain text
9759 #: build/C/man4/st.4:206
9760 msgid ""
9761 "In fixed-block mode the read byte counts can be arbitrary if buffering is "
9762 "enabled, or a multiple of the tape block size if buffering is disabled.  "
9763 "Kernels before 2.1.121 allow writes with arbitrary byte count if buffering "
9764 "is enabled.  In all other cases (kernel before 2.1.121 with buffering "
9765 "disabled or newer kernel) the write byte count must be a multiple of the "
9766 "tape block size."
9767 msgstr ""
9768
9769 #. type: Plain text
9770 #: build/C/man4/st.4:215
9771 msgid ""
9772 "In the 2.6 kernel, the driver tries to use direct transfers between the user "
9773 "buffer and the device.  If this is not possible, the driver's internal "
9774 "buffer is used.  The reasons for not using direct transfers include improper "
9775 "alignment of the user buffer (default is 512 bytes but this can be changed "
9776 "by the HBA driver), one or more pages of the user buffer not reachable by "
9777 "the SCSI adapter, and so on."
9778 msgstr ""
9779
9780 #. type: Plain text
9781 #: build/C/man4/st.4:218
9782 msgid ""
9783 "A filemark is automatically written to tape if the last tape operation "
9784 "before close was a write."
9785 msgstr ""
9786
9787 #. type: Plain text
9788 #: build/C/man4/st.4:230
9789 msgid ""
9790 "When a filemark is encountered while reading, the following happens.  If "
9791 "there are data remaining in the buffer when the filemark is found, the "
9792 "buffered data is returned.  The next read returns zero bytes.  The following "
9793 "read returns data from the next file.  The end of recorded data is signaled "
9794 "by returning zero bytes for two consecutive read calls.  The third read "
9795 "returns an error."
9796 msgstr ""
9797
9798 #. type: SS
9799 #: build/C/man4/st.4:230
9800 #, no-wrap
9801 msgid "Ioctls"
9802 msgstr ""
9803
9804 #. type: Plain text
9805 #: build/C/man4/st.4:241
9806 msgid ""
9807 "The driver supports three B<ioctl>(2)  requests.  Requests not recognized by "
9808 "the B<st> driver are passed to the B<SCSI> driver.  The definitions below "
9809 "are from I</usr/include/linux/mtio.h>:"
9810 msgstr ""
9811
9812 #. type: SS
9813 #: build/C/man4/st.4:241
9814 #, no-wrap
9815 msgid "MTIOCTOP \\(em perform a tape operation"
9816 msgstr ""
9817
9818 #. type: Plain text
9819 #: build/C/man4/st.4:249
9820 msgid ""
9821 "This request takes an argument of type I<(struct mtop\\ *)>.  Not all drives "
9822 "support all operations.  The driver returns an B<EIO> error if the drive "
9823 "rejects an operation."
9824 msgstr ""
9825
9826 #. type: Plain text
9827 #: build/C/man4/st.4:257
9828 #, no-wrap
9829 msgid ""
9830 "/* Structure for MTIOCTOP - mag tape op command: */\n"
9831 "struct mtop {\n"
9832 "    short   mt_op;       /* operations defined below */\n"
9833 "    int     mt_count;    /* how many of them */\n"
9834 "};\n"
9835 msgstr ""
9836
9837 #. type: Plain text
9838 #: build/C/man4/st.4:261
9839 msgid "Magnetic Tape operations for normal tape use:"
9840 msgstr ""
9841
9842 #. type: TP
9843 #: build/C/man4/st.4:261
9844 #, no-wrap
9845 msgid "B<MTBSF>"
9846 msgstr ""
9847
9848 #. type: Plain text
9849 #: build/C/man4/st.4:266
9850 msgid "Backward space over I<mt_count> filemarks."
9851 msgstr ""
9852
9853 #. type: TP
9854 #: build/C/man4/st.4:266
9855 #, no-wrap
9856 msgid "B<MTBSFM>"
9857 msgstr ""
9858
9859 #. type: Plain text
9860 #: build/C/man4/st.4:272
9861 msgid ""
9862 "Backward space over I<mt_count> filemarks.  Reposition the tape to the EOT "
9863 "side of the last filemark."
9864 msgstr ""
9865
9866 #. type: TP
9867 #: build/C/man4/st.4:272
9868 #, no-wrap
9869 msgid "B<MTBSR>"
9870 msgstr ""
9871
9872 #. type: Plain text
9873 #: build/C/man4/st.4:277
9874 msgid "Backward space over I<mt_count> records (tape blocks)."
9875 msgstr ""
9876
9877 #. type: TP
9878 #: build/C/man4/st.4:277
9879 #, no-wrap
9880 msgid "B<MTBSS>"
9881 msgstr ""
9882
9883 #. type: Plain text
9884 #: build/C/man4/st.4:282
9885 msgid "Backward space over I<mt_count> setmarks."
9886 msgstr ""
9887
9888 #. type: TP
9889 #: build/C/man4/st.4:282
9890 #, no-wrap
9891 msgid "B<MTCOMPRESSION>"
9892 msgstr ""
9893
9894 #. type: Plain text
9895 #: build/C/man4/st.4:290
9896 msgid ""
9897 "Enable compression of tape data within the drive if I<mt_count> is nonzero "
9898 "and disable compression if I<mt_count> is zero.  This command uses the MODE "
9899 "page 15 supported by most DATs."
9900 msgstr ""
9901
9902 #. type: TP
9903 #: build/C/man4/st.4:290
9904 #, no-wrap
9905 msgid "B<MTEOM>"
9906 msgstr ""
9907
9908 #. type: Plain text
9909 #: build/C/man4/st.4:293
9910 msgid "Go to the end of the recorded media (for appending files)."
9911 msgstr ""
9912
9913 #. type: TP
9914 #: build/C/man4/st.4:293
9915 #, no-wrap
9916 msgid "B<MTERASE>"
9917 msgstr ""
9918
9919 #. type: Plain text
9920 #: build/C/man4/st.4:299
9921 msgid ""
9922 "Erase tape.  With 2.6 kernel, short erase (mark tape empty) is performed if "
9923 "the argument is zero.  Otherwise, long erase (erase all) is done."
9924 msgstr ""
9925
9926 #. type: TP
9927 #: build/C/man4/st.4:299
9928 #, no-wrap
9929 msgid "B<MTFSF>"
9930 msgstr ""
9931
9932 #. type: Plain text
9933 #: build/C/man4/st.4:304
9934 msgid "Forward space over I<mt_count> filemarks."
9935 msgstr ""
9936
9937 #. type: TP
9938 #: build/C/man4/st.4:304
9939 #, no-wrap
9940 msgid "B<MTFSFM>"
9941 msgstr ""
9942
9943 #. type: Plain text
9944 #: build/C/man4/st.4:310
9945 msgid ""
9946 "Forward space over I<mt_count> filemarks.  Reposition the tape to the BOT "
9947 "side of the last filemark."
9948 msgstr ""
9949
9950 #. type: TP
9951 #: build/C/man4/st.4:310
9952 #, no-wrap
9953 msgid "B<MTFSR>"
9954 msgstr ""
9955
9956 #. type: Plain text
9957 #: build/C/man4/st.4:315
9958 msgid "Forward space over I<mt_count> records (tape blocks)."
9959 msgstr ""
9960
9961 #. type: TP
9962 #: build/C/man4/st.4:315
9963 #, no-wrap
9964 msgid "B<MTFSS>"
9965 msgstr ""
9966
9967 #. type: Plain text
9968 #: build/C/man4/st.4:320
9969 msgid "Forward space over I<mt_count> setmarks."
9970 msgstr ""
9971
9972 #. type: TP
9973 #: build/C/man4/st.4:320
9974 #, no-wrap
9975 msgid "B<MTLOAD>"
9976 msgstr ""
9977
9978 #. type: Plain text
9979 #: build/C/man4/st.4:331
9980 msgid ""
9981 "Execute the SCSI load command.  A special case is available for some HP "
9982 "autoloaders.  If I<mt_count> is the constant B<MT_ST_HPLOADER_OFFSET> plus a "
9983 "number, the number is sent to the drive to control the autoloader."
9984 msgstr ""
9985
9986 #. type: TP
9987 #: build/C/man4/st.4:331
9988 #, no-wrap
9989 msgid "B<MTLOCK>"
9990 msgstr ""
9991
9992 #. type: Plain text
9993 #: build/C/man4/st.4:334
9994 msgid "Lock the tape drive door."
9995 msgstr ""
9996
9997 #. type: TP
9998 #: build/C/man4/st.4:334
9999 #, no-wrap
10000 msgid "B<MTMKPART>"
10001 msgstr ""
10002
10003 #. type: Plain text
10004 #: build/C/man4/st.4:348
10005 msgid ""
10006 "Format the tape into one or two partitions.  If I<mt_count> is nonzero, it "
10007 "gives the size of the first partition and the second partition contains the "
10008 "rest of the tape.  If I<mt_count> is zero, the tape is formatted into one "
10009 "partition.  This command is not allowed for a drive unless the partition "
10010 "support is enabled for the drive (see B<MT_ST_CAN_PARTITIONS> below)."
10011 msgstr ""
10012
10013 #. type: TP
10014 #: build/C/man4/st.4:348
10015 #, no-wrap
10016 msgid "B<MTNOP>"
10017 msgstr ""
10018
10019 #. type: Plain text
10020 #: build/C/man4/st.4:353
10021 msgid ""
10022 "No op\\(emflushes the driver's buffer as a side effect.  Should be used "
10023 "before reading status with B<MTIOCGET>."
10024 msgstr ""
10025
10026 #. type: TP
10027 #: build/C/man4/st.4:353
10028 #, no-wrap
10029 msgid "B<MTOFFL>"
10030 msgstr ""
10031
10032 #. type: Plain text
10033 #: build/C/man4/st.4:356
10034 msgid "Rewind and put the drive off line."
10035 msgstr ""
10036
10037 #. type: TP
10038 #: build/C/man4/st.4:356
10039 #, no-wrap
10040 msgid "B<MTRESET>"
10041 msgstr ""
10042
10043 #. type: Plain text
10044 #: build/C/man4/st.4:359
10045 msgid "Reset drive."
10046 msgstr ""
10047
10048 #. type: TP
10049 #: build/C/man4/st.4:359
10050 #, no-wrap
10051 msgid "B<MTRETEN>"
10052 msgstr ""
10053
10054 #. type: Plain text
10055 #: build/C/man4/st.4:362
10056 msgid "Re-tension tape."
10057 msgstr ""
10058
10059 #. type: TP
10060 #: build/C/man4/st.4:362
10061 #, no-wrap
10062 msgid "B<MTREW>"
10063 msgstr ""
10064
10065 #. type: Plain text
10066 #: build/C/man4/st.4:365
10067 msgid "Rewind."
10068 msgstr ""
10069
10070 #. type: TP
10071 #: build/C/man4/st.4:365
10072 #, no-wrap
10073 msgid "B<MTSEEK>"
10074 msgstr ""
10075
10076 #. type: Plain text
10077 #: build/C/man4/st.4:377
10078 msgid ""
10079 "Seek to the tape block number specified in I<mt_count>.  This operation "
10080 "requires either a SCSI-2 drive that supports the B<LOCATE> command "
10081 "(device-specific address)  or a Tandberg-compatible SCSI-1 drive (Tandberg, "
10082 "Archive Viper, Wangtek, ...).  The block number should be one that was "
10083 "previously returned by B<MTIOCPOS> if device-specific addresses are used."
10084 msgstr ""
10085
10086 #. type: TP
10087 #: build/C/man4/st.4:377
10088 #, no-wrap
10089 msgid "B<MTSETBLK>"
10090 msgstr ""
10091
10092 #. type: Plain text
10093 #: build/C/man4/st.4:382
10094 msgid ""
10095 "Set the drive's block length to the value specified in I<mt_count>.  A block "
10096 "length of zero sets the drive to variable block size mode."
10097 msgstr ""
10098
10099 #. type: TP
10100 #: build/C/man4/st.4:382
10101 #, no-wrap
10102 msgid "B<MTSETDENSITY>"
10103 msgstr ""
10104
10105 #. type: Plain text
10106 #: build/C/man4/st.4:388
10107 msgid ""
10108 "Set the tape density to the code in I<mt_count>.  The density codes "
10109 "supported by a drive can be found from the drive documentation."
10110 msgstr ""
10111
10112 #. type: TP
10113 #: build/C/man4/st.4:388
10114 #, no-wrap
10115 msgid "B<MTSETPART>"
10116 msgstr ""
10117
10118 #. type: Plain text
10119 #: build/C/man4/st.4:397
10120 msgid ""
10121 "The active partition is switched to I<mt_count>.  The partitions are "
10122 "numbered from zero.  This command is not allowed for a drive unless the "
10123 "partition support is enabled for the drive (see B<MT_ST_CAN_PARTITIONS> "
10124 "below)."
10125 msgstr ""
10126
10127 #. type: TP
10128 #: build/C/man4/st.4:397
10129 #, no-wrap
10130 msgid "B<MTUNLOAD>"
10131 msgstr ""
10132
10133 #. type: Plain text
10134 #: build/C/man4/st.4:400
10135 msgid "Execute the SCSI unload command (does not eject the tape)."
10136 msgstr ""
10137
10138 #. type: TP
10139 #: build/C/man4/st.4:400
10140 #, no-wrap
10141 msgid "B<MTUNLOCK>"
10142 msgstr ""
10143
10144 #. type: Plain text
10145 #: build/C/man4/st.4:403
10146 msgid "Unlock the tape drive door."
10147 msgstr ""
10148
10149 #. type: TP
10150 #: build/C/man4/st.4:403
10151 #, no-wrap
10152 msgid "B<MTWEOF>"
10153 msgstr ""
10154
10155 #. type: Plain text
10156 #: build/C/man4/st.4:408
10157 msgid "Write I<mt_count> filemarks."
10158 msgstr ""
10159
10160 #. type: TP
10161 #: build/C/man4/st.4:408
10162 #, no-wrap
10163 msgid "B<MTWSM>"
10164 msgstr ""
10165
10166 #. type: Plain text
10167 #: build/C/man4/st.4:413
10168 msgid "Write I<mt_count> setmarks."
10169 msgstr ""
10170
10171 #. type: Plain text
10172 #: build/C/man4/st.4:415
10173 msgid "Magnetic Tape operations for setting of device options (by the superuser):"
10174 msgstr ""
10175
10176 #. type: TP
10177 #: build/C/man4/st.4:415
10178 #, no-wrap
10179 msgid "B<MTSETDRVBUFFER>"
10180 msgstr ""
10181
10182 #. type: Plain text
10183 #: build/C/man4/st.4:424
10184 msgid ""
10185 "Set various drive and driver options according to bits encoded in "
10186 "I<mt_count>.  These consist of the drive's buffering mode, a set of Boolean "
10187 "driver options, the buffer write threshold, defaults for the block size and "
10188 "density, and timeouts (only in kernels 2.1 and later).  A single operation "
10189 "can affect only one item in the list above (the Booleans counted as one "
10190 "item.)"
10191 msgstr ""
10192
10193 #. type: Plain text
10194 #: build/C/man4/st.4:428
10195 msgid ""
10196 "A value having zeros in the high-order 4 bits will be used to set the "
10197 "drive's buffering mode.  The buffering modes are:"
10198 msgstr ""
10199
10200 #. type: IP
10201 #: build/C/man4/st.4:429
10202 #, no-wrap
10203 msgid "0"
10204 msgstr ""
10205
10206 #. type: Plain text
10207 #: build/C/man4/st.4:434
10208 msgid ""
10209 "The drive will not report B<GOOD> status on write commands until the data "
10210 "blocks are actually written to the medium."
10211 msgstr ""
10212
10213 #. type: IP
10214 #: build/C/man4/st.4:434
10215 #, no-wrap
10216 msgid "1"
10217 msgstr ""
10218
10219 #. type: Plain text
10220 #: build/C/man4/st.4:439
10221 msgid ""
10222 "The drive may report B<GOOD> status on write commands as soon as all the "
10223 "data has been transferred to the drive's internal buffer."
10224 msgstr ""
10225
10226 #. type: IP
10227 #: build/C/man4/st.4:439
10228 #, no-wrap
10229 msgid "2"
10230 msgstr ""
10231
10232 #. type: Plain text
10233 #: build/C/man4/st.4:446
10234 msgid ""
10235 "The drive may report B<GOOD> status on write commands as soon as (a) all the "
10236 "data has been transferred to the drive's internal buffer, and (b) all "
10237 "buffered data from different initiators has been successfully written to the "
10238 "medium."
10239 msgstr ""
10240
10241 #. type: Plain text
10242 #: build/C/man4/st.4:457
10243 msgid ""
10244 "To control the write threshold the value in I<mt_count> must include the "
10245 "constant B<MT_ST_WRITE_THRESHOLD> bitwise ORed with a block count in the low "
10246 "28 bits.  The block count refers to 1024-byte blocks, not the physical block "
10247 "size on the tape.  The threshold cannot exceed the driver's internal buffer "
10248 "size (see DESCRIPTION, above)."
10249 msgstr ""
10250
10251 #. type: Plain text
10252 #: build/C/man4/st.4:478
10253 msgid ""
10254 "To set and clear the Boolean options the value in I<mt_count> must include "
10255 "one of the constants B<MT_ST_BOOLEANS>, B<MT_ST_SETBOOLEANS>, "
10256 "B<MT_ST_CLEARBOOLEANS>, or B<MT_ST_DEFBOOLEANS> bitwise ORed with whatever "
10257 "combination of the following options is desired.  Using B<MT_ST_BOOLEANS> "
10258 "the options can be set to the values defined in the corresponding bits.  "
10259 "With B<MT_ST_SETBOOLEANS> the options can be selectively set and with "
10260 "B<MT_ST_DEFBOOLEANS> selectively cleared."
10261 msgstr ""
10262
10263 #. type: Plain text
10264 #: build/C/man4/st.4:486
10265 msgid ""
10266 "The default options for a tape device are set with B<MT_ST_DEFBOOLEANS>.  A "
10267 "nonactive tape device (e.g., device with minor 32 or 160) is activated when "
10268 "the default options for it are defined the first time.  An activated device "
10269 "inherits from the device activated at start-up the options not set "
10270 "explicitly."
10271 msgstr ""
10272
10273 #. type: Plain text
10274 #: build/C/man4/st.4:488
10275 msgid "The Boolean options are:"
10276 msgstr ""
10277
10278 #. type: TP
10279 #: build/C/man4/st.4:489
10280 #, no-wrap
10281 msgid "B<MT_ST_BUFFER_WRITES> (Default: true)"
10282 msgstr ""
10283
10284 #. type: Plain text
10285 #: build/C/man4/st.4:495
10286 msgid ""
10287 "Buffer all write operations in fixed-block mode.  If this option is false "
10288 "and the drive uses a fixed block size, then all write operations must be for "
10289 "a multiple of the block size.  This option must be set false to write "
10290 "reliable multivolume archives."
10291 msgstr ""
10292
10293 #. type: TP
10294 #: build/C/man4/st.4:495
10295 #, no-wrap
10296 msgid "B<MT_ST_ASYNC_WRITES> (Default: true)"
10297 msgstr ""
10298
10299 #. type: Plain text
10300 #: build/C/man4/st.4:505
10301 msgid ""
10302 "When this option is true, write operations return immediately without "
10303 "waiting for the data to be transferred to the drive if the data fits into "
10304 "the driver's buffer.  The write threshold determines how full the buffer "
10305 "must be before a new SCSI write command is issued.  Any errors reported by "
10306 "the drive will be held until the next operation.  This option must be set "
10307 "false to write reliable multivolume archives."
10308 msgstr ""
10309
10310 #. type: TP
10311 #: build/C/man4/st.4:505
10312 #, no-wrap
10313 msgid "B<MT_ST_READ_AHEAD> (Default: true)"
10314 msgstr ""
10315
10316 #. type: Plain text
10317 #: build/C/man4/st.4:511
10318 msgid ""
10319 "This option causes the driver to provide read buffering and read-ahead in "
10320 "fixed-block mode.  If this option is false and the drive uses a fixed block "
10321 "size, then all read operations must be for a multiple of the block size."
10322 msgstr ""
10323
10324 #. type: TP
10325 #: build/C/man4/st.4:511
10326 #, no-wrap
10327 msgid "B<MT_ST_TWO_FM> (Default: false)"
10328 msgstr ""
10329
10330 #. type: Plain text
10331 #: build/C/man4/st.4:517
10332 msgid ""
10333 "This option modifies the driver behavior when a file is closed.  The normal "
10334 "action is to write a single filemark.  If the option is true, the driver "
10335 "will write two filemarks and backspace over the second one."
10336 msgstr ""
10337
10338 #. type: Plain text
10339 #: build/C/man4/st.4:526
10340 msgid ""
10341 "Note: This option should not be set true for QIC tape drives since they are "
10342 "unable to overwrite a filemark.  These drives detect the end of recorded "
10343 "data by testing for blank tape rather than two consecutive filemarks.  Most "
10344 "other current drives also detect the end of recorded data and using two "
10345 "filemarks is usually necessary only when interchanging tapes with some other "
10346 "systems."
10347 msgstr ""
10348
10349 #. type: TP
10350 #: build/C/man4/st.4:526
10351 #, no-wrap
10352 msgid "B<MT_ST_DEBUGGING> (Default: false)"
10353 msgstr ""
10354
10355 #. type: Plain text
10356 #: build/C/man4/st.4:532
10357 msgid ""
10358 "This option turns on various debugging messages from the driver (effective "
10359 "only if the driver was compiled with B<DEBUG> defined nonzero)."
10360 msgstr ""
10361
10362 #. type: TP
10363 #: build/C/man4/st.4:532
10364 #, no-wrap
10365 msgid "B<MT_ST_FAST_EOM> (Default: false)"
10366 msgstr ""
10367
10368 #. type: Plain text
10369 #: build/C/man4/st.4:546
10370 msgid ""
10371 "This option causes the B<MTEOM> operation to be sent directly to the drive, "
10372 "potentially speeding up the operation but causing the driver to lose track "
10373 "of the current file number normally returned by the B<MTIOCGET> request.  If "
10374 "B<MT_ST_FAST_EOM> is false, the driver will respond to an B<MTEOM> request "
10375 "by forward spacing over files."
10376 msgstr ""
10377
10378 #. type: TP
10379 #: build/C/man4/st.4:546
10380 #, no-wrap
10381 msgid "B<MT_ST_AUTO_LOCK> (Default: false)"
10382 msgstr ""
10383
10384 #. type: Plain text
10385 #: build/C/man4/st.4:550
10386 msgid ""
10387 "When this option is true, the drive door is locked when the device is opened "
10388 "and unlocked when it is closed."
10389 msgstr ""
10390
10391 #. type: TP
10392 #: build/C/man4/st.4:550
10393 #, no-wrap
10394 msgid "B<MT_ST_DEF_WRITES> (Default: false)"
10395 msgstr ""
10396
10397 #. type: Plain text
10398 #: build/C/man4/st.4:567
10399 msgid ""
10400 "The tape options (block size, mode, compression, etc.) may change when "
10401 "changing from one device linked to a drive to another device linked to the "
10402 "same drive depending on how the devices are defined.  This option defines "
10403 "when the changes are enforced by the driver using SCSI-commands and when the "
10404 "drives auto-detection capabilities are relied upon.  If this option is "
10405 "false, the driver sends the SCSI-commands immediately when the device is "
10406 "changed.  If the option is true, the SCSI-commands are not sent until a "
10407 "write is requested.  In this case, the drive firmware is allowed to detect "
10408 "the tape structure when reading and the SCSI-commands are used only to make "
10409 "sure that a tape is written according to the correct specification."
10410 msgstr ""
10411
10412 #. type: TP
10413 #: build/C/man4/st.4:567
10414 #, no-wrap
10415 msgid "B<MT_ST_CAN_BSR> (Default: false)"
10416 msgstr ""
10417
10418 #. type: Plain text
10419 #: build/C/man4/st.4:580
10420 msgid ""
10421 "When read-ahead is used, the tape must sometimes be spaced backward to the "
10422 "correct position when the device is closed and the SCSI command to space "
10423 "backward over records is used for this purpose.  Some older drives can't "
10424 "process this command reliably and this option can be used to instruct the "
10425 "driver not to use the command.  The end result is that, with read-ahead and "
10426 "fixed-block mode, the tape may not be correctly positioned within a file "
10427 "when the device is closed.  With 2.6 kernel, the default is true for drives "
10428 "supporting SCSI-3."
10429 msgstr ""
10430
10431 #. type: TP
10432 #: build/C/man4/st.4:580
10433 #, no-wrap
10434 msgid "B<MT_ST_NO_BLKLIMS> (Default: false)"
10435 msgstr ""
10436
10437 #. type: Plain text
10438 #: build/C/man4/st.4:589
10439 msgid ""
10440 "Some drives don't accept the B<READ BLOCK LIMITS> SCSI command.  If this is "
10441 "used, the driver does not use the command.  The drawback is that the driver "
10442 "can't check before sending commands if the selected block size is acceptable "
10443 "to the drive."
10444 msgstr ""
10445
10446 #. type: TP
10447 #: build/C/man4/st.4:589
10448 #, no-wrap
10449 msgid "B<MT_ST_CAN_PARTITIONS> (Default: false)"
10450 msgstr ""
10451
10452 #. type: Plain text
10453 #: build/C/man4/st.4:594
10454 msgid ""
10455 "This option enables support for several partitions within a tape.  The "
10456 "option applies to all devices linked to a drive."
10457 msgstr ""
10458
10459 #. type: TP
10460 #: build/C/man4/st.4:594
10461 #, no-wrap
10462 msgid "B<MT_ST_SCSI2LOGICAL> (Default: false)"
10463 msgstr ""
10464
10465 #. type: Plain text
10466 #: build/C/man4/st.4:609
10467 msgid ""
10468 "This option instructs the driver to use the logical block addresses defined "
10469 "in the SCSI-2 standard when performing the seek and tell operations (both "
10470 "with B<MTSEEK> and B<MTIOCPOS> commands and when changing tape partition).  "
10471 "Otherwise, the device-specific addresses are used.  It is highly advisable "
10472 "to set this option if the drive supports the logical addresses because they "
10473 "count also filemarks.  There are some drives that support only the logical "
10474 "block addresses."
10475 msgstr ""
10476
10477 #. type: TP
10478 #: build/C/man4/st.4:609
10479 #, no-wrap
10480 msgid "B<MT_ST_SYSV> (Default: false)"
10481 msgstr ""
10482
10483 #. type: Plain text
10484 #: build/C/man4/st.4:620
10485 msgid ""
10486 "When this option is enabled, the tape devices use the SystemV semantics.  "
10487 "Otherwise, the BSD semantics are used.  The most important difference "
10488 "between the semantics is what happens when a device used for reading is "
10489 "closed: in System V semantics the tape is spaced forward past the next "
10490 "filemark if this has not happened while using the device.  In BSD semantics "
10491 "the tape position is not changed."
10492 msgstr ""
10493
10494 #. type: TP
10495 #: build/C/man4/st.4:620
10496 #, no-wrap
10497 msgid "B<MT_NO_WAIT> (Default: false)"
10498 msgstr ""
10499
10500 #. type: Plain text
10501 #: build/C/man4/st.4:624
10502 msgid ""
10503 "Enables immediate mode (i.e., don't wait for the command to finish) for some "
10504 "commands (e.g., rewind)."
10505 msgstr ""
10506
10507 #. type: Plain text
10508 #: build/C/man4/st.4:626
10509 msgid "An example:"
10510 msgstr ""
10511
10512 #. type: Plain text
10513 #: build/C/man4/st.4:634
10514 #, no-wrap
10515 msgid ""
10516 "struct mtop mt_cmd;\n"
10517 "mt_cmd.mt_op = MTSETDRVBUFFER;\n"
10518 "mt_cmd.mt_count = MT_ST_BOOLEANS |\n"
10519 "        MT_ST_BUFFER_WRITES | MT_ST_ASYNC_WRITES;\n"
10520 "ioctl(fd, MTIOCTOP, mt_cmd);\n"
10521 msgstr ""
10522
10523 #. type: Plain text
10524 #: build/C/man4/st.4:644
10525 msgid ""
10526 "The default block size for a device can be set with B<MT_ST_DEF_BLKSIZE> and "
10527 "the default density code can be set with B<MT_ST_DEFDENSITY>.  The values "
10528 "for the parameters are or'ed with the operation code."
10529 msgstr ""
10530
10531 #. type: Plain text
10532 #: build/C/man4/st.4:661
10533 msgid ""
10534 "With kernels 2.1.x and later, the timeout values can be set with the "
10535 "subcommand B<MT_ST_SET_TIMEOUT> ORed with the timeout in seconds.  The long "
10536 "timeout (used for rewinds and other commands that may take a long time) can "
10537 "be set with B<MT_ST_SET_LONG_TIMEOUT>.  The kernel defaults are very long to "
10538 "make sure that a successful command is not timed out with any drive.  "
10539 "Because of this the driver may seem stuck even if it is only waiting for the "
10540 "timeout.  These commands can be used to set more practical values for a "
10541 "specific drive.  The timeouts set for one device apply for all devices "
10542 "linked to the same drive."
10543 msgstr ""
10544
10545 #. type: Plain text
10546 #: build/C/man4/st.4:682
10547 msgid ""
10548 "Starting from kernels 2.4.19 and 2.5.43, the driver supports a status bit "
10549 "which indicates whether the drive requests cleaning.  The method used by the "
10550 "drive to return cleaning information is set using the B<MT_ST_SEL_CLN> "
10551 "subcommand.  If the value is zero, the cleaning bit is always zero.  If the "
10552 "value is one, the TapeAlert data defined in the SCSI-3 standard is used (not "
10553 "yet implemented).  Values 2-17 are reserved.  If the lowest eight bits are "
10554 "E<gt>= 18, bits from the extended sense data are used.  The bits 9-16 "
10555 "specify a mask to select the bits to look at and the bits 17-23 specify the "
10556 "bit pattern to look for.  If the bit pattern is zero, one or more bits under "
10557 "the mask indicate the cleaning request.  If the pattern is nonzero, the "
10558 "pattern must match the masked sense data byte."
10559 msgstr ""
10560
10561 #. type: SS
10562 #: build/C/man4/st.4:682
10563 #, no-wrap
10564 msgid "MTIOCGET \\(em get status"
10565 msgstr ""
10566
10567 #. type: Plain text
10568 #: build/C/man4/st.4:686
10569 msgid "This request takes an argument of type I<(struct mtget\\ *)>."
10570 msgstr ""
10571
10572 #. type: Plain text
10573 #: build/C/man4/st.4:701
10574 #, no-wrap
10575 msgid ""
10576 "/* structure for MTIOCGET - mag tape get status command */\n"
10577 "struct mtget {\n"
10578 "    long     mt_type;\n"
10579 "    long     mt_resid;\n"
10580 "    /* the following registers are device dependent */\n"
10581 "    long     mt_dsreg;\n"
10582 "    long     mt_gstat;\n"
10583 "    long     mt_erreg;\n"
10584 "    /* The next two fields are not always used */\n"
10585 "    daddr_t  mt_fileno;\n"
10586 "    daddr_t  mt_blkno;\n"
10587 "};\n"
10588 msgstr ""
10589
10590 #. type: IP
10591 #: build/C/man4/st.4:703
10592 #, no-wrap
10593 msgid "I<mt_type>"
10594 msgstr ""
10595
10596 #. type: Plain text
10597 #: build/C/man4/st.4:712
10598 msgid ""
10599 "The header file defines many values for I<mt_type>, but the current driver "
10600 "reports only the generic types B<MT_ISSCSI1> (Generic SCSI-1 tape)  and "
10601 "B<MT_ISSCSI2> (Generic SCSI-2 tape)."
10602 msgstr ""
10603
10604 #. type: IP
10605 #: build/C/man4/st.4:712
10606 #, no-wrap
10607 msgid "I<mt_resid>"
10608 msgstr ""
10609
10610 #. type: Plain text
10611 #: build/C/man4/st.4:714
10612 msgid "contains the current tape partition number."
10613 msgstr ""
10614
10615 #. type: IP
10616 #: build/C/man4/st.4:714
10617 #, no-wrap
10618 msgid "I<mt_dsreg>"
10619 msgstr ""
10620
10621 #. type: Plain text
10622 #: build/C/man4/st.4:723
10623 msgid ""
10624 "reports the drive's current settings for block size (in the low 24 bits) and "
10625 "density (in the high 8 bits).  These fields are defined by "
10626 "B<MT_ST_BLKSIZE_SHIFT>, B<MT_ST_BLKSIZE_MASK>, B<MT_ST_DENSITY_SHIFT>, and "
10627 "B<MT_ST_DENSITY_MASK>."
10628 msgstr ""
10629
10630 #. type: IP
10631 #: build/C/man4/st.4:723
10632 #, no-wrap
10633 msgid "I<mt_gstat>"
10634 msgstr ""
10635
10636 #. type: Plain text
10637 #: build/C/man4/st.4:726
10638 msgid ""
10639 "reports generic (device independent) status information.  The header file "
10640 "defines macros for testing these status bits:"
10641 msgstr ""
10642
10643 #. type: Plain text
10644 #: build/C/man4/st.4:733
10645 msgid ""
10646 "B<GMT_EOF>(I<x>): The tape is positioned just after a filemark (always false "
10647 "after an B<MTSEEK> operation)."
10648 msgstr ""
10649
10650 #. type: Plain text
10651 #: build/C/man4/st.4:739
10652 msgid ""
10653 "B<GMT_BOT>(I<x>): The tape is positioned at the beginning of the first file "
10654 "(always false after an B<MTSEEK> operation)."
10655 msgstr ""
10656
10657 #. type: Plain text
10658 #: build/C/man4/st.4:742
10659 msgid "B<GMT_EOT>(I<x>): A tape operation has reached the physical End Of Tape."
10660 msgstr ""
10661
10662 #. type: Plain text
10663 #: build/C/man4/st.4:748
10664 msgid ""
10665 "B<GMT_SM>(I<x>): The tape is currently positioned at a setmark (always false "
10666 "after an B<MTSEEK> operation)."
10667 msgstr ""
10668
10669 #. type: Plain text
10670 #: build/C/man4/st.4:751
10671 msgid "B<GMT_EOD>(I<x>): The tape is positioned at the end of recorded data."
10672 msgstr ""
10673
10674 #. type: Plain text
10675 #: build/C/man4/st.4:756
10676 msgid ""
10677 "B<GMT_WR_PROT>(I<x>): The drive is write-protected.  For some drives this "
10678 "can also mean that the drive does not support writing on the current medium "
10679 "type."
10680 msgstr ""
10681
10682 #. type: Plain text
10683 #: build/C/man4/st.4:761
10684 msgid ""
10685 "B<GMT_ONLINE>(I<x>): The last B<open>(2)  found the drive with a tape in "
10686 "place and ready for operation."
10687 msgstr ""
10688
10689 #. type: Plain text
10690 #: build/C/man4/st.4:765
10691 msgid ""
10692 "B<GMT_D_6250>(I<x>), B<GMT_D_1600>(I<x>), B<GMT_D_800>(I<x>): This "
10693 "\\(lqgeneric\\(rq status information reports the current density setting for "
10694 "9-track \\(12\" tape drives only."
10695 msgstr ""
10696
10697 #. type: Plain text
10698 #: build/C/man4/st.4:768
10699 msgid "B<GMT_DR_OPEN>(I<x>): The drive does not have a tape in place."
10700 msgstr ""
10701
10702 #. type: Plain text
10703 #: build/C/man4/st.4:776
10704 msgid ""
10705 "B<GMT_IM_REP_EN>(I<x>): Immediate report mode.  This bit is set if there are "
10706 "no guarantees that the data has been physically written to the tape when the "
10707 "write call returns.  It is set zero only when the driver does not buffer "
10708 "data and the drive is set not to buffer data."
10709 msgstr ""
10710
10711 #. type: Plain text
10712 #: build/C/man4/st.4:780
10713 msgid ""
10714 "B<GMT_CLN>(I<x>): The drive has requested cleaning.  Implemented in kernels "
10715 "since 2.4.19 and 2.5.43."
10716 msgstr ""
10717
10718 #. type: IP
10719 #: build/C/man4/st.4:781
10720 #, no-wrap
10721 msgid "I<mt_erreg>"
10722 msgstr ""
10723
10724 #. type: Plain text
10725 #: build/C/man4/st.4:791
10726 msgid ""
10727 "The only field defined in I<mt_erreg> is the recovered error count in the "
10728 "low 16 bits (as defined by B<MT_ST_SOFTERR_SHIFT> and "
10729 "B<MT_ST_SOFTERR_MASK>.  Due to inconsistencies in the way drives report "
10730 "recovered errors, this count is often not maintained (most drives do not by "
10731 "default report soft errors but this can be changed with a SCSI MODE SELECT "
10732 "command)."
10733 msgstr ""
10734
10735 #. type: IP
10736 #: build/C/man4/st.4:791
10737 #, no-wrap
10738 msgid "I<mt_fileno>"
10739 msgstr ""
10740
10741 #. type: Plain text
10742 #: build/C/man4/st.4:797
10743 msgid ""
10744 "reports the current file number (zero-based).  This value is set to -1 when "
10745 "the file number is unknown (e.g., after B<MTBSS> or B<MTSEEK>)."
10746 msgstr ""
10747
10748 #. type: IP
10749 #: build/C/man4/st.4:797
10750 #, no-wrap
10751 msgid "I<mt_blkno>"
10752 msgstr ""
10753
10754 #. type: Plain text
10755 #: build/C/man4/st.4:804
10756 msgid ""
10757 "reports the block number (zero-based) within the current file.  This value "
10758 "is set to -1 when the block number is unknown (e.g., after B<MTBSF>, "
10759 "B<MTBSS>, or B<MTSEEK>)."
10760 msgstr ""
10761
10762 #. type: SS
10763 #: build/C/man4/st.4:804
10764 #, no-wrap
10765 msgid "MTIOCPOS \\(em get tape position"
10766 msgstr ""
10767
10768 #. type: Plain text
10769 #: build/C/man4/st.4:818
10770 msgid ""
10771 "This request takes an argument of type I<(struct mtpos\\ *)> and reports the "
10772 "drive's notion of the current tape block number, which is not the same as "
10773 "I<mt_blkno> returned by B<MTIOCGET>.  This drive must be a SCSI-2 drive that "
10774 "supports the B<READ POSITION> command (device-specific address)  or a "
10775 "Tandberg-compatible SCSI-1 drive (Tandberg, Archive Viper, Wangtek, ... )."
10776 msgstr ""
10777
10778 #. type: Plain text
10779 #: build/C/man4/st.4:825
10780 #, no-wrap
10781 msgid ""
10782 "/* structure for MTIOCPOS - mag tape get position command */\n"
10783 "struct mtpos {\n"
10784 "    long mt_blkno;    /* current block number */\n"
10785 "};\n"
10786 msgstr ""
10787
10788 #. type: Plain text
10789 #: build/C/man4/st.4:834
10790 msgid ""
10791 "An attempt was made to write or erase a write-protected tape.  (This error "
10792 "is not detected during B<open>(2).)"
10793 msgstr ""
10794
10795 #. type: TP
10796 #: build/C/man4/st.4:834
10797 #, no-wrap
10798 msgid "B<EBUSY>"
10799 msgstr ""
10800
10801 #. type: Plain text
10802 #: build/C/man4/st.4:838
10803 msgid "The device is already in use or the driver was unable to allocate a buffer."
10804 msgstr ""
10805
10806 #. type: Plain text
10807 #: build/C/man4/st.4:842
10808 msgid "The command parameters point to memory not belonging to the calling process."
10809 msgstr ""
10810
10811 #. type: Plain text
10812 #: build/C/man4/st.4:847
10813 msgid ""
10814 "An B<ioctl>(2)  had an invalid argument, or a requested block size was "
10815 "invalid."
10816 msgstr ""
10817
10818 #. type: TP
10819 #: build/C/man4/st.4:847
10820 #, no-wrap
10821 msgid "B<EIO>"
10822 msgstr ""
10823
10824 #. type: Plain text
10825 #: build/C/man4/st.4:850
10826 msgid "The requested operation could not be completed."
10827 msgstr ""
10828
10829 #. type: Plain text
10830 #: build/C/man4/st.4:857
10831 msgid ""
10832 "The byte count in B<read>(2)  is smaller than the next physical block on the "
10833 "tape.  (Before 2.2.18 and 2.4.0-test6 the extra bytes have been silently "
10834 "ignored.)"
10835 msgstr ""
10836
10837 #. type: Plain text
10838 #: build/C/man4/st.4:861
10839 msgid ""
10840 "A write operation could not be completed because the tape reached "
10841 "end-of-medium."
10842 msgstr ""
10843
10844 #. type: TP
10845 #: build/C/man4/st.4:861 build/C/man2/syslog.2:278
10846 #, no-wrap
10847 msgid "B<ENOSYS>"
10848 msgstr ""
10849
10850 #. type: Plain text
10851 #: build/C/man4/st.4:865
10852 msgid "Unknown B<ioctl>(2)."
10853 msgstr ""
10854
10855 #. type: TP
10856 #: build/C/man4/st.4:865
10857 #, no-wrap
10858 msgid "B<ENXIO>"
10859 msgstr ""
10860
10861 #. type: Plain text
10862 #: build/C/man4/st.4:868
10863 msgid "During opening, the tape device does not exist."
10864 msgstr ""
10865
10866 #. type: TP
10867 #: build/C/man4/st.4:868
10868 #, no-wrap
10869 msgid "B<EOVERFLOW>"
10870 msgstr ""
10871
10872 #. type: Plain text
10873 #: build/C/man4/st.4:872
10874 msgid ""
10875 "An attempt was made to read or write a variable-length block that is larger "
10876 "than the driver's internal buffer."
10877 msgstr ""
10878
10879 #. type: Plain text
10880 #: build/C/man4/st.4:879
10881 msgid ""
10882 "Open is attempted with B<O_WRONLY> or B<O_RDWR> when the tape in the drive "
10883 "is write-protected."
10884 msgstr ""
10885
10886 #. type: TP
10887 #: build/C/man4/st.4:880
10888 #, no-wrap
10889 msgid "I</dev/st*>"
10890 msgstr ""
10891
10892 #. type: Plain text
10893 #: build/C/man4/st.4:883
10894 msgid "the auto-rewind SCSI tape devices"
10895 msgstr ""
10896
10897 #. type: TP
10898 #: build/C/man4/st.4:883
10899 #, no-wrap
10900 msgid "I</dev/nst*>"
10901 msgstr ""
10902
10903 #.  .SH AUTHOR
10904 #.  The driver has been written by Kai M\(:akisara (Kai.Makisara@metla.fi)
10905 #.  starting from a driver written by Dwayne Forsyth.
10906 #.  Several other
10907 #.  people have also contributed to the driver.
10908 #. type: Plain text
10909 #: build/C/man4/st.4:891
10910 msgid "the nonrewind SCSI tape devices"
10911 msgstr ""
10912
10913 #. type: Plain text
10914 #: build/C/man4/st.4:912
10915 msgid ""
10916 "When exchanging data between systems, both systems have to agree on the "
10917 "physical tape block size.  The parameters of a drive after startup are often "
10918 "not the ones most operating systems use with these devices.  Most systems "
10919 "use drives in variable-block mode if the drive supports that mode.  This "
10920 "applies to most modern drives, including DATs, 8mm helical scan drives, "
10921 "DLTs, etc.  It may be advisable to use these drives in variable-block mode "
10922 "also in Linux (i.e., use B<MTSETBLK> or B<MTSETDEFBLK> at system startup to "
10923 "set the mode), at least when exchanging data with a foreign system.  The "
10924 "drawback of this is that a fairly large tape block size has to be used to "
10925 "get acceptable data transfer rates on the SCSI bus."
10926 msgstr ""
10927
10928 #. type: Plain text
10929 #: build/C/man4/st.4:919
10930 msgid ""
10931 "Many programs (e.g., B<tar>(1))  allow the user to specify the blocking "
10932 "factor on the command line.  Note that this determines the physical block "
10933 "size on tape only in variable-block mode."
10934 msgstr ""
10935
10936 #. type: Plain text
10937 #: build/C/man4/st.4:926
10938 msgid ""
10939 "In order to use SCSI tape drives, the basic SCSI driver, a SCSI-adapter "
10940 "driver and the SCSI tape driver must be either configured into the kernel or "
10941 "loaded as modules.  If the SCSI-tape driver is not present, the drive is "
10942 "recognized but the tape support described in this page is not available."
10943 msgstr ""
10944
10945 #. type: Plain text
10946 #: build/C/man4/st.4:931
10947 msgid ""
10948 "The driver writes error messages to the console/log.  The SENSE codes "
10949 "written into some messages are automatically translated to text if verbose "
10950 "SCSI messages are enabled in kernel configuration."
10951 msgstr ""
10952
10953 #.  .SH COPYRIGHT
10954 #.  Copyright \(co 1995 Robert K. Nichols.
10955 #.  .br
10956 #.  Copyright \(co 1999-2005 Kai M\(:akisara.
10957 #.  .PP
10958 #.  %%%LICENSE_START(VERBATIM)
10959 #.  Permission is granted to make and distribute verbatim copies of this
10960 #.  manual provided the copyright notice and this permission notice are
10961 #.  preserved on all copies.
10962 #.  Additional permissions are contained in the header of the source file.
10963 #. type: Plain text
10964 #: build/C/man4/st.4:954
10965 msgid ""
10966 "The driver's internal buffering allows good throughput in fixed-block mode "
10967 "also with small B<read>(2)  and B<write>(2)  byte counts.  With direct "
10968 "transfers this is not possible and may cause a surprise when moving to the "
10969 "2.6 kernel.  The solution is to tell the software to use larger transfers "
10970 "(often telling it to use larger blocks).  If this is not possible, direct "
10971 "transfers can be disabled."
10972 msgstr ""
10973
10974 #. type: Plain text
10975 #: build/C/man4/st.4:956
10976 msgid "B<mt>(1)"
10977 msgstr ""
10978
10979 #. type: Plain text
10980 #: build/C/man4/st.4:964
10981 msgid ""
10982 "The file I<drivers/scsi/README.st> or I<Documentation/scsi/st.txt> (kernel "
10983 "E<gt>= 2.6) in the Linux kernel source tree contains the most recent "
10984 "information about the driver and its configuration possibilities"
10985 msgstr ""
10986
10987 #. type: TH
10988 #: build/C/man3/stdarg.3:43
10989 #, no-wrap
10990 msgid "STDARG"
10991 msgstr ""
10992
10993 #. type: TH
10994 #: build/C/man3/stdarg.3:43
10995 #, no-wrap
10996 msgid "2013-12-10"
10997 msgstr ""
10998
10999 #. type: Plain text
11000 #: build/C/man3/stdarg.3:46
11001 msgid "stdarg, va_start, va_arg, va_end, va_copy - variable argument lists"
11002 msgstr ""
11003
11004 #. type: Plain text
11005 #: build/C/man3/stdarg.3:48 build/C/man3/syslog.3:49
11006 msgid "B<#include E<lt>stdarg.hE<gt>>"
11007 msgstr ""
11008
11009 #. type: Plain text
11010 #: build/C/man3/stdarg.3:50
11011 msgid "B<void va_start(va_list >I<ap>B<, >I<last>B<);>"
11012 msgstr ""
11013
11014 #. type: Plain text
11015 #: build/C/man3/stdarg.3:52
11016 msgid "I<type>B< va_arg(va_list >I<ap>B<, >I<type>B<);>"
11017 msgstr ""
11018
11019 #. type: Plain text
11020 #: build/C/man3/stdarg.3:54
11021 msgid "B<void va_end(va_list >I<ap>B<);>"
11022 msgstr ""
11023
11024 #. type: Plain text
11025 #: build/C/man3/stdarg.3:56
11026 msgid "B<void va_copy(va_list >I<dest>B<, va_list >I<src>B<);>"
11027 msgstr ""
11028
11029 #. type: Plain text
11030 #: build/C/man3/stdarg.3:65
11031 msgid ""
11032 "A function may be called with a varying number of arguments of varying "
11033 "types.  The include file I<E<lt>stdarg.hE<gt>> declares a type I<va_list> "
11034 "and defines three macros for stepping through a list of arguments whose "
11035 "number and types are not known to the called function."
11036 msgstr ""
11037
11038 #. type: Plain text
11039 #: build/C/man3/stdarg.3:73
11040 msgid ""
11041 "The called function must declare an object of type I<va_list> which is used "
11042 "by the macros B<va_start>(), B<va_arg>(), and B<va_end>()."
11043 msgstr ""
11044
11045 #. type: SS
11046 #: build/C/man3/stdarg.3:73
11047 #, no-wrap
11048 msgid "va_start()"
11049 msgstr ""
11050
11051 #. type: Plain text
11052 #: build/C/man3/stdarg.3:83
11053 msgid ""
11054 "The B<va_start>()  macro initializes I<ap> for subsequent use by B<va_arg>()  "
11055 "and B<va_end>(), and must be called first."
11056 msgstr ""
11057
11058 #. type: Plain text
11059 #: build/C/man3/stdarg.3:88
11060 msgid ""
11061 "The argument I<last> is the name of the last argument before the variable "
11062 "argument list, that is, the last argument of which the calling function "
11063 "knows the type."
11064 msgstr ""
11065
11066 #. type: Plain text
11067 #: build/C/man3/stdarg.3:93
11068 msgid ""
11069 "Because the address of this argument may be used in the B<va_start>()  "
11070 "macro, it should not be declared as a register variable, or as a function or "
11071 "an array type."
11072 msgstr ""
11073
11074 #. type: SS
11075 #: build/C/man3/stdarg.3:93
11076 #, no-wrap
11077 msgid "va_arg()"
11078 msgstr ""
11079
11080 #. type: Plain text
11081 #: build/C/man3/stdarg.3:115
11082 msgid ""
11083 "The B<va_arg>()  macro expands to an expression that has the type and value "
11084 "of the next argument in the call.  The argument I<ap> is the I<va_list> "
11085 "I<ap> initialized by B<va_start>().  Each call to B<va_arg>()  modifies "
11086 "I<ap> so that the next call returns the next argument.  The argument I<type> "
11087 "is a type name specified so that the type of a pointer to an object that has "
11088 "the specified type can be obtained simply by adding a * to I<type>."
11089 msgstr ""
11090
11091 #. type: Plain text
11092 #: build/C/man3/stdarg.3:123
11093 msgid ""
11094 "The first use of the B<va_arg>()  macro after that of the B<va_start>()  "
11095 "macro returns the argument after I<last>.  Successive invocations return the "
11096 "values of the remaining arguments."
11097 msgstr ""
11098
11099 #. type: Plain text
11100 #: build/C/man3/stdarg.3:128
11101 msgid ""
11102 "If there is no next argument, or if I<type> is not compatible with the type "
11103 "of the actual next argument (as promoted according to the default argument "
11104 "promotions), random errors will occur."
11105 msgstr ""
11106
11107 #. type: Plain text
11108 #: build/C/man3/stdarg.3:136
11109 msgid ""
11110 "If I<ap> is passed to a function that uses B<va_arg(>I<ap>B<,>I<type>B<),> "
11111 "then the value of I<ap> is undefined after the return of that function."
11112 msgstr ""
11113
11114 #. type: SS
11115 #: build/C/man3/stdarg.3:136
11116 #, no-wrap
11117 msgid "va_end()"
11118 msgstr ""
11119
11120 #. type: Plain text
11121 #: build/C/man3/stdarg.3:155
11122 msgid ""
11123 "Each invocation of B<va_start>()  must be matched by a corresponding "
11124 "invocation of B<va_end>()  in the same function.  After the call "
11125 "B<va_end(>I<ap>B<)> the variable I<ap> is undefined.  Multiple traversals of "
11126 "the list, each bracketed by B<va_start>()  and B<va_end>()  are possible.  "
11127 "B<va_end>()  may be a macro or a function."
11128 msgstr ""
11129
11130 #. type: SS
11131 #: build/C/man3/stdarg.3:155
11132 #, no-wrap
11133 msgid "va_copy()"
11134 msgstr ""
11135
11136 #. type: Plain text
11137 #: build/C/man3/stdarg.3:172
11138 msgid ""
11139 "The B<va_copy>()  macro copies the (previously initialized) variable "
11140 "argument list I<src> to I<dest>.  The behavior is as if B<va_start>()  were "
11141 "applied to I<dest> with the same I<last> argument, followed by the same "
11142 "number of B<va_arg>()  invocations that was used to reach the current state "
11143 "of I<src>."
11144 msgstr ""
11145
11146 #.  Proposal from clive@demon.net, 1997-02-28
11147 #. type: Plain text
11148 #: build/C/man3/stdarg.3:179
11149 msgid ""
11150 "An obvious implementation would have a I<va_list> be a pointer to the stack "
11151 "frame of the variadic function.  In such a setup (by far the most common) "
11152 "there seems nothing against an assignment"
11153 msgstr ""
11154
11155 #. type: Plain text
11156 #: build/C/man3/stdarg.3:183
11157 #, no-wrap
11158 msgid "va_list aq = ap;\n"
11159 msgstr ""
11160
11161 #. type: Plain text
11162 #: build/C/man3/stdarg.3:188
11163 msgid ""
11164 "Unfortunately, there are also systems that make it an array of pointers (of "
11165 "length 1), and there one needs"
11166 msgstr ""
11167
11168 #. type: Plain text
11169 #: build/C/man3/stdarg.3:193
11170 #, no-wrap
11171 msgid ""
11172 "va_list aq;\n"
11173 "*aq = *ap;\n"
11174 msgstr ""
11175
11176 #. type: Plain text
11177 #: build/C/man3/stdarg.3:209
11178 msgid ""
11179 "Finally, on systems where arguments are passed in registers, it may be "
11180 "necessary for B<va_start>()  to allocate memory, store the arguments there, "
11181 "and also an indication of which argument is next, so that B<va_arg>()  can "
11182 "step through the list.  Now B<va_end>()  can free the allocated memory "
11183 "again.  To accommodate this situation, C99 adds a macro B<va_copy>(), so "
11184 "that the above assignment can be replaced by"
11185 msgstr ""
11186
11187 #. type: Plain text
11188 #: build/C/man3/stdarg.3:216
11189 #, no-wrap
11190 msgid ""
11191 "va_list aq;\n"
11192 "va_copy(aq, ap);\n"
11193 "\\&...\n"
11194 "va_end(aq);\n"
11195 msgstr ""
11196
11197 #. type: Plain text
11198 #: build/C/man3/stdarg.3:229
11199 msgid ""
11200 "Each invocation of B<va_copy>()  must be matched by a corresponding "
11201 "invocation of B<va_end>()  in the same function.  Some systems that do not "
11202 "supply B<va_copy>()  have B<__va_copy> instead, since that was the name used "
11203 "in the draft proposal."
11204 msgstr ""
11205
11206 #. type: Plain text
11207 #: build/C/man3/stdarg.3:238
11208 msgid ""
11209 "The B<va_start>(), B<va_arg>(), B<va_end>(), and B<va_copy>()  macros are "
11210 "thread-safe."
11211 msgstr ""
11212
11213 #. type: Plain text
11214 #: build/C/man3/stdarg.3:248
11215 msgid ""
11216 "The B<va_start>(), B<va_arg>(), and B<va_end>()  macros conform to C89.  C99 "
11217 "defines the B<va_copy>()  macro."
11218 msgstr ""
11219
11220 #. type: Plain text
11221 #: build/C/man3/stdarg.3:254
11222 msgid ""
11223 "These macros are I<not> compatible with the historic macros they replace.  A "
11224 "backward-compatible version can be found in the include file "
11225 "I<E<lt>varargs.hE<gt>>."
11226 msgstr ""
11227
11228 #. type: Plain text
11229 #: build/C/man3/stdarg.3:256
11230 msgid "The historic setup is:"
11231 msgstr ""
11232
11233 #. type: Plain text
11234 #: build/C/man3/stdarg.3:260
11235 #, no-wrap
11236 msgid "#include E<lt>varargs.hE<gt>\n"
11237 msgstr ""
11238
11239 #. type: Plain text
11240 #: build/C/man3/stdarg.3:266
11241 #, no-wrap
11242 msgid ""
11243 "void\n"
11244 "foo(va_alist)\n"
11245 "    va_dcl\n"
11246 "{\n"
11247 "    va_list ap;\n"
11248 msgstr ""
11249
11250 #. type: Plain text
11251 #: build/C/man3/stdarg.3:275
11252 #, no-wrap
11253 msgid ""
11254 "    va_start(ap);\n"
11255 "    while (...) {\n"
11256 "        ...\n"
11257 "        x = va_arg(ap, type);\n"
11258 "        ...\n"
11259 "    }\n"
11260 "    va_end(ap);\n"
11261 "}\n"
11262 msgstr ""
11263
11264 #. type: Plain text
11265 #: build/C/man3/stdarg.3:284
11266 msgid ""
11267 "On some systems, I<va_end> contains a closing \\(aq}\\(aq matching a "
11268 "\\(aq{\\(aq in I<va_start>, so that both macros must occur in the same "
11269 "function, and in a way that allows this."
11270 msgstr ""
11271
11272 #. type: Plain text
11273 #: build/C/man3/stdarg.3:300
11274 msgid ""
11275 "Unlike the B<varargs> macros, the B<stdarg> macros do not permit programmers "
11276 "to code a function with no fixed arguments.  This problem generates work "
11277 "mainly when converting B<varargs> code to B<stdarg> code, but it also "
11278 "creates difficulties for variadic functions that wish to pass all of their "
11279 "arguments on to a function that takes a I<va_list> argument, such as "
11280 "B<vfprintf>(3)."
11281 msgstr ""
11282
11283 #. type: Plain text
11284 #: build/C/man3/stdarg.3:305
11285 msgid ""
11286 "The function I<foo> takes a string of format characters and prints out the "
11287 "argument associated with each format character based on the type."
11288 msgstr ""
11289
11290 #. type: Plain text
11291 #: build/C/man3/stdarg.3:309
11292 #, no-wrap
11293 msgid ""
11294 "#include E<lt>stdio.hE<gt>\n"
11295 "#include E<lt>stdarg.hE<gt>\n"
11296 msgstr ""
11297
11298 #. type: Plain text
11299 #: build/C/man3/stdarg.3:316
11300 #, no-wrap
11301 msgid ""
11302 "void\n"
11303 "foo(char *fmt, ...)\n"
11304 "{\n"
11305 "    va_list ap;\n"
11306 "    int d;\n"
11307 "    char c, *s;\n"
11308 msgstr ""
11309
11310 #. type: Plain text
11311 #: build/C/man3/stdarg.3:337
11312 #, no-wrap
11313 msgid ""
11314 "    va_start(ap, fmt);\n"
11315 "    while (*fmt)\n"
11316 "        switch (*fmt++) {\n"
11317 "        case \\(aqs\\(aq:              /* string */\n"
11318 "            s = va_arg(ap, char *);\n"
11319 "            printf(\"string %s\\en\", s);\n"
11320 "            break;\n"
11321 "        case \\(aqd\\(aq:              /* int */\n"
11322 "            d = va_arg(ap, int);\n"
11323 "            printf(\"int %d\\en\", d);\n"
11324 "            break;\n"
11325 "        case \\(aqc\\(aq:              /* char */\n"
11326 "            /* need a cast here since va_arg only\n"
11327 "               takes fully promoted types */\n"
11328 "            c = (char) va_arg(ap, int);\n"
11329 "            printf(\"char %c\\en\", c);\n"
11330 "            break;\n"
11331 "        }\n"
11332 "    va_end(ap);\n"
11333 "}\n"
11334 msgstr ""
11335
11336 #. type: TH
11337 #: build/C/man2/syslog.2:31 build/C/man3/syslog.3:36
11338 #, no-wrap
11339 msgid "SYSLOG"
11340 msgstr ""
11341
11342 #. type: TH
11343 #: build/C/man2/syslog.2:31
11344 #, no-wrap
11345 msgid "2012-11-29"
11346 msgstr ""
11347
11348 #. type: Plain text
11349 #: build/C/man2/syslog.2:35
11350 msgid ""
11351 "syslog, klogctl - read and/or clear kernel message ring buffer; set "
11352 "console_loglevel"
11353 msgstr ""
11354
11355 #. type: Plain text
11356 #: build/C/man2/syslog.2:39
11357 #, no-wrap
11358 msgid ""
11359 "B<int syslog(int >I<type>B<, char *>I<bufp>B<, int >I<len>B<);>\n"
11360 "B</* No wrapper provided in glibc */>\n"
11361 msgstr ""
11362
11363 #. type: Plain text
11364 #: build/C/man2/syslog.2:41
11365 #, no-wrap
11366 msgid "/* The glibc interface */\n"
11367 msgstr ""
11368
11369 #. type: Plain text
11370 #: build/C/man2/syslog.2:43
11371 #, no-wrap
11372 msgid "B<#include E<lt>sys/klog.hE<gt>>\n"
11373 msgstr ""
11374
11375 #. type: Plain text
11376 #: build/C/man2/syslog.2:45
11377 #, no-wrap
11378 msgid "B<int klogctl(int >I<type>B<, char *>I<bufp>B<, int >I<len>B<);>\n"
11379 msgstr ""
11380
11381 #. type: Plain text
11382 #: build/C/man2/syslog.2:57
11383 msgid ""
11384 "If you need the C library function B<syslog>()  (which talks to "
11385 "B<syslogd>(8)), then look at B<syslog>(3).  The system call of this name is "
11386 "about controlling the kernel I<printk>()  buffer, and the glibc wrapper "
11387 "function is called B<klogctl>()."
11388 msgstr ""
11389
11390 #. type: SS
11391 #: build/C/man2/syslog.2:57
11392 #, no-wrap
11393 msgid "The kernel log buffer"
11394 msgstr ""
11395
11396 #.  Under "General setup" ==> "Kernel log buffer size"
11397 #.  For 2.6, precisely the option seems to have appeared in 2.5.55.
11398 #. type: Plain text
11399 #: build/C/man2/syslog.2:73
11400 msgid ""
11401 "The kernel has a cyclic buffer of length B<LOG_BUF_LEN> in which messages "
11402 "given as arguments to the kernel function B<printk>()  are stored "
11403 "(regardless of their loglevel).  In early kernels, B<LOG_BUF_LEN> had the "
11404 "value 4096; from kernel 1.3.54, it was 8192; from kernel 2.1.113 it was "
11405 "16384; since 2.4.23/2.6 the value is a kernel configuration option "
11406 "(B<CONFIG_LOG_BUF_SHIFT>).  In recent kernels the size can be queried with "
11407 "command type 10 (see below)."
11408 msgstr ""
11409
11410 #. type: SS
11411 #: build/C/man2/syslog.2:73
11412 #, no-wrap
11413 msgid "Commands"
11414 msgstr ""
11415
11416 #. type: Plain text
11417 #: build/C/man2/syslog.2:80
11418 msgid ""
11419 "The I<type> argument determines the action taken by this function.  The list "
11420 "below specifies the values for I<type>.  The symbolic names are defined in "
11421 "the kernel source, but are not exported to user space; you will either need "
11422 "to use the numbers, or define the names yourself."
11423 msgstr ""
11424
11425 #. type: TP
11426 #: build/C/man2/syslog.2:80
11427 #, no-wrap
11428 msgid "B<SYSLOG_ACTION_CLOSE> (0)"
11429 msgstr ""
11430
11431 #. type: Plain text
11432 #: build/C/man2/syslog.2:84
11433 msgid "Close the log.  Currently a NOP."
11434 msgstr ""
11435
11436 #. type: TP
11437 #: build/C/man2/syslog.2:84
11438 #, no-wrap
11439 msgid "B<SYSLOG_ACTION_OPEN> (1)"
11440 msgstr ""
11441
11442 #. type: Plain text
11443 #: build/C/man2/syslog.2:88
11444 msgid "Open the log.  Currently a NOP."
11445 msgstr ""
11446
11447 #. type: TP
11448 #: build/C/man2/syslog.2:88
11449 #, no-wrap
11450 msgid "B<SYSLOG_ACTION_READ> (2)"
11451 msgstr ""
11452
11453 #. type: Plain text
11454 #: build/C/man2/syslog.2:100
11455 msgid ""
11456 "Read from the log.  The call waits until the kernel log buffer is nonempty, "
11457 "and then reads at most I<len> bytes into the buffer pointed to by I<bufp>.  "
11458 "The call returns the number of bytes read.  Bytes read from the log "
11459 "disappear from the log buffer: the information can be read only once.  This "
11460 "is the function executed by the kernel when a user program reads "
11461 "I</proc/kmsg>."
11462 msgstr ""
11463
11464 #. type: TP
11465 #: build/C/man2/syslog.2:100
11466 #, no-wrap
11467 msgid "B<SYSLOG_ACTION_READ_ALL> (3)"
11468 msgstr ""
11469
11470 #. type: Plain text
11471 #: build/C/man2/syslog.2:110
11472 msgid ""
11473 "Read all messages remaining in the ring buffer, placing then in the buffer "
11474 "pointed to by I<bufp>.  The call reads the last I<len> bytes from the log "
11475 "buffer (nondestructively), but will not read more than was written into the "
11476 "buffer since the last \"clear ring buffer\" command (see command 5 below)).  "
11477 "The call returns the number of bytes read."
11478 msgstr ""
11479
11480 #. type: TP
11481 #: build/C/man2/syslog.2:110
11482 #, no-wrap
11483 msgid "B<SYSLOG_ACTION_READ_CLEAR> (4)"
11484 msgstr ""
11485
11486 #. type: Plain text
11487 #: build/C/man2/syslog.2:116
11488 msgid ""
11489 "Read and clear all messages remaining in the ring buffer.  The call does "
11490 "precisely the same as for a I<type> of 3, but also executes the \"clear ring "
11491 "buffer\" command."
11492 msgstr ""
11493
11494 #. type: TP
11495 #: build/C/man2/syslog.2:116
11496 #, no-wrap
11497 msgid "B<SYSLOG_ACTION_CLEAR> (5)"
11498 msgstr ""
11499
11500 #. type: Plain text
11501 #: build/C/man2/syslog.2:124
11502 msgid ""
11503 "The call executes just the \"clear ring buffer\" command.  The I<bufp> and "
11504 "I<len> arguments are ignored."
11505 msgstr ""
11506
11507 #. type: Plain text
11508 #: build/C/man2/syslog.2:135
11509 msgid ""
11510 "This command does not really clear the ring buffer.  Rather, it sets a "
11511 "kernel bookkeeping variable that determines the results returned by commands "
11512 "3 (B<SYSLOG_ACTION_READ_ALL>)  and 4 (B<SYSLOG_ACTION_READ_CLEAR>).  This "
11513 "command has no effect on commands 2 (B<SYSLOG_ACTION_READ>)  and 9 "
11514 "(B<SYSLOG_ACTION_SIZE_UNREAD>)."
11515 msgstr ""
11516
11517 #. type: TP
11518 #: build/C/man2/syslog.2:135
11519 #, no-wrap
11520 msgid "B<SYSLOG_ACTION_CONSOLE_OFF> (6)"
11521 msgstr ""
11522
11523 #. type: Plain text
11524 #: build/C/man2/syslog.2:145
11525 msgid ""
11526 "Disable printk to console.  The call sets the console log level to the "
11527 "minimum, so that no messages are printed to the console.  The I<bufp> and "
11528 "I<len> arguments are ignored."
11529 msgstr ""
11530
11531 #. type: TP
11532 #: build/C/man2/syslog.2:145
11533 #, no-wrap
11534 msgid "B<SYSLOG_ACTION_CONSOLE_ON> (7)"
11535 msgstr ""
11536
11537 #. type: Plain text
11538 #: build/C/man2/syslog.2:154
11539 msgid ""
11540 "The call sets the console log level to the default, so that messages are "
11541 "printed to the console.  The I<bufp> and I<len> arguments are ignored."
11542 msgstr ""
11543
11544 #. type: TP
11545 #: build/C/man2/syslog.2:154
11546 #, no-wrap
11547 msgid "B<SYSLOG_ACTION_CONSOLE_LEVEL> (8)"
11548 msgstr ""
11549
11550 #. type: Plain text
11551 #: build/C/man2/syslog.2:165
11552 msgid ""
11553 "The call sets the console log level to the value given in I<len>, which must "
11554 "be an integer between 1 and 8 (inclusive).  See the B<loglevel> section for "
11555 "details.  The I<bufp> argument is ignored."
11556 msgstr ""
11557
11558 #. type: TP
11559 #: build/C/man2/syslog.2:165
11560 #, no-wrap
11561 msgid "B<SYSLOG_ACTION_SIZE_UNREAD> (9) (since Linux 2.4.10)"
11562 msgstr ""
11563
11564 #. type: Plain text
11565 #: build/C/man2/syslog.2:176
11566 msgid ""
11567 "The call returns the number of bytes currently available to be read from the "
11568 "kernel log buffer via command 2 (B<SYSLOG_ACTION_READ>).  The I<bufp> and "
11569 "I<len> arguments are ignored."
11570 msgstr ""
11571
11572 #. type: TP
11573 #: build/C/man2/syslog.2:176
11574 #, no-wrap
11575 msgid "B<SYSLOG_ACTION_SIZE_BUFFER> (10) (since Linux 2.6.6)"
11576 msgstr ""
11577
11578 #. type: Plain text
11579 #: build/C/man2/syslog.2:184
11580 msgid ""
11581 "This command returns the total size of the kernel log buffer.  The I<bufp> "
11582 "and I<len> arguments are ignored."
11583 msgstr ""
11584
11585 #. type: Plain text
11586 #: build/C/man2/syslog.2:201
11587 msgid ""
11588 "All commands except 3 and 10 require privilege.  In Linux kernels before "
11589 "2.6.37, command types 3 and 10 are allowed to unprivileged processes; since "
11590 "Linux 2.6.37, these commands are allowed to unprivileged processes only if "
11591 "I</proc/sys/kernel/dmesg_restrict> has the value 0.  Before Linux 2.6.37, "
11592 "\"privileged\" means that the caller has the B<CAP_SYS_ADMIN> capability.  "
11593 "Since Linux 2.6.37, \"privileged\" means that the caller has either the "
11594 "B<CAP_SYS_ADMIN> capability (now deprecated for this purpose) or the (new)  "
11595 "B<CAP_SYSLOG> capability."
11596 msgstr ""
11597
11598 #. type: SS
11599 #: build/C/man2/syslog.2:201
11600 #, no-wrap
11601 msgid "The loglevel"
11602 msgstr ""
11603
11604 #. type: Plain text
11605 #: build/C/man2/syslog.2:223
11606 msgid ""
11607 "The kernel routine B<printk>()  will only print a message on the console, if "
11608 "it has a loglevel less than the value of the variable I<console_loglevel>.  "
11609 "This variable initially has the value B<DEFAULT_CONSOLE_LOGLEVEL> (7), but "
11610 "is set to 10 if the kernel command line contains the word \"debug\", and to "
11611 "15 in case of a kernel fault (the 10 and 15 are just silly, and equivalent "
11612 "to 8).  This variable is set (to a value in the range 1-8) by a B<syslog>()  "
11613 "call with a I<type> of 8.  Calls to B<syslog>()  with I<type> equal to 6 or "
11614 "7 set the variable to 1 (kernel panics only)  or 7 (all except debugging "
11615 "messages), respectively."
11616 msgstr ""
11617
11618 #. type: Plain text
11619 #: build/C/man2/syslog.2:233
11620 msgid ""
11621 "Every text line in a message has its own loglevel.  This level is "
11622 "I<DEFAULT_MESSAGE_LOGLEVEL - 1> (6) unless the line starts with E<lt>dE<gt> "
11623 "where I<d> is a digit in the range 1-7, in which case the level is I<d>.  "
11624 "The conventional meaning of the loglevel is defined in "
11625 "I<E<lt>linux/kernel.hE<gt>> as follows:"
11626 msgstr ""
11627
11628 #. type: Plain text
11629 #: build/C/man2/syslog.2:243
11630 #, no-wrap
11631 msgid ""
11632 "#define KERN_EMERG    \"E<lt>0E<gt>\"  /* system is unusable               "
11633 "*/\n"
11634 "#define KERN_ALERT    \"E<lt>1E<gt>\"  /* action must be taken immediately "
11635 "*/\n"
11636 "#define KERN_CRIT     \"E<lt>2E<gt>\"  /* critical conditions              "
11637 "*/\n"
11638 "#define KERN_ERR      \"E<lt>3E<gt>\"  /* error conditions                 "
11639 "*/\n"
11640 "#define KERN_WARNING  \"E<lt>4E<gt>\"  /* warning conditions               "
11641 "*/\n"
11642 "#define KERN_NOTICE   \"E<lt>5E<gt>\"  /* normal but significant condition "
11643 "*/\n"
11644 "#define KERN_INFO     \"E<lt>6E<gt>\"  /* informational                    "
11645 "*/\n"
11646 "#define KERN_DEBUG    \"E<lt>7E<gt>\"  /* debug-level messages             "
11647 "*/\n"
11648 msgstr ""
11649
11650 #. type: Plain text
11651 #: build/C/man2/syslog.2:257
11652 msgid ""
11653 "For I<type> equal to 2, 3, or 4, a successful call to B<syslog>()  returns "
11654 "the number of bytes read.  For I<type> 9, B<syslog>()  returns the number of "
11655 "bytes currently available to be read on the kernel log buffer.  For I<type> "
11656 "10, B<syslog>()  returns the total size of the kernel log buffer.  For other "
11657 "values of I<type>, 0 is returned on success."
11658 msgstr ""
11659
11660 #. type: Plain text
11661 #: build/C/man2/syslog.2:260
11662 msgid "In case of error, -1 is returned, and I<errno> is set to indicate the error."
11663 msgstr ""
11664
11665 #. type: Plain text
11666 #: build/C/man2/syslog.2:278
11667 msgid ""
11668 "Bad arguments (e.g., bad I<type>; or for I<type> 2, 3, or 4, I<buf> is NULL, "
11669 "or I<len> is less than zero; or for I<type> 8, the I<level> is outside the "
11670 "range 1 to 8)."
11671 msgstr ""
11672
11673 #. type: Plain text
11674 #: build/C/man2/syslog.2:285
11675 msgid ""
11676 "This B<syslog>()  system call is not available, because the kernel was "
11677 "compiled with the B<CONFIG_PRINTK> kernel-configuration option disabled."
11678 msgstr ""
11679
11680 #. type: Plain text
11681 #: build/C/man2/syslog.2:294
11682 msgid ""
11683 "An attempt was made to change console_loglevel or clear the kernel message "
11684 "ring buffer by a process without sufficient privilege (more precisely: "
11685 "without the B<CAP_SYS_ADMIN> or B<CAP_SYSLOG> capability)."
11686 msgstr ""
11687
11688 #. type: TP
11689 #: build/C/man2/syslog.2:294
11690 #, no-wrap
11691 msgid "B<ERESTARTSYS>"
11692 msgstr ""
11693
11694 #. type: Plain text
11695 #: build/C/man2/syslog.2:298
11696 msgid ""
11697 "System call was interrupted by a signal; nothing was read.  (This can be "
11698 "seen only during a trace.)"
11699 msgstr ""
11700
11701 #. type: Plain text
11702 #: build/C/man2/syslog.2:301
11703 msgid ""
11704 "This system call is Linux-specific and should not be used in programs "
11705 "intended to be portable."
11706 msgstr ""
11707
11708 #.  In libc4 and libc5 the number of this call was defined by
11709 #.  .BR SYS_klog .
11710 #.  In glibc 2.0 the syscall is baptized
11711 #.  .BR klogctl ().
11712 #. type: Plain text
11713 #: build/C/man2/syslog.2:309
11714 msgid ""
11715 "From the very start people noted that it is unfortunate that a system call "
11716 "and a library routine of the same name are entirely different animals."
11717 msgstr ""
11718
11719 #. type: Plain text
11720 #: build/C/man2/syslog.2:312
11721 msgid "B<syslog>(3), B<capabilities>(7)"
11722 msgstr ""
11723
11724 #. type: TH
11725 #: build/C/man3/syslog.3:36
11726 #, no-wrap
11727 msgid "2012-08-17"
11728 msgstr ""
11729
11730 #. type: Plain text
11731 #: build/C/man3/syslog.3:39
11732 msgid "closelog, openlog, syslog, vsyslog - send messages to the system logger"
11733 msgstr ""
11734
11735 #. type: Plain text
11736 #: build/C/man3/syslog.3:41
11737 msgid "B<#include E<lt>syslog.hE<gt>>"
11738 msgstr ""
11739
11740 #. type: Plain text
11741 #: build/C/man3/syslog.3:43
11742 msgid ""
11743 "B<void openlog(const char *>I<ident>B<, int >I<option>B<, int "
11744 ">I<facility>B<);>"
11745 msgstr ""
11746
11747 #. type: Plain text
11748 #: build/C/man3/syslog.3:45
11749 msgid "B<void syslog(int >I<priority>B<, const char *>I<format>B<, ...);>"
11750 msgstr ""
11751
11752 #. type: Plain text
11753 #: build/C/man3/syslog.3:47
11754 msgid "B<void closelog(void);>"
11755 msgstr ""
11756
11757 #. type: Plain text
11758 #: build/C/man3/syslog.3:51
11759 msgid ""
11760 "B<void vsyslog(int >I<priority>B<, const char *>I<format>B<, va_list "
11761 ">I<ap>B<);>"
11762 msgstr ""
11763
11764 #. type: Plain text
11765 #: build/C/man3/syslog.3:59
11766 msgid "B<vsyslog>(): _BSD_SOURCE"
11767 msgstr ""
11768
11769 #. type: Plain text
11770 #: build/C/man3/syslog.3:65
11771 msgid ""
11772 "B<closelog>()  closes the descriptor being used to write to the system "
11773 "logger.  The use of B<closelog>()  is optional."
11774 msgstr ""
11775
11776 #. type: Plain text
11777 #: build/C/man3/syslog.3:77
11778 msgid ""
11779 "B<openlog>()  opens a connection to the system logger for a program.  The "
11780 "string pointed to by I<ident> is prepended to every message, and is "
11781 "typically set to the program name.  If I<ident> is NULL, the program name is "
11782 "used.  (POSIX.1-2008 does not specify the behavior when I<ident> is NULL.)"
11783 msgstr ""
11784
11785 #. type: Plain text
11786 #: build/C/man3/syslog.3:101
11787 msgid ""
11788 "The I<option> argument specifies flags which control the operation of "
11789 "B<openlog>()  and subsequent calls to B<syslog>().  The I<facility> argument "
11790 "establishes a default to be used if none is specified in subsequent calls to "
11791 "B<syslog>().  Values for I<option> and I<facility> are given below.  The use "
11792 "of B<openlog>()  is optional; it will automatically be called by B<syslog>()  "
11793 "if necessary, in which case I<ident> will default to NULL."
11794 msgstr ""
11795
11796 #. type: Plain text
11797 #: build/C/man3/syslog.3:125
11798 msgid ""
11799 "B<syslog>()  generates a log message, which will be distributed by "
11800 "B<syslogd>(8).  The I<priority> argument is formed by ORing the I<facility> "
11801 "and the I<level> values (explained below).  The remaining arguments are a "
11802 "I<format>, as in B<printf>(3)  and any arguments required by the I<format>, "
11803 "except that the two character sequence B<%m> will be replaced by the error "
11804 "message string I<strerror>(I<errno>).  A trailing newline may be added if "
11805 "needed."
11806 msgstr ""
11807
11808 #. type: Plain text
11809 #: build/C/man3/syslog.3:134
11810 msgid ""
11811 "The function B<vsyslog>()  performs the same task as B<syslog>()  with the "
11812 "difference that it takes a set of arguments which have been obtained using "
11813 "the B<stdarg>(3)  variable argument list macros."
11814 msgstr ""
11815
11816 #. type: Plain text
11817 #: build/C/man3/syslog.3:137
11818 msgid ""
11819 "The subsections below list the parameters used to set the values of "
11820 "I<option>,I< facility>, and I<priority>."
11821 msgstr ""
11822
11823 #. type: SS
11824 #: build/C/man3/syslog.3:137
11825 #, no-wrap
11826 msgid "option"
11827 msgstr ""
11828
11829 #. type: Plain text
11830 #: build/C/man3/syslog.3:143
11831 msgid "The I<option> argument to B<openlog>()  is an OR of any of these:"
11832 msgstr ""
11833
11834 #. type: TP
11835 #: build/C/man3/syslog.3:143
11836 #, no-wrap
11837 msgid "B<LOG_CONS>"
11838 msgstr ""
11839
11840 #. type: Plain text
11841 #: build/C/man3/syslog.3:147
11842 msgid ""
11843 "Write directly to system console if there is an error while sending to "
11844 "system logger."
11845 msgstr ""
11846
11847 #. type: TP
11848 #: build/C/man3/syslog.3:147
11849 #, no-wrap
11850 msgid "B<LOG_NDELAY>"
11851 msgstr ""
11852
11853 #. type: Plain text
11854 #: build/C/man3/syslog.3:151
11855 msgid ""
11856 "Open the connection immediately (normally, the connection is opened when the "
11857 "first message is logged)."
11858 msgstr ""
11859
11860 #. type: TP
11861 #: build/C/man3/syslog.3:151
11862 #, no-wrap
11863 msgid "B<LOG_NOWAIT>"
11864 msgstr ""
11865
11866 #. type: Plain text
11867 #: build/C/man3/syslog.3:157
11868 msgid ""
11869 "Don't wait for child processes that may have been created while logging the "
11870 "message.  (The GNU C library does not create a child process, so this option "
11871 "has no effect on Linux.)"
11872 msgstr ""
11873
11874 #. type: TP
11875 #: build/C/man3/syslog.3:157
11876 #, no-wrap
11877 msgid "B<LOG_ODELAY>"
11878 msgstr ""
11879
11880 #. type: Plain text
11881 #: build/C/man3/syslog.3:165
11882 msgid ""
11883 "The converse of B<LOG_NDELAY>; opening of the connection is delayed until "
11884 "B<syslog>()  is called.  (This is the default, and need not be specified.)"
11885 msgstr ""
11886
11887 #. type: TP
11888 #: build/C/man3/syslog.3:165
11889 #, no-wrap
11890 msgid "B<LOG_PERROR>"
11891 msgstr ""
11892
11893 #. type: Plain text
11894 #: build/C/man3/syslog.3:169
11895 msgid "(Not in POSIX.1-2001 or POSIX.1-2008.)  Print to I<stderr> as well."
11896 msgstr ""
11897
11898 #. type: TP
11899 #: build/C/man3/syslog.3:169
11900 #, no-wrap
11901 msgid "B<LOG_PID>"
11902 msgstr ""
11903
11904 #. type: Plain text
11905 #: build/C/man3/syslog.3:172
11906 msgid "Include PID with each message."
11907 msgstr ""
11908
11909 #. type: SS
11910 #: build/C/man3/syslog.3:172
11911 #, no-wrap
11912 msgid "facility"
11913 msgstr ""
11914
11915 #. type: Plain text
11916 #: build/C/man3/syslog.3:178
11917 msgid ""
11918 "The I<facility> argument is used to specify what type of program is logging "
11919 "the message.  This lets the configuration file specify that messages from "
11920 "different facilities will be handled differently."
11921 msgstr ""
11922
11923 #. type: TP
11924 #: build/C/man3/syslog.3:178
11925 #, no-wrap
11926 msgid "B<LOG_AUTH>"
11927 msgstr ""
11928
11929 #. type: Plain text
11930 #: build/C/man3/syslog.3:181
11931 msgid "security/authorization messages"
11932 msgstr ""
11933
11934 #. type: TP
11935 #: build/C/man3/syslog.3:181
11936 #, no-wrap
11937 msgid "B<LOG_AUTHPRIV>"
11938 msgstr ""
11939
11940 #. type: Plain text
11941 #: build/C/man3/syslog.3:184
11942 msgid "security/authorization messages (private)"
11943 msgstr ""
11944
11945 #. type: TP
11946 #: build/C/man3/syslog.3:184
11947 #, no-wrap
11948 msgid "B<LOG_CRON>"
11949 msgstr ""
11950
11951 #. type: Plain text
11952 #: build/C/man3/syslog.3:188
11953 msgid "clock daemon (B<cron> and B<at>)"
11954 msgstr ""
11955
11956 #. type: TP
11957 #: build/C/man3/syslog.3:188
11958 #, no-wrap
11959 msgid "B<LOG_DAEMON>"
11960 msgstr ""
11961
11962 #. type: Plain text
11963 #: build/C/man3/syslog.3:191
11964 msgid "system daemons without separate facility value"
11965 msgstr ""
11966
11967 #. type: TP
11968 #: build/C/man3/syslog.3:191
11969 #, no-wrap
11970 msgid "B<LOG_FTP>"
11971 msgstr ""
11972
11973 #. type: Plain text
11974 #: build/C/man3/syslog.3:194
11975 msgid "ftp daemon"
11976 msgstr ""
11977
11978 #. type: TP
11979 #: build/C/man3/syslog.3:194
11980 #, no-wrap
11981 msgid "B<LOG_KERN>"
11982 msgstr ""
11983
11984 #.  LOG_KERN has the value 0; if used as a facility, zero translates to:
11985 #.  "use the default facility".
11986 #. type: Plain text
11987 #: build/C/man3/syslog.3:199
11988 msgid "kernel messages (these can't be generated from user processes)"
11989 msgstr ""
11990
11991 #. type: TP
11992 #: build/C/man3/syslog.3:199
11993 #, no-wrap
11994 msgid "B<LOG_LOCAL0> through B<LOG_LOCAL7>"
11995 msgstr ""
11996
11997 #. type: Plain text
11998 #: build/C/man3/syslog.3:202
11999 msgid "reserved for local use"
12000 msgstr ""
12001
12002 #. type: TP
12003 #: build/C/man3/syslog.3:202
12004 #, no-wrap
12005 msgid "B<LOG_LPR>"
12006 msgstr ""
12007
12008 #. type: Plain text
12009 #: build/C/man3/syslog.3:205
12010 msgid "line printer subsystem"
12011 msgstr ""
12012
12013 #. type: TP
12014 #: build/C/man3/syslog.3:205
12015 #, no-wrap
12016 msgid "B<LOG_MAIL>"
12017 msgstr ""
12018
12019 #. type: Plain text
12020 #: build/C/man3/syslog.3:208
12021 msgid "mail subsystem"
12022 msgstr ""
12023
12024 #. type: TP
12025 #: build/C/man3/syslog.3:208
12026 #, no-wrap
12027 msgid "B<LOG_NEWS>"
12028 msgstr ""
12029
12030 #. type: Plain text
12031 #: build/C/man3/syslog.3:211
12032 msgid "USENET news subsystem"
12033 msgstr ""
12034
12035 #. type: TP
12036 #: build/C/man3/syslog.3:211
12037 #, no-wrap
12038 msgid "B<LOG_SYSLOG>"
12039 msgstr ""
12040
12041 #. type: Plain text
12042 #: build/C/man3/syslog.3:215
12043 msgid "messages generated internally by B<syslogd>(8)"
12044 msgstr ""
12045
12046 #. type: TP
12047 #: build/C/man3/syslog.3:215
12048 #, no-wrap
12049 msgid "B<LOG_USER> (default)"
12050 msgstr ""
12051
12052 #. type: Plain text
12053 #: build/C/man3/syslog.3:218
12054 msgid "generic user-level messages"
12055 msgstr ""
12056
12057 #. type: TP
12058 #: build/C/man3/syslog.3:218
12059 #, no-wrap
12060 msgid "B<LOG_UUCP>"
12061 msgstr ""
12062
12063 #. type: Plain text
12064 #: build/C/man3/syslog.3:221
12065 msgid "UUCP subsystem"
12066 msgstr ""
12067
12068 #. type: SS
12069 #: build/C/man3/syslog.3:221
12070 #, no-wrap
12071 msgid "level"
12072 msgstr ""
12073
12074 #. type: Plain text
12075 #: build/C/man3/syslog.3:224
12076 msgid ""
12077 "This determines the importance of the message.  The levels are, in order of "
12078 "decreasing importance:"
12079 msgstr ""
12080
12081 #. type: TP
12082 #: build/C/man3/syslog.3:224
12083 #, no-wrap
12084 msgid "B<LOG_EMERG>"
12085 msgstr ""
12086
12087 #. type: Plain text
12088 #: build/C/man3/syslog.3:227
12089 msgid "system is unusable"
12090 msgstr ""
12091
12092 #. type: TP
12093 #: build/C/man3/syslog.3:227
12094 #, no-wrap
12095 msgid "B<LOG_ALERT>"
12096 msgstr ""
12097
12098 #. type: Plain text
12099 #: build/C/man3/syslog.3:230
12100 msgid "action must be taken immediately"
12101 msgstr ""
12102
12103 #. type: TP
12104 #: build/C/man3/syslog.3:230
12105 #, no-wrap
12106 msgid "B<LOG_CRIT>"
12107 msgstr ""
12108
12109 #. type: Plain text
12110 #: build/C/man3/syslog.3:233
12111 msgid "critical conditions"
12112 msgstr ""
12113
12114 #. type: TP
12115 #: build/C/man3/syslog.3:233
12116 #, no-wrap
12117 msgid "B<LOG_ERR>"
12118 msgstr ""
12119
12120 #. type: Plain text
12121 #: build/C/man3/syslog.3:236
12122 msgid "error conditions"
12123 msgstr ""
12124
12125 #. type: TP
12126 #: build/C/man3/syslog.3:236
12127 #, no-wrap
12128 msgid "B<LOG_WARNING>"
12129 msgstr ""
12130
12131 #. type: Plain text
12132 #: build/C/man3/syslog.3:239
12133 msgid "warning conditions"
12134 msgstr ""
12135
12136 #. type: TP
12137 #: build/C/man3/syslog.3:239
12138 #, no-wrap
12139 msgid "B<LOG_NOTICE>"
12140 msgstr ""
12141
12142 #. type: Plain text
12143 #: build/C/man3/syslog.3:242
12144 msgid "normal, but significant, condition"
12145 msgstr ""
12146
12147 #. type: TP
12148 #: build/C/man3/syslog.3:242
12149 #, no-wrap
12150 msgid "B<LOG_INFO>"
12151 msgstr ""
12152
12153 #. type: Plain text
12154 #: build/C/man3/syslog.3:245
12155 msgid "informational message"
12156 msgstr ""
12157
12158 #. type: TP
12159 #: build/C/man3/syslog.3:245
12160 #, no-wrap
12161 msgid "B<LOG_DEBUG>"
12162 msgstr ""
12163
12164 #. type: Plain text
12165 #: build/C/man3/syslog.3:248
12166 msgid "debug-level message"
12167 msgstr ""
12168
12169 #. type: Plain text
12170 #: build/C/man3/syslog.3:252
12171 msgid ""
12172 "The function B<setlogmask>(3)  can be used to restrict logging to specified "
12173 "levels only."
12174 msgstr ""
12175
12176 #.  .SH HISTORY
12177 #.  A
12178 #.  .BR syslog ()
12179 #.  function call appeared in 4.2BSD.
12180 #.  4.3BSD documents
12181 #.  .BR openlog (),
12182 #.  .BR syslog (),
12183 #.  .BR closelog (),
12184 #.  and
12185 #.  .BR setlogmask ().
12186 #.  4.3BSD-Reno also documents
12187 #.  .BR vsyslog ().
12188 #.  Of course early v* functions used the
12189 #.  .I <varargs.h>
12190 #.  mechanism, which is not compatible with
12191 #.  .IR <stdarg.h> .
12192 #. type: Plain text
12193 #: build/C/man3/syslog.3:296
12194 msgid ""
12195 "The functions B<openlog>(), B<closelog>(), and B<syslog>()  (but not "
12196 "B<vsyslog>())  are specified in SUSv2, POSIX.1-2001, and POSIX.1-2008.  "
12197 "POSIX.1-2001 specifies only the B<LOG_USER> and B<LOG_LOCAL*> values for "
12198 "I<facility>.  However, with the exception of B<LOG_AUTHPRIV> and B<LOG_FTP>, "
12199 "the other I<facility> values appear on most UNIX systems.  The B<LOG_PERROR> "
12200 "value for I<option> is not specified by POSIX.1-2001 or POSIX.1-2008, but is "
12201 "available in most versions of UNIX."
12202 msgstr ""
12203
12204 #. type: Plain text
12205 #: build/C/man3/syslog.3:308
12206 msgid ""
12207 "The argument I<ident> in the call of B<openlog>()  is probably stored "
12208 "as-is.  Thus, if the string it points to is changed, B<syslog>()  may start "
12209 "prepending the changed string, and if the string it points to ceases to "
12210 "exist, the results are undefined.  Most portable is to use a string "
12211 "constant."
12212 msgstr ""
12213
12214 #. type: Plain text
12215 #: build/C/man3/syslog.3:311
12216 msgid ""
12217 "Never pass a string with user-supplied data as a format, use the following "
12218 "instead:"
12219 msgstr ""
12220
12221 #. type: Plain text
12222 #: build/C/man3/syslog.3:314
12223 #, no-wrap
12224 msgid "    syslog(priority, \"%s\", string);\n"
12225 msgstr ""
12226
12227 #. type: Plain text
12228 #: build/C/man3/syslog.3:320
12229 msgid "B<logger>(1), B<setlogmask>(3), B<syslog.conf>(5), B<syslogd>(8)"
12230 msgstr ""
12231
12232 #. type: TH
12233 #: build/C/man4/ttyS.4:26
12234 #, no-wrap
12235 msgid "TTYS"
12236 msgstr ""
12237
12238 #. type: TH
12239 #: build/C/man4/ttyS.4:26
12240 #, no-wrap
12241 msgid "1992-12-19"
12242 msgstr ""
12243
12244 #. type: Plain text
12245 #: build/C/man4/ttyS.4:29
12246 msgid "ttyS - serial terminal lines"
12247 msgstr ""
12248
12249 #. type: Plain text
12250 #: build/C/man4/ttyS.4:32
12251 msgid "B<ttyS[0-3]> are character devices for the serial terminal lines."
12252 msgstr ""
12253
12254 #. type: Plain text
12255 #: build/C/man4/ttyS.4:37
12256 msgid "mknod -m 660 /dev/ttyS0 c 4 64 # base address 0x3f8"
12257 msgstr ""
12258
12259 #. type: Plain text
12260 #: build/C/man4/ttyS.4:39
12261 msgid "mknod -m 660 /dev/ttyS1 c 4 65 # base address 0x2f8"
12262 msgstr ""
12263
12264 #. type: Plain text
12265 #: build/C/man4/ttyS.4:41
12266 msgid "mknod -m 660 /dev/ttyS2 c 4 66 # base address 0x3e8"
12267 msgstr ""
12268
12269 #. type: Plain text
12270 #: build/C/man4/ttyS.4:43
12271 msgid "mknod -m 660 /dev/ttyS3 c 4 67 # base address 0x2e8"
12272 msgstr ""
12273
12274 #. type: Plain text
12275 #: build/C/man4/ttyS.4:45
12276 msgid "chown root:tty /dev/ttyS[0-3]"
12277 msgstr ""
12278
12279 #. type: Plain text
12280 #: build/C/man4/ttyS.4:48
12281 msgid "/dev/ttyS[0-3]"
12282 msgstr ""
12283
12284 #. type: Plain text
12285 #: build/C/man4/ttyS.4:55
12286 msgid ""
12287 "B<chown>(1), B<mknod>(1), B<tty>(4), B<agetty>(8), B<mingetty>(8), "
12288 "B<setserial>(8)"
12289 msgstr ""
12290
12291 #. type: TH
12292 #: build/C/man7/uri.7:48
12293 #, no-wrap
12294 msgid "URI"
12295 msgstr ""
12296
12297 #. type: TH
12298 #: build/C/man7/uri.7:48
12299 #, no-wrap
12300 msgid "2014-03-18"
12301 msgstr ""
12302
12303 #. type: Plain text
12304 #: build/C/man7/uri.7:51
12305 msgid "uri, url, urn - uniform resource identifier (URI), including a URL or URN"
12306 msgstr ""
12307
12308 #. type: Plain text
12309 #: build/C/man7/uri.7:55
12310 #, no-wrap
12311 msgid "URI = [ absoluteURI | relativeURI ] [ \"#\" fragment ]\n"
12312 msgstr ""
12313
12314 #. type: Plain text
12315 #: build/C/man7/uri.7:57
12316 #, no-wrap
12317 msgid "absoluteURI = scheme \":\" ( hierarchical_part | opaque_part )\n"
12318 msgstr ""
12319
12320 #. type: Plain text
12321 #: build/C/man7/uri.7:59
12322 #, no-wrap
12323 msgid "relativeURI = ( net_path | absolute_path | relative_path ) [ \"?\" query ]\n"
12324 msgstr ""
12325
12326 #. type: Plain text
12327 #: build/C/man7/uri.7:62
12328 #, no-wrap
12329 msgid ""
12330 "scheme = \"http\" | \"ftp\" | \"gopher\" | \"mailto\" | \"news\" | "
12331 "\"telnet\" |\n"
12332 "         \"file\" | \"man\" | \"info\" | \"whatis\" | \"ldap\" | \"wais\" | "
12333 "\\&...\n"
12334 msgstr ""
12335
12336 #. type: Plain text
12337 #: build/C/man7/uri.7:64
12338 #, no-wrap
12339 msgid "hierarchical_part = ( net_path | absolute_path ) [ \"?\" query ]\n"
12340 msgstr ""
12341
12342 #. type: Plain text
12343 #: build/C/man7/uri.7:66
12344 #, no-wrap
12345 msgid "net_path = \"//\" authority [ absolute_path ]\n"
12346 msgstr ""
12347
12348 #. type: Plain text
12349 #: build/C/man7/uri.7:68
12350 #, no-wrap
12351 msgid "absolute_path = \"/\"  path_segments\n"
12352 msgstr ""
12353
12354 #. type: Plain text
12355 #: build/C/man7/uri.7:70
12356 #, no-wrap
12357 msgid "relative_path = relative_segment [ absolute_path ]\n"
12358 msgstr ""
12359
12360 #. type: Plain text
12361 #: build/C/man7/uri.7:82
12362 msgid ""
12363 "A Uniform Resource Identifier (URI) is a short string of characters "
12364 "identifying an abstract or physical resource (for example, a web page).  A "
12365 "Uniform Resource Locator (URL) is a URI that identifies a resource through "
12366 "its primary access mechanism (e.g., its network \"location\"), rather than "
12367 "by name or some other attribute of that resource.  A Uniform Resource Name "
12368 "(URN) is a URI that must remain globally unique and persistent even when the "
12369 "resource ceases to exist or becomes unavailable."
12370 msgstr ""
12371
12372 #. type: Plain text
12373 #: build/C/man7/uri.7:89
12374 msgid ""
12375 "URIs are the standard way to name hypertext link destinations for tools such "
12376 "as web browsers.  The string \"http://www.kernelnotes.org\" is a URL (and "
12377 "thus it is also a URI).  Many people use the term URL loosely as a synonym "
12378 "for URI (though technically URLs are a subset of URIs)."
12379 msgstr ""
12380
12381 #. type: Plain text
12382 #: build/C/man7/uri.7:105
12383 msgid ""
12384 "URIs can be absolute or relative.  An absolute identifier refers to a "
12385 "resource independent of context, while a relative identifier refers to a "
12386 "resource by describing the difference from the current context.  Within a "
12387 "relative path reference, the complete path segments \".\" and \"..\" have "
12388 "special meanings: \"the current hierarchy level\" and \"the level above this "
12389 "hierarchy level\", respectively, just like they do in UNIX-like systems.  A "
12390 "path segment which contains a colon character can't be used as the first "
12391 "segment of a relative URI path (e.g., \"this:that\"), because it would be "
12392 "mistaken for a scheme name; precede such segments with ./ (e.g., "
12393 "\"./this:that\").  Note that descendants of MS-DOS (e.g., Microsoft Windows) "
12394 "replace devicename colons with the vertical bar (\"|\") in URIs, so \"C:\" "
12395 "becomes \"C|\"."
12396 msgstr ""
12397
12398 #. type: Plain text
12399 #: build/C/man7/uri.7:109
12400 msgid ""
12401 "A fragment identifier, if included, refers to a particular named portion "
12402 "(fragment) of a resource; text after a \\(aq#\\(aq identifies the fragment.  "
12403 "A URI beginning with \\(aq#\\(aq refers to that fragment in the current "
12404 "resource."
12405 msgstr ""
12406
12407 #. type: Plain text
12408 #: build/C/man7/uri.7:117
12409 msgid ""
12410 "There are many different URI schemes, each with specific additional rules "
12411 "and meanings, but they are intentionally made to be as similar as possible.  "
12412 "For example, many URL schemes permit the authority to be the following "
12413 "format, called here an I<ip_server> (square brackets show what's optional):"
12414 msgstr ""
12415
12416 #. type: Plain text
12417 #: build/C/man7/uri.7:119
12418 msgid "I<ip_server = >[I<user> [ : I<password> ] @ ] I<host> [ : I<port>]"
12419 msgstr ""
12420
12421 #. type: Plain text
12422 #: build/C/man7/uri.7:135
12423 msgid ""
12424 "This format allows you to optionally insert a username, a user plus "
12425 "password, and/or a port number.  The I<host> is the name of the host "
12426 "computer, either its name as determined by DNS or an IP address (numbers "
12427 "separated by periods).  Thus the URI "
12428 "E<lt>http://fred:fredpassword@xyz.com:8080/E<gt> logs into a web server on "
12429 "host xyz.com as fred (using fredpassword) using port 8080.  Avoid including "
12430 "a password in a URI if possible because of the many security risks of having "
12431 "a password written down.  If the URL supplies a username but no password, "
12432 "and the remote server requests a password, the program interpreting the URL "
12433 "should request one from the user."
12434 msgstr ""
12435
12436 #. type: Plain text
12437 #: build/C/man7/uri.7:140
12438 msgid ""
12439 "Here are some of the most common schemes in use on UNIX-like systems that "
12440 "are understood by many tools.  Note that many tools using URIs also have "
12441 "internal schemes or specialized schemes; see those tools' documentation for "
12442 "information on those schemes."
12443 msgstr ""
12444
12445 #. type: Plain text
12446 #: build/C/man7/uri.7:142
12447 msgid "B<http - Web (HTTP) server>"
12448 msgstr ""
12449
12450 #. type: Plain text
12451 #: build/C/man7/uri.7:144
12452 msgid "http://I<ip_server>/I<path>"
12453 msgstr ""
12454
12455 #. type: Plain text
12456 #: build/C/man7/uri.7:146
12457 msgid "http://I<ip_server>/I<path>?I<query>"
12458 msgstr ""
12459
12460 #. type: Plain text
12461 #: build/C/man7/uri.7:154
12462 msgid ""
12463 "This is a URL accessing a web (HTTP) server.  The default port is 80.  If "
12464 "the path refers to a directory, the web server will choose what to return; "
12465 "usually if there is a file named \"index.html\" or \"index.htm\" its content "
12466 "is returned, otherwise, a list of the files in the current directory (with "
12467 "appropriate links) is generated and returned.  An example is "
12468 "E<lt>http://lwn.netE<gt>."
12469 msgstr ""
12470
12471 #. type: Plain text
12472 #: build/C/man7/uri.7:177
12473 msgid ""
12474 "A query can be given in the archaic \"isindex\" format, consisting of a word "
12475 "or phrase and not including an equal sign (=).  A query can also be in the "
12476 "longer \"GET\" format, which has one or more query entries of the form "
12477 "I<key>=I<value> separated by the ampersand character (&).  Note that I<key> "
12478 "can be repeated more than once, though it's up to the web server and its "
12479 "application programs to determine if there's any meaning to that.  There is "
12480 "an unfortunate interaction with HTML/XML/SGML and the GET query format; when "
12481 "such URIs with more than one key are embedded in SGML/XML documents "
12482 "(including HTML), the ampersand (&) has to be rewritten as &amp;.  Note that "
12483 "not all queries use this format; larger forms may be too long to store as a "
12484 "URI, so they use a different interaction mechanism (called POST) which does "
12485 "not include the data in the URI.  See the Common Gateway Interface "
12486 "specification at E<.UR http://www.w3.org\\:/CGI> E<.UE> for more "
12487 "information."
12488 msgstr ""
12489
12490 #. type: Plain text
12491 #: build/C/man7/uri.7:179
12492 msgid "B<ftp - File Transfer Protocol (FTP)>"
12493 msgstr ""
12494
12495 #. type: Plain text
12496 #: build/C/man7/uri.7:181
12497 msgid "ftp://I<ip_server>/I<path>"
12498 msgstr ""
12499
12500 #. type: Plain text
12501 #: build/C/man7/uri.7:189
12502 msgid ""
12503 "This is a URL accessing a file through the file transfer protocol (FTP).  "
12504 "The default port (for control) is 21.  If no username is included, the "
12505 "username \"anonymous\" is supplied, and in that case many clients provide as "
12506 "the password the requestor's Internet email address.  An example is "
12507 "E<lt>ftp://ftp.is.co.za/rfc/rfc1808.txtE<gt>."
12508 msgstr ""
12509
12510 #. type: Plain text
12511 #: build/C/man7/uri.7:191
12512 msgid "B<gopher - Gopher server>"
12513 msgstr ""
12514
12515 #. type: Plain text
12516 #: build/C/man7/uri.7:193
12517 msgid "gopher://I<ip_server>/I<gophertype selector>"
12518 msgstr ""
12519
12520 #. type: Plain text
12521 #: build/C/man7/uri.7:195
12522 msgid "gopher://I<ip_server>/I<gophertype selector>%09I<search>"
12523 msgstr ""
12524
12525 #. type: Plain text
12526 #: build/C/man7/uri.7:197
12527 msgid "gopher://I<ip_server>/I<gophertype selector>%09I<search>%09I<gopher+_string>"
12528 msgstr ""
12529
12530 #. type: Plain text
12531 #: build/C/man7/uri.7:207
12532 msgid ""
12533 "The default gopher port is 70.  I<gophertype> is a single-character field to "
12534 "denote the Gopher type of the resource to which the URL refers.  The entire "
12535 "path may also be empty, in which case the delimiting \"/\" is also optional "
12536 "and the gophertype defaults to \"1\"."
12537 msgstr ""
12538
12539 #. type: Plain text
12540 #: build/C/man7/uri.7:214
12541 msgid ""
12542 "I<selector> is the Gopher selector string.  In the Gopher protocol, Gopher "
12543 "selector strings are a sequence of octets which may contain any octets "
12544 "except 09 hexadecimal (US-ASCII HT or tab), 0A hexadecimal (US-ASCII "
12545 "character LF), and 0D (US-ASCII character CR)."
12546 msgstr ""
12547
12548 #. type: Plain text
12549 #: build/C/man7/uri.7:216
12550 msgid "B<mailto - Email address>"
12551 msgstr ""
12552
12553 #. type: Plain text
12554 #: build/C/man7/uri.7:218
12555 msgid "mailto:I<email-address>"
12556 msgstr ""
12557
12558 #. type: Plain text
12559 #: build/C/man7/uri.7:226
12560 msgid ""
12561 "This is an email address, usually of the form I<name>@I<hostname>.  See "
12562 "B<mailaddr>(7)  for more information on the correct format of an email "
12563 "address.  Note that any % character must be rewritten as %25.  An example is "
12564 "E<lt>mailto:dwheeler@dwheeler.comE<gt>."
12565 msgstr ""
12566
12567 #. type: Plain text
12568 #: build/C/man7/uri.7:228
12569 msgid "B<news - Newsgroup or News message>"
12570 msgstr ""
12571
12572 #. type: Plain text
12573 #: build/C/man7/uri.7:230
12574 msgid "news:I<newsgroup-name>"
12575 msgstr ""
12576
12577 #. type: Plain text
12578 #: build/C/man7/uri.7:232
12579 msgid "news:I<message-id>"
12580 msgstr ""
12581
12582 #. type: Plain text
12583 #: build/C/man7/uri.7:240
12584 msgid ""
12585 "A I<newsgroup-name> is a period-delimited hierarchical name, such as "
12586 "\"comp.infosystems.www.misc\".  If E<lt>newsgroup-nameE<gt> is \"*\" (as in "
12587 "E<lt>news:*E<gt>), it is used to refer to \"all available news groups\".  An "
12588 "example is E<lt>news:comp.lang.adaE<gt>."
12589 msgstr ""
12590
12591 #. type: Plain text
12592 #: build/C/man7/uri.7:252
12593 msgid ""
12594 "A I<message-id> corresponds to the Message-ID of E<.UR "
12595 "http://www.ietf.org\\:/rfc\\:/rfc1036.txt> IETF RFC\\ 1036, E<.UE> without "
12596 "the enclosing \"E<lt>\" and \"E<gt>\"; it takes the form "
12597 "I<unique>@I<full_domain_name>.  A message identifier may be distinguished "
12598 "from a news group name by the presence of the \"@\" character."
12599 msgstr ""
12600
12601 #. type: Plain text
12602 #: build/C/man7/uri.7:254
12603 msgid "B<telnet - Telnet login>"
12604 msgstr ""
12605
12606 #. type: Plain text
12607 #: build/C/man7/uri.7:256
12608 msgid "telnet://I<ip_server>/"
12609 msgstr ""
12610
12611 #. type: Plain text
12612 #: build/C/man7/uri.7:262
12613 msgid ""
12614 "The Telnet URL scheme is used to designate interactive text services that "
12615 "may be accessed by the Telnet protocol.  The final \"/\" character may be "
12616 "omitted.  The default port is 23.  An example is "
12617 "E<lt>telnet://melvyl.ucop.edu/E<gt>."
12618 msgstr ""
12619
12620 #. type: Plain text
12621 #: build/C/man7/uri.7:264
12622 msgid "B<file - Normal file>"
12623 msgstr ""
12624
12625 #. type: Plain text
12626 #: build/C/man7/uri.7:266
12627 msgid "file://I<ip_server>/I<path_segments>"
12628 msgstr ""
12629
12630 #. type: Plain text
12631 #: build/C/man7/uri.7:268
12632 msgid "file:I<path_segments>"
12633 msgstr ""
12634
12635 #. type: Plain text
12636 #: build/C/man7/uri.7:285
12637 msgid ""
12638 "This represents a file or directory accessible locally.  As a special case, "
12639 "I<ip_server> can be the string \"localhost\" or the empty string; this is "
12640 "interpreted as \"the machine from which the URL is being interpreted\".  If "
12641 "the path is to a directory, the viewer should display the directory's "
12642 "contents with links to each containee; not all viewers currently do this.  "
12643 "KDE supports generated files through the URL E<lt>file:/cgi-binE<gt>.  If "
12644 "the given file isn't found, browser writers may want to try to expand the "
12645 "filename via filename globbing (see B<glob>(7)  and B<glob>(3))."
12646 msgstr ""
12647
12648 #. type: Plain text
12649 #: build/C/man7/uri.7:299
12650 msgid ""
12651 "The second format (e.g., E<lt>file:/etc/passwdE<gt>)  is a correct format "
12652 "for referring to a local file.  However, older standards did not permit this "
12653 "format, and some programs don't recognize this as a URI.  A more portable "
12654 "syntax is to use an empty string as the server name, for example, "
12655 "E<lt>file:///etc/passwdE<gt>; this form does the same thing and is easily "
12656 "recognized by pattern matchers and older programs as a URI.  Note that if "
12657 "you really mean to say \"start from the current location,\" don't specify "
12658 "the scheme at all; use a relative address like E<lt>../test.txtE<gt>, which "
12659 "has the side-effect of being scheme-independent.  An example of this scheme "
12660 "is E<lt>file:///etc/passwdE<gt>."
12661 msgstr ""
12662
12663 #. type: Plain text
12664 #: build/C/man7/uri.7:301
12665 msgid "B<man - Man page documentation>"
12666 msgstr ""
12667
12668 #. type: Plain text
12669 #: build/C/man7/uri.7:303
12670 msgid "man:I<command-name>"
12671 msgstr ""
12672
12673 #. type: Plain text
12674 #: build/C/man7/uri.7:305
12675 msgid "man:I<command-name>(I<section>)"
12676 msgstr ""
12677
12678 #. type: Plain text
12679 #: build/C/man7/uri.7:314
12680 msgid ""
12681 "This refers to local online manual (man) reference pages.  The command name "
12682 "can optionally be followed by a parenthesis and section number; see "
12683 "B<man>(7)  for more information on the meaning of the section numbers.  This "
12684 "URI scheme is unique to UNIX-like systems (such as Linux)  and is not "
12685 "currently registered by the IETF.  An example is E<lt>man:ls(1)E<gt>."
12686 msgstr ""
12687
12688 #. type: Plain text
12689 #: build/C/man7/uri.7:316
12690 msgid "B<info - Info page documentation>"
12691 msgstr ""
12692
12693 #. type: Plain text
12694 #: build/C/man7/uri.7:318
12695 msgid "info:I<virtual-filename>"
12696 msgstr ""
12697
12698 #. type: Plain text
12699 #: build/C/man7/uri.7:320
12700 msgid "info:I<virtual-filename>#I<nodename>"
12701 msgstr ""
12702
12703 #. type: Plain text
12704 #: build/C/man7/uri.7:322
12705 msgid "info:(I<virtual-filename>)"
12706 msgstr ""
12707
12708 #. type: Plain text
12709 #: build/C/man7/uri.7:324
12710 msgid "info:(I<virtual-filename>)I<nodename>"
12711 msgstr ""
12712
12713 #. type: Plain text
12714 #: build/C/man7/uri.7:343
12715 msgid ""
12716 "This scheme refers to online info reference pages (generated from texinfo "
12717 "files), a documentation format used by programs such as the GNU tools.  This "
12718 "URI scheme is unique to UNIX-like systems (such as Linux)  and is not "
12719 "currently registered by the IETF.  As of this writing, GNOME and KDE differ "
12720 "in their URI syntax and do not accept the other's syntax.  The first two "
12721 "formats are the GNOME format; in nodenames all spaces are written as "
12722 "underscores.  The second two formats are the KDE format; spaces in nodenames "
12723 "must be written as spaces, even though this is forbidden by the URI "
12724 "standards.  It's hoped that in the future most tools will understand all of "
12725 "these formats and will always accept underscores for spaces in nodenames.  "
12726 "In both GNOME and KDE, if the form without the nodename is used the nodename "
12727 "is assumed to be \"Top\".  Examples of the GNOME format are "
12728 "E<lt>info:gccE<gt> and E<lt>info:gcc#G++_and_GCCE<gt>.  Examples of the KDE "
12729 "format are E<lt>info:(gcc)E<gt> and E<lt>info:(gcc)G++ and GCCE<gt>."
12730 msgstr ""
12731
12732 #. type: Plain text
12733 #: build/C/man7/uri.7:345
12734 msgid "B<whatis - Documentation search>"
12735 msgstr ""
12736
12737 #. type: Plain text
12738 #: build/C/man7/uri.7:347
12739 msgid "whatis:I<string>"
12740 msgstr ""
12741
12742 #. type: Plain text
12743 #: build/C/man7/uri.7:355
12744 msgid ""
12745 "This scheme searches the database of short (one-line) descriptions of "
12746 "commands and returns a list of descriptions containing that string.  Only "
12747 "complete word matches are returned.  See B<whatis>(1).  This URI scheme is "
12748 "unique to UNIX-like systems (such as Linux)  and is not currently registered "
12749 "by the IETF."
12750 msgstr ""
12751
12752 #. type: Plain text
12753 #: build/C/man7/uri.7:357
12754 msgid "B<ghelp - GNOME help documentation>"
12755 msgstr ""
12756
12757 #. type: Plain text
12758 #: build/C/man7/uri.7:359
12759 msgid "ghelp:I<name-of-application>"
12760 msgstr ""
12761
12762 #. type: Plain text
12763 #: build/C/man7/uri.7:362
12764 msgid ""
12765 "This loads GNOME help for the given application.  Note that not much "
12766 "documentation currently exists in this format."
12767 msgstr ""
12768
12769 #. type: Plain text
12770 #: build/C/man7/uri.7:364
12771 msgid "B<ldap - Lightweight Directory Access Protocol>"
12772 msgstr ""
12773
12774 #. type: Plain text
12775 #: build/C/man7/uri.7:366
12776 msgid "ldap://I<hostport>"
12777 msgstr ""
12778
12779 #. type: Plain text
12780 #: build/C/man7/uri.7:368
12781 msgid "ldap://I<hostport>/"
12782 msgstr ""
12783
12784 #. type: Plain text
12785 #: build/C/man7/uri.7:370
12786 msgid "ldap://I<hostport>/I<dn>"
12787 msgstr ""
12788
12789 #. type: Plain text
12790 #: build/C/man7/uri.7:372
12791 msgid "ldap://I<hostport>/I<dn>?I<attributes>"
12792 msgstr ""
12793
12794 #. type: Plain text
12795 #: build/C/man7/uri.7:374
12796 msgid "ldap://I<hostport>/I<dn>?I<attributes>?I<scope>"
12797 msgstr ""
12798
12799 #. type: Plain text
12800 #: build/C/man7/uri.7:376
12801 msgid "ldap://I<hostport>/I<dn>?I<attributes>?I<scope>?I<filter>"
12802 msgstr ""
12803
12804 #. type: Plain text
12805 #: build/C/man7/uri.7:378
12806 msgid "ldap://I<hostport>/I<dn>?I<attributes>?I<scope>?I<filter>?I<extensions>"
12807 msgstr ""
12808
12809 #. type: Plain text
12810 #: build/C/man7/uri.7:389
12811 msgid ""
12812 "This scheme supports queries to the Lightweight Directory Access Protocol "
12813 "(LDAP), a protocol for querying a set of servers for hierarchically "
12814 "organized information (such as people and computing resources).  See E<.UR "
12815 "http://www.ietf.org\\:/rfc\\:/rfc2255.txt> RFC\\ 2255 E<.UE> for more "
12816 "information on the LDAP URL scheme.  The components of this URL are:"
12817 msgstr ""
12818
12819 #. type: IP
12820 #: build/C/man7/uri.7:389
12821 #, no-wrap
12822 msgid "hostport"
12823 msgstr ""
12824
12825 #. type: Plain text
12826 #: build/C/man7/uri.7:394
12827 msgid ""
12828 "the LDAP server to query, written as a hostname optionally followed by a "
12829 "colon and the port number.  The default LDAP port is TCP port 389.  If "
12830 "empty, the client determines which the LDAP server to use."
12831 msgstr ""
12832
12833 #. type: IP
12834 #: build/C/man7/uri.7:394
12835 #, no-wrap
12836 msgid "dn"
12837 msgstr ""
12838
12839 #. type: Plain text
12840 #: build/C/man7/uri.7:401
12841 msgid ""
12842 "the LDAP Distinguished Name, which identifies the base object of the LDAP "
12843 "search (see E<.UR http://www.ietf.org\\:/rfc\\:/rfc2253.txt> RFC\\ 2253 "
12844 "E<.UE> section 3)."
12845 msgstr ""
12846
12847 #. type: IP
12848 #: build/C/man7/uri.7:401
12849 #, no-wrap
12850 msgid "attributes"
12851 msgstr ""
12852
12853 #. type: Plain text
12854 #: build/C/man7/uri.7:405
12855 msgid ""
12856 "a comma-separated list of attributes to be returned; see RFC\\ 2251 section "
12857 "4.1.5.  If omitted, all attributes should be returned."
12858 msgstr ""
12859
12860 #. type: IP
12861 #: build/C/man7/uri.7:405
12862 #, no-wrap
12863 msgid "scope"
12864 msgstr ""
12865
12866 #. type: Plain text
12867 #: build/C/man7/uri.7:410
12868 msgid ""
12869 "specifies the scope of the search, which can be one of \"base\" (for a base "
12870 "object search), \"one\" (for a one-level search), or \"sub\" (for a subtree "
12871 "search).  If scope is omitted, \"base\" is assumed."
12872 msgstr ""
12873
12874 #. type: IP
12875 #: build/C/man7/uri.7:410
12876 #, no-wrap
12877 msgid "filter"
12878 msgstr ""
12879
12880 #. type: Plain text
12881 #: build/C/man7/uri.7:419
12882 msgid ""
12883 "specifies the search filter (subset of entries to return).  If omitted, all "
12884 "entries should be returned.  See E<.UR "
12885 "http://www.ietf.org\\:/rfc\\:/rfc2254.txt> RFC\\ 2254 E<.UE> section 4."
12886 msgstr ""
12887
12888 #. type: IP
12889 #: build/C/man7/uri.7:419
12890 #, no-wrap
12891 msgid "extensions"
12892 msgstr ""
12893
12894 #. type: Plain text
12895 #: build/C/man7/uri.7:425
12896 msgid ""
12897 "a comma-separated list of type=value pairs, where the =value portion may be "
12898 "omitted for options not requiring it.  An extension prefixed with a "
12899 "\\(aq!\\(aq is critical (must be supported to be valid), otherwise it is "
12900 "noncritical (optional)."
12901 msgstr ""
12902
12903 #. type: Plain text
12904 #: build/C/man7/uri.7:429
12905 msgid ""
12906 "LDAP queries are easiest to explain by example.  Here's a query that asks "
12907 "ldap.itd.umich.edu for information about the University of Michigan in the "
12908 "U.S.:"
12909 msgstr ""
12910
12911 #. type: Plain text
12912 #: build/C/man7/uri.7:432
12913 #, no-wrap
12914 msgid "ldap://ldap.itd.umich.edu/o=University%20of%20Michigan,c=US\n"
12915 msgstr ""
12916
12917 #. type: Plain text
12918 #: build/C/man7/uri.7:435
12919 msgid "To just get its postal address attribute, request:"
12920 msgstr ""
12921
12922 #. type: Plain text
12923 #: build/C/man7/uri.7:438
12924 #, no-wrap
12925 msgid "ldap://ldap.itd.umich.edu/o=University%20of%20Michigan,c=US?postalAddress\n"
12926 msgstr ""
12927
12928 #. type: Plain text
12929 #: build/C/man7/uri.7:442
12930 msgid ""
12931 "To ask a host.com at port 6666 for information about the person with common "
12932 "name (cn) \"Babs Jensen\" at University of Michigan, request:"
12933 msgstr ""
12934
12935 #. type: Plain text
12936 #: build/C/man7/uri.7:445
12937 #, no-wrap
12938 msgid "ldap://host.com:6666/o=University%20of%20Michigan,c=US??sub?(cn=Babs%20Jensen)\n"
12939 msgstr ""
12940
12941 #. type: Plain text
12942 #: build/C/man7/uri.7:448
12943 msgid "B<wais - Wide Area Information Servers>"
12944 msgstr ""
12945
12946 #. type: Plain text
12947 #: build/C/man7/uri.7:450
12948 msgid "wais://I<hostport>/I<database>"
12949 msgstr ""
12950
12951 #. type: Plain text
12952 #: build/C/man7/uri.7:452
12953 msgid "wais://I<hostport>/I<database>?I<search>"
12954 msgstr ""
12955
12956 #. type: Plain text
12957 #: build/C/man7/uri.7:454
12958 msgid "wais://I<hostport>/I<database>/I<wtype>/I<wpath>"
12959 msgstr ""
12960
12961 #. type: Plain text
12962 #: build/C/man7/uri.7:463
12963 msgid ""
12964 "This scheme designates a WAIS database, search, or document (see E<.UR "
12965 "http://www.ietf.org\\:/rfc\\:/rfc1625.txt> IETF RFC\\ 1625 E<.UE> for more "
12966 "information on WAIS).  Hostport is the hostname, optionally followed by a "
12967 "colon and port number (the default port number is 210)."
12968 msgstr ""
12969
12970 #. type: Plain text
12971 #: build/C/man7/uri.7:473
12972 msgid ""
12973 "The first form designates a WAIS database for searching.  The second form "
12974 "designates a particular search of the WAIS database I<database>.  The third "
12975 "form designates a particular document within a WAIS database to be "
12976 "retrieved.  I<wtype> is the WAIS designation of the type of the object and "
12977 "I<wpath> is the WAIS document-id."
12978 msgstr ""
12979
12980 #. type: Plain text
12981 #: build/C/man7/uri.7:475
12982 msgid "B<other schemes>"
12983 msgstr ""
12984
12985 #. type: Plain text
12986 #: build/C/man7/uri.7:489
12987 msgid ""
12988 "There are many other URI schemes.  Most tools that accept URIs support a set "
12989 "of internal URIs (e.g., Mozilla has the about: scheme for internal "
12990 "information, and the GNOME help browser has the toc: scheme for various "
12991 "starting locations).  There are many schemes that have been defined but are "
12992 "not as widely used at the current time (e.g., prospero).  The nntp: scheme "
12993 "is deprecated in favor of the news: scheme.  URNs are to be supported by the "
12994 "urn: scheme, with a hierarchical name space (e.g., urn:ietf:... would "
12995 "identify IETF documents); at this time URNs are not widely implemented.  Not "
12996 "all tools support all schemes."
12997 msgstr ""
12998
12999 #. type: SS
13000 #: build/C/man7/uri.7:489
13001 #, no-wrap
13002 msgid "Character encoding"
13003 msgstr ""
13004
13005 #. type: Plain text
13006 #: build/C/man7/uri.7:493
13007 msgid ""
13008 "URIs use a limited number of characters so that they can be typed in and "
13009 "used in a variety of situations."
13010 msgstr ""
13011
13012 #. type: Plain text
13013 #: build/C/man7/uri.7:497
13014 msgid ""
13015 "The following characters are reserved, that is, they may appear in a URI but "
13016 "their use is limited to their reserved purpose (conflicting data must be "
13017 "escaped before forming the URI):"
13018 msgstr ""
13019
13020 #. type: Plain text
13021 #: build/C/man7/uri.7:499
13022 #, no-wrap
13023 msgid "   ; / ? : @ & = + $ ,\n"
13024 msgstr ""
13025
13026 #. type: Plain text
13027 #: build/C/man7/uri.7:505
13028 msgid ""
13029 "Unreserved characters may be included in a URI.  Unreserved characters "
13030 "include uppercase and lowercase English letters, decimal digits, and the "
13031 "following limited set of punctuation marks and symbols:"
13032 msgstr ""
13033
13034 #. type: Plain text
13035 #: build/C/man7/uri.7:507
13036 #, no-wrap
13037 msgid " - _ . ! ~ * ' ( )\n"
13038 msgstr ""
13039
13040 #. type: Plain text
13041 #: build/C/man7/uri.7:522
13042 msgid ""
13043 "All other characters must be escaped.  An escaped octet is encoded as a "
13044 "character triplet, consisting of the percent character \"%\" followed by the "
13045 "two hexadecimal digits representing the octet code (you can use uppercase or "
13046 "lowercase letters for the hexadecimal digits).  For example, a blank space "
13047 "must be escaped as \"%20\", a tab character as \"%09\", and the \"&\" as "
13048 "\"%26\".  Because the percent \"%\" character always has the reserved "
13049 "purpose of being the escape indicator, it must be escaped as \"%25\".  It is "
13050 "common practice to escape space characters as the plus symbol (+)  in query "
13051 "text; this practice isn't uniformly defined in the relevant RFCs (which "
13052 "recommend %20 instead) but any tool accepting URIs with query text should be "
13053 "prepared for them.  A URI is always shown in its \"escaped\" form."
13054 msgstr ""
13055
13056 #. type: Plain text
13057 #: build/C/man7/uri.7:528
13058 msgid ""
13059 "Unreserved characters can be escaped without changing the semantics of the "
13060 "URI, but this should not be done unless the URI is being used in a context "
13061 "that does not allow the unescaped character to appear.  For example, \"%7e\" "
13062 "is sometimes used instead of \"~\" in an HTTP URL path, but the two are "
13063 "equivalent for an HTTP URL."
13064 msgstr ""
13065
13066 #. type: Plain text
13067 #: build/C/man7/uri.7:532
13068 msgid ""
13069 "For URIs which must handle characters outside the US ASCII character set, "
13070 "the HTML 4.01 specification (section B.2) and IETF RFC\\ 2718 (section "
13071 "2.2.5) recommend the following approach:"
13072 msgstr ""
13073
13074 #. type: Plain text
13075 #: build/C/man7/uri.7:536
13076 msgid ""
13077 "translate the character sequences into UTF-8 (IETF RFC\\ 2279)\\(emsee "
13078 "B<utf-8>(7)\\(emand then"
13079 msgstr ""
13080
13081 #. type: Plain text
13082 #: build/C/man7/uri.7:539
13083 msgid ""
13084 "use the URI escaping mechanism, that is, use the %HH encoding for unsafe "
13085 "octets."
13086 msgstr ""
13087
13088 #. type: SS
13089 #: build/C/man7/uri.7:539
13090 #, no-wrap
13091 msgid "Writing a URI"
13092 msgstr ""
13093
13094 #. type: Plain text
13095 #: build/C/man7/uri.7:562
13096 msgid ""
13097 "When written, URIs should be placed inside double quotes (e.g., "
13098 "\"http://www.kernelnotes.org\"), enclosed in angle brackets (e.g., "
13099 "E<lt>http://lwn.netE<gt>), or placed on a line by themselves.  A warning for "
13100 "those who use double-quotes: B<never> move extraneous punctuation (such as "
13101 "the period ending a sentence or the comma in a list)  inside a URI, since "
13102 "this will change the value of the URI.  Instead, use angle brackets instead, "
13103 "or switch to a quoting system that never includes extraneous characters "
13104 "inside quotation marks.  This latter system, called the 'new' or 'logical' "
13105 "quoting system by \"Hart's Rules\" and the \"Oxford Dictionary for Writers "
13106 "and Editors\", is preferred practice in Great Britain and hackers worldwide "
13107 "(see the Jargon File's section on Hacker Writing Style, E<.UR "
13108 "http://www.fwi.uva.nl\\:/~mes\\:/jargon\\:/h\\:/HackerWritingStyle.html> "
13109 "E<.UE ,> for more information).  Older documents suggested inserting the "
13110 "prefix \"URL:\" just before the URI, but this form has never caught on."
13111 msgstr ""
13112
13113 #. type: Plain text
13114 #: build/C/man7/uri.7:584
13115 msgid ""
13116 "The URI syntax was designed to be unambiguous.  However, as URIs have become "
13117 "commonplace, traditional media (television, radio, newspapers, billboards, "
13118 "etc.) have increasingly used abbreviated URI references consisting of only "
13119 "the authority and path portions of the identified resource (e.g., "
13120 "E<lt>www.w3.org/AddressingE<gt>).  Such references are primarily intended "
13121 "for human interpretation rather than machine, with the assumption that "
13122 "context-based heuristics are sufficient to complete the URI (e.g., hostnames "
13123 "beginning with \"www\" are likely to have a URI prefix of \"http://\" and "
13124 "hostnames beginning with \"ftp\" likely to have a prefix of \"ftp://\").  "
13125 "Many client implementations heuristically resolve these references.  Such "
13126 "heuristics may change over time, particularly when new schemes are "
13127 "introduced.  Since an abbreviated URI has the same syntax as a relative URL "
13128 "path, abbreviated URI references cannot be used where relative URIs are "
13129 "permitted, and can be used only when there is no defined base (such as in "
13130 "dialog boxes).  Don't use abbreviated URIs as hypertext links inside a "
13131 "document; use the standard format as described here."
13132 msgstr ""
13133
13134 #. type: Plain text
13135 #: build/C/man7/uri.7:592
13136 msgid ""
13137 "E<.UR http://www.ietf.org\\:/rfc\\:/rfc2396.txt> (IETF RFC\\ 2396)  E<.UE ,> "
13138 "E<.UR http://www.w3.org\\:/TR\\:/REC-html40> (HTML 4.0)  E<.UE .>"
13139 msgstr ""
13140
13141 #. type: Plain text
13142 #: build/C/man7/uri.7:598
13143 msgid ""
13144 "Any tool accepting URIs (e.g., a web browser) on a Linux system should be "
13145 "able to handle (directly or indirectly) all of the schemes described here, "
13146 "including the man: and info: schemes.  Handling them by invoking some other "
13147 "program is fine and in fact encouraged."
13148 msgstr ""
13149
13150 #. type: Plain text
13151 #: build/C/man7/uri.7:600
13152 msgid "Technically the fragment isn't part of the URI."
13153 msgstr ""
13154
13155 #. type: Plain text
13156 #: build/C/man7/uri.7:609
13157 msgid ""
13158 "For information on how to embed URIs (including URLs) in a data format, see "
13159 "documentation on that format.  HTML uses the format E<lt>A "
13160 "HREF=\"I<uri>\"E<gt> I<text> E<lt>/AE<gt>.  Texinfo files use the format "
13161 "@uref{I<uri>}.  Man and mdoc have the recently added UR macro, or just "
13162 "include the URI in the text (viewers should be able to detect :// as part of "
13163 "a URI)."
13164 msgstr ""
13165
13166 #. type: Plain text
13167 #: build/C/man7/uri.7:630
13168 msgid ""
13169 "The GNOME and KDE desktop environments currently vary in the URIs they "
13170 "accept, in particular in their respective help browsers.  To list man pages, "
13171 "GNOME uses E<lt>toc:manE<gt> while KDE uses E<lt>man:(index)E<gt>, and to "
13172 "list info pages, GNOME uses E<lt>toc:infoE<gt> while KDE uses "
13173 "E<lt>info:(dir)E<gt> (the author of this man page prefers the KDE approach "
13174 "here, though a more regular format would be even better).  In general, KDE "
13175 "uses E<lt>file:/cgi-bin/E<gt> as a prefix to a set of generated files.  KDE "
13176 "prefers documentation in HTML, accessed via the "
13177 "E<lt>file:/cgi-bin/helpindexE<gt>.  GNOME prefers the ghelp scheme to store "
13178 "and find documentation.  Neither browser handles file: references to "
13179 "directories at the time of this writing, making it difficult to refer to an "
13180 "entire directory with a browsable URI.  As noted above, these environments "
13181 "differ in how they handle the info: scheme, probably the most important "
13182 "variation.  It is expected that GNOME and KDE will converge to common URI "
13183 "formats, and a future version of this man page will describe the converged "
13184 "result.  Efforts to aid this convergence are encouraged."
13185 msgstr ""
13186
13187 #. type: SS
13188 #: build/C/man7/uri.7:630
13189 #, no-wrap
13190 msgid "Security"
13191 msgstr ""
13192
13193 #. type: Plain text
13194 #: build/C/man7/uri.7:640
13195 msgid ""
13196 "A URI does not in itself pose a security threat.  There is no general "
13197 "guarantee that a URL, which at one time located a given resource, will "
13198 "continue to do so.  Nor is there any guarantee that a URL will not locate a "
13199 "different resource at some later point in time; such a guarantee can be "
13200 "obtained only from the person(s) controlling that namespace and the resource "
13201 "in question."
13202 msgstr ""
13203
13204 #. type: Plain text
13205 #: build/C/man7/uri.7:655
13206 msgid ""
13207 "It is sometimes possible to construct a URL such that an attempt to perform "
13208 "a seemingly harmless operation, such as the retrieval of an entity "
13209 "associated with the resource, will in fact cause a possibly damaging remote "
13210 "operation to occur.  The unsafe URL is typically constructed by specifying a "
13211 "port number other than that reserved for the network protocol in question.  "
13212 "The client unwittingly contacts a site that is in fact running a different "
13213 "protocol.  The content of the URL contains instructions that, when "
13214 "interpreted according to this other protocol, cause an unexpected "
13215 "operation.  An example has been the use of a gopher URL to cause an "
13216 "unintended or impersonating message to be sent via a SMTP server."
13217 msgstr ""
13218
13219 #. type: Plain text
13220 #: build/C/man7/uri.7:659
13221 msgid ""
13222 "Caution should be used when using any URL that specifies a port number other "
13223 "than the default for the protocol, especially when it is a number within the "
13224 "reserved space."
13225 msgstr ""
13226
13227 #. type: Plain text
13228 #: build/C/man7/uri.7:667
13229 msgid ""
13230 "Care should be taken when a URI contains escaped delimiters for a given "
13231 "protocol (for example, CR and LF characters for telnet protocols) that these "
13232 "are not unescaped before transmission.  This might violate the protocol, but "
13233 "avoids the potential for such characters to be used to simulate an extra "
13234 "operation or parameter in that protocol, which might lead to an unexpected "
13235 "and possibly harmful remote operation to be performed."
13236 msgstr ""
13237
13238 #. type: Plain text
13239 #: build/C/man7/uri.7:673
13240 msgid ""
13241 "It is clearly unwise to use a URI that contains a password which is intended "
13242 "to be secret.  In particular, the use of a password within the \"userinfo\" "
13243 "component of a URI is strongly recommended against except in those rare "
13244 "cases where the \"password\" parameter is intended to be public."
13245 msgstr ""
13246
13247 #. type: Plain text
13248 #: build/C/man7/uri.7:695
13249 msgid ""
13250 "Documentation may be placed in a variety of locations, so there currently "
13251 "isn't a good URI scheme for general online documentation in arbitrary "
13252 "formats.  References of the form E<lt>file:///usr/doc/ZZZE<gt> don't work "
13253 "because different distributions and local installation requirements may "
13254 "place the files in different directories (it may be in /usr/doc, or "
13255 "/usr/local/doc, or /usr/share, or somewhere else).  Also, the directory ZZZ "
13256 "usually changes when a version changes (though filename globbing could "
13257 "partially overcome this).  Finally, using the file: scheme doesn't easily "
13258 "support people who dynamically load documentation from the Internet (instead "
13259 "of loading the files onto a local filesystem).  A future URI scheme may be "
13260 "added (e.g., \"userdoc:\") to permit programs to include cross-references to "
13261 "more detailed documentation without having to know the exact location of "
13262 "that documentation.  Alternatively, a future version of the filesystem "
13263 "specification may specify file locations sufficiently so that the file: "
13264 "scheme will be able to locate documentation."
13265 msgstr ""
13266
13267 #. type: Plain text
13268 #: build/C/man7/uri.7:698
13269 msgid ""
13270 "Many programs and file formats don't include a way to incorporate or "
13271 "implement links using URIs."
13272 msgstr ""
13273
13274 #.  .SH AUTHOR
13275 #.  David A. Wheeler (dwheeler@dwheeler.com) wrote this man page.
13276 #. type: Plain text
13277 #: build/C/man7/uri.7:706
13278 msgid ""
13279 "Many programs can't handle all of these different URI formats; there should "
13280 "be a standard mechanism to load an arbitrary URI that automatically detects "
13281 "the users' environment (e.g., text or graphics, desktop environment, local "
13282 "user preferences, and currently executing tools) and invokes the right tool "
13283 "for any URI."
13284 msgstr ""
13285
13286 #. type: Plain text
13287 #: build/C/man7/uri.7:711
13288 msgid "B<lynx>(1), B<man2html>(1), B<mailaddr>(7), B<utf-8>(7)"
13289 msgstr ""
13290
13291 #. type: Plain text
13292 #: build/C/man7/uri.7:715
13293 msgid "E<.UR http://www.ietf.org\\:/rfc\\:/rfc2255.txt> IETF RFC\\ 2255 E<.UE>"
13294 msgstr ""
13295
13296 #. type: TH
13297 #: build/C/man4/vcs.4:29
13298 #, no-wrap
13299 msgid "VCS"
13300 msgstr ""
13301
13302 #. type: TH
13303 #: build/C/man4/vcs.4:29
13304 #, no-wrap
13305 msgid "2007-12-17"
13306 msgstr ""
13307
13308 #. type: Plain text
13309 #: build/C/man4/vcs.4:32
13310 msgid "vcs, vcsa - virtual console memory"
13311 msgstr ""
13312
13313 #. type: Plain text
13314 #: build/C/man4/vcs.4:38
13315 msgid ""
13316 "I</dev/vcs0> is a character device with major number 7 and minor number 0, "
13317 "usually of mode 0644 and owner root.tty.  It refers to the memory of the "
13318 "currently displayed virtual console terminal."
13319 msgstr ""
13320
13321 #. type: Plain text
13322 #: build/C/man4/vcs.4:58
13323 msgid ""
13324 "I</dev/vcs[1-63]> are character devices for virtual console terminals, they "
13325 "have major number 7 and minor number 1 to 63, usually mode 0644 and owner "
13326 "root.tty.  I</dev/vcsa[0-63]> are the same, but using I<unsigned short>s (in "
13327 "host byte order) that include attributes, and prefixed with four bytes "
13328 "giving the screen dimensions and cursor position: I<lines>, I<columns>, "
13329 "I<x>, I<y>.  (I<x> = I<y> = 0 at the top left corner of the screen.)"
13330 msgstr ""
13331
13332 #. type: Plain text
13333 #: build/C/man4/vcs.4:72
13334 msgid ""
13335 "When a 512-character font is loaded, the 9th bit position can be fetched by "
13336 "applying the B<ioctl>(2)  B<VT_GETHIFONTMASK> operation (available in Linux "
13337 "kernels 2.6.18 and above)  on I</dev/tty[1-63]>; the value is returned in "
13338 "the I<unsigned short> pointed to by the third B<ioctl>(2)  argument."
13339 msgstr ""
13340
13341 #. type: Plain text
13342 #: build/C/man4/vcs.4:79
13343 msgid ""
13344 "These devices replace the screendump B<ioctl>(2)  operations of "
13345 "B<console>(4), so the system administrator can control access using "
13346 "filesystem permissions."
13347 msgstr ""
13348
13349 #. type: Plain text
13350 #: build/C/man4/vcs.4:81
13351 msgid "The devices for the first eight virtual consoles may be created by:"
13352 msgstr ""
13353
13354 #. type: Plain text
13355 #: build/C/man4/vcs.4:88
13356 #, no-wrap
13357 msgid ""
13358 "    for x in 0 1 2 3 4 5 6 7 8; do\n"
13359 "        mknod -m 644 /dev/vcs$x c 7 $x;\n"
13360 "        mknod -m 644 /dev/vcsa$x c 7 $[$x+128];\n"
13361 "    done\n"
13362 "    chown root:tty /dev/vcs*\n"
13363 msgstr ""
13364
13365 #. type: Plain text
13366 #: build/C/man4/vcs.4:93
13367 msgid "No B<ioctl>(2)  requests are supported."
13368 msgstr ""
13369
13370 #. type: Plain text
13371 #: build/C/man4/vcs.4:95
13372 msgid "/dev/vcs[0-63]"
13373 msgstr ""
13374
13375 #.  .SH AUTHOR
13376 #.  Andries Brouwer <aeb@cwi.nl>
13377 #. type: Plain text
13378 #: build/C/man4/vcs.4:99
13379 msgid "/dev/vcsa[0-63]"
13380 msgstr ""
13381
13382 #. type: Plain text
13383 #: build/C/man4/vcs.4:101
13384 msgid "Introduced with version 1.1.92 of the Linux kernel."
13385 msgstr ""
13386
13387 #. type: Plain text
13388 #: build/C/man4/vcs.4:103
13389 msgid "You may do a screendump on vt3 by switching to vt1 and typing"
13390 msgstr ""
13391
13392 #. type: Plain text
13393 #: build/C/man4/vcs.4:105
13394 #, no-wrap
13395 msgid "    cat /dev/vcs3 E<gt>foo\n"
13396 msgstr ""
13397
13398 #. type: Plain text
13399 #: build/C/man4/vcs.4:109
13400 msgid ""
13401 "Note that the output does not contain newline characters, so some processing "
13402 "may be required, like in"
13403 msgstr ""
13404
13405 #. type: Plain text
13406 #: build/C/man4/vcs.4:111
13407 #, no-wrap
13408 msgid "    old -w 81 /dev/vcs3 | lpr\n"
13409 msgstr ""
13410
13411 #. type: Plain text
13412 #: build/C/man4/vcs.4:113
13413 msgid "or (horrors)"
13414 msgstr ""
13415
13416 #. type: Plain text
13417 #: build/C/man4/vcs.4:115
13418 #, no-wrap
13419 msgid "    xetterm -dump 3 -file /proc/self/fd/1\n"
13420 msgstr ""
13421
13422 #. type: Plain text
13423 #: build/C/man4/vcs.4:120
13424 msgid "The I</dev/vcsa0> device is used for Braille support."
13425 msgstr ""
13426
13427 #. type: Plain text
13428 #: build/C/man4/vcs.4:124
13429 msgid ""
13430 "This program displays the character and screen attributes under the cursor "
13431 "of the second virtual console, then changes the background color there:"
13432 msgstr ""
13433
13434 #. type: Plain text
13435 #: build/C/man4/vcs.4:132
13436 #, no-wrap
13437 msgid ""
13438 "#include E<lt>unistd.hE<gt>\n"
13439 "#include E<lt>stdlib.hE<gt>\n"
13440 "#include E<lt>stdio.hE<gt>\n"
13441 "#include E<lt>fcntl.hE<gt>\n"
13442 "#include E<lt>sys/ioctl.hE<gt>\n"
13443 "#include E<lt>linux/vt.hE<gt>\n"
13444 msgstr ""
13445
13446 #. type: Plain text
13447 #: build/C/man4/vcs.4:143
13448 #, no-wrap
13449 msgid ""
13450 "int\n"
13451 "main(void)\n"
13452 "{\n"
13453 "    int fd;\n"
13454 "    char *device = \"/dev/vcsa2\";\n"
13455 "    char *console = \"/dev/tty2\";\n"
13456 "    struct {unsigned char lines, cols, x, y;} scrn;\n"
13457 "    unsigned short s;\n"
13458 "    unsigned short mask;\n"
13459 "    unsigned char ch, attrib;\n"
13460 msgstr ""
13461
13462 #. type: Plain text
13463 #: build/C/man4/vcs.4:172
13464 #, no-wrap
13465 msgid ""
13466 "    fd = open(console, O_RDWR);\n"
13467 "    if (fd E<lt> 0) {\n"
13468 "        perror(console);\n"
13469 "        exit(EXIT_FAILURE);\n"
13470 "    }\n"
13471 "    if (ioctl(fd, VT_GETHIFONTMASK, &mask) E<lt> 0) {\n"
13472 "        perror(\"VT_GETHIFONTMASK\");\n"
13473 "        exit(EXIT_FAILURE);\n"
13474 "    }\n"
13475 "    (void) close(fd);\n"
13476 "    fd = open(device, O_RDWR);\n"
13477 "    if (fd E<lt> 0) {\n"
13478 "        perror(device);\n"
13479 "        exit(EXIT_FAILURE);\n"
13480 "    }\n"
13481 "    (void) read(fd, &scrn, 4);\n"
13482 "    (void) lseek(fd, 4 + 2*(scrn.y*scrn.cols + scrn.x), 0);\n"
13483 "    (void) read(fd, &s, 2);\n"
13484 "    ch = s & 0xff;\n"
13485 "    if (attrib & mask)\n"
13486 "        ch |= 0x100;\n"
13487 "    attrib = ((s & ~mask) E<gt>E<gt> 8);\n"
13488 "    printf(\"ch=\\(aq%c\\(aq attrib=0x%02x\\en\", ch, attrib);\n"
13489 "    attrib ^= 0x10;\n"
13490 "    (void) lseek(fd, -1, 1);\n"
13491 "    (void) write(fd, &attrib, 1);\n"
13492 "    exit(EXIT_SUCCESS);\n"
13493 "}\n"
13494 msgstr ""
13495
13496 #. type: Plain text
13497 #: build/C/man4/vcs.4:178
13498 msgid "B<console>(4), B<tty>(4), B<ttyS>(4), B<gpm>(8)"
13499 msgstr ""
13500
13501 #. type: TH
13502 #: build/C/man4/wavelan.4:15
13503 #, no-wrap
13504 msgid "WAVELAN"
13505 msgstr ""
13506
13507 #. type: TH
13508 #: build/C/man4/wavelan.4:15
13509 #, no-wrap
13510 msgid "2013-09-04"
13511 msgstr ""
13512
13513 #. type: Plain text
13514 #: build/C/man4/wavelan.4:18
13515 msgid "wavelan - AT&T GIS WaveLAN ISA device driver"
13516 msgstr ""
13517
13518 #. type: Plain text
13519 #: build/C/man4/wavelan.4:20
13520 msgid ""
13521 "B<insmod wavelan_cs.o [io=>I<B,B..>B<] [ irq=>I<I,I..>B<] "
13522 "[name=>I<N,N..>B<]>"
13523 msgstr ""
13524
13525 #. type: Plain text
13526 #: build/C/man4/wavelan.4:23
13527 msgid ""
13528 "I<This driver is obsolete:> it was removed from the kernel in version "
13529 "2.6.35."
13530 msgstr ""
13531
13532 #. type: Plain text
13533 #: build/C/man4/wavelan.4:39
13534 msgid ""
13535 "I<wavelan> is the low-level device driver for the NCR / AT&T / Lucent "
13536 "B<WaveLAN ISA> and Digital (DEC)  B<RoamAbout DS> wireless ethernet "
13537 "adapter.  This driver is available as a module or might be compiled in the "
13538 "kernel.  This driver supports multiple cards in both forms (up to 4) and "
13539 "allocates the next available ethernet device (eth0..eth#) for each card "
13540 "found, unless a device name is explicitly specified (see below).  This "
13541 "device name will be reported in the kernel log file with the MAC address, "
13542 "NWID and frequency used by the card."
13543 msgstr ""
13544
13545 #. type: Plain text
13546 #: build/C/man4/wavelan.4:46
13547 msgid ""
13548 "This section apply to the module form (parameters passed on the B<insmod>(8)  "
13549 "command line).  If the driver is included in the kernel, use the "
13550 "I<ether=IRQ,IO,NAME> syntax on the kernel command line."
13551 msgstr ""
13552
13553 #. type: TP
13554 #: build/C/man4/wavelan.4:46
13555 #, no-wrap
13556 msgid "B<io>"
13557 msgstr ""
13558
13559 #. type: Plain text
13560 #: build/C/man4/wavelan.4:53
13561 msgid ""
13562 "Specify the list of base address where to search for wavelan cards (setting "
13563 "by dip switch on the card).  If you don't specify any io address, the driver "
13564 "will scan 0x390 and 0x3E0 addresses, which might conflict with other "
13565 "hardware..."
13566 msgstr ""
13567
13568 #. type: TP
13569 #: build/C/man4/wavelan.4:53
13570 #, no-wrap
13571 msgid "B<irq>"
13572 msgstr ""
13573
13574 #. type: Plain text
13575 #: build/C/man4/wavelan.4:57
13576 msgid ""
13577 "Set the list of irq that each wavelan card should use (the value is saved in "
13578 "permanent storage for future use)."
13579 msgstr ""
13580
13581 #. type: TP
13582 #: build/C/man4/wavelan.4:57
13583 #, no-wrap
13584 msgid "B<name>"
13585 msgstr ""
13586
13587 #. type: Plain text
13588 #: build/C/man4/wavelan.4:62
13589 msgid ""
13590 "Set the list of name to be used for each wavelan cards device (name used by "
13591 "B<ifconfig>(8))."
13592 msgstr ""
13593
13594 #. type: SS
13595 #: build/C/man4/wavelan.4:62
13596 #, no-wrap
13597 msgid "Wireless extensions"
13598 msgstr ""
13599
13600 #. type: Plain text
13601 #: build/C/man4/wavelan.4:66
13602 msgid "Use B<iwconfig>(8)  to manipulate wireless extensions."
13603 msgstr ""
13604
13605 #. type: SS
13606 #: build/C/man4/wavelan.4:66
13607 #, no-wrap
13608 msgid "NWID (or domain)"
13609 msgstr ""
13610
13611 #. type: Plain text
13612 #: build/C/man4/wavelan.4:75
13613 msgid ""
13614 "Set the network ID [I<0> to I<FFFF>] or disable it [I<off>].  As the NWID is "
13615 "stored in the card Permanent Storage Area, it will be reuse at any further "
13616 "invocation of the driver."
13617 msgstr ""
13618
13619 #. type: SS
13620 #: build/C/man4/wavelan.4:75
13621 #, no-wrap
13622 msgid "Frequency & channels"
13623 msgstr ""
13624
13625 #. type: Plain text
13626 #: build/C/man4/wavelan.4:86
13627 msgid ""
13628 "For the 2.4GHz 2.00 Hardware, you are able to set the frequency by "
13629 "specifying one of the 10 defined channels (I<2.412,> I<2.422, 2.425, 2.4305, "
13630 "2.432, 2.442, 2.452, 2.460, 2.462> or I<2.484>)  or directly by its value.  "
13631 "The frequency is changed immediately and permanently.  Frequency "
13632 "availability depends on the regulations..."
13633 msgstr ""
13634
13635 #. type: SS
13636 #: build/C/man4/wavelan.4:86
13637 #, no-wrap
13638 msgid "Statistics spy"
13639 msgstr ""
13640
13641 #. type: Plain text
13642 #: build/C/man4/wavelan.4:90
13643 msgid ""
13644 "Set a list of MAC addresses in the driver (up to 8) and get the last quality "
13645 "of link for each of those (see B<iwspy>(8))."
13646 msgstr ""
13647
13648 #. type: SS
13649 #: build/C/man4/wavelan.4:90
13650 #, no-wrap
13651 msgid "/proc/net/wireless"
13652 msgstr ""
13653
13654 #. type: Plain text
13655 #: build/C/man4/wavelan.4:105
13656 msgid ""
13657 "I<status> is the status reported by the modem.  I<Link quality> reports the "
13658 "quality of the modulation on the air (direct sequence spread spectrum) [max "
13659 "= 16].  I<Level> and I<Noise> refer to the signal level and noise level [max "
13660 "= 64].  The I<crypt discarded packet> and I<misc discarded packet> counters "
13661 "are not implemented."
13662 msgstr ""
13663
13664 #. type: SS
13665 #: build/C/man4/wavelan.4:105
13666 #, no-wrap
13667 msgid "Private ioctl"
13668 msgstr ""
13669
13670 #. type: Plain text
13671 #: build/C/man4/wavelan.4:109
13672 msgid "You may use B<iwpriv>(8)  to manipulate private ioctls."
13673 msgstr ""
13674
13675 #. type: SS
13676 #: build/C/man4/wavelan.4:109
13677 #, no-wrap
13678 msgid "Quality and level threshold"
13679 msgstr ""
13680
13681 #. type: Plain text
13682 #: build/C/man4/wavelan.4:112
13683 msgid ""
13684 "Enable you the define the quality and level threshold used by the modem "
13685 "(packet below that level are discarded)."
13686 msgstr ""
13687
13688 #. type: SS
13689 #: build/C/man4/wavelan.4:112
13690 #, no-wrap
13691 msgid "Histogram"
13692 msgstr ""
13693
13694 #. type: Plain text
13695 #: build/C/man4/wavelan.4:119
13696 msgid ""
13697 "This functionality makes it possible to set a number of signal level "
13698 "intervals and to count the number of packets received in each of those "
13699 "defined intervals.  This distribution might be used to calculate the mean "
13700 "value and standard deviation of the signal level."
13701 msgstr ""
13702
13703 #. type: SS
13704 #: build/C/man4/wavelan.4:119
13705 #, no-wrap
13706 msgid "Specific notes"
13707 msgstr ""
13708
13709 #. type: Plain text
13710 #: build/C/man4/wavelan.4:125
13711 msgid ""
13712 "This driver will fail to detect some B<non-NCR/ATT&T/Lucent> Wavelan cards.  "
13713 "If this happens for you, you must look in the source code on how to add your "
13714 "card to the detection routine."
13715 msgstr ""
13716
13717 #.  .SH AUTHOR
13718 #.  Bruce Janson \(em bruce@cs.usyd.edu.au
13719 #.  .br
13720 #.  Jean Tourrilhes \(em jt@hplb.hpl.hp.com
13721 #.  .br
13722 #.  (and others; see source code for details)
13723 #
13724 #.  SEE ALSO part
13725 #. type: Plain text
13726 #: build/C/man4/wavelan.4:138
13727 msgid ""
13728 "Some of the mentioned features are optional.  You may enable to disable them "
13729 "by changing flags in the driver header and recompile."
13730 msgstr ""
13731
13732 #. type: Plain text
13733 #: build/C/man4/wavelan.4:145
13734 msgid ""
13735 "B<wavelan_cs>(4), B<ifconfig>(8), B<insmod>(8), B<iwconfig>(8), "
13736 "B<iwpriv>(8), B<iwspy>(8)"
13737 msgstr ""