diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2020-06-11 03:13:43 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2020-06-11 03:13:43 +0000 |
commit | 387a32af4bff50363c15788cf25f10ed26cfabd3 (patch) | |
tree | 7874a54d1f87fdbb340547777019c59ce20c6f4a /chapter07/kernfs.xml | |
parent | bc8cca581fed74c60e201a89acb38cb2344c9b1b (diff) |
Update initial Chapter 7 pages for cross2 branch
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11918 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/kernfs.xml')
-rw-r--r-- | chapter07/kernfs.xml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/chapter07/kernfs.xml b/chapter07/kernfs.xml index dd6b8991c..6173e63a1 100644 --- a/chapter07/kernfs.xml +++ b/chapter07/kernfs.xml @@ -30,9 +30,10 @@ <para>When the kernel boots the system, it requires the presence of a few device nodes, in particular the <filename class="devicefile">console</filename> and <filename - class="devicefile">null</filename> devices. The device nodes must be created - on the hard disk so that they are available before <command>udevd</command> - has been started, and additionally when Linux is started with + class="devicefile">null</filename> devices. The device nodes must be + created on the hard disk so that they are available before the kernel + populates <systemitem class="filesystem">/dev</systemitem>), and + additionally when Linux is started with <parameter>init=/bin/bash</parameter>. Create the devices by running the following commands:</para> @@ -72,7 +73,7 @@ mknod -m 666 $LFS/dev/null c 1 3</userinput></screen> mount -vt proc proc $LFS/proc mount -vt sysfs sysfs $LFS/sys mount -vt tmpfs tmpfs $LFS/run</userinput></screen> - +<!-- <variablelist> <title>The meaning of the mount options for devpts:</title> @@ -100,7 +101,7 @@ mount -vt tmpfs tmpfs $LFS/run</userinput></screen> </varlistentry> </variablelist> - +--> <para>In some host systems, <filename>/dev/shm</filename> is a symbolic link to <filename class="directory">/run/shm</filename>. The /run tmpfs was mounted above so in this case only a |