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