2 Summary(pl): Demon DevFS
7 Source0: ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/devfsd/%{name}-v%{version}.tar.gz
9 URL: http://www.atnf.csiro.au/~rgooch/linux/
11 Conflicts: kernel =< 2.2
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 %define _exec_prefix /
18 The devfsd programme is a daemon, run by the system boot scripts which
19 can provide for intelligent management of device entries in the Device
22 As part of its setup phase devfsd creates certain symbolic links which
23 are compiled into the code. These links are required by
24 /usr/src/linux/Documentation/devices.txt. This behaviour may change in
27 devfsd will read the special control file .devfsd in a mounted devfs,
28 listening for the creation and removal of device entries (this is
29 termed a change operation). For each change operation, devfsd can take
30 many actions. The daemon will normally run itself in the background
31 and send messages to syslog.
33 The opening of the syslog service is automatically delayed until
36 At startup, before switching to daemon mode, devfsd will scan the
37 mounted device tree and will generate synthetic REGISTER events for
41 Devfsd jest demonem startowanym ze skryptów startowych systemu, który
42 daje mo¿liwo¶æ inteligentnego zarz±dzania wpisami w Device Filesystem
43 (devfs). Jako czê¶æ fazy ustawieñ devfsd tworzy linki symboliczne,
44 które s± wkompilowane w kod. Te linki s± wymagane zgodnie z
45 /usr/src/linux/Documentation/devices.txt. To zachowanie mo¿e siê
46 zmieniæ w przysz³o¶ci.
48 devfsd czyta specjalny plik kontrolny .devfsd w zamontowanym katalogu
49 devfs i czeka na na tworzenie i usuwanie wpisów urz±dzeñ (nazywa siê
50 to operacj± zmiany). Dla ka¿dej zmiany devfsd mo¿e podj±æ wiele
51 dzia³añ. Demon normalnie uruchamia sam siebie i wysy³a komunikat do
54 Otwarcie syslog'a jest normalnie automatycznie opó¼nione do czasu, gdy
55 /dev/log nie zostanie utworzony.
57 Demon systemu plików urz±dzeñ. Pozwala na u¿ywanie "tradycyjnych" nazw
64 %{__make} CC="%{__cc}" CEXTRAS="%{rpmcflags} -I."
67 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/{man8,man5},%{_sysconfdir}}
71 install devfsd $RPM_BUILD_ROOT%{_sbindir}
72 install devfsd.8 $RPM_BUILD_ROOT%{_mandir}/man8
73 install devfsd.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
74 install modules.devfs $RPM_BUILD_ROOT%{_sysconfdir}/modules.devfs
75 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/devfsd.conf
78 rm -rf $RPM_BUILD_ROOT
81 %defattr(644,root,root,755)
82 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/devfsd.conf
83 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/modules.devfs
84 %attr(755,root,root) %{_sbindir}/*