2 Summary(pl): Deamon DevFS
7 Source0: ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/devfsd/%{name}-v%{version}.tar.gz
11 Group(de): Gründsätzlich
15 Conflicts: kernel =< 2.2
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _exec_prefix /
22 The devfsd programme is a daemon, run by the system boot scripts which
23 can provide for intelligent management of device entries in the Device
26 As part of its setup phase devfsd creates certain symbolic links which
27 are compiled into the code. These links are required by
28 /usr/src/linux/Documentation/devices.txt. This behaviour may change in
31 devfsd will read the special control file .devfsd in a mounted devfs,
32 listening for the creation and removal of device entries (this is
33 termed a change operation). For each change operation, devfsd can take
34 many actions. The daemon will normally run itself in the background
35 and send messages to syslog.
37 The opening of the syslog service is automatically delayed until
40 At startup, before switching to daemon mode, devfsd will scan the
41 mounted device tree and will generate synthetic REGISTER events for
45 Devfsd jest demonem startowanym ze skryptów startowych systemu, który
46 daje mo¿liwo¶æ inteligentnego zarz±dzania wpisami w Device Filesystem
48 Jako czê¶æ fazy ustawieñ devfsd tworzy linki symboliczne, które s±
49 wkompilowane w kod. Te linki s± wymagane zgodnie z
50 /usr/src/linux/Documentation/devices.txt. To zachowanie mo¿e siê zmieniæ
53 devfsd czyta specjalny plik kontrolny .devfsd w zamountowanym katalogu
54 devfs i czeka na na tworzenie i usuwanie wpisów urz±dzeñ (nazywa siê to
55 operacj± zmiany). Dla ka¿dej zmiany devfsd mo¿e podj±æ wiele dzia³añ.
56 Demon normalnie uruchamia sam siebie i wysy³a komunikat do syslog'a.
58 Otwarcie syslog'a jest normalnie automatycznie opó¼nione do czasu, gdy
59 /dev/log nie zostanie utworzony.
61 Demon systemu plików urz±dzeñ. Pozwala na u¿ywanie "tradycyjnych" nazw
68 %{__make} CEXTRAS="%{rpmcflags} -I."
71 rm -rf $RPM_BUILD_ROOT
73 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/{man8,man5},%{_sysconfdir}}
75 install devfsd $RPM_BUILD_ROOT%{_sbindir}
76 install devfsd.8 $RPM_BUILD_ROOT%{_mandir}/man8
77 install devfsd.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
78 install modules.devfs $RPM_BUILD_ROOT%{_sysconfdir}/modules.devfs
79 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/devfsd.conf
80 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d.init.d/%{name}
83 /sbin/chkconfig --add devfsd
84 if [ -f /var/lock/subsys/devfsd ]; then
85 /etc/rc.d/init.d/devfsd restart >&2
87 echo "Run \"/etc/rc.d/init.d/devfsd start\" to activate devfsd."
91 if [ "$1" = "0" ]; then
92 if [ -f /var/lock/subsys/devfsd ]; then
93 /etc/rc.d/init.d/devfsd stop >&2
95 /sbin/chkconfig --del devfsd
99 rm -rf $RPM_BUILD_ROOT
102 %defattr(644,root,root,755)
103 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/devfsd.conf
104 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/modules.devfs
105 %attr(755,root,root) %{_sbindir}/*
106 %attr(754,root,root) /etc/rc.d./init.d/%{name}