udev.xml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. %general-entities;
  5. ]>
  6. <sect1 id="ch-system-udev">
  7. <title>Udev-&udev-version;</title>
  8. <?dbhtml filename="udev.html"?>
  9. <indexterm zone="ch-system-udev">
  10. <primary sortas="a-Udev">Udev</primary>
  11. <secondary>system</secondary></indexterm>
  12. <screen>&buildtime; 0.2 SBU
  13. &diskspace; 5.2 MB</screen>
  14. <sect2>
  15. <title>Installation of Udev</title>
  16. <para>By default, the permissions udev assigns to nodes are all uniform,
  17. being owned by user root, group root, and only accessible to root. As you
  18. can easily imagine, this isn't ideal. Give it a much better configuration
  19. by applying the following patch:</para>
  20. <screen><userinput>patch -Np1 -i ../udev-&udev-version;-config-1.patch
  21. </userinput></screen>
  22. <para>Now compile Udev:</para>
  23. <screen><userinput>make udevdir=/dev</userinput></screen>
  24. <para>And install finally install it:</para>
  25. <screen><userinput>make udevdir=/dev install</userinput></screen>
  26. <para>And since we aren't going to be using the udev daemon, but instead the
  27. udev binary itself, we correct it's hotplug configuration:</para>
  28. <screen><userinput>ln -sf /sbin/udev /etc/hotplug.d/default/udev.hotplug</userinput></screen>
  29. </sect2>
  30. <sect2 id="contents-udev"><title>Contents of Udev</title>
  31. <para>Who knows?</para>
  32. </sect2>
  33. </sect1>