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 ####### From ftp.redhat.com/rawhide
10 Source: %{name}-%{version}.tar.gz
11 Copyright: public domain
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Unix and unix like systems (including Linux) use file system entries
25 to represent devices attached to the machine. All of these entries
26 are in the /dev tree (though they don't have to be), and this package
27 contains the most commonly used /dev entries. These files are essential
28 for a system to function properly.
31 Wszystkie systemy unixowe, w tym Linux, u¿ywaj± plików do przedstawiania
32 urz±dzeñ pod³±czonych do komputera. Wszystkie te pliki znajduj± siê zwykle w
33 katalogu /dev. Pakiet ten zawiera wiêkszo¶æ popularnych plików specjalnych,
34 s± one jedn± z wa¿niejszych czê¶ci prawid³owo dzia³aj±cego systemu operacyjnego.
37 Unix et les systèmes apparentés (dont Linux) utilise des fichiers pour
38 représenter les périphériques reliés à la machine. Toutes ces entrées
39 sont dans l'arborescence /dev (ce n'est pas obligatoire). Ce paquetage
40 contient les entrées /dev les plus courantes. Elles sont essentielles
41 pour qu'un système fonctionne correctement.
44 Unix ve Unix benzeri sistemler (Linux da dahil olmak üzere), makinaya baðlý
45 aygýtlarý göstermek için özel dosyalar kullanýrlar. Bu özel dosyalarýn tümü
46 /dev dizin yapýsý altýndadýr. Bu paket en çok kullanýlan /dev dosyalarýný
47 içerir. Bu dosyalar, bir sistemin düzgün olarak iþleyebilmesi için temel
51 Unix und Unix-ähnliche Systeme (inkl. Linux) verwenden Dateisystem-
52 Einträge zum Darstellen angeschlossener Geräte. Diese Einträge befinden
53 sich (nicht notwendigerweise) im Verzeichnis /dev. Dieses Paket enthält
54 die üblichsten /dev-Einträge. Diese Dateien sind für das Funktionieren
55 eines Systems unbedingt erforderlich.
61 rm -rf $RPM_BUILD_ROOT
64 # [ -e $1 ] || mknod $1 $2 $3 $4
69 install -d $RPM_BUILD_ROOT
71 #add group for floppy and console
72 # if setup contains this group then remove next 4 lines
73 #grep '^floppy:' /etc/group >/dev/null \
74 # || groupadd -g 19 -r -f floppy >/dev/null
75 #grep '^console:' /etc/group >/dev/null \
76 # || groupadd -g 20 -f -r console >/dev/null
78 # do some cleanup in build root
80 tar xpSzf $RPM_SOURCE_DIR/%{name}-%{version}.tar.gz
84 # tar doesn't save some permissions unless the p option is used
85 # this code protects against dev package updaters forgetting to
86 # use the p option when unpacking the souce tarball.
87 for dev in zero null tty ttyp0 ; do
88 if [ ! $(ls -l $dev | awk '{print $1}') = crw-rw-rw- ] ; then
89 echo bad permissions on device $dev 1>&2
95 # SPARC specific devices
98 mknode openprom c 10 139
101 # remove devices that will *never* exist on a SPARC
102 rm -f hd* aztcd mcd sbpcd1 cdu31a sbpcd2 scd3
103 rm -f sjcd cdu535 sbpcd3 sonycd cm206cd sbpcd
104 rm -f gscd sbpcd0 atibm inportbm logibm psaux
109 # m68k specific devices
110 mknode amigamouse c 10 4
111 mknode atarimouse c 10 5
112 mknode apollomouse c 10 7
113 ln -s amigamouse mouse
119 # remove devices that will *never* exist on a m68k
120 rm -f hd* aztcd mcd sbpcd1 cdu31a sbpcd2 scd3
121 rm -f sjcd cdu535 sbpcd3 sonycd cm206cd sbpcd
122 rm -f gscd sbpcd0 atibm inportbm logibm psaux
142 mknode watchdog c 10 130
150 mknode mixer1 c 14 16
151 mknode mixer2 c 14 32
152 mknode mixer3 c 14 48
166 mknode audio1 c 14 20
167 mknode audio2 c 14 36
168 mknode audio3 c 14 52
182 mknode dmmidi0 c 14 9
183 mknode dmmidi1 c 14 25
184 mknode dmmidi2 c 14 41
185 mknode dmmidi3 c 14 57
189 mknode admmidi0 c 14 14
190 mknode admmidi1 c 14 30
191 mknode admmidi2 c 14 46
192 mknode admmidi3 c 14 62
194 mknode amidi0 c 14 13
195 mknode amidi1 c 14 29
196 mknode amidi2 c 14 45
197 mknode amidi3 c 14 61
200 ln -s music sequencer2
222 mknode ipstate c 95 2
225 install -d $RPM_BUILD_ROOT/proc/asound
226 touch $RPM_BUILD_ROOT/proc/asound/snd
228 ln -s ../proc/asound/snd snd
230 # prepared for SysVinit
233 #prepared for Log Daemon
234 mkfifo --mode=666 syslog
236 # never require /bin/sh
239 if ! id -g audio; then
240 %{_sbindir}/groupadd -g 23 audio
243 rm -rf $RPM_BUILD_ROOT
246 %defattr(644,root,root,755)
249 %attr(662,root, sys) /dev/admmidi*
251 %config(noreplace) %verify(not link) %attr(666,root, sys) /dev/adsp
252 %attr(662,root, sys) /dev/adsp?*
254 %config(noreplace) %verify(not link) %attr(662,root,root) /dev/amidi
255 %attr(662,root,root) /dev/amidi?*
257 %attr(664,root,root) /dev/atibm
259 %config(noreplace) %verify(not link) %attr(660,root, audio) /dev/audio
260 %attr(660,root, audio) /dev/audio?*
262 %attr(664,root,root) /dev/aztcd
265 %attr(664,root,root) /dev/bpcd
268 %attr(600,root,root) /dev/capi*
269 %attr(664,root,root) /dev/cdu31a
270 %attr(640,root,disk) /dev/cdu535
271 %attr(600,root,root) /dev/cfs0
272 %attr(664,root,root) /dev/cm206cd
273 %attr(660,root,console) /dev/console
274 %attr(664,root,root) /dev/cui*
275 %attr(600,root,root) /dev/cum*
278 %attr(600,root,root) /dev/dcbri*
279 %attr(660,root, sys) /dev/dcxx*
280 %attr(662,root, sys) /dev/dmfm*
281 %attr(662,root, sys) /dev/dmmidi*
282 %config(noreplace) %verify(not link) %attr(660,root, audio) /dev/dsp
283 %attr(660,root, audio) /dev/dsp?*
286 %attr(600,root,root) /dev/enskip
289 %config(noreplace) %verify(not link) %attr(644,root,root) /dev/fb
290 %attr(644,root,root) /dev/fb?*
291 %attr(660,root,floppy) /dev/fd*
292 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/ftape
293 %attr(644,root,root) /dev/full
296 %attr(664,root,root) /dev/gscd
299 %attr(660,root,disk) /dev/hd*
300 %attr(660,root,disk) /dev/ht0
303 %attr(600,root,root) /dev/i2c*
305 %attr(660,root,disk) /dev/ida/*
306 %attr(600,root,root) /dev/initctl
307 %attr(664,root,root) /dev/inportbm
308 %attr(600,root,root) /dev/ipauth
309 %attr(600,root,root) /dev/ipl
310 %attr(600,root,root) /dev/ipnat
311 %attr(600,root,root) /dev/ipstate
312 %attr(600,root,root) /dev/ippp*
313 %attr(660,root, sys) /dev/iscc*
314 %attr(600,root,root) /dev/isctl
315 %attr(600,root,root) /dev/isdn?
316 %attr(600,root,root) /dev/isdn??
317 %config(noreplace) %verify(not link) %attr(600,root,root) /dev/isdnctrl
318 %attr(600,root,root) /dev/isdnctrl?*
319 %attr(444,root,root) /dev/isdninfo
322 %attr(660,root, sys) /dev/js*
325 %attr(640,root,kmem) /dev/kmem
328 %attr(666,root,root) /dev/log
329 %attr(664,root,root) /dev/logibm
330 %attr(660,root,disk) /dev/loop*
332 %attr(660,root,daemon) /dev/lp*
335 %attr(640,root,disk) /dev/mcd
336 %attr(640,root,kmem) /dev/mem
337 %config(noreplace) %verify(not link) %attr(662,root,sys) /dev/midi
338 %attr(662,root, sys) /dev/midi?*
339 %config(noreplace) %verify(not link) %attr(660,root,audio) /dev/mixer
340 %attr(660,root, audio) /dev/mixer?*
341 %attr(660,root, sys) /dev/mmetfgrab
342 %attr(600,root,root) /dev/mpu401*
343 %attr(662,root, sys) /dev/music
344 %attr(600,root, root) /dev/md*
347 %attr(660,root,disk) /dev/nb*
348 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/nftape
349 %attr(660,root,disk) /dev/nht*
350 %attr(660,root,disk) /dev/nqft*
351 %attr(660,root,disk) /dev/nrawqft*
352 %attr(660,root,disk) /dev/nrft*
353 %attr(660,root,disk) /dev/nst*
354 %attr(660,root,disk) /dev/ntpqic*
355 %attr(666,root,root) /dev/null
356 %attr(660,root,disk) /dev/nzqft*
359 %attr(664,root,root) /dev/optcd
362 %attr(640,root,daemon) /dev/par?
363 %attr(660,root,daemon) /dev/parport*
365 %attr(660,root,disk) /dev/pcd*
366 %attr(660,root,disk) /dev/pd*
367 %attr(660,root,disk) /dev/pf*
368 %attr(600,root,root) /dev/pg*
370 %attr(640,root,kmem) /dev/port
371 %attr(644,root,root) /dev/ppp
372 %attr(600,root,root) /dev/printer
373 %attr(664,root,root) /dev/psaux
375 %attr(660,root,disk) /dev/pt0
376 %attr(660,root,disk) /dev/pt1
377 %attr(660,root,disk) /dev/pt2
378 %attr(660,root,disk) /dev/pt3
380 %attr(666,root, tty) /dev/ptmx
381 %attr(666,root, tty) /dev/pty*
385 %attr(640,root,disk) /dev/ram
386 %attr(660,root,disk) /dev/ram0
387 %attr(660,root,disk) /dev/ram1*
388 %attr(660,root,disk) /dev/ram2
389 %attr(660,root,disk) /dev/ram3
390 %attr(660,root,disk) /dev/ram4
391 %attr(660,root,disk) /dev/ram5
392 %attr(660,root,disk) /dev/ram6
393 %attr(660,root,disk) /dev/ram7
394 %attr(660,root,disk) /dev/ram8
395 %attr(660,root,disk) /dev/ram9
397 %config(noreplace) %verify(not link) %attr(660,root,disk) /dev/ramdisk
399 %attr(644,root,root) /dev/random
400 %attr(660,root,disk) /dev/rawqft*
401 %attr(660,root,disk) /dev/rft*
402 %attr(660,root, sys) /dev/rmidi*
403 %attr(660,root,disk) /dev/rmt*
404 %attr(644,root,root) /dev/route
405 %attr(664,root,root) /dev/rtc
407 %attr(660,root,disk) /dev/rd/*
410 %attr(640,root,disk) /dev/sbpc*
411 %attr(660,root,disk) /dev/scd*
412 %attr(660,root,disk) /dev/sd*
414 %attr(662,root,sys) /dev/sequencer
415 %attr(662,root,sys) /dev/sequencer2
417 %attr(600,root,root) /dev/sg*
418 %attr(664,root,root) /dev/sjcd
419 %attr(600,root,root) /dev/smtpe*
421 %attr(444,root,root) /dev/snd
422 %attr(666,root,root) /dev/sndstat
424 %attr(640,root,disk) /dev/sonycd
426 %attr(600,root,root) /dev/srnd*
428 %attr(660,root,disk) /dev/st?
429 %attr(600,root,root) /dev/staliomem*
430 %attr(666,root,root) /dev/std*
432 %attr(664,root,root) /dev/sunmouse
433 %attr(666,root,root) /dev/syslog
434 %attr(600,root,root) /dev/systty
437 %attr(660,root,disk) /dev/tape*
438 %attr(600,root,root) /dev/tlk*
439 %attr(660,root,disk) /dev/tpqic*
441 %attr(666,root,root) /dev/tty
443 %attr(600,root, tty) /dev/tty0
444 %attr(600,root, tty) /dev/tty1*
445 %attr(600,root, tty) /dev/tty2
446 %attr(600,root, tty) /dev/tty3
447 %attr(600,root, tty) /dev/tty4
448 %attr(600,root, tty) /dev/tty5
449 %attr(600,root, tty) /dev/tty6
450 %attr(600,root, tty) /dev/tty7
451 %attr(600,root, tty) /dev/tty8
452 %attr(600,root, tty) /dev/tty9
454 %attr(600,root,root) /dev/ttyC*
455 %attr(600,root,root) /dev/ttyD*
456 %attr(600,root,root) /dev/ttyE*
457 %attr(600,root,root) /dev/ttyI*
458 %attr(600,root,root) /dev/ttyM*
459 %attr(600,root,root) /dev/ttyP*
460 %attr(600,root,root) /dev/ttyR*
462 %attr(664,root, ttyS) /dev/ttyS*
464 %attr(666,root, tty) /dev/ttya*
465 %attr(666,root, tty) /dev/ttyb*
466 %attr(666,root, tty) /dev/ttyc*
467 %attr(666,root, tty) /dev/ttyd*
468 %attr(666,root, tty) /dev/ttye*
469 %attr(666,root, tty) /dev/ttyp*
470 %attr(666,root, tty) /dev/ttyq*
471 %attr(666,root, tty) /dev/ttyr*
472 %attr(666,root, tty) /dev/ttys*
473 %attr(666,root, tty) /dev/ttyt*
474 %attr(666,root, tty) /dev/ttyu*
475 %attr(666,root, tty) /dev/ttyv*
476 %attr(666,root, tty) /dev/ttyw*
477 %attr(666,root, tty) /dev/ttyx*
478 %attr(666,root, tty) /dev/ttyy*
479 %attr(666,root, tty) /dev/ttyz*
482 %attr(644,root,root) /dev/urandom
485 %attr(620,root,tty) /dev/vcs*
488 %attr(600,root,root) /dev/watchdog
489 %attr(660,root, sys) /dev/wvisfgrab
492 %attr(660,root,disk) /dev/xd*
497 %attr(666,root,root) /dev/zero
498 %attr(660,root,disk) /dev/zqft*