chiark / gitweb /
943a8a467a32790118d46042c1b28b260b96074e
[elogind.git] / INSTALL
1 Usual options for udev installed in the root filesystem are:
2   ./configure \
3     --prefix=/usr \
4     --sysconfdir=/etc \
5     --sbindir=/sbin \
6     --libdir=/usr/lib64 \
7     --with-rootlibdir=/lib64 \
8     --libexecdir=/lib/udev \
9     --with-selinux
10
11 The options used in a RPM spec file usually look like:
12   %configure \
13     --prefix=%{_prefix} \
14     --sysconfdir=%{_sysconfdir} \
15     --sbindir=/sbin \
16     --libdir=%{_libdir} \
17     --with-rootlibdir=/%{_lib} \
18     --libexecdir=/lib/udev \
19     --with-selinux
20
21 The defined location for scripts and binaries which are called
22 from rules is /lib/udev/ on all systems and architectures. Any
23 other location will break other packages, who rightfully expect
24 the /lib/udev/ directory, to install their rule helper and udev
25 rule files.
26
27 It is possible to use the /lib/udev/devices/ directory to place
28 device nodes, directories and symlinks, which are copied to /dev/
29 at every bootup. That way, nodes for devices which can not be
30 detected automatically, or are activated on-demand by opening the
31 pre-existing device node, will be available.
32
33 Default udev rules and persistent device naming rules may be required
34 by other software that depends on the data udev collects from the
35 devices.