%general-entities; ]> eudev &eudev-version;
&eudev-url;
Eudev-&eudev-version; Eudev <para>The Eudev package contains programs for dynamic creation of device nodes.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&eudev-fin-sbu;</seg> <seg>&eudev-fin-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Eudev Prepare Eudev for compilation: ./configure --prefix=/usr \ --bindir=/usr/sbin \ --sysconfdir=/etc \ --enable-manpages \ --disable-static Compile the package: make Create some directories now that are needed for tests, but will also be used as a part of installation: mkdir -pv /usr/lib/udev/rules.d mkdir -pv /etc/udev/rules.d To test the results, issue: make check Install the package: make install Install some custom rules and support files useful in an LFS environment: tar -xvf ../&udev-lfs-version;.tar.xz make -f &udev-lfs-version;/Makefile.lfs install Installation of Eudev - 32bit Clean previous build: make distclean Prepare Eudev for compilation: CC="gcc -m32" \ ./configure --host=i686-pc-linux-gnu \ --prefix=/usr \ --bindir=/usr/sbin \ --libdir=/usr/lib32 \ --sysconfdir=/etc \ --disable-manpages \ --disable-static Compile the package: make Install the package: make DESTDIR=$PWD/DESTDIR install cp -Rv DESTDIR/usr/lib32/* /usr/lib32 rm -rf DESTDIR Installation of Eudev - x32bit Clean previous build: make distclean Prepare Eudev for compilation: CC="gcc -mx32" \ ./configure --host=x86_64-lfs-linux-gnux32 \ --prefix=/usr \ --bindir=/usr/sbin \ --libdir=/usr/libx32 \ --sysconfdir=/etc \ --disable-manpages \ --disable-static Compile the package: make Install the package: make DESTDIR=$PWD/DESTDIR install cp -Rv DESTDIR/usr/libx32/* /usr/libx32 rm -rf DESTDIR Configuring Eudev Eudev configuring /etc/udev/hwdb.bin Information about hardware devices is maintained in the /etc/udev/hwdb.d and /usr/lib/udev/hwdb.d directories. Eudev needs that information to be compiled into a binary database /etc/udev/hwdb.bin. Create the initial database: udevadm hwdb --update This command needs to be run each time the hardware information is updated. Contents of Eudev Installed programs Installed libraries Installed directories udevadm and udevd libudev.so /etc/udev, /usr/lib/udev, and /usr/share/doc/udev-&udev-lfs-version; Short Descriptions udevadm Generic udev administration tool: controls the udevd daemon, provides info from the Udev database, monitors uevents, waits for uevents to finish, tests Udev configuration, and triggers uevents for a given device udevadm udevd A daemon that listens for uevents on the netlink socket, creates devices and runs the configured external programs in response to these uevents udevd libudev A library interface to udev device information libudev /etc/udev Contains Udev configuration files, device permissions, and rules for device naming /etc/udev