- Timestamp:
- 09/05/2004 04:23:58 PM (20 years ago)
- Branches:
- 6.0
- Children:
- 76a4fc3
- Parents:
- 752f4e5
- Location:
- chapter07
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/bootscripts.xml
r752f4e5 r9876d9e 4 4 %general-entities; 5 5 ]> 6 <sect1 id="ch-scripts-bootscripts" xreflabel="Bootscripts"role="wrap">6 <sect1 id="ch-scripts-bootscripts" role="wrap"> 7 7 <title>LFS-Bootscripts-&bootscripts-version;</title> 8 8 <?dbhtml filename="bootscripts.html"?> -
chapter07/console.xml
r752f4e5 r9876d9e 46 46 EOF</userinput></screen> 47 47 48 <note><para>The FONTline above is correct only for the ISO 8859-1548 <note><para>The <envar>FONT</envar> line above is correct only for the ISO 8859-15 49 49 character set. If using ISO 8859-1 and, therefore, a pound sign 50 instead of Euro, the correct FONTline is:</para>50 instead of Euro, the correct <envar>FONT</envar> line is:</para> 51 51 52 52 <screen><userinput>FONT="lat1-16"</userinput></screen></note> 53 53 54 <para>If the KEYMAP or FONTvariable is not set, the54 <para>If the <envar>KEYMAP</envar> or <envar>FONT</envar> variable is not set, the 55 55 <command>console</command> initscript will not run the corresponding 56 56 program.</para> … … 88 88 <para>To compile the keymap directly into the kernel instead of 89 89 setting it every time from the <command>console</command> bootscript, 90 follow the instructions given in <xref linkend="ch-bootable-kernel" />.90 follow the instructions given in <xref linkend="ch-bootable-kernel" role="."/> 91 91 Doing this ensures that the keyboard will always work as expected, 92 92 even when booting into maintenance mode (by passing … … 99 99 100 100 <para>Since the kernel will set up the keymap, it is possible to omit 101 the KEYMAPvariable from the101 the <envar>KEYMAP</envar> variable from the 102 102 <filename>/etc/sysconfig/console</filename> configuration file. It can 103 103 also be left in place, if desired, without consequence. Keeping it -
chapter07/inputrc.xml
r752f4e5 r9876d9e 12 12 <para>The <filename>/etc/inputrc</filename> file deals with mapping 13 13 the keyboard for specific situations. This file is the start-up file 14 used by <application> readline</application>, the input-related14 used by <application>Readline</application>, the input-related 15 15 library used by <application>Bash</application> and most other 16 16 shells.</para> -
chapter07/network.xml
r752f4e5 r9876d9e 54 54 55 55 <para>The values of these variables must be changed in every file to 56 match the proper setup. If the <e mphasis>ONBOOT</emphasis> variable is56 match the proper setup. If the <envar>ONBOOT</envar> variable is 57 57 set to <quote>yes</quote> the network script will bring up the 58 58 Network Interface Card (NIC) during booting of the system. If set … … 60 60 network script and not brought up.</para> 61 61 62 <para>The <e mphasis>SERVICE</emphasis> variable defines the method of62 <para>The <envar>SERVICE</envar> variable defines the method of 63 63 obtaining the IP address. The LFS bootscripts have a modular IP 64 64 assignment format, and creating additional files in the <filename … … 67 67 for Dynamic Host Configuration Protocol (DHCP), which is addressed in the BLFS book.</para> 68 68 69 <para>The <e mphasis>GATEWAY</emphasis> variable should contain69 <para>The <envar>GATEWAY</envar> variable should contain 70 70 the default gateway IP address, if one is present. If not, then comment out 71 71 the variable entirely.</para> 72 72 73 <para>The <e mphasis>PREFIX</emphasis> variable needs to contain the73 <para>The <envar>PREFIX</envar> variable needs to contain the 74 74 number of bits used in the subnet. Each octet in an IP address is 8 75 75 bits. If the subnet's netmask is 255.255.255.0, then it is using the -
chapter07/profile.xml
r752f4e5 r9876d9e 53 53 </itemizedlist> 54 54 55 <para>This script also sets the <e mphasis>INPUTRC</emphasis>55 <para>This script also sets the <envar>INPUTRC</envar> 56 56 environment variable that makes <application>Bash</application> and 57 57 <application>Readline</application> use the -
chapter07/setclock.xml
r752f4e5 r9876d9e 35 35 months.</para> 36 36 37 <para>Change the value of the <e mphasis>UTC</emphasis> variable below37 <para>Change the value of the <envar>UTC</envar> variable below 38 38 to a value of <parameter>0</parameter> (zero) if the hardware clock 39 39 is <emphasis>not</emphasis> set to UTC time.</para> … … 52 52 <para>A good hint explaining how to deal with time on LFS is available 53 53 at <ulink url="&hints-root;time.txt"/>. It explains issues such as 54 time zones, UTC, and the TZenvironment variable.</para>54 time zones, UTC, and the <envar>TZ</envar> environment variable.</para> 55 55 56 56 </sect1> -
chapter07/udev.xml
r752f4e5 r9876d9e 12 12 <secondary>usage</secondary></indexterm> 13 13 14 <para>In <xref linkend="chapter-building-system"/>, we installed the udev14 <para>In <xref linkend="chapter-building-system"/>, we installed the Udev 15 15 package. Before we go into the details regarding how this works, 16 16 a brief history of previous methods of handling devices is in … … 23 23 devices actually exist. This is typically done via a 24 24 <command>MAKEDEV</command> script, which contains a number of 25 calls to the 'mknod'program with the relevant major and minor device25 calls to the <command>mknod</command> program with the relevant major and minor device 26 26 numbers for every possible device that might exist in the world. Using 27 27 the udev method, only those devices which are detected by the kernel … … 182 182 devices nodes:</para> 183 183 184 <para>1) A kernel driver may not export its data to sysfs</para> 184 <para>1) A kernel driver may not export its data to <systemitem 185 class="filesystem">sysfs</systemitem>.</para> 185 186 186 187 <para>This is most common with third party drivers from outside the … … 205 206 <quote>install</quote> line in 206 207 <filename>/etc/modprobe.conf</filename>. This tells the 207 modprobe command <quote>when loading this module, also load this other 208 module, at the same time.</quote> For example:</para>208 <command>modprobe</command> command <quote>when loading this module, 209 also load this other module, at the same time.</quote> For example:</para> 209 210 210 211 <screen><userinput>install snd-pcm modprobe -i snd-pcm ; modprobe \
Note:
See TracChangeset
for help on using the changeset viewer.