5 Source: dev-%{PACKAGE_VERSION}.cpio
6 Copyright: public domain
8 Buildroot: /var/tmp/dev-root
11 Requires: shadow-utils >= 970616-7
13 Summary(fr): Entrées de /dev.
14 Summary(tr): /dev dizini
15 Summary(de): /dev-Einträge
18 Unix and unix like systems (including Linux) use file system entries
19 to represent devices attached to the machine. All of these entries
20 are in the /dev tree (though they don't have to be), and this package
21 contains the most commonly used /dev entries. These files are essential
22 for a system to function properly.
25 Unix et les systèmes apparentés (dont Linux) utilise des fichiers pour
26 représenter les périphériques reliés à la machine. Toutes ces entrées
27 sont dans l'arborescence /dev (ce n'est pas obligatoire). Ce paquetage
28 contient les entrées /dev les plus courantes. Elles sont essentielles
29 pour qu'un système fonctionne correctement.
32 Unix ve Unix benzeri sistemler (Linux da dahil olmak üzere), makinaya baðlý
33 aygýtlarý göstermek için özel dosyalar kullanýrlar. Bu özel dosyalarýn tümü
34 /dev dizin yapýsý altýndadýr. Bu paket en çok kullanýlan /dev dosyalarýný
35 içerir. Bu dosyalar, bir sistemin düzgün olarak iþleyebilmesi için temel
39 Unix und Unix-ähnliche Systeme (inkl. Linux) verwenden Dateisystem-
40 Einträge zum Darstellen angeschlossener Geräte. Diese Einträge befinden
41 sich (nicht notwendigerweise) im Verzeichnis /dev. Dieses Paket enthält
42 die üblichsten /dev-Einträge. Diese Dateien sind für das Funktionieren
43 eines Systems unbedingt erforderlich.
46 * Fri May 08 1998 Michael K. Johnson <johnsonm@redhat.com>
48 - added paride devices
50 * Tue May 05 1998 Erik Troan <ewt@redhat.com>
55 * Fri May 01 1998 Cristian Gafton <gafton@redhat.com>
56 - fixed groupadd call in the %install
58 * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
59 - translations modified for de
61 * Thu Apr 23 1998 Prospector System <bugs@redhat.com>
62 - translations modified for fr, tr
64 * Thu Apr 23 1998 Erik Troan <ewt@redhat.com>
65 - fixed preinstall script
67 * Tue Apr 21 1998 Erik Troan <ewt@redhat.com>
68 - updated groupadd to work with upgrades where the floppy group already exists
70 * Mon Nov 10 1997 Michael K. Johnson <johnsonm@redhat.com>
71 - Added more ramdisk entries
73 * Wed Oct 29 1997 Michael K. Johnson <johnsonm@redhat.com>
74 - Added fd and ramdisk symlinks
76 * Fri Oct 24 1997 Michael K. Johnson <johnsonm@redhat.com>
77 - Added floppy group for floppies; made them group-writable.
79 * Tue Jul 08 1997 Erik Troan <ewt@redhat.com>
82 * Thu Apr 10 1997 Erik Troan <ewt@redhat.com>
85 * Tue Mar 25 1997 Erik Troan <ewt@redhat.com>
86 - Fixed stdin, stdout devices.
87 - Moved rtc to cpio archive
92 rm -rf $RPM_BUILD_ROOT
93 mkdir -p $RPM_BUILD_ROOT
96 # Make sure that the floppy group exists on the build machine
97 /usr/sbin/groupadd -g 19 -r -f floppy > /dev/null
99 # unpack in build root
101 cpio -iumd < $RPM_SOURCE_DIR/dev-%{PACKAGE_VERSION}.cpio
104 # do some cleanup in build root
108 # SPARC specific devices
109 ln -s sunmouse dev/mouse
111 mknod dev/fb1 c 29 32
113 mknod dev/openprom c 10 139
117 # remove devices that will *never* exist on a SPARC
118 rm -f dev/hd* dev/aztcd dev/mcd dev/sbpcd1 dev/cdu31a dev/sbpcd2 dev/scd3
119 rm -f dev/sjcd dev/cdu535 dev/sbpcd3 dev/sonycd dev/cm206cd dev/sbpcd
120 rm -f dev/gscd dev/sbpcd0 dev/atibm dev/inportbm dev/logibm dev/psaux
127 for I in 9 10 11 12; do
128 mknod dev/tty$I c 4 $I
129 chown root:tty dev/tty$I
138 ln -s ../proc/self/fd fd
179 chmod 0660 pd[a-d]* pcd[0-3] pf[0-3] pt[0-3]
180 chown root:disk pd[a-d]* pcd[0-3] pf[0-3] pt[0-3]
182 # build the file list
184 ls $RPM_BUILD_ROOT/dev | sed 's,^,/dev/,' > filelist
185 touch $RPM_BUILD_ROOT/dev/log
186 chown 0.0 $RPM_BUILD_ROOT/dev/log
187 chmod 666 $RPM_BUILD_ROOT/dev/log
188 echo "%ghost /dev/log" >> filelist
192 rm -rf $RPM_BUILD_ROOT
195 /usr/sbin/groupadd -g 19 -r -f floppy