Ignore:
File:
1 edited

Legend:

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

    r6243b1f r1028eb8  
    1313  <indexterm zone="ch-boot-devices">
    1414    <primary sortas="e-/dev/*">/dev/*</primary>
     15    <secondary>boot</secondary>
    1516  </indexterm>
    1617
    1718  <sect2>
    1819    <title>Creating Initial Device Nodes</title>
    19 
    20     <note os="a">
    21       <para>The commands in the remainder of the book should be run as
    22       the <systemitem class="username">root</systemitem> user. Check
    23       that ${CLFS} is set in the
    24       <systemitem class="username">root</systemitem> user&rsquo;s environment
    25        before proceeding.</para>
    26     </note>
    2720
    2821    <para os="b">When the kernel boots the system, it requires the presence
     
    3629    the following commands:</para>
    3730
    38 <screen><userinput>mknod -m 600 ${CLFS}/dev/console c 5 1
    39 mknod -m 666 ${CLFS}/dev/null c 1 3</userinput></screen>
    40 
    41     <para>Before udev starts, a tmpfs filesystem is mounted over
    42     <filename class="directory">/dev</filename> and the previous entries are
    43     no longer available. The following command creates files that are copied
    44     over by the udev bootscript:</para>
    45 
    46 <screen><userinput>mknod -m 600 ${CLFS}/lib/udev/devices/console c 5 1
    47 mknod -m 666 ${CLFS}/lib/udev/devices/null c 1 3</userinput></screen>
     31<screen><userinput>mknod -m 0600 ${CLFS}/dev/console c 5 1
     32mknod -m 0666 ${CLFS}/dev/null c 1 3</userinput></screen>
    4833
    4934  </sect2>
Note: See TracChangeset for help on using the changeset viewer.