Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/chroot/common/kernfs.xml

    rdabbced rebfb62d  
    3636  <para>Two device nodes, /dev/console and /dev/null, are required to be
    3737  present on the filesystem.  These are needed by the kernel even before
    38   starting Udev early in the boot process, so we create them here:</para>
     38  starting Eudev early in the boot process, so we create them here:</para>
    3939
    4040<screen><userinput>mknod -m 600 ${CLFS}/dev/console c 5 1
     
    4242
    4343  <para>Once the system is complete and booting, the rest of our device
    44   nodes are created by the Udev package.  Since this package is not
     44  nodes are created by the Eudev package.  Since this package is not
    4545  available to us right now, we must take other steps to provide device
    4646  nodes under on the CLFS filesystem.  We will use the <quote>bind</quote>
     
    5454  for each of these now:</para>
    5555
    56 <screen><userinput>mount -f -vt tmpfs tmpfs ${CLFS}/dev/shm
     56<screen><userinput>if [ -h ${CLFS}/dev/shm ]; then
     57  link=$(readlink ${CLFS}/dev/shm)
     58  mkdir -p ${CLFS}/$link
     59  mount -f -vt tmpfs shm ${CLFS}/$link
     60  unset link
     61else
     62  mount -f -vt tmpfs shm ${CLFS}/dev/shm
     63fi
    5764mount -f -vt devpts -o gid=&gid-tty;,mode=620 devpts ${CLFS}/dev/pts</userinput></screen>
    5865
Note: See TracChangeset for help on using the changeset viewer.