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
14 # remove shadow if floppy and console group exist in setup
17 Buildroot: /tmp/%{name}-%{version}-root
21 Unix and unix like systems (including Linux) use file system entries
22 to represent devices attached to the machine. All of these entries
23 are in the /dev tree (though they don't have to be), and this package
24 contains the most commonly used /dev entries. These files are essential
25 for a system to function properly.
28 Wszystkie systemy Unix, jak na przyk³ad Linux, u¿ywaj± plików do przedstawienia
29 urz±dzeñ pod³±czonych do komputera. Wszystkie te pliki znajduj± siê zwykle w
30 katalogu /dev. Pakiet ten zawiera wiêkszo¶æ popularnych plików specjalnych,
31 s± one jedn± z wa¿niejszych czê¶ci prawid³owo dzia³aj±cego systemu operacyjnego.
34 Unix et les systèmes apparentés (dont Linux) utilise des fichiers pour
35 représenter les périphériques reliés à la machine. Toutes ces entrées
36 sont dans l'arborescence /dev (ce n'est pas obligatoire). Ce paquetage
37 contient les entrées /dev les plus courantes. Elles sont essentielles
38 pour qu'un système fonctionne correctement.
41 Unix ve Unix benzeri sistemler (Linux da dahil olmak üzere), makinaya baðlý
42 aygýtlarý göstermek için özel dosyalar kullanýrlar. Bu özel dosyalarýn tümü
43 /dev dizin yapýsý altýndadýr. Bu paket en çok kullanýlan /dev dosyalarýný
44 içerir. Bu dosyalar, bir sistemin düzgün olarak iþleyebilmesi için temel
48 Unix und Unix-ähnliche Systeme (inkl. Linux) verwenden Dateisystem-
49 Einträge zum Darstellen angeschlossener Geräte. Diese Einträge befinden
50 sich (nicht notwendigerweise) im Verzeichnis /dev. Dieses Paket enthält
51 die üblichsten /dev-Einträge. Diese Dateien sind für das Funktionieren
52 eines Systems unbedingt erforderlich.
58 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT
62 #add group for floppy and console
63 # if setup contains this group then remove next 4 lines
64 grep '^floppy:' /etc/group >/dev/null \
65 || groupadd -g 19 -r -f floppy >/dev/null
66 grep '^console:' /etc/group >/dev/null \
67 || groupadd -g 20 -f -r console >/dev/null
69 # do some cleanup in build root
71 tar xpSzf $RPM_SOURCE_DIR/%{name}-%{version}.tar.gz
75 # tar doesn't save some permissions unless the p option is used
76 # this code protects against dev package updaters forgetting to
77 # use the p option when unpacking the souce tarball.
78 for dev in zero null tty ttyp0 ; do
79 if [ ! $(ls -l $dev | awk '{print $1}') = crw-rw-rw- ] ; then
80 echo bad permissions on device $dev 1>&2
86 # SPARC specific devices
89 mknod openprom c 10 139
92 # remove devices that will *never* exist on a SPARC
93 rm -f hd* aztcd mcd sbpcd1 cdu31a sbpcd2 scd3
94 rm -f sjcd cdu535 sbpcd3 sonycd cm206cd sbpcd
95 rm -f gscd sbpcd0 atibm inportbm logibm psaux
100 # m68k specific devices
101 mknod amigamouse c 10 4
102 mknod atarimouse c 10 5
103 mknod apollomouse c 10 7
104 ln -s amigamouse mouse
110 # remove devices that will *never* exist on a m68k
111 rm -f hd* aztcd mcd sbpcd1 cdu31a sbpcd2 scd3
112 rm -f sjcd cdu535 sbpcd3 sonycd cm206cd sbpcd
113 rm -f gscd sbpcd0 atibm inportbm logibm psaux
131 mknod watchdog c 10 130
172 mknod dmmidi1 c 14 25
173 mknod dmmidi2 c 14 41
174 mknod dmmidi3 c 14 57
178 mknod admmidi0 c 14 14
179 mknod admmidi1 c 14 30
180 mknod admmidi2 c 14 46
181 mknod admmidi3 c 14 62
189 ln -s music sequencer2
192 install -d $RPM_BUILD_ROOT/proc/asound
193 touch $RPM_BUILD_ROOT/proc/asound/snd
195 ln -s ../proc/asound/snd snd
197 # prepared for SysVinit
200 #prepared for Log Daemon
201 mkfifo --mode=666 syslog
204 # if setup contains groups floppy and console this mayby obsoletes
205 %{_sbindir}/groupadd -g 19 -r -f floppy
206 %{_sbindir}/groupadd -g 20 -r -f console
209 if [ -f /etc/fstab ] ; then
210 # add /dev/pts to fstab if fstab exists (install2 does it during install)
211 if grep 'devpts' /etc/fstab >/dev/null 2>&1 ; then : ; else
212 # note that we do not disallow comments; we wish to allow people
213 # to comment it out if they so desire.
214 TMP=$(mktemp /tmp/fstab.XXXXXX)
216 none /dev/pts devpts mode=0622 0 0
217 ' < /etc/fstab > $TMP && mv -f $TMP /etc/fstab || { echo "failed to add devpts filesystem to /etc/fstab" 1>&2 ; exit 1 ; }
223 rm -rf $RPM_BUILD_ROOT
226 %defattr(644,root,root,755)
229 %attr(662,root, sys) /dev/admmidi*
231 %config(noreplace) %verify(not link) %attr(666,root, sys) /dev/adsp
232 %attr(662,root, sys) /dev/adsp?*
234 %config(noreplace) %verify(not link) %attr(662,root,root) /dev/amidi
235 %attr(662,root,root) /dev/amidi?*
237 %attr(664,root,root) /dev/atibm
239 %config(noreplace) %verify(not link) %attr(662,root, sys) /dev/audio
240 %attr(662,root, sys) /dev/audio?*
242 %attr(664,root,root) /dev/aztcd
246 %attr(664,root,root) /dev/bpcd
249 %attr(600,root,root) /dev/capi*
250 %attr(664,root,root) /dev/cdu31a
251 %attr(640,root,disk) /dev/cdu535
252 %attr(600,root,root) /dev/cfs0
253 %attr(664,root,root) /dev/cm206cd
254 %attr(660,root,console) /dev/console
255 %attr(664,root,root) /dev/cui*
256 %attr(600,root,root) /dev/cum*
259 %attr(600,root,root) /dev/dcbri*
260 %attr(660,root, sys) /dev/dcxx*
261 %attr(662,root, sys) /dev/dmfm*
262 %attr(662,root, sys) /dev/dmmidi*
263 %config(noreplace) %verify(not link) %attr(662,root, sys) /dev/dsp
264 %attr(662,root, sys) /dev/dsp?*
267 %attr(600,root,root) /dev/enskip
270 %config(noreplace) %verify(not link) %attr(644,root,root) /dev/fb
271 %attr(644,root,root) /dev/fb?*
272 %attr(664,root,floppy) /dev/fd*
273 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/ftape
274 %attr(644,root,root) /dev/full
277 %attr(664,root,root) /dev/gscd
280 %attr(660,root,disk) /dev/hd*
281 %attr(660,root,disk) /dev/ht0
284 %attr(600,root,root) /dev/i2c*
286 %attr(660,root,disk) /dev/ida/*
287 %attr(600,root,root) /dev/initctl
288 %attr(664,root,root) /dev/inportbm
289 %attr(600,root,root) /dev/ipauth
290 %attr(600,root,root) /dev/ipl
291 %attr(600,root,root) /dev/ipnat
292 %attr(600,root,root) /dev/ippp*
293 %attr(660,root, sys) /dev/iscc*
294 %attr(600,root,root) /dev/isctl
295 %attr(600,root,root) /dev/isdn?
296 %attr(600,root,root) /dev/isdn??
297 %config(noreplace) %verify(not link) %attr(600,root,root) /dev/isdnctrl
298 %attr(600,root,root) /dev/isdnctrl?*
299 %attr(444,root,root) /dev/isdninfo
302 %attr(660,root, sys) /dev/js*
305 %attr(640,root,kmem) /dev/kmem
308 #%attr(666,root,root) /dev/log
309 %attr(664,root,root) /dev/logibm
310 %attr(660,root,disk) /dev/loop*
312 %attr(660,root,daemon) /dev/lp*
315 %attr(640,root,disk) /dev/mcd
316 %attr(640,root,kmem) /dev/mem
317 %config(noreplace) %verify(not link) %attr(662,root,sys) /dev/midi
318 %attr(662,root, sys) /dev/midi?*
319 %config(noreplace) %verify(not link) %attr(662,root,sys) /dev/mixer
320 %attr(662,root, sys) /dev/mixer?*
321 %attr(660,root, sys) /dev/mmetfgrab
322 %attr(600,root,root) /dev/mpu401*
323 %attr(662,root, sys) /dev/music
326 %attr(660,root,disk) /dev/nb*
327 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/nftape
328 %attr(660,root,disk) /dev/nht*
329 %attr(660,root,disk) /dev/nqft*
330 %attr(660,root,disk) /dev/nrawqft*
331 %attr(660,root,disk) /dev/nrft*
332 %attr(660,root,disk) /dev/nst*
333 %attr(660,root,disk) /dev/ntpqic*
334 %attr(666,root,root) /dev/null
335 %attr(660,root,disk) /dev/nzqft*
338 %attr(664,root,root) /dev/optcd
341 %attr(640,root,daemon) /dev/par?
342 %attr(660,root,daemon) /dev/parport*
344 %attr(660,root,disk) /dev/pcd*
345 %attr(660,root,disk) /dev/pd*
346 %attr(660,root,disk) /dev/pf*
347 %attr(600,root,root) /dev/pg*
349 %attr(640,root,kmem) /dev/port
350 %attr(600,root,root) /dev/printer
351 %attr(664,root,root) /dev/psaux
353 %attr(660,root,disk) /dev/pt0
354 %attr(660,root,disk) /dev/pt1
355 %attr(660,root,disk) /dev/pt2
356 %attr(660,root,disk) /dev/pt3
358 %attr(666,root, tty) /dev/ptmx
359 %attr(666,root, tty) /dev/pty*
363 %attr(640,root,disk) /dev/ram
364 %attr(660,root,disk) /dev/ram0
365 %attr(660,root,disk) /dev/ram1*
366 %attr(660,root,disk) /dev/ram2
367 %attr(660,root,disk) /dev/ram3
368 %attr(660,root,disk) /dev/ram4
369 %attr(660,root,disk) /dev/ram5
370 %attr(660,root,disk) /dev/ram6
371 %attr(660,root,disk) /dev/ram7
372 %attr(660,root,disk) /dev/ram8
373 %attr(660,root,disk) /dev/ram9
375 %config(noreplace) %verify(not link) %attr(660,root,disk) /dev/ramdisk
377 %attr(644,root,root) /dev/random
378 %attr(660,root,disk) /dev/rawqft*
379 %attr(660,root,disk) /dev/rft*
380 %attr(660,root, sys) /dev/rmidi*
381 %attr(660,root,disk) /dev/rmt*
382 %attr(644,root,root) /dev/route
383 %attr(664,root,root) /dev/rtc
385 %attr(660,root,disk) /dev/rd/*
388 %attr(640,root,disk) /dev/sbpc*
389 %attr(660,root,disk) /dev/scd*
390 %attr(660,root,disk) /dev/sd*
392 %attr(662,root,sys) /dev/sequencer
393 %attr(662,root,sys) /dev/sequencer2
395 %attr(600,root,root) /dev/sg*
396 %attr(664,root,root) /dev/sjcd
397 %attr(600,root,root) /dev/smtpe*
399 %attr(444,root,root) /dev/snd
400 %attr(666,root,root) /dev/sndstat
402 %attr(640,root,disk) /dev/sonycd
404 %attr(600,root,root) /dev/srnd*
406 %attr(660,root,disk) /dev/st?
407 %attr(600,root,root) /dev/staliomem*
408 %attr(666,root,root) /dev/std*
410 %attr(664,root,root) /dev/sunmouse
411 %attr(666,root,root) /dev/syslog
412 %attr(600,root,root) /dev/systty
415 %attr(660,root,disk) /dev/tape*
416 %attr(600,root,root) /dev/tlk*
417 %attr(660,root,disk) /dev/tpqic*
419 %attr(666,root,root) /dev/tty
421 %attr(600,root, tty) /dev/tty0
422 %attr(600,root, tty) /dev/tty1*
423 %attr(600,root, tty) /dev/tty2
424 %attr(600,root, tty) /dev/tty3
425 %attr(600,root, tty) /dev/tty4
426 %attr(600,root, tty) /dev/tty5
427 %attr(600,root, tty) /dev/tty6
428 %attr(600,root, tty) /dev/tty7
429 %attr(600,root, tty) /dev/tty8
430 %attr(600,root, tty) /dev/tty9
432 %attr(600,root,root) /dev/ttyC*
433 %attr(600,root,root) /dev/ttyD*
434 %attr(600,root,root) /dev/ttyE*
435 %attr(600,root,root) /dev/ttyI*
436 %attr(600,root,root) /dev/ttyM*
437 %attr(600,root,root) /dev/ttyP*
438 %attr(600,root,root) /dev/ttyR*
440 %attr(644,root,root) /dev/ttyS*
442 %attr(666,root, tty) /dev/ttya*
443 %attr(666,root, tty) /dev/ttyb*
444 %attr(666,root, tty) /dev/ttyc*
445 %attr(666,root, tty) /dev/ttyd*
446 %attr(666,root, tty) /dev/ttye*
447 %attr(666,root, tty) /dev/ttyp*
448 %attr(666,root, tty) /dev/ttyq*
449 %attr(666,root, tty) /dev/ttyr*
450 %attr(666,root, tty) /dev/ttys*
451 %attr(666,root, tty) /dev/ttyt*
452 %attr(666,root, tty) /dev/ttyu*
453 %attr(666,root, tty) /dev/ttyv*
454 %attr(666,root, tty) /dev/ttyw*
455 %attr(666,root, tty) /dev/ttyx*
456 %attr(666,root, tty) /dev/ttyy*
457 %attr(666,root, tty) /dev/ttyz*
460 %attr(644,root,root) /dev/urandom
463 %attr(620,root,tty) /dev/vcs*
466 %attr(600,root,root) /dev/watchdog
467 %attr(660,root, sys) /dev/wvisfgrab
470 %attr(660,root,disk) /dev/xd*
475 %attr(666,root,root) /dev/zero
476 %attr(660,root,disk) /dev/zqft*
479 * Thu Apr 29 1999 Artur Wiget <wiget@pld.org.pl>
482 - removed creating already created devices
483 - added more devices in %%files
485 * Mon Apr 27 1999 Wojciech "Sas" Ciêciwa <cieciwa@alpha.zarz.agh.edu.pl>
487 - added /dev/initctl,
488 - added pts device to /etc/fstab,
491 * Mon Apr 26 1999 Wojciech "Sas" Ciêciwa <cieciwa@alpha.zarz.agh.edu.pl>
494 - removed /dev/log, /dev/cua[0-3].
496 * Tue Apr 20 1999 Artur Frysiak <wiget@pld.org.pl>
499 - fixed framebuffer support
502 * Sat Dec 12 1998 Sergiusz Paw³owicz <ser@hyperreal.art.pl>
504 - added polish translation to spec (regards to PLD Team),
505 - added handles to Unix98 pty support,
506 - added handles to framebuffer support,
507 - revised spec file, adding group 'floppy' removed.
508 - removed initctl -- SysVinit provides it.
509 - start at RH spec file.