Changeset 2572b8e for BOOK/final-system


Ignore:
Timestamp:
Jan 30, 2011, 8:25:16 PM (14 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
a4d251f
Parents:
2580945
git-author:
Joe Ciccone <jciccone@…> (01/30/11 20:13:32)
git-committer:
Joe Ciccone <jciccone@…> (01/30/11 20:25:16)
Message:

Create the required device nodes on the udev page instead of relying
on the bootscripts to create them.

Location:
BOOK/final-system
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/udev.xml

    r2580945 r2572b8e  
    4646
    4747<screen os="j"><userinput>install -dv /lib/firmware</userinput></screen>
     48
     49  </sect2>
     50
     51  <sect2 id="conf-udev" role="configuration">
     52    <title>Configuring Udev</title>
     53
     54    <para>When systemd starts a tmpfs filesystem is mounted over
     55    <filename class="directory">/dev</filename> and the previous entries are
     56    no-longer available. The folling command creates files that are copied
     57    over when udevd starts:</para>
     58
     59<screen><userinput>mkdir -pv /lib/udev/devices/{pts,shm}
     60mknod -m 0600 /lib/udev/devices/console c 5 1
     61mknod -m 0666 /lib/udev/devices/null c 1 3
     62mknod -m 0666 /lib/udev/devices/zero c 1 5
     63mknod -m 0600 /lib/udev/devices/kmsg c 1 11
     64ln -snvf /proc/self/fd /lib/udev/devices/fd
     65ln -snvf /proc/self/fd/0 /lib/udev/devices/stdin
     66ln -snvf /proc/self/fd/1 /lib/udev/devices/stdout
     67ln -snvf /proc/self/fd/2 /lib/udev/devices/stderr
     68ln -snvf /proc/kcore /lib/udev/devices/core</userinput></screen>
    4869
    4970  </sect2>
  • BOOK/final-system/multilib/udev-64bit.xml

    r2580945 r2572b8e  
    6060  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    6161  href="../common/udev.xml"
     62  xpointer="xpointer(id('conf-udev'))"/>
     63
     64  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     65  href="../common/udev.xml"
    6266  xpointer="xpointer(id('contents-udev'))"/>
    6367
Note: See TracChangeset for help on using the changeset viewer.