2 Summary(fr): Entrées de /dev
3 Summary(de): /dev-Einträge
4 Summary(pl): Pliki specjalne /dev/*
5 Summary(tr): /dev dizini
9 Source0: %{name}-%{version}.tar.gz
10 Copyright: public domain
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Unix and unix like systems (including Linux) use file system entries
22 to represent devices attached to the machine. All of these entries are
23 in the /dev tree (though they don't have to be), and this package
24 contains the most commonly used /dev entries. These files are
25 essential for a system to function properly.
28 Wszystkie systemy unixowe, w tym Linux, u¿ywaj± plików do
29 przedstawiania urz±dzeñ pod³±czonych do komputera. Wszystkie te pliki
30 znajduj± siê zwykle w katalogu /dev. Pakiet ten zawiera wiêkszo¶æ
31 popularnych plików specjalnych, s± one jedn± z wa¿niejszych czê¶ci
32 prawid³owo dzia³aj±cego systemu operacyjnego.
35 Unix et les systèmes apparentés (dont Linux) utilise des fichiers pour
36 représenter les périphériques reliés à la machine. Toutes ces entrées
37 sont dans l'arborescence /dev (ce n'est pas obligatoire). Ce paquetage
38 contient les entrées /dev les plus courantes. Elles sont essentielles
39 pour qu'un système fonctionne correctement.
42 Unix ve Unix benzeri sistemler (Linux da dahil olmak üzere), makinaya
43 baðlý aygýtlarý göstermek için özel dosyalar kullanýrlar. Bu özel
44 dosyalarýn tümü /dev dizin yapýsý altýndadýr. Bu paket en çok
45 kullanýlan /dev dosyalarýný içerir. Bu dosyalar, bir sistemin düzgün
46 olarak iþleyebilmesi için temel gereksinimlerdendir.
49 Unix und Unix-ähnliche Systeme (inkl. Linux) verwenden Dateisystem-
50 Einträge zum Darstellen angeschlossener Geräte. Diese Einträge
51 befinden sich (nicht notwendigerweise) im Verzeichnis /dev. Dieses
52 Paket enthält die üblichsten /dev-Einträge. Diese Dateien sind für das
53 Funktionieren eines Systems unbedingt erforderlich.
59 rm -rf $RPM_BUILD_ROOT
62 # [ -e $1 ] || mknod $1 $2 $3 $4
67 install -d $RPM_BUILD_ROOT
69 #add group for floppy and console
70 # if setup contains this group then remove next 4 lines
71 #grep '^floppy:' /etc/group >/dev/null \
72 # || groupadd -g 19 -r -f floppy >/dev/null
73 #grep '^console:' /etc/group >/dev/null \
74 # || groupadd -g 20 -f -r console >/dev/null
76 # do some cleanup in build root
78 tar xpSzf $RPM_SOURCE_DIR/%{name}-%{version}.tar.gz
82 # tar doesn't save some permissions unless the p option is used
83 # this code protects against dev package updaters forgetting to
84 # use the p option when unpacking the souce tarball.
85 for dev in zero null tty ttyp0 ; do
86 if [ ! $(ls -l $dev | awk '{print $1}') = crw-rw-rw- ] ; then
87 echo bad permissions on device $dev 1>&2
93 # SPARC specific devices
96 mknode openprom c 10 139
99 # remove devices that will *never* exist on a SPARC
100 rm -f hd* aztcd mcd sbpcd1 cdu31a sbpcd2 scd3
101 rm -f sjcd cdu535 sbpcd3 sonycd cm206cd sbpcd
102 rm -f gscd sbpcd0 atibm inportbm logibm psaux
107 # m68k specific devices
108 mknode amigamouse c 10 4
109 mknode atarimouse c 10 5
110 mknode apollomouse c 10 7
111 ln -s amigamouse mouse
117 # remove devices that will *never* exist on a m68k
118 rm -f hd* aztcd mcd sbpcd1 cdu31a sbpcd2 scd3
119 rm -f sjcd cdu535 sbpcd3 sonycd cm206cd sbpcd
120 rm -f gscd sbpcd0 atibm inportbm logibm psaux
140 mknode watchdog c 10 130
148 mknode mixer1 c 14 16
149 mknode mixer2 c 14 32
150 mknode mixer3 c 14 48
164 mknode audio1 c 14 20
165 mknode audio2 c 14 36
166 mknode audio3 c 14 52
180 mknode dmmidi0 c 14 9
181 mknode dmmidi1 c 14 25
182 mknode dmmidi2 c 14 41
183 mknode dmmidi3 c 14 57
187 mknode admmidi0 c 14 14
188 mknode admmidi1 c 14 30
189 mknode admmidi2 c 14 46
190 mknode admmidi3 c 14 62
192 mknode amidi0 c 14 13
193 mknode amidi1 c 14 29
194 mknode amidi2 c 14 45
195 mknode amidi3 c 14 61
198 ln -s music sequencer2
200 mknode aloadC0 c 116 0
201 mknode aloadC1 c 116 32
202 mknode aloadC2 c 116 64
203 mknode aloadC3 c 116 96
204 mknode aloadSEQ c 116 1
206 mknode amixer0 c 14 11
207 mknode amixer1 c 14 27
208 mknode amixer2 c 14 43
209 mknode amixer3 c 14 59
213 mknode radio0 c 81 64
240 mknode ipstate c 95 2
243 install -d $RPM_BUILD_ROOT/proc/asound
244 touch $RPM_BUILD_ROOT/proc/asound/dev
246 ln -s ../proc/asound/dev snd
248 # prepared for SysVinit
251 #prepared for Log Daemon
252 mkfifo --mode=666 syslog
254 #libsvga char dev helpers
261 #ipsec character device
265 mknode rawctl c 162 0
266 mkdir $RPM_BUILD_ROOT/dev/raw
268 while [ "$minor" -ne 256 ]; do
269 mknode "raw/raw$minor" c 162 $minor
276 # XFree86-nvidia-kernel
278 mknod nvidia$i c 195 $i
280 mknod nvidiactl c 195 255
283 rm -rf $RPM_BUILD_ROOT
286 %defattr(644,root,root,755)
289 %attr(662,root, sys) /dev/admmidi*
291 %config(noreplace) %verify(not link) %attr(666,root, sys) /dev/adsp
292 %attr(662,root, sys) /dev/adsp?*
294 %config(noreplace) %verify(not link) %attr(662,root,root) /dev/amidi
295 %attr(662,root,root) /dev/amidi?*
297 %attr(664,root,root) /dev/atibm
299 %config(noreplace) %verify(not link) %attr(660,root, audio) /dev/audio
300 %attr(660,root, audio) /dev/audio?*
302 %attr(664,root,root) /dev/aztcd
305 %attr(664,root,root) /dev/bpcd
308 %attr(600,root,root) /dev/capi*
309 %attr(664,root,root) /dev/cdu31a
310 %attr(640,root,disk) /dev/cdu535
311 %attr(600,root,root) /dev/cfs0
312 %attr(664,root,root) /dev/cm206cd
313 %attr(660,root,console) /dev/console
314 %attr(664,root,root) /dev/cui*
315 %attr(600,root,root) /dev/cum*
318 %attr(600,root,root) /dev/dcbri*
319 %attr(660,root, sys) /dev/dcxx*
320 %attr(662,root, sys) /dev/dmfm*
321 %attr(662,root, sys) /dev/dmmidi*
322 %config(noreplace) %verify(not link) %attr(660,root, audio) /dev/dsp
323 %attr(660,root, audio) /dev/dsp?*
326 %attr(600,root,root) /dev/enskip
329 %config(noreplace) %verify(not link) %attr(644,root,root) /dev/fb
330 %attr(644,root,root) /dev/fb?*
331 %attr(660,root,floppy) /dev/fd*
332 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/ftape
333 %attr(644,root,root) /dev/full
336 %attr(664,root,root) /dev/gscd
339 %attr(660,root,disk) /dev/hd*
340 %attr(660,root,disk) /dev/ht0
343 %attr(600,root,root) /dev/i2c*
345 %attr(660,root,disk) /dev/ida/*
346 %attr(600,root,root) /dev/initctl
347 %attr(664,root,root) /dev/inportbm
348 %attr(600,root,root) /dev/ipauth
349 %attr(600,root,root) /dev/ipl
350 %attr(600,root,root) /dev/ipnat
351 %attr(600,root,root) /dev/ipstate
352 %attr(600,root,root) /dev/ippp*
353 %attr(660,root, sys) /dev/iscc*
354 %attr(600,root,root) /dev/isctl
355 %attr(600,root,root) /dev/isdn?
356 %attr(600,root,root) /dev/isdn??
357 %config(noreplace) %verify(not link) %attr(600,root,root) /dev/isdnctrl
358 %attr(600,root,root) /dev/isdnctrl?*
359 %attr(444,root,root) /dev/isdninfo
362 %attr(660,root, sys) /dev/js*
365 %attr(640,root,kmem) /dev/kmem
368 %attr(664,root,root) /dev/logibm
369 %attr(660,root,disk) /dev/loop*
371 %attr(660,root,daemon) /dev/lp*
374 %attr(640,root,disk) /dev/mcd
375 %attr(640,root,kmem) /dev/mem
376 %config(noreplace) %verify(not link) %attr(662,root,sys) /dev/midi
377 %attr(662,root,audio) /dev/midi?*
378 %config(noreplace) %verify(not link) %attr(660,root,audio) /dev/mixer
379 %attr(660,root,audio) /dev/mixer?*
380 %attr(660,root, sys) /dev/mmetfgrab
381 %attr(600,root,root) /dev/mpu401*
382 %attr(660,root,audio) /dev/music
383 %attr(660,root,disk) /dev/md*
386 %attr(660,root,disk) /dev/nb*
387 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/nftape
388 %attr(660,root,disk) /dev/nht*
389 %attr(660,root,disk) /dev/nqft*
390 %attr(660,root,disk) /dev/nrawqft*
391 %attr(660,root,disk) /dev/nrft*
392 %attr(660,root,disk) /dev/nst*
393 %attr(660,root,disk) /dev/ntpqic*
394 %attr(666,root,root) /dev/null
395 %attr(666,root,root) /dev/nvidia*
396 %attr(660,root,disk) /dev/nzqft*
399 %attr(664,root,root) /dev/optcd
402 %attr(640,root,daemon) /dev/par?
403 %attr(660,root,daemon) /dev/parport*
405 %attr(660,root,disk) /dev/pcd*
406 %attr(660,root,disk) /dev/pd*
407 %attr(660,root,disk) /dev/pf*
408 %attr(600,root,root) /dev/pg*
410 %attr(640,root,kmem) /dev/port
411 %attr(644,root,root) /dev/ppp
412 %attr(600,root,root) /dev/printer
413 %attr(664,root,root) /dev/psaux
415 %attr(660,root,disk) /dev/pt0
416 %attr(660,root,disk) /dev/pt1
417 %attr(660,root,disk) /dev/pt2
418 %attr(660,root,disk) /dev/pt3
420 %attr(666,root, tty) /dev/ptmx
421 %attr(666,root, tty) /dev/pty*
425 %attr(640,root,disk) /dev/ram
426 %attr(660,root,disk) /dev/ram0
427 %attr(660,root,disk) /dev/ram1*
428 %attr(660,root,disk) /dev/ram2
429 %attr(660,root,disk) /dev/ram3
430 %attr(660,root,disk) /dev/ram4
431 %attr(660,root,disk) /dev/ram5
432 %attr(660,root,disk) /dev/ram6
433 %attr(660,root,disk) /dev/ram7
434 %attr(660,root,disk) /dev/ram8
435 %attr(660,root,disk) /dev/ram9
437 %config(noreplace) %verify(not link) %attr(660,root,disk) /dev/ramdisk
439 %attr(644,root,root) /dev/random
440 %attr(660,root,disk) /dev/rawqft*
441 %attr(660,root,disk) /dev/rft*
442 %attr(660,root,audio) /dev/rmidi*
443 %attr(660,root,disk) /dev/rmt*
444 %attr(644,root,root) /dev/route
445 %attr(664,root,root) /dev/rtc
447 %attr(660,root,disk) /dev/rd/*
448 %attr(600,root,root) /dev/rawctl
450 %attr(660,root,disk) /dev/raw/*
453 %attr(640,root,disk) /dev/sbpc*
454 %attr(660,root,disk) /dev/scd*
455 %attr(660,root,disk) /dev/sd*
457 %attr(660,root,audio) /dev/sequencer
458 %attr(660,root,audio) /dev/sequencer2
460 %attr(600,root,root) /dev/sg*
461 %attr(664,root,root) /dev/sjcd
462 %attr(600,root,root) /dev/smtpe*
464 %attr(444,root,root) /dev/snd
465 %attr(666,root,root) /dev/sndstat
467 %attr(640,root,disk) /dev/sonycd
469 %attr(600,root,root) /dev/srnd*
471 %attr(660,root,disk) /dev/st?
472 %attr(600,root,root) /dev/staliomem*
473 %attr(666,root,root) /dev/std*
475 %attr(664,root,root) /dev/sunmouse
476 %attr(664,root,root) /dev/svga*
477 %attr(666,root,root) /dev/syslog
478 %attr(600,root,root) /dev/systty
481 %attr(660,root,disk) /dev/tape*
482 %attr(600,root,root) /dev/tlk*
483 %attr(660,root,disk) /dev/tpqic*
485 %attr(666,root,root) /dev/tty
487 %attr(600,root, tty) /dev/tty0
488 %attr(600,root, tty) /dev/tty1*
489 %attr(600,root, tty) /dev/tty2
490 %attr(600,root, tty) /dev/tty3
491 %attr(600,root, tty) /dev/tty4
492 %attr(600,root, tty) /dev/tty5
493 %attr(600,root, tty) /dev/tty6
494 %attr(600,root, tty) /dev/tty7
495 %attr(600,root, tty) /dev/tty8
496 %attr(600,root, tty) /dev/tty9
498 %attr(600,root,root) /dev/ttyC*
499 %attr(600,root,root) /dev/ttyD*
500 %attr(600,root,root) /dev/ttyE*
501 %attr(600,root,root) /dev/ttyI*
502 %attr(600,root,root) /dev/ttyM*
503 %attr(600,root,root) /dev/ttyP*
504 %attr(600,root,root) /dev/ttyR*
506 %attr(664,root, ttyS) /dev/ttyS*
507 %attr(664,root,ttyS) /dev/ttyLT*
509 %attr(666,root, tty) /dev/ttya*
510 %attr(666,root, tty) /dev/ttyb*
511 %attr(666,root, tty) /dev/ttyc*
512 %attr(666,root, tty) /dev/ttyd*
513 %attr(666,root, tty) /dev/ttye*
514 %attr(666,root, tty) /dev/ttyp*
515 %attr(666,root, tty) /dev/ttyq*
516 %attr(666,root, tty) /dev/ttyr*
517 %attr(666,root, tty) /dev/ttys*
518 %attr(666,root, tty) /dev/ttyt*
519 %attr(666,root, tty) /dev/ttyu*
520 %attr(666,root, tty) /dev/ttyv*
521 %attr(666,root, tty) /dev/ttyw*
522 %attr(666,root, tty) /dev/ttyx*
523 %attr(666,root, tty) /dev/ttyy*
524 %attr(666,root, tty) /dev/ttyz*
527 %attr(644,root,root) /dev/urandom
530 %attr(620,root,tty) /dev/vcs*
533 %attr(600,root,root) /dev/watchdog
534 %attr(660,root, sys) /dev/wvisfgrab
537 %attr(660,root,disk) /dev/xd*
542 %attr(666,root,root) /dev/zero
543 %attr(660,root,disk) /dev/zqft*