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
195 install -d $RPM_BUILD_ROOT/proc/asound
196 touch $RPM_BUILD_ROOT/proc/asound/snd
198 ln -s ../proc/asound/snd snd
200 # prepared for SysVinit
203 #prepared for Log Daemon
204 mkfifo --mode=666 syslog
207 # if setup contains groups floppy and console this mayby obsoletes
208 #%{_sbindir}/groupadd -g 19 -r -f floppy
209 #%{_sbindir}/groupadd -g 20 -r -f console
212 if [ -f /etc/fstab ] ; then
213 # add /dev/pts to fstab if fstab exists (install2 does it during install)
214 if grep 'devpts' /etc/fstab >/dev/null 2>&1 ; then : ; else
215 # note that we do not disallow comments; we wish to allow people
216 # to comment it out if they so desire.
217 TMP=$(mktemp /tmp/fstab.XXXXXX)
219 pts /dev/pts devpts mode=0600 0 0
220 ' < /etc/fstab > $TMP && mv -f $TMP /etc/fstab || { echo "failed to add devpts filesystem to /etc/fstab" 1>&2 ; exit 1 ; }
226 rm -rf $RPM_BUILD_ROOT
229 %defattr(644,root,root,755)
232 %attr(662,root, sys) /dev/admmidi*
234 %config(noreplace) %verify(not link) %attr(666,root, sys) /dev/adsp
235 %attr(662,root, sys) /dev/adsp?*
237 %config(noreplace) %verify(not link) %attr(662,root,root) /dev/amidi
238 %attr(662,root,root) /dev/amidi?*
240 %attr(664,root,root) /dev/atibm
242 %config(noreplace) %verify(not link) %attr(662,root, sys) /dev/audio
243 %attr(662,root, sys) /dev/audio?*
245 %attr(664,root,root) /dev/aztcd
249 %attr(664,root,root) /dev/bpcd
252 %attr(600,root,root) /dev/capi*
253 %attr(664,root,root) /dev/cdu31a
254 %attr(640,root,disk) /dev/cdu535
255 %attr(600,root,root) /dev/cfs0
256 %attr(664,root,root) /dev/cm206cd
257 %attr(660,root,console) /dev/console
258 %attr(664,root,root) /dev/cui*
259 %attr(600,root,root) /dev/cum*
262 %attr(600,root,root) /dev/dcbri*
263 %attr(660,root, sys) /dev/dcxx*
264 %attr(662,root, sys) /dev/dmfm*
265 %attr(662,root, sys) /dev/dmmidi*
266 %config(noreplace) %verify(not link) %attr(662,root, sys) /dev/dsp
267 %attr(662,root, sys) /dev/dsp?*
270 %attr(600,root,root) /dev/enskip
273 %config(noreplace) %verify(not link) %attr(644,root,root) /dev/fb
274 %attr(644,root,root) /dev/fb?*
275 %attr(660,root,floppy) /dev/fd*
276 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/ftape
277 %attr(644,root,root) /dev/full
280 %attr(664,root,root) /dev/gscd
283 %attr(660,root,disk) /dev/hd*
284 %attr(660,root,disk) /dev/ht0
287 %attr(600,root,root) /dev/i2c*
289 %attr(660,root,disk) /dev/ida/*
290 %attr(600,root,root) /dev/initctl
291 %attr(664,root,root) /dev/inportbm
292 %attr(600,root,root) /dev/ipauth
293 %attr(600,root,root) /dev/ipl
294 %attr(600,root,root) /dev/ipnat
295 %attr(600,root,root) /dev/ippp*
296 %attr(660,root, sys) /dev/iscc*
297 %attr(600,root,root) /dev/isctl
298 %attr(600,root,root) /dev/isdn?
299 %attr(600,root,root) /dev/isdn??
300 %config(noreplace) %verify(not link) %attr(600,root,root) /dev/isdnctrl
301 %attr(600,root,root) /dev/isdnctrl?*
302 %attr(444,root,root) /dev/isdninfo
305 %attr(660,root, sys) /dev/js*
308 %attr(640,root,kmem) /dev/kmem
311 %attr(666,root,root) /dev/log
312 %attr(664,root,root) /dev/logibm
313 %attr(660,root,disk) /dev/loop*
315 %attr(660,root,daemon) /dev/lp*
318 %attr(640,root,disk) /dev/mcd
319 %attr(640,root,kmem) /dev/mem
320 %config(noreplace) %verify(not link) %attr(662,root,sys) /dev/midi
321 %attr(662,root, sys) /dev/midi?*
322 %config(noreplace) %verify(not link) %attr(662,root,sys) /dev/mixer
323 %attr(662,root, sys) /dev/mixer?*
324 %attr(660,root, sys) /dev/mmetfgrab
325 %attr(600,root,root) /dev/mpu401*
326 %attr(662,root, sys) /dev/music
329 %attr(660,root,disk) /dev/nb*
330 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/nftape
331 %attr(660,root,disk) /dev/nht*
332 %attr(660,root,disk) /dev/nqft*
333 %attr(660,root,disk) /dev/nrawqft*
334 %attr(660,root,disk) /dev/nrft*
335 %attr(660,root,disk) /dev/nst*
336 %attr(660,root,disk) /dev/ntpqic*
337 %attr(666,root,root) /dev/null
338 %attr(660,root,disk) /dev/nzqft*
341 %attr(664,root,root) /dev/optcd
344 %attr(640,root,daemon) /dev/par?
345 %attr(660,root,daemon) /dev/parport*
347 %attr(660,root,disk) /dev/pcd*
348 %attr(660,root,disk) /dev/pd*
349 %attr(660,root,disk) /dev/pf*
350 %attr(600,root,root) /dev/pg*
352 %attr(640,root,kmem) /dev/port
353 %attr(644,root,root) /dev/ppp
354 %attr(600,root,root) /dev/printer
355 %attr(664,root,root) /dev/psaux
357 %attr(660,root,disk) /dev/pt0
358 %attr(660,root,disk) /dev/pt1
359 %attr(660,root,disk) /dev/pt2
360 %attr(660,root,disk) /dev/pt3
362 %attr(666,root, tty) /dev/ptmx
363 %attr(666,root, tty) /dev/pty*
367 %attr(640,root,disk) /dev/ram
368 %attr(660,root,disk) /dev/ram0
369 %attr(660,root,disk) /dev/ram1*
370 %attr(660,root,disk) /dev/ram2
371 %attr(660,root,disk) /dev/ram3
372 %attr(660,root,disk) /dev/ram4
373 %attr(660,root,disk) /dev/ram5
374 %attr(660,root,disk) /dev/ram6
375 %attr(660,root,disk) /dev/ram7
376 %attr(660,root,disk) /dev/ram8
377 %attr(660,root,disk) /dev/ram9
379 %config(noreplace) %verify(not link) %attr(660,root,disk) /dev/ramdisk
381 %attr(644,root,root) /dev/random
382 %attr(660,root,disk) /dev/rawqft*
383 %attr(660,root,disk) /dev/rft*
384 %attr(660,root, sys) /dev/rmidi*
385 %attr(660,root,disk) /dev/rmt*
386 %attr(644,root,root) /dev/route
387 %attr(664,root,root) /dev/rtc
389 %attr(660,root,disk) /dev/rd/*
392 %attr(640,root,disk) /dev/sbpc*
393 %attr(660,root,disk) /dev/scd*
394 %attr(660,root,disk) /dev/sd*
396 %attr(662,root,sys) /dev/sequencer
397 %attr(662,root,sys) /dev/sequencer2
399 %attr(600,root,root) /dev/sg*
400 %attr(664,root,root) /dev/sjcd
401 %attr(600,root,root) /dev/smtpe*
403 %attr(444,root,root) /dev/snd
404 %attr(666,root,root) /dev/sndstat
406 %attr(640,root,disk) /dev/sonycd
408 %attr(600,root,root) /dev/srnd*
410 %attr(660,root,disk) /dev/st?
411 %attr(600,root,root) /dev/staliomem*
412 %attr(666,root,root) /dev/std*
414 %attr(664,root,root) /dev/sunmouse
415 %attr(666,root,root) /dev/syslog
416 %attr(600,root,root) /dev/systty
419 %attr(660,root,disk) /dev/tape*
420 %attr(600,root,root) /dev/tlk*
421 %attr(660,root,disk) /dev/tpqic*
423 %attr(666,root,root) /dev/tty
425 %attr(600,root, tty) /dev/tty0
426 %attr(600,root, tty) /dev/tty1*
427 %attr(600,root, tty) /dev/tty2
428 %attr(600,root, tty) /dev/tty3
429 %attr(600,root, tty) /dev/tty4
430 %attr(600,root, tty) /dev/tty5
431 %attr(600,root, tty) /dev/tty6
432 %attr(600,root, tty) /dev/tty7
433 %attr(600,root, tty) /dev/tty8
434 %attr(600,root, tty) /dev/tty9
436 %attr(600,root,root) /dev/ttyC*
437 %attr(600,root,root) /dev/ttyD*
438 %attr(600,root,root) /dev/ttyE*
439 %attr(600,root,root) /dev/ttyI*
440 %attr(600,root,root) /dev/ttyM*
441 %attr(600,root,root) /dev/ttyP*
442 %attr(600,root,root) /dev/ttyR*
444 %attr(644,root,root) /dev/ttyS*
446 %attr(666,root, tty) /dev/ttya*
447 %attr(666,root, tty) /dev/ttyb*
448 %attr(666,root, tty) /dev/ttyc*
449 %attr(666,root, tty) /dev/ttyd*
450 %attr(666,root, tty) /dev/ttye*
451 %attr(666,root, tty) /dev/ttyp*
452 %attr(666,root, tty) /dev/ttyq*
453 %attr(666,root, tty) /dev/ttyr*
454 %attr(666,root, tty) /dev/ttys*
455 %attr(666,root, tty) /dev/ttyt*
456 %attr(666,root, tty) /dev/ttyu*
457 %attr(666,root, tty) /dev/ttyv*
458 %attr(666,root, tty) /dev/ttyw*
459 %attr(666,root, tty) /dev/ttyx*
460 %attr(666,root, tty) /dev/ttyy*
461 %attr(666,root, tty) /dev/ttyz*
464 %attr(644,root,root) /dev/urandom
467 %attr(620,root,tty) /dev/vcs*
470 %attr(600,root,root) /dev/watchdog
471 %attr(660,root, sys) /dev/wvisfgrab
474 %attr(660,root,disk) /dev/xd*
479 %attr(666,root,root) /dev/zero
480 %attr(660,root,disk) /dev/zqft*