%general-entities; ]> Udev-&udev-version; Udev tools <!-- <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/udev.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> --> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem><seg>0.2 SBU</seg><seg>5.2 MB</seg></seglistitem> </segmentedlist> <!-- <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/udev.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> --> </sect2> <sect2 role="installation"> <title>Installation of Udev By default, the permissions udev assigns to nodes are all uniform, being owned by user root, group root, and only accessible to root. As you can easily imagine, this isn't ideal. Give it a much better configuration by applying the following patch: patch -Np1 -i ../udev-&udev-version;-config-2.patch The udevstart program hardcodes the path to the udev program in itself, which is bad since we install udev in a non-standard location. Fix this by running the following: sed -i 's:\/sbin\/udev:/tools&:' udevstart.c Also assure that udev knows the correct location to look for its configuration files: sed -i 's:\/etc:/tools&:' etc/udev/udev.conf.in Now compile Udev: make prefix=/tools etcdir=/tools/etc Generate Udev's main configuration file: make udevdir=/dev etc/udev/udev.conf And install finally install it: make DESTDIR=/tools install <para>The details on this package are found in <xref linkend="contents-udev"/>.</para> </sect2> </sect1>