mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 05:27:39 +00:00
51 lines
1.4 KiB
XML
51 lines
1.4 KiB
XML
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
||
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
||
|
%general-entities;
|
||
|
]>
|
||
|
<sect1 id="ch-system-udev">
|
||
|
<title>Udev-&udev-version;</title>
|
||
|
<?dbhtml filename="udev.html"?>
|
||
|
|
||
|
<indexterm zone="ch-system-udev">
|
||
|
<primary sortas="a-Udev">Udev</primary>
|
||
|
<secondary>system</secondary></indexterm>
|
||
|
|
||
|
<screen>&buildtime; 0.2 SBU
|
||
|
&diskspace; 5.2 MB</screen>
|
||
|
|
||
|
|
||
|
<sect2>
|
||
|
<title>Installation of Udev</title>
|
||
|
|
||
|
<para>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:</para>
|
||
|
|
||
|
<screen><userinput>patch -Np1 -i ../udev-&udev-version;-config-1.patch
|
||
|
</userinput></screen>
|
||
|
|
||
|
<para>Now compile Udev:</para>
|
||
|
|
||
|
<screen><userinput>make udevdir=/dev</userinput></screen>
|
||
|
|
||
|
<para>And install finally install it:</para>
|
||
|
|
||
|
<screen><userinput>make udevdir=/dev install</userinput></screen>
|
||
|
|
||
|
<para>And since we aren't going to be using the udev daemon, but instead the
|
||
|
udev binary itself, we correct it's hotplug configuration:</para>
|
||
|
|
||
|
<screen><userinput>ln -sf /sbin/udev /etc/hotplug.d/default/udev.hotplug</userinput></screen>
|
||
|
|
||
|
</sect2>
|
||
|
|
||
|
|
||
|
<sect2 id="contents-udev"><title>Contents of Udev</title>
|
||
|
<para>Who knows?</para>
|
||
|
</sect2>
|
||
|
|
||
|
|
||
|
</sect1>
|