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
277 rm -rf $RPM_BUILD_ROOT
280 %defattr(644,root,root,755)
283 %attr(662,root, sys) /dev/admmidi*
285 %config(noreplace) %verify(not link) %attr(666,root, sys) /dev/adsp
286 %attr(662,root, sys) /dev/adsp?*
288 %config(noreplace) %verify(not link) %attr(662,root,root) /dev/amidi
289 %attr(662,root,root) /dev/amidi?*
291 %attr(664,root,root) /dev/atibm
293 %config(noreplace) %verify(not link) %attr(660,root, audio) /dev/audio
294 %attr(660,root, audio) /dev/audio?*
296 %attr(664,root,root) /dev/aztcd
299 %attr(664,root,root) /dev/bpcd
302 %attr(600,root,root) /dev/capi*
303 %attr(664,root,root) /dev/cdu31a
304 %attr(640,root,disk) /dev/cdu535
305 %attr(600,root,root) /dev/cfs0
306 %attr(664,root,root) /dev/cm206cd
307 %attr(660,root,console) /dev/console
308 %attr(664,root,root) /dev/cui*
309 %attr(600,root,root) /dev/cum*
312 %attr(600,root,root) /dev/dcbri*
313 %attr(660,root, sys) /dev/dcxx*
314 %attr(662,root, sys) /dev/dmfm*
315 %attr(662,root, sys) /dev/dmmidi*
316 %config(noreplace) %verify(not link) %attr(660,root, audio) /dev/dsp
317 %attr(660,root, audio) /dev/dsp?*
320 %attr(600,root,root) /dev/enskip
323 %config(noreplace) %verify(not link) %attr(644,root,root) /dev/fb
324 %attr(644,root,root) /dev/fb?*
325 %attr(660,root,floppy) /dev/fd*
326 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/ftape
327 %attr(644,root,root) /dev/full
330 %attr(664,root,root) /dev/gscd
333 %attr(660,root,disk) /dev/hd*
334 %attr(660,root,disk) /dev/ht0
337 %attr(600,root,root) /dev/i2c*
339 %attr(660,root,disk) /dev/ida/*
340 %attr(600,root,root) /dev/initctl
341 %attr(664,root,root) /dev/inportbm
342 %attr(600,root,root) /dev/ipauth
343 %attr(600,root,root) /dev/ipl
344 %attr(600,root,root) /dev/ipnat
345 %attr(600,root,root) /dev/ipstate
346 %attr(600,root,root) /dev/ippp*
347 %attr(660,root, sys) /dev/iscc*
348 %attr(600,root,root) /dev/isctl
349 %attr(600,root,root) /dev/isdn?
350 %attr(600,root,root) /dev/isdn??
351 %config(noreplace) %verify(not link) %attr(600,root,root) /dev/isdnctrl
352 %attr(600,root,root) /dev/isdnctrl?*
353 %attr(444,root,root) /dev/isdninfo
356 %attr(660,root, sys) /dev/js*
359 %attr(640,root,kmem) /dev/kmem
362 %attr(664,root,root) /dev/logibm
363 %attr(660,root,disk) /dev/loop*
365 %attr(660,root,daemon) /dev/lp*
366 %attr(664,root,ttyS) /dev/ttyLT*
369 %attr(640,root,disk) /dev/mcd
370 %attr(640,root,kmem) /dev/mem
371 %config(noreplace) %verify(not link) %attr(662,root,sys) /dev/midi
372 %attr(662,root,audio) /dev/midi?*
373 %config(noreplace) %verify(not link) %attr(660,root,audio) /dev/mixer
374 %attr(660,root,audio) /dev/mixer?*
375 %attr(660,root, sys) /dev/mmetfgrab
376 %attr(600,root,root) /dev/mpu401*
377 %attr(660,root,audio) /dev/music
378 %attr(600,root, root) /dev/md*
381 %attr(660,root,disk) /dev/nb*
382 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/nftape
383 %attr(660,root,disk) /dev/nht*
384 %attr(660,root,disk) /dev/nqft*
385 %attr(660,root,disk) /dev/nrawqft*
386 %attr(660,root,disk) /dev/nrft*
387 %attr(660,root,disk) /dev/nst*
388 %attr(660,root,disk) /dev/ntpqic*
389 %attr(666,root,root) /dev/null
390 %attr(660,root,disk) /dev/nzqft*
393 %attr(664,root,root) /dev/optcd
396 %attr(640,root,daemon) /dev/par?
397 %attr(660,root,daemon) /dev/parport*
399 %attr(660,root,disk) /dev/pcd*
400 %attr(660,root,disk) /dev/pd*
401 %attr(660,root,disk) /dev/pf*
402 %attr(600,root,root) /dev/pg*
404 %attr(640,root,kmem) /dev/port
405 %attr(644,root,root) /dev/ppp
406 %attr(600,root,root) /dev/printer
407 %attr(664,root,root) /dev/psaux
409 %attr(660,root,disk) /dev/pt0
410 %attr(660,root,disk) /dev/pt1
411 %attr(660,root,disk) /dev/pt2
412 %attr(660,root,disk) /dev/pt3
414 %attr(666,root, tty) /dev/ptmx
415 %attr(666,root, tty) /dev/pty*
419 %attr(640,root,disk) /dev/ram
420 %attr(660,root,disk) /dev/ram0
421 %attr(660,root,disk) /dev/ram1*
422 %attr(660,root,disk) /dev/ram2
423 %attr(660,root,disk) /dev/ram3
424 %attr(660,root,disk) /dev/ram4
425 %attr(660,root,disk) /dev/ram5
426 %attr(660,root,disk) /dev/ram6
427 %attr(660,root,disk) /dev/ram7
428 %attr(660,root,disk) /dev/ram8
429 %attr(660,root,disk) /dev/ram9
431 %config(noreplace) %verify(not link) %attr(660,root,disk) /dev/ramdisk
433 %attr(644,root,root) /dev/random
434 %attr(660,root,disk) /dev/rawqft*
435 %attr(660,root,disk) /dev/rft*
436 %attr(660,root,audio) /dev/rmidi*
437 %attr(660,root,disk) /dev/rmt*
438 %attr(644,root,root) /dev/route
439 %attr(664,root,root) /dev/rtc
441 %attr(660,root,disk) /dev/rd/*
442 %attr(600,root,root) /dev/rawctl
444 %attr(660,root,disk) /dev/raw/*
447 %attr(640,root,disk) /dev/sbpc*
448 %attr(660,root,disk) /dev/scd*
449 %attr(660,root,disk) /dev/sd*
451 %attr(660,root,audio) /dev/sequencer
452 %attr(660,root,audio) /dev/sequencer2
454 %attr(600,root,root) /dev/sg*
455 %attr(664,root,root) /dev/sjcd
456 %attr(600,root,root) /dev/smtpe*
458 %attr(444,root,root) /dev/snd
459 %attr(666,root,root) /dev/sndstat
461 %attr(640,root,disk) /dev/sonycd
463 %attr(600,root,root) /dev/srnd*
465 %attr(660,root,disk) /dev/st?
466 %attr(600,root,root) /dev/staliomem*
467 %attr(666,root,root) /dev/std*
469 %attr(664,root,root) /dev/sunmouse
470 %attr(664,root,root) /dev/svga*
471 %attr(666,root,root) /dev/syslog
472 %attr(600,root,root) /dev/systty
475 %attr(660,root,disk) /dev/tape*
476 %attr(600,root,root) /dev/tlk*
477 %attr(660,root,disk) /dev/tpqic*
479 %attr(666,root,root) /dev/tty
481 %attr(600,root, tty) /dev/tty0
482 %attr(600,root, tty) /dev/tty1*
483 %attr(600,root, tty) /dev/tty2
484 %attr(600,root, tty) /dev/tty3
485 %attr(600,root, tty) /dev/tty4
486 %attr(600,root, tty) /dev/tty5
487 %attr(600,root, tty) /dev/tty6
488 %attr(600,root, tty) /dev/tty7
489 %attr(600,root, tty) /dev/tty8
490 %attr(600,root, tty) /dev/tty9
492 %attr(600,root,root) /dev/ttyC*
493 %attr(600,root,root) /dev/ttyD*
494 %attr(600,root,root) /dev/ttyE*
495 %attr(600,root,root) /dev/ttyI*
496 %attr(600,root,root) /dev/ttyM*
497 %attr(600,root,root) /dev/ttyP*
498 %attr(600,root,root) /dev/ttyR*
500 %attr(664,root, ttyS) /dev/ttyS*
502 %attr(666,root, tty) /dev/ttya*
503 %attr(666,root, tty) /dev/ttyb*
504 %attr(666,root, tty) /dev/ttyc*
505 %attr(666,root, tty) /dev/ttyd*
506 %attr(666,root, tty) /dev/ttye*
507 %attr(666,root, tty) /dev/ttyp*
508 %attr(666,root, tty) /dev/ttyq*
509 %attr(666,root, tty) /dev/ttyr*
510 %attr(666,root, tty) /dev/ttys*
511 %attr(666,root, tty) /dev/ttyt*
512 %attr(666,root, tty) /dev/ttyu*
513 %attr(666,root, tty) /dev/ttyv*
514 %attr(666,root, tty) /dev/ttyw*
515 %attr(666,root, tty) /dev/ttyx*
516 %attr(666,root, tty) /dev/ttyy*
517 %attr(666,root, tty) /dev/ttyz*
520 %attr(644,root,root) /dev/urandom
523 %attr(620,root,tty) /dev/vcs*
526 %attr(600,root,root) /dev/watchdog
527 %attr(660,root, sys) /dev/wvisfgrab
530 %attr(660,root,disk) /dev/xd*
535 %attr(666,root,root) /dev/zero
536 %attr(660,root,disk) /dev/zqft*