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
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Unix and unix like systems (including Linux) use file system entries
23 to represent devices attached to the machine. All of these entries
24 are in the /dev tree (though they don't have to be), and this package
25 contains the most commonly used /dev entries. These files are essential
26 for a system to function properly.
29 Wszystkie systemy unixowe, w tym Linux, u¿ywaj± plików do przedstawiania
30 urz±dzeñ pod³±czonych do komputera. Wszystkie te pliki znajduj± siê zwykle w
31 katalogu /dev. Pakiet ten zawiera wiêkszo¶æ popularnych plików specjalnych,
32 s± one jedn± z wa¿niejszych czê¶ci 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 baðlý
43 aygýtlarý göstermek için özel dosyalar kullanýrlar. Bu özel dosyalarýn tümü
44 /dev dizin yapýsý altýndadýr. Bu paket en çok kullanýlan /dev dosyalarýný
45 içerir. Bu dosyalar, bir sistemin düzgün olarak iþleyebilmesi için temel
49 Unix und Unix-ähnliche Systeme (inkl. Linux) verwenden Dateisystem-
50 Einträge zum Darstellen angeschlossener Geräte. Diese Einträge befinden
51 sich (nicht notwendigerweise) im Verzeichnis /dev. Dieses Paket enthält
52 die üblichsten /dev-Einträge. Diese Dateien sind für das Funktionieren
53 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
220 mknode ipstate c 95 2
223 install -d $RPM_BUILD_ROOT/proc/asound
224 touch $RPM_BUILD_ROOT/proc/asound/snd
226 ln -s ../proc/asound/snd snd
228 # prepared for SysVinit
231 #prepared for Log Daemon
232 mkfifo --mode=666 syslog
235 rm -rf $RPM_BUILD_ROOT
238 %defattr(644,root,root,755)
241 %attr(662,root, sys) /dev/admmidi*
243 %config(noreplace) %verify(not link) %attr(666,root, sys) /dev/adsp
244 %attr(662,root, sys) /dev/adsp?*
246 %config(noreplace) %verify(not link) %attr(662,root,root) /dev/amidi
247 %attr(662,root,root) /dev/amidi?*
249 %attr(664,root,root) /dev/atibm
251 %config(noreplace) %verify(not link) %attr(660,root, audio) /dev/audio
252 %attr(660,root, audio) /dev/audio?*
254 %attr(664,root,root) /dev/aztcd
257 %attr(664,root,root) /dev/bpcd
260 %attr(600,root,root) /dev/capi*
261 %attr(664,root,root) /dev/cdu31a
262 %attr(640,root,disk) /dev/cdu535
263 %attr(600,root,root) /dev/cfs0
264 %attr(664,root,root) /dev/cm206cd
265 %attr(660,root,console) /dev/console
266 %attr(664,root,root) /dev/cui*
267 %attr(600,root,root) /dev/cum*
270 %attr(600,root,root) /dev/dcbri*
271 %attr(660,root, sys) /dev/dcxx*
272 %attr(662,root, sys) /dev/dmfm*
273 %attr(662,root, sys) /dev/dmmidi*
274 %config(noreplace) %verify(not link) %attr(660,root, audio) /dev/dsp
275 %attr(660,root, audio) /dev/dsp?*
278 %attr(600,root,root) /dev/enskip
281 %config(noreplace) %verify(not link) %attr(644,root,root) /dev/fb
282 %attr(644,root,root) /dev/fb?*
283 %attr(660,root,floppy) /dev/fd*
284 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/ftape
285 %attr(644,root,root) /dev/full
288 %attr(664,root,root) /dev/gscd
291 %attr(660,root,disk) /dev/hd*
292 %attr(660,root,disk) /dev/ht0
295 %attr(600,root,root) /dev/i2c*
297 %attr(660,root,disk) /dev/ida/*
298 %attr(600,root,root) /dev/initctl
299 %attr(664,root,root) /dev/inportbm
300 %attr(600,root,root) /dev/ipauth
301 %attr(600,root,root) /dev/ipl
302 %attr(600,root,root) /dev/ipnat
303 %attr(600,root,root) /dev/ipstate
304 %attr(600,root,root) /dev/ippp*
305 %attr(660,root, sys) /dev/iscc*
306 %attr(600,root,root) /dev/isctl
307 %attr(600,root,root) /dev/isdn?
308 %attr(600,root,root) /dev/isdn??
309 %config(noreplace) %verify(not link) %attr(600,root,root) /dev/isdnctrl
310 %attr(600,root,root) /dev/isdnctrl?*
311 %attr(444,root,root) /dev/isdninfo
314 %attr(660,root, sys) /dev/js*
317 %attr(640,root,kmem) /dev/kmem
320 %attr(666,root,root) /dev/log
321 %attr(664,root,root) /dev/logibm
322 %attr(660,root,disk) /dev/loop*
324 %attr(660,root,daemon) /dev/lp*
327 %attr(640,root,disk) /dev/mcd
328 %attr(640,root,kmem) /dev/mem
329 %config(noreplace) %verify(not link) %attr(662,root,sys) /dev/midi
330 %attr(662,root, sys) /dev/midi?*
331 %config(noreplace) %verify(not link) %attr(660,root,audio) /dev/mixer
332 %attr(660,root, audio) /dev/mixer?*
333 %attr(660,root, sys) /dev/mmetfgrab
334 %attr(600,root,root) /dev/mpu401*
335 %attr(662,root, sys) /dev/music
336 %attr(600,root, root) /dev/md*
339 %attr(660,root,disk) /dev/nb*
340 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/nftape
341 %attr(660,root,disk) /dev/nht*
342 %attr(660,root,disk) /dev/nqft*
343 %attr(660,root,disk) /dev/nrawqft*
344 %attr(660,root,disk) /dev/nrft*
345 %attr(660,root,disk) /dev/nst*
346 %attr(660,root,disk) /dev/ntpqic*
347 %attr(666,root,root) /dev/null
348 %attr(660,root,disk) /dev/nzqft*
351 %attr(664,root,root) /dev/optcd
354 %attr(640,root,daemon) /dev/par?
355 %attr(660,root,daemon) /dev/parport*
357 %attr(660,root,disk) /dev/pcd*
358 %attr(660,root,disk) /dev/pd*
359 %attr(660,root,disk) /dev/pf*
360 %attr(600,root,root) /dev/pg*
362 %attr(640,root,kmem) /dev/port
363 %attr(644,root,root) /dev/ppp
364 %attr(600,root,root) /dev/printer
365 %attr(664,root,root) /dev/psaux
367 %attr(660,root,disk) /dev/pt0
368 %attr(660,root,disk) /dev/pt1
369 %attr(660,root,disk) /dev/pt2
370 %attr(660,root,disk) /dev/pt3
372 %attr(666,root, tty) /dev/ptmx
373 %attr(666,root, tty) /dev/pty*
377 %attr(640,root,disk) /dev/ram
378 %attr(660,root,disk) /dev/ram0
379 %attr(660,root,disk) /dev/ram1*
380 %attr(660,root,disk) /dev/ram2
381 %attr(660,root,disk) /dev/ram3
382 %attr(660,root,disk) /dev/ram4
383 %attr(660,root,disk) /dev/ram5
384 %attr(660,root,disk) /dev/ram6
385 %attr(660,root,disk) /dev/ram7
386 %attr(660,root,disk) /dev/ram8
387 %attr(660,root,disk) /dev/ram9
389 %config(noreplace) %verify(not link) %attr(660,root,disk) /dev/ramdisk
391 %attr(644,root,root) /dev/random
392 %attr(660,root,disk) /dev/rawqft*
393 %attr(660,root,disk) /dev/rft*
394 %attr(660,root, sys) /dev/rmidi*
395 %attr(660,root,disk) /dev/rmt*
396 %attr(644,root,root) /dev/route
397 %attr(664,root,root) /dev/rtc
399 %attr(660,root,disk) /dev/rd/*
402 %attr(640,root,disk) /dev/sbpc*
403 %attr(660,root,disk) /dev/scd*
404 %attr(660,root,disk) /dev/sd*
406 %attr(662,root,sys) /dev/sequencer
407 %attr(662,root,sys) /dev/sequencer2
409 %attr(600,root,root) /dev/sg*
410 %attr(664,root,root) /dev/sjcd
411 %attr(600,root,root) /dev/smtpe*
413 %attr(444,root,root) /dev/snd
414 %attr(666,root,root) /dev/sndstat
416 %attr(640,root,disk) /dev/sonycd
418 %attr(600,root,root) /dev/srnd*
420 %attr(660,root,disk) /dev/st?
421 %attr(600,root,root) /dev/staliomem*
422 %attr(666,root,root) /dev/std*
424 %attr(664,root,root) /dev/sunmouse
425 %attr(666,root,root) /dev/syslog
426 %attr(600,root,root) /dev/systty
429 %attr(660,root,disk) /dev/tape*
430 %attr(600,root,root) /dev/tlk*
431 %attr(660,root,disk) /dev/tpqic*
433 %attr(666,root,root) /dev/tty
435 %attr(600,root, tty) /dev/tty0
436 %attr(600,root, tty) /dev/tty1*
437 %attr(600,root, tty) /dev/tty2
438 %attr(600,root, tty) /dev/tty3
439 %attr(600,root, tty) /dev/tty4
440 %attr(600,root, tty) /dev/tty5
441 %attr(600,root, tty) /dev/tty6
442 %attr(600,root, tty) /dev/tty7
443 %attr(600,root, tty) /dev/tty8
444 %attr(600,root, tty) /dev/tty9
446 %attr(600,root,root) /dev/ttyC*
447 %attr(600,root,root) /dev/ttyD*
448 %attr(600,root,root) /dev/ttyE*
449 %attr(600,root,root) /dev/ttyI*
450 %attr(600,root,root) /dev/ttyM*
451 %attr(600,root,root) /dev/ttyP*
452 %attr(600,root,root) /dev/ttyR*
454 %attr(664,root, ttyS) /dev/ttyS*
456 %attr(666,root, tty) /dev/ttya*
457 %attr(666,root, tty) /dev/ttyb*
458 %attr(666,root, tty) /dev/ttyc*
459 %attr(666,root, tty) /dev/ttyd*
460 %attr(666,root, tty) /dev/ttye*
461 %attr(666,root, tty) /dev/ttyp*
462 %attr(666,root, tty) /dev/ttyq*
463 %attr(666,root, tty) /dev/ttyr*
464 %attr(666,root, tty) /dev/ttys*
465 %attr(666,root, tty) /dev/ttyt*
466 %attr(666,root, tty) /dev/ttyu*
467 %attr(666,root, tty) /dev/ttyv*
468 %attr(666,root, tty) /dev/ttyw*
469 %attr(666,root, tty) /dev/ttyx*
470 %attr(666,root, tty) /dev/ttyy*
471 %attr(666,root, tty) /dev/ttyz*
474 %attr(644,root,root) /dev/urandom
477 %attr(620,root,tty) /dev/vcs*
480 %attr(600,root,root) /dev/watchdog
481 %attr(660,root, sys) /dev/wvisfgrab
484 %attr(660,root,disk) /dev/xd*
489 %attr(666,root,root) /dev/zero
490 %attr(660,root,disk) /dev/zqft*