Changeset 6dfcfecc for chapter07/kernfs.xml
- Timestamp:
- 03/31/2021 10:41:39 AM (4 years ago)
- Branches:
- ml-11.0, multilib, xry111/multilib
- Children:
- 7610848
- Parents:
- 811b5a39
- git-author:
- Thomas Trepl <thomas@…> (06/29/2020 07:55:01 AM)
- git-committer:
- Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:39 AM)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
chapter07/kernfs.xml
r811b5a39 r6dfcfecc 6 6 ]> 7 7 8 <sect1 id="ch- system-kernfs">8 <sect1 id="ch-tools-kernfs"> 9 9 <?dbhtml filename="kernfs.html"?> 10 10 11 11 <title>Preparing Virtual Kernel File Systems</title> 12 12 13 <indexterm zone="ch- system-kernfs">13 <indexterm zone="ch-tools-kernfs"> 14 14 <primary sortas="e-/dev/">/dev/*</primary> 15 15 </indexterm> … … 31 31 device nodes, in particular the <filename 32 32 class="devicefile">console</filename> and <filename 33 class="devicefile">null</filename> devices. The device nodes must be created 34 on the hard disk so that they are available before <command>udevd</command> 35 has been started, and additionally when Linux is started with 33 class="devicefile">null</filename> devices. The device nodes must be 34 created on the hard disk so that they are available before the kernel 35 populates <systemitem class="filesystem">/dev</systemitem>), and 36 additionally when Linux is started with 36 37 <parameter>init=/bin/bash</parameter>. Create the devices by running the 37 38 following commands:</para> … … 42 43 </sect2> 43 44 44 <sect2 id="ch- system-bindmount">45 <sect2 id="ch-tools-bindmount"> 45 46 <title>Mounting and Populating /dev</title> 46 47 … … 64 65 </sect2> 65 66 66 <sect2 id="ch- system-kernfsmount">67 <sect2 id="ch-tools-kernfsmount"> 67 68 <title>Mounting Virtual Kernel File Systems</title> 68 69 … … 73 74 mount -vt sysfs sysfs $LFS/sys 74 75 mount -vt tmpfs tmpfs $LFS/run</userinput></screen> 75 76 <!-- 76 77 <variablelist> 77 78 <title>The meaning of the mount options for devpts:</title> … … 101 102 102 103 </variablelist> 103 104 --> 104 105 <para>In some host systems, <filename>/dev/shm</filename> is a 105 106 symbolic link to <filename class="directory">/run/shm</filename>.
Note:
See TracChangeset
for help on using the changeset viewer.