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
230 mknode ipstate c 95 2
233 install -d $RPM_BUILD_ROOT/proc/asound
234 touch $RPM_BUILD_ROOT/proc/asound/dev
236 ln -s ../proc/asound/dev snd
238 # prepared for SysVinit
241 #prepared for Log Daemon
242 mkfifo --mode=666 syslog
244 #libsvga char dev helpers
251 #ipsec character device
255 rm -rf $RPM_BUILD_ROOT
258 %defattr(644,root,root,755)
261 %attr(662,root, sys) /dev/admmidi*
263 %config(noreplace) %verify(not link) %attr(666,root, sys) /dev/adsp
264 %attr(662,root, sys) /dev/adsp?*
266 %config(noreplace) %verify(not link) %attr(662,root,root) /dev/amidi
267 %attr(662,root,root) /dev/amidi?*
269 %attr(664,root,root) /dev/atibm
271 %config(noreplace) %verify(not link) %attr(660,root, audio) /dev/audio
272 %attr(660,root, audio) /dev/audio?*
274 %attr(664,root,root) /dev/aztcd
277 %attr(664,root,root) /dev/bpcd
280 %attr(600,root,root) /dev/capi*
281 %attr(664,root,root) /dev/cdu31a
282 %attr(640,root,disk) /dev/cdu535
283 %attr(600,root,root) /dev/cfs0
284 %attr(664,root,root) /dev/cm206cd
285 %attr(660,root,console) /dev/console
286 %attr(664,root,root) /dev/cui*
287 %attr(600,root,root) /dev/cum*
290 %attr(600,root,root) /dev/dcbri*
291 %attr(660,root, sys) /dev/dcxx*
292 %attr(662,root, sys) /dev/dmfm*
293 %attr(662,root, sys) /dev/dmmidi*
294 %config(noreplace) %verify(not link) %attr(660,root, audio) /dev/dsp
295 %attr(660,root, audio) /dev/dsp?*
298 %attr(600,root,root) /dev/enskip
301 %config(noreplace) %verify(not link) %attr(644,root,root) /dev/fb
302 %attr(644,root,root) /dev/fb?*
303 %attr(660,root,floppy) /dev/fd*
304 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/ftape
305 %attr(644,root,root) /dev/full
308 %attr(664,root,root) /dev/gscd
311 %attr(660,root,disk) /dev/hd*
312 %attr(660,root,disk) /dev/ht0
315 %attr(600,root,root) /dev/i2c*
317 %attr(660,root,disk) /dev/ida/*
318 %attr(600,root,root) /dev/initctl
319 %attr(664,root,root) /dev/inportbm
320 %attr(600,root,root) /dev/ipauth
321 %attr(600,root,root) /dev/ipl
322 %attr(600,root,root) /dev/ipnat
323 %attr(600,root,root) /dev/ipstate
324 %attr(600,root,root) /dev/ippp*
325 %attr(660,root, sys) /dev/iscc*
326 %attr(600,root,root) /dev/isctl
327 %attr(600,root,root) /dev/isdn?
328 %attr(600,root,root) /dev/isdn??
329 %config(noreplace) %verify(not link) %attr(600,root,root) /dev/isdnctrl
330 %attr(600,root,root) /dev/isdnctrl?*
331 %attr(444,root,root) /dev/isdninfo
334 %attr(660,root, sys) /dev/js*
337 %attr(640,root,kmem) /dev/kmem
340 %attr(664,root,root) /dev/logibm
341 %attr(660,root,disk) /dev/loop*
343 %attr(660,root,daemon) /dev/lp*
346 %attr(640,root,disk) /dev/mcd
347 %attr(640,root,kmem) /dev/mem
348 %config(noreplace) %verify(not link) %attr(662,root,sys) /dev/midi
349 %attr(662,root,audio) /dev/midi?*
350 %config(noreplace) %verify(not link) %attr(660,root,audio) /dev/mixer
351 %attr(660,root,audio) /dev/mixer?*
352 %attr(660,root, sys) /dev/mmetfgrab
353 %attr(600,root,root) /dev/mpu401*
354 %attr(660,root,audio) /dev/music
355 %attr(600,root, root) /dev/md*
358 %attr(660,root,disk) /dev/nb*
359 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/nftape
360 %attr(660,root,disk) /dev/nht*
361 %attr(660,root,disk) /dev/nqft*
362 %attr(660,root,disk) /dev/nrawqft*
363 %attr(660,root,disk) /dev/nrft*
364 %attr(660,root,disk) /dev/nst*
365 %attr(660,root,disk) /dev/ntpqic*
366 %attr(666,root,root) /dev/null
367 %attr(660,root,disk) /dev/nzqft*
370 %attr(664,root,root) /dev/optcd
373 %attr(640,root,daemon) /dev/par?
374 %attr(660,root,daemon) /dev/parport*
376 %attr(660,root,disk) /dev/pcd*
377 %attr(660,root,disk) /dev/pd*
378 %attr(660,root,disk) /dev/pf*
379 %attr(600,root,root) /dev/pg*
381 %attr(640,root,kmem) /dev/port
382 %attr(644,root,root) /dev/ppp
383 %attr(600,root,root) /dev/printer
384 %attr(664,root,root) /dev/psaux
386 %attr(660,root,disk) /dev/pt0
387 %attr(660,root,disk) /dev/pt1
388 %attr(660,root,disk) /dev/pt2
389 %attr(660,root,disk) /dev/pt3
391 %attr(666,root, tty) /dev/ptmx
392 %attr(666,root, tty) /dev/pty*
396 %attr(640,root,disk) /dev/ram
397 %attr(660,root,disk) /dev/ram0
398 %attr(660,root,disk) /dev/ram1*
399 %attr(660,root,disk) /dev/ram2
400 %attr(660,root,disk) /dev/ram3
401 %attr(660,root,disk) /dev/ram4
402 %attr(660,root,disk) /dev/ram5
403 %attr(660,root,disk) /dev/ram6
404 %attr(660,root,disk) /dev/ram7
405 %attr(660,root,disk) /dev/ram8
406 %attr(660,root,disk) /dev/ram9
408 %config(noreplace) %verify(not link) %attr(660,root,disk) /dev/ramdisk
410 %attr(644,root,root) /dev/random
411 %attr(660,root,disk) /dev/rawqft*
412 %attr(660,root,disk) /dev/rft*
413 %attr(660,root,audio) /dev/rmidi*
414 %attr(660,root,disk) /dev/rmt*
415 %attr(644,root,root) /dev/route
416 %attr(664,root,root) /dev/rtc
418 %attr(660,root,disk) /dev/rd/*
421 %attr(640,root,disk) /dev/sbpc*
422 %attr(660,root,disk) /dev/scd*
423 %attr(660,root,disk) /dev/sd*
425 %attr(660,root,audio) /dev/sequencer
426 %attr(660,root,audio) /dev/sequencer2
428 %attr(600,root,root) /dev/sg*
429 %attr(664,root,root) /dev/sjcd
430 %attr(600,root,root) /dev/smtpe*
432 %attr(444,root,root) /dev/snd
433 %attr(666,root,root) /dev/sndstat
435 %attr(640,root,disk) /dev/sonycd
437 %attr(600,root,root) /dev/srnd*
439 %attr(660,root,disk) /dev/st?
440 %attr(600,root,root) /dev/staliomem*
441 %attr(666,root,root) /dev/std*
443 %attr(664,root,root) /dev/sunmouse
444 %attr(664,root,root) /dev/svga*
445 %attr(666,root,root) /dev/syslog
446 %attr(600,root,root) /dev/systty
449 %attr(660,root,disk) /dev/tape*
450 %attr(600,root,root) /dev/tlk*
451 %attr(660,root,disk) /dev/tpqic*
453 %attr(666,root,root) /dev/tty
455 %attr(600,root, tty) /dev/tty0
456 %attr(600,root, tty) /dev/tty1*
457 %attr(600,root, tty) /dev/tty2
458 %attr(600,root, tty) /dev/tty3
459 %attr(600,root, tty) /dev/tty4
460 %attr(600,root, tty) /dev/tty5
461 %attr(600,root, tty) /dev/tty6
462 %attr(600,root, tty) /dev/tty7
463 %attr(600,root, tty) /dev/tty8
464 %attr(600,root, tty) /dev/tty9
466 %attr(600,root,root) /dev/ttyC*
467 %attr(600,root,root) /dev/ttyD*
468 %attr(600,root,root) /dev/ttyE*
469 %attr(600,root,root) /dev/ttyI*
470 %attr(600,root,root) /dev/ttyM*
471 %attr(600,root,root) /dev/ttyP*
472 %attr(600,root,root) /dev/ttyR*
474 %attr(664,root, ttyS) /dev/ttyS*
476 %attr(666,root, tty) /dev/ttya*
477 %attr(666,root, tty) /dev/ttyb*
478 %attr(666,root, tty) /dev/ttyc*
479 %attr(666,root, tty) /dev/ttyd*
480 %attr(666,root, tty) /dev/ttye*
481 %attr(666,root, tty) /dev/ttyp*
482 %attr(666,root, tty) /dev/ttyq*
483 %attr(666,root, tty) /dev/ttyr*
484 %attr(666,root, tty) /dev/ttys*
485 %attr(666,root, tty) /dev/ttyt*
486 %attr(666,root, tty) /dev/ttyu*
487 %attr(666,root, tty) /dev/ttyv*
488 %attr(666,root, tty) /dev/ttyw*
489 %attr(666,root, tty) /dev/ttyx*
490 %attr(666,root, tty) /dev/ttyy*
491 %attr(666,root, tty) /dev/ttyz*
494 %attr(644,root,root) /dev/urandom
497 %attr(620,root,tty) /dev/vcs*
500 %attr(600,root,root) /dev/watchdog
501 %attr(660,root, sys) /dev/wvisfgrab
504 %attr(660,root,disk) /dev/xd*
509 %attr(666,root,root) /dev/zero
510 %attr(660,root,disk) /dev/zqft*