Changeset 3471ff2


Ignore:
Timestamp:
Apr 13, 2014, 2:33:18 AM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
3832b71
Parents:
1db7c4b
Message:

Removed obsolete commands to create links and device nodes in /lib/udev/devices

Location:
BOOK/boot/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/common/bootscripts.xml

    r1db7c4b r3471ff2  
    2626  <sect2 role="installation">
    2727    <title>Installation of Bootscripts</title>
     28
     29    <para os="s1">Remove references to Makefile targets that do not need
     30    to be used at this time:</para>
     31
     32<screen os="s2"><userinput>cp Makefile{,.orig}
     33sed -e '/^install-minimal/s/ udev_device_dirs udev_device_links//' \
     34    -e '/ mknod_devices/d' \
     35    Makefile.orig > Makefile</userinput></screen>
    2836
    2937    <para os="a">Install the package:</para>
  • BOOK/boot/common/devices.xml

    r1db7c4b r3471ff2  
    3737
    3838<screen><userinput>mknod -m 0600 ${CLFS}/dev/console c 5 1
    39 mknod -m 0666 ${CLFS}/dev/null c 1 3
    40 mknod -m 0666 ${CLFS}/dev/zero c 1 5</userinput></screen>
    41 
    42     <para>When Systemd starts a tmpfs filesystem is mounted over
    43     <filename class="directory">/dev</filename> and the previous entries are
    44     no-longer available. The following command creates files that are copied
    45     over when udevd starts:</para>
    46 
    47 <screen><userinput>mkdir -pv ${CLFS}/lib/udev/devices/{pts,shm}
    48 mknod -m 0600 ${CLFS}/lib/udev/devices/console c 5 1
    49 mknod -m 0666 ${CLFS}/lib/udev/devices/null c 1 3
    50 mknod -m 0666 ${CLFS}/lib/udev/devices/zero c 1 5
    51 mknod -m 0600 ${CLFS}/lib/udev/devices/kmsg c 1 11
    52 ln -snvf /proc/self/fd ${CLFS}/lib/udev/devices/fd
    53 ln -snvf /proc/self/fd/0 ${CLFS}/lib/udev/devices/stdin
    54 ln -snvf /proc/self/fd/1 ${CLFS}/lib/udev/devices/stdout
    55 ln -snvf /proc/self/fd/2 ${CLFS}/lib/udev/devices/stderr
    56 ln -snvf /proc/kcore ${CLFS}/lib/udev/devices/core</userinput></screen>
     39mknod -m 0666 ${CLFS}/dev/null c 1 3</userinput></screen>
    5740
    5841  </sect2>
Note: See TracChangeset for help on using the changeset viewer.