2 Summary(pl): Deamon DevFS
7 Source0: ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/devfsd/%{name}-v%{version}.tar.gz
10 Group(de): Gründsätzlich
14 Conflicts: kernel =< 2.2
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define _exec_prefix /
21 The devfsd programme is a daemon, run by the system boot scripts which
22 can provide for intelligent management of device entries in the Device
25 As part of its setup phase devfsd creates certain symbolic links which
26 are compiled into the code. These links are required by
27 /usr/src/linux/Documentation/devices.txt. This behaviour may change in
30 devfsd will read the special control file .devfsd in a mounted devfs,
31 listening for the creation and removal of device entries (this is
32 termed a change operation). For each change operation, devfsd can take
33 many actions. The daemon will normally run itself in the background
34 and send messages to syslog.
36 The opening of the syslog service is automatically delayed until
39 At startup, before switching to daemon mode, devfsd will scan the
40 mounted device tree and will generate synthetic REGISTER events for
44 Devfsd jest demonem startowanym ze skryptów startowych systemu, który
45 daje mo¿liwo¶æ inteligentnego zarz±dzania wpisami w Device Filesystem
47 Jako czê¶æ fazy ustawieñ devfsd tworzy linki symboliczne, które s±
48 wkompilowane w kod. Te linki s± wymagane zgodnie z
49 /usr/src/linux/Documentation/devices.txt. To zachowanie mo¿e siê zmieniæ
52 devfsd czyta specjalny plik kontrolny .devfsd w zamountowanym katalogu
53 devfs i czeka na na tworzenie i usuwanie wpisów urz±dzeñ (nazywa siê to
54 operacj± zmiany). Dla ka¿dej zmiany devfsd mo¿e podj±æ wiele dzia³añ.
55 Demon normalnie uruchamia sam siebie i wysy³a komunikat do syslog'a.
57 Otwarcie syslog'a jest normalnie automatycznie opó¼nione do czasu, gdy
58 /dev/log nie zostanie utworzony.
60 Demon systemu plików urz±dzeñ. Pozwala na u¿ywanie "tradycyjnych" nazw
67 %{__make} CFLAGS="%{rpmcflags} -I."
70 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/{man8,man5},%{_sysconfdir}}
74 install devfsd $RPM_BUILD_ROOT%{_sbindir}
75 install devfsd.8 $RPM_BUILD_ROOT%{_mandir}/man8
76 install devfsd.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
77 install modules.devfs $RPM_BUILD_ROOT%{_sysconfdir}/modules.devfs
78 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/devfsd.conf
81 killall -HUP devfsd || :
84 [ "$1" = "0" ] && killall -TERM devfsd || :
87 rm -rf $RPM_BUILD_ROOT
90 %defattr(644,root,root,755)
91 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/devfsd.conf
92 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/modules.devfs
93 %attr(755,root,root) %{_sbindir}/*