chiark / gitweb /
libudev: doc - add section headers
[elogind.git] / INSTALL
1 Usual options for udev installed in the root filesystem are:
2   ./configure
3     --prefix=/usr
4     --exec-prefix=
5     --sysconfdir=/etc
6 For 64bit multilib-installations also:
7     --with-libdir-name=lib64
8 For SELinux support:
9     --with-selinux
10
11 All options:
12   --prefix=
13       Prefix for man pages, include files.
14   --exec-prefix=
15       Prefix for libs, binaries, usually the root filesystem.
16   --with-udev-prefix=
17       Prefix for internal udev path names, like /dev/, /lib/udev/.
18       Only useful for testing and development installations. The
19       value is copied from exec-prefix, if not specified otherwise.
20   --sysconfdir=
21       Usually /etc.
22   --with-libdir-name=
23       Directory name for libraries. This is not a path name.
24   --enable-debug
25       Compile-in verbose debug messages. Usually not needed,
26       it increases the size of the binaries.
27   --disable-logging
28       Disable all logging and compile-out all log strings. This
29       is not recommended, as it makes it almost impossible to debug
30       udev in the running system.
31   --with-selinux
32       Link against SELInux libraries to set the expected context
33       for created files.
34
35 The options used in a RPM spec file usually look like:
36   --prefix=%{_prefix}
37   --exec-prefix=
38   --sysconfdir=%{_sysconfdir}
39   --with-libdir-name=%{_lib}
40   --with-selinux
41
42 The defined location for scripts and binaries which are called
43 from rules is /lib/udev/ on all systems and architectures. Any
44 other location will break other packages, who rightfully expect
45 the /lib/udev/ directory, to install their rule helper and udev
46 rule files.
47
48 It is recommended to use the /lib/udev/devices/ directory to place
49 device nodes, directories and symlinks, which are copied to /dev/
50 at every bootup. That way, nodes for devices which can not be
51 detected automatically, or are activated on-demand by opening the
52 pre-existing device node, will be available.
53
54 Default udev rules and persistent device naming rules are required
55 by other software that depends on the data udev collects from the
56 devices, and should therefore be installed by default with every udev
57 installation.