source: BOOK/boot/common/devices.xml @ d2ecc65

clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since d2ecc65 was d2ecc65, checked in by Chris Staub <chris@…>, 10 years ago

Reorganized boot section

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4  <!ENTITY % general-entities SYSTEM "../../general.ent">
5  %general-entities;
6]>
7
8<sect1 id="ch-boot-devices">
9  <?dbhtml filename="devices.html"?>
10
[91ad4a4]11  <title>Populating /dev</title>
[3f8be484]12
13  <indexterm zone="ch-boot-devices">
[91ad4a4]14    <primary sortas="e-/dev/*">/dev/*</primary>
[3f8be484]15  </indexterm>
16
17  <sect2>
18    <title>Creating Initial Device Nodes</title>
19
[bf3dcb3f]20    <para os="b">When the kernel boots the system, it requires the presence
[3f8be484]21    of a few device nodes, in particular the <filename
22    class="devicefile">console</filename> and <filename
23    class="devicefile">null</filename> devices. The device nodes will
24    be created on the hard disk so that they are available before
25    <command>udev</command> has been started, and additionally when Linux
26    is started in single user mode (hence the restrictive permissions on
27    <filename class="devicefile">console</filename>). Create these by running
28    the following commands:</para>
29
[2572b8e]30<screen><userinput>mknod -m 0600 ${CLFS}/dev/console c 5 1
[3471ff2]31mknod -m 0666 ${CLFS}/dev/null c 1 3</userinput></screen>
[ef7cdfb]32
[3f8be484]33  </sect2>
34
35</sect1>
Note: See TracBrowser for help on using the repository browser.