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
15 # remove shadow if floppy and console group exist in setup
19 Buildroot: /tmp/%{name}-%{version}-root
23 Unix and unix like systems (including Linux) use file system entries
24 to represent devices attached to the machine. All of these entries
25 are in the /dev tree (though they don't have to be), and this package
26 contains the most commonly used /dev entries. These files are essential
27 for a system to function properly.
30 Wszystkie systemy unixowe, w tym Linux, u¿ywaj± plików do przedstawiania
31 urz±dzeñ pod³±czonych do komputera. Wszystkie te pliki znajduj± siê zwykle w
32 katalogu /dev. Pakiet ten zawiera wiêkszo¶æ popularnych plików specjalnych,
33 s± one jedn± z wa¿niejszych czê¶ci prawid³owo dzia³aj±cego systemu operacyjnego.
36 Unix et les systèmes apparentés (dont Linux) utilise des fichiers pour
37 représenter les périphériques reliés à la machine. Toutes ces entrées
38 sont dans l'arborescence /dev (ce n'est pas obligatoire). Ce paquetage
39 contient les entrées /dev les plus courantes. Elles sont essentielles
40 pour qu'un système fonctionne correctement.
43 Unix ve Unix benzeri sistemler (Linux da dahil olmak üzere), makinaya baðlý
44 aygýtlarý göstermek için özel dosyalar kullanýrlar. Bu özel dosyalarýn tümü
45 /dev dizin yapýsý altýndadýr. Bu paket en çok kullanýlan /dev dosyalarýný
46 içerir. Bu dosyalar, bir sistemin düzgün olarak iþleyebilmesi için temel
50 Unix und Unix-ähnliche Systeme (inkl. Linux) verwenden Dateisystem-
51 Einträge zum Darstellen angeschlossener Geräte. Diese Einträge befinden
52 sich (nicht notwendigerweise) im Verzeichnis /dev. Dieses Paket enthält
53 die üblichsten /dev-Einträge. Diese Dateien sind für das Funktionieren
54 eines Systems unbedingt erforderlich.
60 rm -rf $RPM_BUILD_ROOT
62 mknode() { [ -e $1 ] || mknod $1 $2 $3 $4 }
64 install -d $RPM_BUILD_ROOT
66 #add group for floppy and console
67 # if setup contains this group then remove next 4 lines
68 #grep '^floppy:' /etc/group >/dev/null \
69 # || groupadd -g 19 -r -f floppy >/dev/null
70 #grep '^console:' /etc/group >/dev/null \
71 # || groupadd -g 20 -f -r console >/dev/null
73 # do some cleanup in build root
75 tar xpSzf $RPM_SOURCE_DIR/%{name}-%{version}.tar.gz
79 # tar doesn't save some permissions unless the p option is used
80 # this code protects against dev package updaters forgetting to
81 # use the p option when unpacking the souce tarball.
82 for dev in zero null tty ttyp0 ; do
83 if [ ! $(ls -l $dev | awk '{print $1}') = crw-rw-rw- ] ; then
84 echo bad permissions on device $dev 1>&2
90 # SPARC specific devices
93 mknode openprom c 10 139
96 # remove devices that will *never* exist on a SPARC
97 rm -f hd* aztcd mcd sbpcd1 cdu31a sbpcd2 scd3
98 rm -f sjcd cdu535 sbpcd3 sonycd cm206cd sbpcd
99 rm -f gscd sbpcd0 atibm inportbm logibm psaux
104 # m68k specific devices
105 mknode amigamouse c 10 4
106 mknode atarimouse c 10 5
107 mknode apollomouse c 10 7
108 ln -s amigamouse mouse
114 # remove devices that will *never* exist on a m68k
115 rm -f hd* aztcd mcd sbpcd1 cdu31a sbpcd2 scd3
116 rm -f sjcd cdu535 sbpcd3 sonycd cm206cd sbpcd
117 rm -f gscd sbpcd0 atibm inportbm logibm psaux
137 mknode watchdog c 10 130
145 mknode mixer1 c 14 16
146 mknode mixer2 c 14 32
147 mknode mixer3 c 14 48
161 mknode audio1 c 14 20
162 mknode audio2 c 14 36
163 mknode audio3 c 14 52
177 mknode dmmidi0 c 14 9
178 mknode dmmidi1 c 14 25
179 mknode dmmidi2 c 14 41
180 mknode dmmidi3 c 14 57
184 mknode admmidi0 c 14 14
185 mknode admmidi1 c 14 30
186 mknode admmidi2 c 14 46
187 mknode admmidi3 c 14 62
189 mknode amidi0 c 14 13
190 mknode amidi1 c 14 29
191 mknode amidi2 c 14 45
192 mknode amidi3 c 14 61
195 ln -s music sequencer2
217 mknode ipstate c 95 2
220 install -d $RPM_BUILD_ROOT/proc/asound
221 touch $RPM_BUILD_ROOT/proc/asound/snd
223 ln -s ../proc/asound/snd snd
225 # prepared for SysVinit
228 #prepared for Log Daemon
229 mkfifo --mode=666 syslog
232 # if setup contains groups floppy and console this mayby obsoletes
233 #%{_sbindir}/groupadd -g 19 -r -f floppy
234 #%{_sbindir}/groupadd -g 20 -r -f console
237 if [ -f /etc/fstab ] ; then
238 # add /dev/pts to fstab if fstab exists (install2 does it during install)
239 if grep 'devpts' /etc/fstab >/dev/null 2>&1 ; then : ; else
240 # note that we do not disallow comments; we wish to allow people
241 # to comment it out if they so desire.
242 TMP=$(mktemp /tmp/fstab.XXXXXX)
244 pts /dev/pts devpts mode=0600 0 0
245 ' < /etc/fstab > $TMP && mv -f $TMP /etc/fstab || { echo "failed to add devpts filesystem to /etc/fstab" 1>&2 ; exit 1 ; }
251 rm -rf $RPM_BUILD_ROOT
254 %defattr(644,root,root,755)
257 %attr(662,root, sys) /dev/admmidi*
259 %config(noreplace) %verify(not link) %attr(666,root, sys) /dev/adsp
260 %attr(662,root, sys) /dev/adsp?*
262 %config(noreplace) %verify(not link) %attr(662,root,root) /dev/amidi
263 %attr(662,root,root) /dev/amidi?*
265 %attr(664,root,root) /dev/atibm
267 %config(noreplace) %verify(not link) %attr(662,root, sys) /dev/audio
268 %attr(662,root, sys) /dev/audio?*
270 %attr(664,root,root) /dev/aztcd
274 %attr(664,root,root) /dev/bpcd
277 %attr(600,root,root) /dev/capi*
278 %attr(664,root,root) /dev/cdu31a
279 %attr(640,root,disk) /dev/cdu535
280 %attr(600,root,root) /dev/cfs0
281 %attr(664,root,root) /dev/cm206cd
282 %attr(660,root,console) /dev/console
283 %attr(664,root,root) /dev/cui*
284 %attr(600,root,root) /dev/cum*
287 %attr(600,root,root) /dev/dcbri*
288 %attr(660,root, sys) /dev/dcxx*
289 %attr(662,root, sys) /dev/dmfm*
290 %attr(662,root, sys) /dev/dmmidi*
291 %config(noreplace) %verify(not link) %attr(662,root, sys) /dev/dsp
292 %attr(662,root, sys) /dev/dsp?*
295 %attr(600,root,root) /dev/enskip
298 %config(noreplace) %verify(not link) %attr(644,root,root) /dev/fb
299 %attr(644,root,root) /dev/fb?*
300 %attr(660,root,floppy) /dev/fd*
301 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/ftape
302 %attr(644,root,root) /dev/full
305 %attr(664,root,root) /dev/gscd
308 %attr(660,root,disk) /dev/hd*
309 %attr(660,root,disk) /dev/ht0
312 %attr(600,root,root) /dev/i2c*
314 %attr(660,root,disk) /dev/ida/*
315 %attr(600,root,root) /dev/initctl
316 %attr(664,root,root) /dev/inportbm
317 %attr(600,root,root) /dev/ipauth
318 %attr(600,root,root) /dev/ipl
319 %attr(600,root,root) /dev/ipnat
320 %attr(600,root,root) /dev/ipstate
321 %attr(600,root,root) /dev/ippp*
322 %attr(660,root, sys) /dev/iscc*
323 %attr(600,root,root) /dev/isctl
324 %attr(600,root,root) /dev/isdn?
325 %attr(600,root,root) /dev/isdn??
326 %config(noreplace) %verify(not link) %attr(600,root,root) /dev/isdnctrl
327 %attr(600,root,root) /dev/isdnctrl?*
328 %attr(444,root,root) /dev/isdninfo
331 %attr(660,root, sys) /dev/js*
334 %attr(640,root,kmem) /dev/kmem
337 %attr(666,root,root) /dev/log
338 %attr(664,root,root) /dev/logibm
339 %attr(660,root,disk) /dev/loop*
341 %attr(660,root,daemon) /dev/lp*
344 %attr(640,root,disk) /dev/mcd
345 %attr(640,root,kmem) /dev/mem
346 %config(noreplace) %verify(not link) %attr(662,root,sys) /dev/midi
347 %attr(662,root, sys) /dev/midi?*
348 %config(noreplace) %verify(not link) %attr(662,root,sys) /dev/mixer
349 %attr(662,root, sys) /dev/mixer?*
350 %attr(660,root, sys) /dev/mmetfgrab
351 %attr(600,root,root) /dev/mpu401*
352 %attr(662,root, sys) /dev/music
353 %attr(600,root, root) /dev/md*
356 %attr(660,root,disk) /dev/nb*
357 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/nftape
358 %attr(660,root,disk) /dev/nht*
359 %attr(660,root,disk) /dev/nqft*
360 %attr(660,root,disk) /dev/nrawqft*
361 %attr(660,root,disk) /dev/nrft*
362 %attr(660,root,disk) /dev/nst*
363 %attr(660,root,disk) /dev/ntpqic*
364 %attr(666,root,root) /dev/null
365 %attr(660,root,disk) /dev/nzqft*
368 %attr(664,root,root) /dev/optcd
371 %attr(640,root,daemon) /dev/par?
372 %attr(660,root,daemon) /dev/parport*
374 %attr(660,root,disk) /dev/pcd*
375 %attr(660,root,disk) /dev/pd*
376 %attr(660,root,disk) /dev/pf*
377 %attr(600,root,root) /dev/pg*
379 %attr(640,root,kmem) /dev/port
380 %attr(644,root,root) /dev/ppp
381 %attr(600,root,root) /dev/printer
382 %attr(664,root,root) /dev/psaux
384 %attr(660,root,disk) /dev/pt0
385 %attr(660,root,disk) /dev/pt1
386 %attr(660,root,disk) /dev/pt2
387 %attr(660,root,disk) /dev/pt3
389 %attr(666,root, tty) /dev/ptmx
390 %attr(666,root, tty) /dev/pty*
394 %attr(640,root,disk) /dev/ram
395 %attr(660,root,disk) /dev/ram0
396 %attr(660,root,disk) /dev/ram1*
397 %attr(660,root,disk) /dev/ram2
398 %attr(660,root,disk) /dev/ram3
399 %attr(660,root,disk) /dev/ram4
400 %attr(660,root,disk) /dev/ram5
401 %attr(660,root,disk) /dev/ram6
402 %attr(660,root,disk) /dev/ram7
403 %attr(660,root,disk) /dev/ram8
404 %attr(660,root,disk) /dev/ram9
406 %config(noreplace) %verify(not link) %attr(660,root,disk) /dev/ramdisk
408 %attr(644,root,root) /dev/random
409 %attr(660,root,disk) /dev/rawqft*
410 %attr(660,root,disk) /dev/rft*
411 %attr(660,root, sys) /dev/rmidi*
412 %attr(660,root,disk) /dev/rmt*
413 %attr(644,root,root) /dev/route
414 %attr(664,root,root) /dev/rtc
416 %attr(660,root,disk) /dev/rd/*
419 %attr(640,root,disk) /dev/sbpc*
420 %attr(660,root,disk) /dev/scd*
421 %attr(660,root,disk) /dev/sd*
423 %attr(662,root,sys) /dev/sequencer
424 %attr(662,root,sys) /dev/sequencer2
426 %attr(600,root,root) /dev/sg*
427 %attr(664,root,root) /dev/sjcd
428 %attr(600,root,root) /dev/smtpe*
430 %attr(444,root,root) /dev/snd
431 %attr(666,root,root) /dev/sndstat
433 %attr(640,root,disk) /dev/sonycd
435 %attr(600,root,root) /dev/srnd*
437 %attr(660,root,disk) /dev/st?
438 %attr(600,root,root) /dev/staliomem*
439 %attr(666,root,root) /dev/std*
441 %attr(664,root,root) /dev/sunmouse
442 %attr(666,root,root) /dev/syslog
443 %attr(600,root,root) /dev/systty
446 %attr(660,root,disk) /dev/tape*
447 %attr(600,root,root) /dev/tlk*
448 %attr(660,root,disk) /dev/tpqic*
450 %attr(666,root,root) /dev/tty
452 %attr(600,root, tty) /dev/tty0
453 %attr(600,root, tty) /dev/tty1*
454 %attr(600,root, tty) /dev/tty2
455 %attr(600,root, tty) /dev/tty3
456 %attr(600,root, tty) /dev/tty4
457 %attr(600,root, tty) /dev/tty5
458 %attr(600,root, tty) /dev/tty6
459 %attr(600,root, tty) /dev/tty7
460 %attr(600,root, tty) /dev/tty8
461 %attr(600,root, tty) /dev/tty9
463 %attr(600,root,root) /dev/ttyC*
464 %attr(600,root,root) /dev/ttyD*
465 %attr(600,root,root) /dev/ttyE*
466 %attr(600,root,root) /dev/ttyI*
467 %attr(600,root,root) /dev/ttyM*
468 %attr(600,root,root) /dev/ttyP*
469 %attr(600,root,root) /dev/ttyR*
471 %attr(644,root,root) /dev/ttyS*
473 %attr(666,root, tty) /dev/ttya*
474 %attr(666,root, tty) /dev/ttyb*
475 %attr(666,root, tty) /dev/ttyc*
476 %attr(666,root, tty) /dev/ttyd*
477 %attr(666,root, tty) /dev/ttye*
478 %attr(666,root, tty) /dev/ttyp*
479 %attr(666,root, tty) /dev/ttyq*
480 %attr(666,root, tty) /dev/ttyr*
481 %attr(666,root, tty) /dev/ttys*
482 %attr(666,root, tty) /dev/ttyt*
483 %attr(666,root, tty) /dev/ttyu*
484 %attr(666,root, tty) /dev/ttyv*
485 %attr(666,root, tty) /dev/ttyw*
486 %attr(666,root, tty) /dev/ttyx*
487 %attr(666,root, tty) /dev/ttyy*
488 %attr(666,root, tty) /dev/ttyz*
491 %attr(644,root,root) /dev/urandom
494 %attr(620,root,tty) /dev/vcs*
497 %attr(600,root,root) /dev/watchdog
498 %attr(660,root, sys) /dev/wvisfgrab
501 %attr(660,root,disk) /dev/xd*
506 %attr(666,root,root) /dev/zero
507 %attr(660,root,disk) /dev/zqft*