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 Source: %{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
23 are 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 essential
25 for a system to function properly.
28 Wszystkie systemy unixowe, w tym Linux, u¿ywaj± plików do przedstawiania
29 urz±dzeñ pod³±czonych do komputera. Wszystkie te pliki znajduj± siê zwykle w
30 katalogu /dev. Pakiet ten zawiera wiêkszo¶æ popularnych plików specjalnych,
31 s± one jedn± z wa¿niejszych czê¶ci prawid³owo dzia³aj±cego systemu operacyjnego.
34 Unix et les systèmes apparentés (dont Linux) utilise des fichiers pour
35 représenter les périphériques reliés à la machine. Toutes ces entrées
36 sont dans l'arborescence /dev (ce n'est pas obligatoire). Ce paquetage
37 contient les entrées /dev les plus courantes. Elles sont essentielles
38 pour qu'un système fonctionne correctement.
41 Unix ve Unix benzeri sistemler (Linux da dahil olmak üzere), makinaya baðlý
42 aygýtlarý göstermek için özel dosyalar kullanýrlar. Bu özel dosyalarýn tümü
43 /dev dizin yapýsý altýndadýr. Bu paket en çok kullanýlan /dev dosyalarýný
44 içerir. Bu dosyalar, bir sistemin düzgün olarak iþleyebilmesi için temel
48 Unix und Unix-ähnliche Systeme (inkl. Linux) verwenden Dateisystem-
49 Einträge zum Darstellen angeschlossener Geräte. Diese Einträge befinden
50 sich (nicht notwendigerweise) im Verzeichnis /dev. Dieses Paket enthält
51 die üblichsten /dev-Einträge. Diese Dateien sind für das Funktionieren
52 eines Systems unbedingt erforderlich.
58 rm -rf $RPM_BUILD_ROOT
61 # [ -e $1 ] || mknod $1 $2 $3 $4
66 install -d $RPM_BUILD_ROOT
68 #add group for floppy and console
69 # if setup contains this group then remove next 4 lines
70 #grep '^floppy:' /etc/group >/dev/null \
71 # || groupadd -g 19 -r -f floppy >/dev/null
72 #grep '^console:' /etc/group >/dev/null \
73 # || groupadd -g 20 -f -r console >/dev/null
75 # do some cleanup in build root
77 tar xpSzf $RPM_SOURCE_DIR/%{name}-%{version}.tar.gz
81 # tar doesn't save some permissions unless the p option is used
82 # this code protects against dev package updaters forgetting to
83 # use the p option when unpacking the souce tarball.
84 for dev in zero null tty ttyp0 ; do
85 if [ ! $(ls -l $dev | awk '{print $1}') = crw-rw-rw- ] ; then
86 echo bad permissions on device $dev 1>&2
92 # SPARC specific devices
95 mknode openprom c 10 139
98 # remove devices that will *never* exist on a SPARC
99 rm -f hd* aztcd mcd sbpcd1 cdu31a sbpcd2 scd3
100 rm -f sjcd cdu535 sbpcd3 sonycd cm206cd sbpcd
101 rm -f gscd sbpcd0 atibm inportbm logibm psaux
106 # m68k specific devices
107 mknode amigamouse c 10 4
108 mknode atarimouse c 10 5
109 mknode apollomouse c 10 7
110 ln -s amigamouse mouse
116 # remove devices that will *never* exist on a m68k
117 rm -f hd* aztcd mcd sbpcd1 cdu31a sbpcd2 scd3
118 rm -f sjcd cdu535 sbpcd3 sonycd cm206cd sbpcd
119 rm -f gscd sbpcd0 atibm inportbm logibm psaux
139 mknode watchdog c 10 130
147 mknode mixer1 c 14 16
148 mknode mixer2 c 14 32
149 mknode mixer3 c 14 48
163 mknode audio1 c 14 20
164 mknode audio2 c 14 36
165 mknode audio3 c 14 52
179 mknode dmmidi0 c 14 9
180 mknode dmmidi1 c 14 25
181 mknode dmmidi2 c 14 41
182 mknode dmmidi3 c 14 57
186 mknode admmidi0 c 14 14
187 mknode admmidi1 c 14 30
188 mknode admmidi2 c 14 46
189 mknode admmidi3 c 14 62
191 mknode amidi0 c 14 13
192 mknode amidi1 c 14 29
193 mknode amidi2 c 14 45
194 mknode amidi3 c 14 61
197 ln -s music sequencer2
218 mknode ipstate c 95 2
221 install -d $RPM_BUILD_ROOT/proc/asound
222 touch $RPM_BUILD_ROOT/proc/asound/snd
224 ln -s ../proc/asound/snd snd
226 # prepared for SysVinit
229 #prepared for Log Daemon
230 mkfifo --mode=666 syslog
233 mknode nfsd_netlink c 36 4
235 #libsvga char dev helpers
242 #ipsec character device
246 rm -rf $RPM_BUILD_ROOT
249 %defattr(644,root,root,755)
252 %attr(662,root, sys) /dev/admmidi*
254 %config(noreplace) %verify(not link) %attr(666,root, sys) /dev/adsp
255 %attr(662,root, sys) /dev/adsp?*
257 %config(noreplace) %verify(not link) %attr(662,root,root) /dev/amidi
258 %attr(662,root,root) /dev/amidi?*
260 %attr(664,root,root) /dev/atibm
262 %config(noreplace) %verify(not link) %attr(660,root, audio) /dev/audio
263 %attr(660,root, audio) /dev/audio?*
265 %attr(664,root,root) /dev/aztcd
268 %attr(664,root,root) /dev/bpcd
271 %attr(600,root,root) /dev/capi*
272 %attr(664,root,root) /dev/cdu31a
273 %attr(640,root,disk) /dev/cdu535
274 %attr(600,root,root) /dev/cfs0
275 %attr(664,root,root) /dev/cm206cd
276 %attr(660,root,console) /dev/console
277 %attr(664,root,root) /dev/cui*
278 %attr(600,root,root) /dev/cum*
281 %attr(600,root,root) /dev/dcbri*
282 %attr(660,root, sys) /dev/dcxx*
283 %attr(662,root, sys) /dev/dmfm*
284 %attr(662,root, sys) /dev/dmmidi*
285 %config(noreplace) %verify(not link) %attr(660,root, audio) /dev/dsp
286 %attr(660,root, audio) /dev/dsp?*
289 %attr(600,root,root) /dev/enskip
292 %config(noreplace) %verify(not link) %attr(644,root,root) /dev/fb
293 %attr(644,root,root) /dev/fb?*
294 %attr(660,root,floppy) /dev/fd*
295 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/ftape
296 %attr(644,root,root) /dev/full
299 %attr(664,root,root) /dev/gscd
302 %attr(660,root,disk) /dev/hd*
303 %attr(660,root,disk) /dev/ht0
306 %attr(600,root,root) /dev/i2c*
308 %attr(660,root,disk) /dev/ida/*
309 %attr(600,root,root) /dev/initctl
310 %attr(664,root,root) /dev/inportbm
311 %attr(600,root,root) /dev/ipauth
312 %attr(600,root,root) /dev/ipl
313 %attr(600,root,root) /dev/ipnat
314 %attr(600,root,root) /dev/ipstate
315 %attr(600,root,root) /dev/ippp*
316 %attr(660,root, sys) /dev/iscc*
317 %attr(600,root,root) /dev/isctl
318 %attr(600,root,root) /dev/isdn?
319 %attr(600,root,root) /dev/isdn??
320 %config(noreplace) %verify(not link) %attr(600,root,root) /dev/isdnctrl
321 %attr(600,root,root) /dev/isdnctrl?*
322 %attr(444,root,root) /dev/isdninfo
325 %attr(660,root, sys) /dev/js*
328 %attr(640,root,kmem) /dev/kmem
331 %attr(664,root,root) /dev/logibm
332 %attr(660,root,disk) /dev/loop*
334 %attr(660,root,daemon) /dev/lp*
337 %attr(640,root,disk) /dev/mcd
338 %attr(640,root,kmem) /dev/mem
339 %config(noreplace) %verify(not link) %attr(662,root,sys) /dev/midi
340 %attr(662,root, sys) /dev/midi?*
341 %config(noreplace) %verify(not link) %attr(660,root,audio) /dev/mixer
342 %attr(660,root, audio) /dev/mixer?*
343 %attr(660,root, sys) /dev/mmetfgrab
344 %attr(600,root,root) /dev/mpu401*
345 %attr(662,root, sys) /dev/music
346 %attr(600,root, root) /dev/md*
349 %attr(660,root,disk) /dev/nb*
350 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/nftape
351 %attr(600,root,root) /dev/nfsd_netlink
352 %attr(660,root,disk) /dev/nht*
353 %attr(660,root,disk) /dev/nqft*
354 %attr(660,root,disk) /dev/nrawqft*
355 %attr(660,root,disk) /dev/nrft*
356 %attr(660,root,disk) /dev/nst*
357 %attr(660,root,disk) /dev/ntpqic*
358 %attr(666,root,root) /dev/null
359 %attr(660,root,disk) /dev/nzqft*
362 %attr(664,root,root) /dev/optcd
365 %attr(640,root,daemon) /dev/par?
366 %attr(660,root,daemon) /dev/parport*
368 %attr(660,root,disk) /dev/pcd*
369 %attr(660,root,disk) /dev/pd*
370 %attr(660,root,disk) /dev/pf*
371 %attr(600,root,root) /dev/pg*
373 %attr(640,root,kmem) /dev/port
374 %attr(644,root,root) /dev/ppp
375 %attr(600,root,root) /dev/printer
376 %attr(664,root,root) /dev/psaux
378 %attr(660,root,disk) /dev/pt0
379 %attr(660,root,disk) /dev/pt1
380 %attr(660,root,disk) /dev/pt2
381 %attr(660,root,disk) /dev/pt3
383 %attr(666,root, tty) /dev/ptmx
384 %attr(666,root, tty) /dev/pty*
388 %attr(640,root,disk) /dev/ram
389 %attr(660,root,disk) /dev/ram0
390 %attr(660,root,disk) /dev/ram1*
391 %attr(660,root,disk) /dev/ram2
392 %attr(660,root,disk) /dev/ram3
393 %attr(660,root,disk) /dev/ram4
394 %attr(660,root,disk) /dev/ram5
395 %attr(660,root,disk) /dev/ram6
396 %attr(660,root,disk) /dev/ram7
397 %attr(660,root,disk) /dev/ram8
398 %attr(660,root,disk) /dev/ram9
400 %config(noreplace) %verify(not link) %attr(660,root,disk) /dev/ramdisk
402 %attr(644,root,root) /dev/random
403 %attr(660,root,disk) /dev/rawqft*
404 %attr(660,root,disk) /dev/rft*
405 %attr(660,root, sys) /dev/rmidi*
406 %attr(660,root,disk) /dev/rmt*
407 %attr(644,root,root) /dev/route
408 %attr(664,root,root) /dev/rtc
410 %attr(660,root,disk) /dev/rd/*
413 %attr(640,root,disk) /dev/sbpc*
414 %attr(660,root,disk) /dev/scd*
415 %attr(660,root,disk) /dev/sd*
417 %attr(662,root,sys) /dev/sequencer
418 %attr(662,root,sys) /dev/sequencer2
420 %attr(600,root,root) /dev/sg*
421 %attr(664,root,root) /dev/sjcd
422 %attr(600,root,root) /dev/smtpe*
424 %attr(444,root,root) /dev/snd
425 %attr(666,root,root) /dev/sndstat
427 %attr(640,root,disk) /dev/sonycd
429 %attr(600,root,root) /dev/srnd*
431 %attr(660,root,disk) /dev/st?
432 %attr(600,root,root) /dev/staliomem*
433 %attr(666,root,root) /dev/std*
435 %attr(664,root,root) /dev/sunmouse
436 %attr(664,root,root) /dev/svga*
437 %attr(666,root,root) /dev/syslog
438 %attr(600,root,root) /dev/systty
441 %attr(660,root,disk) /dev/tape*
442 %attr(600,root,root) /dev/tlk*
443 %attr(660,root,disk) /dev/tpqic*
445 %attr(666,root,root) /dev/tty
447 %attr(600,root, tty) /dev/tty0
448 %attr(600,root, tty) /dev/tty1*
449 %attr(600,root, tty) /dev/tty2
450 %attr(600,root, tty) /dev/tty3
451 %attr(600,root, tty) /dev/tty4
452 %attr(600,root, tty) /dev/tty5
453 %attr(600,root, tty) /dev/tty6
454 %attr(600,root, tty) /dev/tty7
455 %attr(600,root, tty) /dev/tty8
456 %attr(600,root, tty) /dev/tty9
458 %attr(600,root,root) /dev/ttyC*
459 %attr(600,root,root) /dev/ttyD*
460 %attr(600,root,root) /dev/ttyE*
461 %attr(600,root,root) /dev/ttyI*
462 %attr(600,root,root) /dev/ttyM*
463 %attr(600,root,root) /dev/ttyP*
464 %attr(600,root,root) /dev/ttyR*
466 %attr(664,root, ttyS) /dev/ttyS*
468 %attr(666,root, tty) /dev/ttya*
469 %attr(666,root, tty) /dev/ttyb*
470 %attr(666,root, tty) /dev/ttyc*
471 %attr(666,root, tty) /dev/ttyd*
472 %attr(666,root, tty) /dev/ttye*
473 %attr(666,root, tty) /dev/ttyp*
474 %attr(666,root, tty) /dev/ttyq*
475 %attr(666,root, tty) /dev/ttyr*
476 %attr(666,root, tty) /dev/ttys*
477 %attr(666,root, tty) /dev/ttyt*
478 %attr(666,root, tty) /dev/ttyu*
479 %attr(666,root, tty) /dev/ttyv*
480 %attr(666,root, tty) /dev/ttyw*
481 %attr(666,root, tty) /dev/ttyx*
482 %attr(666,root, tty) /dev/ttyy*
483 %attr(666,root, tty) /dev/ttyz*
486 %attr(644,root,root) /dev/urandom
489 %attr(620,root,tty) /dev/vcs*
492 %attr(600,root,root) /dev/watchdog
493 %attr(660,root, sys) /dev/wvisfgrab
496 %attr(660,root,disk) /dev/xd*
501 %attr(666,root,root) /dev/zero
502 %attr(660,root,disk) /dev/zqft*