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
18 Buildroot: /tmp/%{name}-%{version}-root
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
61 install -d $RPM_BUILD_ROOT
63 #add group for floppy and console
64 # if setup contains this group then remove next 4 lines
65 #grep '^floppy:' /etc/group >/dev/null \
66 # || groupadd -g 19 -r -f floppy >/dev/null
67 #grep '^console:' /etc/group >/dev/null \
68 # || groupadd -g 20 -f -r console >/dev/null
70 # do some cleanup in build root
72 tar xpSzf $RPM_SOURCE_DIR/%{name}-%{version}.tar.gz
76 # tar doesn't save some permissions unless the p option is used
77 # this code protects against dev package updaters forgetting to
78 # use the p option when unpacking the souce tarball.
79 for dev in zero null tty ttyp0 ; do
80 if [ ! $(ls -l $dev | awk '{print $1}') = crw-rw-rw- ] ; then
81 echo bad permissions on device $dev 1>&2
87 # SPARC specific devices
90 mknod openprom c 10 139
93 # remove devices that will *never* exist on a SPARC
94 rm -f hd* aztcd mcd sbpcd1 cdu31a sbpcd2 scd3
95 rm -f sjcd cdu535 sbpcd3 sonycd cm206cd sbpcd
96 rm -f gscd sbpcd0 atibm inportbm logibm psaux
101 # m68k specific devices
102 mknod amigamouse c 10 4
103 mknod atarimouse c 10 5
104 mknod apollomouse c 10 7
105 ln -s amigamouse mouse
111 # remove devices that will *never* exist on a m68k
112 rm -f hd* aztcd mcd sbpcd1 cdu31a sbpcd2 scd3
113 rm -f sjcd cdu535 sbpcd3 sonycd cm206cd sbpcd
114 rm -f gscd sbpcd0 atibm inportbm logibm psaux
134 mknod watchdog c 10 130
175 mknod dmmidi1 c 14 25
176 mknod dmmidi2 c 14 41
177 mknod dmmidi3 c 14 57
181 mknod admmidi0 c 14 14
182 mknod admmidi1 c 14 30
183 mknod admmidi2 c 14 46
184 mknod admmidi3 c 14 62
192 ln -s music sequencer2
214 mknod /dev/ipstate c 95 2
217 install -d $RPM_BUILD_ROOT/proc/asound
218 touch $RPM_BUILD_ROOT/proc/asound/snd
220 ln -s ../proc/asound/snd snd
222 # prepared for SysVinit
225 #prepared for Log Daemon
226 mkfifo --mode=666 syslog
229 # if setup contains groups floppy and console this mayby obsoletes
230 #%{_sbindir}/groupadd -g 19 -r -f floppy
231 #%{_sbindir}/groupadd -g 20 -r -f console
234 if [ -f /etc/fstab ] ; then
235 # add /dev/pts to fstab if fstab exists (install2 does it during install)
236 if grep 'devpts' /etc/fstab >/dev/null 2>&1 ; then : ; else
237 # note that we do not disallow comments; we wish to allow people
238 # to comment it out if they so desire.
239 TMP=$(mktemp /tmp/fstab.XXXXXX)
241 pts /dev/pts devpts mode=0600 0 0
242 ' < /etc/fstab > $TMP && mv -f $TMP /etc/fstab || { echo "failed to add devpts filesystem to /etc/fstab" 1>&2 ; exit 1 ; }
248 rm -rf $RPM_BUILD_ROOT
251 %defattr(644,root,root,755)
254 %attr(662,root, sys) /dev/admmidi*
256 %config(noreplace) %verify(not link) %attr(666,root, sys) /dev/adsp
257 %attr(662,root, sys) /dev/adsp?*
259 %config(noreplace) %verify(not link) %attr(662,root,root) /dev/amidi
260 %attr(662,root,root) /dev/amidi?*
262 %attr(664,root,root) /dev/atibm
264 %config(noreplace) %verify(not link) %attr(662,root, sys) /dev/audio
265 %attr(662,root, sys) /dev/audio?*
267 %attr(664,root,root) /dev/aztcd
271 %attr(664,root,root) /dev/bpcd
274 %attr(600,root,root) /dev/capi*
275 %attr(664,root,root) /dev/cdu31a
276 %attr(640,root,disk) /dev/cdu535
277 %attr(600,root,root) /dev/cfs0
278 %attr(664,root,root) /dev/cm206cd
279 %attr(660,root,console) /dev/console
280 %attr(664,root,root) /dev/cui*
281 %attr(600,root,root) /dev/cum*
284 %attr(600,root,root) /dev/dcbri*
285 %attr(660,root, sys) /dev/dcxx*
286 %attr(662,root, sys) /dev/dmfm*
287 %attr(662,root, sys) /dev/dmmidi*
288 %config(noreplace) %verify(not link) %attr(662,root, sys) /dev/dsp
289 %attr(662,root, sys) /dev/dsp?*
292 %attr(600,root,root) /dev/enskip
295 %config(noreplace) %verify(not link) %attr(644,root,root) /dev/fb
296 %attr(644,root,root) /dev/fb?*
297 %attr(660,root,floppy) /dev/fd*
298 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/ftape
299 %attr(644,root,root) /dev/full
302 %attr(664,root,root) /dev/gscd
305 %attr(660,root,disk) /dev/hd*
306 %attr(660,root,disk) /dev/ht0
309 %attr(600,root,root) /dev/i2c*
311 %attr(660,root,disk) /dev/ida/*
312 %attr(600,root,root) /dev/initctl
313 %attr(664,root,root) /dev/inportbm
314 %attr(600,root,root) /dev/ipauth
315 %attr(600,root,root) /dev/ipl
316 %attr(600,root,root) /dev/ipnat
317 %attr(600,root,root) /dev/ipstate
318 %attr(600,root,root) /dev/ippp*
319 %attr(660,root, sys) /dev/iscc*
320 %attr(600,root,root) /dev/isctl
321 %attr(600,root,root) /dev/isdn?
322 %attr(600,root,root) /dev/isdn??
323 %config(noreplace) %verify(not link) %attr(600,root,root) /dev/isdnctrl
324 %attr(600,root,root) /dev/isdnctrl?*
325 %attr(444,root,root) /dev/isdninfo
328 %attr(660,root, sys) /dev/js*
331 %attr(640,root,kmem) /dev/kmem
334 %attr(666,root,root) /dev/log
335 %attr(664,root,root) /dev/logibm
336 %attr(660,root,disk) /dev/loop*
338 %attr(660,root,daemon) /dev/lp*
341 %attr(640,root,disk) /dev/mcd
342 %attr(640,root,kmem) /dev/mem
343 %config(noreplace) %verify(not link) %attr(662,root,sys) /dev/midi
344 %attr(662,root, sys) /dev/midi?*
345 %config(noreplace) %verify(not link) %attr(662,root,sys) /dev/mixer
346 %attr(662,root, sys) /dev/mixer?*
347 %attr(660,root, sys) /dev/mmetfgrab
348 %attr(600,root,root) /dev/mpu401*
349 %attr(662,root, sys) /dev/music
350 %attr(600,root, root) /dev/md*
353 %attr(660,root,disk) /dev/nb*
354 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/nftape
355 %attr(660,root,disk) /dev/nht*
356 %attr(660,root,disk) /dev/nqft*
357 %attr(660,root,disk) /dev/nrawqft*
358 %attr(660,root,disk) /dev/nrft*
359 %attr(660,root,disk) /dev/nst*
360 %attr(660,root,disk) /dev/ntpqic*
361 %attr(666,root,root) /dev/null
362 %attr(660,root,disk) /dev/nzqft*
365 %attr(664,root,root) /dev/optcd
368 %attr(640,root,daemon) /dev/par?
369 %attr(660,root,daemon) /dev/parport*
371 %attr(660,root,disk) /dev/pcd*
372 %attr(660,root,disk) /dev/pd*
373 %attr(660,root,disk) /dev/pf*
374 %attr(600,root,root) /dev/pg*
376 %attr(640,root,kmem) /dev/port
377 %attr(644,root,root) /dev/ppp
378 %attr(600,root,root) /dev/printer
379 %attr(664,root,root) /dev/psaux
381 %attr(660,root,disk) /dev/pt0
382 %attr(660,root,disk) /dev/pt1
383 %attr(660,root,disk) /dev/pt2
384 %attr(660,root,disk) /dev/pt3
386 %attr(666,root, tty) /dev/ptmx
387 %attr(666,root, tty) /dev/pty*
391 %attr(640,root,disk) /dev/ram
392 %attr(660,root,disk) /dev/ram0
393 %attr(660,root,disk) /dev/ram1*
394 %attr(660,root,disk) /dev/ram2
395 %attr(660,root,disk) /dev/ram3
396 %attr(660,root,disk) /dev/ram4
397 %attr(660,root,disk) /dev/ram5
398 %attr(660,root,disk) /dev/ram6
399 %attr(660,root,disk) /dev/ram7
400 %attr(660,root,disk) /dev/ram8
401 %attr(660,root,disk) /dev/ram9
403 %config(noreplace) %verify(not link) %attr(660,root,disk) /dev/ramdisk
405 %attr(644,root,root) /dev/random
406 %attr(660,root,disk) /dev/rawqft*
407 %attr(660,root,disk) /dev/rft*
408 %attr(660,root, sys) /dev/rmidi*
409 %attr(660,root,disk) /dev/rmt*
410 %attr(644,root,root) /dev/route
411 %attr(664,root,root) /dev/rtc
413 %attr(660,root,disk) /dev/rd/*
416 %attr(640,root,disk) /dev/sbpc*
417 %attr(660,root,disk) /dev/scd*
418 %attr(660,root,disk) /dev/sd*
420 %attr(662,root,sys) /dev/sequencer
421 %attr(662,root,sys) /dev/sequencer2
423 %attr(600,root,root) /dev/sg*
424 %attr(664,root,root) /dev/sjcd
425 %attr(600,root,root) /dev/smtpe*
427 %attr(444,root,root) /dev/snd
428 %attr(666,root,root) /dev/sndstat
430 %attr(640,root,disk) /dev/sonycd
432 %attr(600,root,root) /dev/srnd*
434 %attr(660,root,disk) /dev/st?
435 %attr(600,root,root) /dev/staliomem*
436 %attr(666,root,root) /dev/std*
438 %attr(664,root,root) /dev/sunmouse
439 %attr(666,root,root) /dev/syslog
440 %attr(600,root,root) /dev/systty
443 %attr(660,root,disk) /dev/tape*
444 %attr(600,root,root) /dev/tlk*
445 %attr(660,root,disk) /dev/tpqic*
447 %attr(666,root,root) /dev/tty
449 %attr(600,root, tty) /dev/tty0
450 %attr(600,root, tty) /dev/tty1*
451 %attr(600,root, tty) /dev/tty2
452 %attr(600,root, tty) /dev/tty3
453 %attr(600,root, tty) /dev/tty4
454 %attr(600,root, tty) /dev/tty5
455 %attr(600,root, tty) /dev/tty6
456 %attr(600,root, tty) /dev/tty7
457 %attr(600,root, tty) /dev/tty8
458 %attr(600,root, tty) /dev/tty9
460 %attr(600,root,root) /dev/ttyC*
461 %attr(600,root,root) /dev/ttyD*
462 %attr(600,root,root) /dev/ttyE*
463 %attr(600,root,root) /dev/ttyI*
464 %attr(600,root,root) /dev/ttyM*
465 %attr(600,root,root) /dev/ttyP*
466 %attr(600,root,root) /dev/ttyR*
468 %attr(644,root,root) /dev/ttyS*
470 %attr(666,root, tty) /dev/ttya*
471 %attr(666,root, tty) /dev/ttyb*
472 %attr(666,root, tty) /dev/ttyc*
473 %attr(666,root, tty) /dev/ttyd*
474 %attr(666,root, tty) /dev/ttye*
475 %attr(666,root, tty) /dev/ttyp*
476 %attr(666,root, tty) /dev/ttyq*
477 %attr(666,root, tty) /dev/ttyr*
478 %attr(666,root, tty) /dev/ttys*
479 %attr(666,root, tty) /dev/ttyt*
480 %attr(666,root, tty) /dev/ttyu*
481 %attr(666,root, tty) /dev/ttyv*
482 %attr(666,root, tty) /dev/ttyw*
483 %attr(666,root, tty) /dev/ttyx*
484 %attr(666,root, tty) /dev/ttyy*
485 %attr(666,root, tty) /dev/ttyz*
488 %attr(644,root,root) /dev/urandom
491 %attr(620,root,tty) /dev/vcs*
494 %attr(600,root,root) /dev/watchdog
495 %attr(660,root, sys) /dev/wvisfgrab
498 %attr(660,root,disk) /dev/xd*
503 %attr(666,root,root) /dev/zero
504 %attr(660,root,disk) /dev/zqft*