Changeset 03e6a40 for BOOK/boot/common/devices.xml
- Timestamp:
- Apr 20, 2014, 8:57:39 AM (11 years ago)
- Children:
- 0be79ea
- Parents:
- 88ef769 (diff), 578ca586 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/devices.xml
r88ef769 r03e6a40 18 18 <title>Creating Initial Device Nodes</title> 19 19 20 <note os="a">21 <para>The commands in the remainder of the book should be run as22 the <systemitem class="username">root</systemitem> user. Check23 that ${CLFS} is set in the24 <systemitem class="username">root</systemitem> user’s environment25 before proceeding.</para>26 </note>27 28 20 <para os="b">When the kernel boots the system, it requires the presence 29 21 of a few device nodes, in particular the <filename … … 36 28 the following commands:</para> 37 29 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> 30 <screen><userinput>mknod -m 0600 ${CLFS}/dev/console c 5 1 31 mknod -m 0666 ${CLFS}/dev/null c 1 3</userinput></screen> 48 32 49 33 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.