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 Unix, jak na przyk³ad Linux, u¿ywaj± plików do przedstawienia
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 install -d $RPM_BUILD_ROOT/proc/asound
215 touch $RPM_BUILD_ROOT/proc/asound/snd
217 ln -s ../proc/asound/snd snd
219 # prepared for SysVinit
222 #prepared for Log Daemon
223 mkfifo --mode=666 syslog
226 # if setup contains groups floppy and console this mayby obsoletes
227 #%{_sbindir}/groupadd -g 19 -r -f floppy
228 #%{_sbindir}/groupadd -g 20 -r -f console
231 if [ -f /etc/fstab ] ; then
232 # add /dev/pts to fstab if fstab exists (install2 does it during install)
233 if grep 'devpts' /etc/fstab >/dev/null 2>&1 ; then : ; else
234 # note that we do not disallow comments; we wish to allow people
235 # to comment it out if they so desire.
236 TMP=$(mktemp /tmp/fstab.XXXXXX)
238 pts /dev/pts devpts mode=0600 0 0
239 ' < /etc/fstab > $TMP && mv -f $TMP /etc/fstab || { echo "failed to add devpts filesystem to /etc/fstab" 1>&2 ; exit 1 ; }
245 rm -rf $RPM_BUILD_ROOT
248 %defattr(644,root,root,755)
251 %attr(662,root, sys) /dev/admmidi*
253 %config(noreplace) %verify(not link) %attr(666,root, sys) /dev/adsp
254 %attr(662,root, sys) /dev/adsp?*
256 %config(noreplace) %verify(not link) %attr(662,root,root) /dev/amidi
257 %attr(662,root,root) /dev/amidi?*
259 %attr(664,root,root) /dev/atibm
261 %config(noreplace) %verify(not link) %attr(662,root, sys) /dev/audio
262 %attr(662,root, sys) /dev/audio?*
264 %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(662,root, sys) /dev/dsp
286 %attr(662,root, sys) /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/ippp*
315 %attr(660,root, sys) /dev/iscc*
316 %attr(600,root,root) /dev/isctl
317 %attr(600,root,root) /dev/isdn?
318 %attr(600,root,root) /dev/isdn??
319 %config(noreplace) %verify(not link) %attr(600,root,root) /dev/isdnctrl
320 %attr(600,root,root) /dev/isdnctrl?*
321 %attr(444,root,root) /dev/isdninfo
324 %attr(660,root, sys) /dev/js*
327 %attr(640,root,kmem) /dev/kmem
330 %attr(666,root,root) /dev/log
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(662,root,sys) /dev/mixer
342 %attr(662,root, sys) /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(660,root,disk) /dev/nht*
352 %attr(660,root,disk) /dev/nqft*
353 %attr(660,root,disk) /dev/nrawqft*
354 %attr(660,root,disk) /dev/nrft*
355 %attr(660,root,disk) /dev/nst*
356 %attr(660,root,disk) /dev/ntpqic*
357 %attr(666,root,root) /dev/null
358 %attr(660,root,disk) /dev/nzqft*
361 %attr(664,root,root) /dev/optcd
364 %attr(640,root,daemon) /dev/par?
365 %attr(660,root,daemon) /dev/parport*
367 %attr(660,root,disk) /dev/pcd*
368 %attr(660,root,disk) /dev/pd*
369 %attr(660,root,disk) /dev/pf*
370 %attr(600,root,root) /dev/pg*
372 %attr(640,root,kmem) /dev/port
373 %attr(644,root,root) /dev/ppp
374 %attr(600,root,root) /dev/printer
375 %attr(664,root,root) /dev/psaux
377 %attr(660,root,disk) /dev/pt0
378 %attr(660,root,disk) /dev/pt1
379 %attr(660,root,disk) /dev/pt2
380 %attr(660,root,disk) /dev/pt3
382 %attr(666,root, tty) /dev/ptmx
383 %attr(666,root, tty) /dev/pty*
387 %attr(640,root,disk) /dev/ram
388 %attr(660,root,disk) /dev/ram0
389 %attr(660,root,disk) /dev/ram1*
390 %attr(660,root,disk) /dev/ram2
391 %attr(660,root,disk) /dev/ram3
392 %attr(660,root,disk) /dev/ram4
393 %attr(660,root,disk) /dev/ram5
394 %attr(660,root,disk) /dev/ram6
395 %attr(660,root,disk) /dev/ram7
396 %attr(660,root,disk) /dev/ram8
397 %attr(660,root,disk) /dev/ram9
399 %config(noreplace) %verify(not link) %attr(660,root,disk) /dev/ramdisk
401 %attr(644,root,root) /dev/random
402 %attr(660,root,disk) /dev/rawqft*
403 %attr(660,root,disk) /dev/rft*
404 %attr(660,root, sys) /dev/rmidi*
405 %attr(660,root,disk) /dev/rmt*
406 %attr(644,root,root) /dev/route
407 %attr(664,root,root) /dev/rtc
409 %attr(660,root,disk) /dev/rd/*
412 %attr(640,root,disk) /dev/sbpc*
413 %attr(660,root,disk) /dev/scd*
414 %attr(660,root,disk) /dev/sd*
416 %attr(662,root,sys) /dev/sequencer
417 %attr(662,root,sys) /dev/sequencer2
419 %attr(600,root,root) /dev/sg*
420 %attr(664,root,root) /dev/sjcd
421 %attr(600,root,root) /dev/smtpe*
423 %attr(444,root,root) /dev/snd
424 %attr(666,root,root) /dev/sndstat
426 %attr(640,root,disk) /dev/sonycd
428 %attr(600,root,root) /dev/srnd*
430 %attr(660,root,disk) /dev/st?
431 %attr(600,root,root) /dev/staliomem*
432 %attr(666,root,root) /dev/std*
434 %attr(664,root,root) /dev/sunmouse
435 %attr(666,root,root) /dev/syslog
436 %attr(600,root,root) /dev/systty
439 %attr(660,root,disk) /dev/tape*
440 %attr(600,root,root) /dev/tlk*
441 %attr(660,root,disk) /dev/tpqic*
443 %attr(666,root,root) /dev/tty
445 %attr(600,root, tty) /dev/tty0
446 %attr(600,root, tty) /dev/tty1*
447 %attr(600,root, tty) /dev/tty2
448 %attr(600,root, tty) /dev/tty3
449 %attr(600,root, tty) /dev/tty4
450 %attr(600,root, tty) /dev/tty5
451 %attr(600,root, tty) /dev/tty6
452 %attr(600,root, tty) /dev/tty7
453 %attr(600,root, tty) /dev/tty8
454 %attr(600,root, tty) /dev/tty9
456 %attr(600,root,root) /dev/ttyC*
457 %attr(600,root,root) /dev/ttyD*
458 %attr(600,root,root) /dev/ttyE*
459 %attr(600,root,root) /dev/ttyI*
460 %attr(600,root,root) /dev/ttyM*
461 %attr(600,root,root) /dev/ttyP*
462 %attr(600,root,root) /dev/ttyR*
464 %attr(644,root,root) /dev/ttyS*
466 %attr(666,root, tty) /dev/ttya*
467 %attr(666,root, tty) /dev/ttyb*
468 %attr(666,root, tty) /dev/ttyc*
469 %attr(666,root, tty) /dev/ttyd*
470 %attr(666,root, tty) /dev/ttye*
471 %attr(666,root, tty) /dev/ttyp*
472 %attr(666,root, tty) /dev/ttyq*
473 %attr(666,root, tty) /dev/ttyr*
474 %attr(666,root, tty) /dev/ttys*
475 %attr(666,root, tty) /dev/ttyt*
476 %attr(666,root, tty) /dev/ttyu*
477 %attr(666,root, tty) /dev/ttyv*
478 %attr(666,root, tty) /dev/ttyw*
479 %attr(666,root, tty) /dev/ttyx*
480 %attr(666,root, tty) /dev/ttyy*
481 %attr(666,root, tty) /dev/ttyz*
484 %attr(644,root,root) /dev/urandom
487 %attr(620,root,tty) /dev/vcs*
490 %attr(600,root,root) /dev/watchdog
491 %attr(660,root, sys) /dev/wvisfgrab
494 %attr(660,root,disk) /dev/xd*
499 %attr(666,root,root) /dev/zero
500 %attr(660,root,disk) /dev/zqft*