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