Changeset 350ab24 for BOOK/system-config
- Timestamp:
- Apr 28, 2014, 8:56:46 PM (12 years ago)
- Parents:
- 5c8e74d (diff), 31cfd067 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- BOOK/system-config
- Files:
-
- 22 moved
-
alpha-chapter.xml (moved) (moved from BOOK/bootscripts/alpha-chapter.xml ) (1 diff)
-
common/clock.xml (moved) (moved from BOOK/bootscripts/common/clock.xml )
-
common/console.xml (moved) (moved from BOOK/bootscripts/common/console.xml ) (1 diff)
-
common/inputrc.xml (moved) (moved from BOOK/bootscripts/common/inputrc.xml )
-
common/introduction.xml (moved) (moved from BOOK/bootscripts/common/introduction.xml ) (1 diff)
-
common/locale.xml (moved) (moved from BOOK/bootscripts/common/locale.xml ) (1 diff)
-
common/profile.xml (moved) (moved from BOOK/bootscripts/common/profile.xml )
-
common/symlinks.xml (moved) (moved from BOOK/bootscripts/common/symlinks.xml ) (1 diff)
-
common/udev.xml (moved) (moved from BOOK/bootscripts/common/udev.xml ) (5 diffs)
-
common/usage.xml (moved) (moved from BOOK/bootscripts/common/usage.xml ) (2 diffs)
-
mips-chapter.xml (moved) (moved from BOOK/bootscripts/mips-chapter.xml ) (1 diff)
-
mips64-64-chapter.xml (moved) (moved from BOOK/bootscripts/mips64-64-chapter.xml ) (1 diff)
-
mips64-chapter.xml (moved) (moved from BOOK/bootscripts/mips64-chapter.xml ) (1 diff)
-
ppc-chapter.xml (moved) (moved from BOOK/bootscripts/ppc-chapter.xml ) (1 diff)
-
ppc64-64-chapter.xml (moved) (moved from BOOK/bootscripts/ppc64-64-chapter.xml ) (1 diff)
-
ppc64-chapter.xml (moved) (moved from BOOK/bootscripts/ppc64-chapter.xml ) (1 diff)
-
sparc-chapter.xml (moved) (moved from BOOK/bootscripts/sparc-chapter.xml ) (1 diff)
-
sparc64-64-chapter.xml (moved) (moved from BOOK/bootscripts/sparc64-64-chapter.xml ) (1 diff)
-
sparc64-chapter.xml (moved) (moved from BOOK/bootscripts/sparc64-chapter.xml ) (1 diff)
-
x86-chapter.xml (moved) (moved from BOOK/bootscripts/x86-chapter.xml ) (1 diff)
-
x86_64-64-chapter.xml (moved) (moved from BOOK/bootscripts/x86_64-64-chapter.xml ) (1 diff)
-
x86_64-chapter.xml (moved) (moved from BOOK/bootscripts/x86_64-chapter.xml ) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
BOOK/system-config/alpha-chapter.xml
r5c8e74d r350ab24 6 6 ]> 7 7 8 <chapter id="chapter- bootscripts" xreflabel="Setting Up the System">9 <?dbhtml dir=" bootscripts"?>8 <chapter id="chapter-system-config" xreflabel="System Configuration"> 9 <?dbhtml dir="system-config"?> 10 10 <?dbhtml filename="chapter.html"?> 11 11 12 <title>S etting Up the System</title>12 <title>System Configuration</title> 13 13 14 14 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/> -
BOOK/system-config/common/console.xml
r5c8e74d r350ab24 17 17 <command>systemd-vconsole-setup</command> system service which configures 18 18 the virtual console font and console keymap. 19 19 20 20 The <command>systemd-vconsole-setup</command> service reads <filename> 21 21 /etc/vconsole.conf</filename> for configuration information. Decide which -
BOOK/system-config/common/introduction.xml
r5c8e74d r350ab24 12 12 13 13 <para>This chapter details how to finish configuring the base system. 14 Including some final configuration for Systemd and as well as locales and a15 simple bash profile that should be suitable for most users.</para>14 This includes some final configuration for Systemd as well as locales and 15 a simple bash profile that should be suitable for most users.</para> 16 16 17 17 </sect1> -
BOOK/system-config/common/locale.xml
r5c8e74d r350ab24 70 70 prior to it being added to <filename>/etc/locale.conf</filename>:</para> 71 71 72 <screen role="nodump"><userinput>LC_ALL=[locale name] locale territory 72 <screen role="nodump"><userinput>LC_ALL=[locale name] locale territory 73 73 LC_ALL=[locale name] locale language 74 74 LC_ALL=[locale name] locale charmap -
BOOK/system-config/common/symlinks.xml
r5c8e74d r350ab24 134 134 device.</para> 135 135 136 <para>More information on writing Udev rules can be found in137 <filename>/usr/share/doc/systemd-208/udev.html</filename>.</para>138 139 136 </sect2> 140 137 -
BOOK/system-config/common/udev.xml
r5c8e74d r350ab24 12 12 13 13 <indexterm zone="ch-scripts-udev"> 14 <primary sortas="a- Udev">Udev</primary>15 <secondary>u sage</secondary>14 <primary sortas="a-systemd">Systemd</primary> 15 <secondary>udev usage</secondary> 16 16 </indexterm> 17 17 … … 93 93 94 94 <sect3> 95 <title>Udev Bootscript</title>96 97 <para>The <command>S10udev</command> initscript takes care of creating98 device nodes when Linux is booted. The script unsets the uevent handler99 from the default of <command>/sbin/hotplug</command>. This is done100 because the kernel no longer needs to call out to an external binary.101 Instead <command>udevd</command> will listen on a netlink socket for102 uevents that the kernel raises. Next, the bootscript copies any static103 device nodes that exist in <filename104 class="directory">/lib/udev/devices</filename> to <filename105 class="directory">/dev</filename>. This is necessary because some devices,106 directories, and symlinks are needed before the dynamic device handling107 processes are available during the early stages of booting a system.108 Creating static device nodes in <filename109 class="directory">/lib/udev/devices</filename> also provides an easy110 workaround for devices that are not supported by the dynamic device111 handling infrastructure. The bootscript then starts the Udev daemon,112 <command>udevd</command>, which will act on any uevents it receives.113 Finally, the bootscript forces the kernel to replay uevents for any114 devices that have already been registered and then waits for115 <command>udevd</command> to handle them.</para>116 117 </sect3>118 119 <sect3>120 95 <title>Device Node Creation</title> 121 96 … … 129 104 <emphasis>0</emphasis>. The names and permissions of the nodes created 130 105 under the <filename class="directory">/dev</filename> directory are 131 determined by rules specified in the files within the <filename 132 class="directory">/etc/udev/rules.d/</filename> directory. These are 133 numbered in a similar fashion to the CLFS-Bootscripts package. If 134 <command>udevd</command> can't find a rule for the device it is creating, 135 it will default permissions to <emphasis>660</emphasis> and ownership to 136 <emphasis>root:root</emphasis>. Documentation on the syntax of the Udev 137 rules configuration files is available in 138 <filename>/usr/share/doc/udev/writing_udev_rules/index.html</filename></para> 106 determined by rules specified in the files within the 107 <filename class="directory">/lib/udev/rules.d</filename> and <filename 108 class="directory">/etc/udev/rules.d/</filename> directories. These files 109 have names that start with numbers, and are evaluated in numerical order. 110 If <command>udevd</command> can't find a rule for the device it is 111 creating, it will default permissions to <emphasis>660</emphasis> and 112 ownership to <emphasis>root:root</emphasis>. </para> 139 113 140 114 </sect3> … … 234 208 sound cards available to OSS applications), configure 235 209 <command>modprobe</command> to load the wrapper after Udev loads the 236 wrapped module. To do this, add an <quote>install</quote> line in237 <filename>/etc/modprobe.conf</filename>. For example:</para>210 wrapped module. To do this, add an <quote>install</quote> line to a file 211 in <filename>/etc/modprobe.d</filename>. For example:</para> 238 212 239 213 <screen role="nodump"><literal>install snd-pcm /sbin/modprobe -i snd-pcm ; \ 240 214 /sbin/modprobe snd-pcm-oss ; true</literal></screen> 241 215 242 <para>If the module in question is not a wrapper and is useful by itself,243 configure the <command>S05modules</command> bootscript to load this244 module on system boot. To do this, add the module name to the245 <filename>/etc/sysconfig/modules</filename> file on a separate line.246 This works for wrapper modules too, but is suboptimal in that case.</para>247 248 216 </sect3> 249 217 … … 252 220 253 221 <para>Either don't build the module, or blacklist it in 254 <filename>/etc/modprobe. conf</filename> file as done with the222 <filename>/etc/modprobe.d</filename> file as done with the 255 223 <emphasis>forte</emphasis> module in the example below:</para> 256 224 -
BOOK/system-config/common/usage.xml
r5c8e74d r350ab24 12 12 13 13 <indexterm zone="ch-scripts-usage"> 14 <primary sortas="a-systemd -usage">Systemd usage</primary>14 <primary sortas="a-systemd">Systemd</primary> 15 15 <secondary>usage</secondary></indexterm> 16 16 … … 22 22 <title>Introduction to Systemd</title> 23 23 24 24 25 25 <para>Systemd is a system management daemon designed exclusively for the 26 26 Linux kernel API. In the Linux startup process, it is the first process to -
BOOK/system-config/mips-chapter.xml
r5c8e74d r350ab24 6 6 ]> 7 7 8 <chapter id="chapter- bootscripts" xreflabel="Setting Up the System">9 <?dbhtml dir=" bootscripts"?>8 <chapter id="chapter-system-config" xreflabel="System Configuration"> 9 <?dbhtml dir="system-config"?> 10 10 <?dbhtml filename="chapter.html"?> 11 11 12 <title>S etting Up the System</title>12 <title>System Configuration</title> 13 13 14 14 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/> -
BOOK/system-config/mips64-64-chapter.xml
r5c8e74d r350ab24 6 6 ]> 7 7 8 <chapter id="chapter- bootscripts" xreflabel="Setting Up the System">9 <?dbhtml dir=" bootscripts"?>8 <chapter id="chapter-system-config" xreflabel="System Configuration"> 9 <?dbhtml dir="system-config"?> 10 10 <?dbhtml filename="chapter.html"?> 11 11 12 <title>S etting Up the System</title>12 <title>System Configuration</title> 13 13 14 14 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/> -
BOOK/system-config/mips64-chapter.xml
r5c8e74d r350ab24 6 6 ]> 7 7 8 <chapter id="chapter- bootscripts" xreflabel="Setting Up the System">9 <?dbhtml dir=" bootscripts"?>8 <chapter id="chapter-system-config" xreflabel="System Configuration"> 9 <?dbhtml dir="system-config"?> 10 10 <?dbhtml filename="chapter.html"?> 11 11 12 <title>S etting Up the System</title>12 <title>System Configuration</title> 13 13 14 14 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/> -
BOOK/system-config/ppc-chapter.xml
r5c8e74d r350ab24 6 6 ]> 7 7 8 <chapter id="chapter- bootscripts" xreflabel="Setting Up the System">9 <?dbhtml dir=" bootscripts"?>8 <chapter id="chapter-system-config" xreflabel="System Configuration"> 9 <?dbhtml dir="system-config"?> 10 10 <?dbhtml filename="chapter.html"?> 11 11 12 <title>S etting Up the System</title>12 <title>System Configuration</title> 13 13 14 14 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/> -
BOOK/system-config/ppc64-64-chapter.xml
r5c8e74d r350ab24 6 6 ]> 7 7 8 <chapter id="chapter- bootscripts" xreflabel="Setting Up System Bootscripts">9 <?dbhtml dir=" bootscripts"?>8 <chapter id="chapter-system-config" xreflabel="System Configuration"> 9 <?dbhtml dir="system-config"?> 10 10 <?dbhtml filename="chapter.html"?> 11 11 12 <title>S etting Up System Bootscripts</title>12 <title>System Configuration</title> 13 13 14 14 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/> -
BOOK/system-config/ppc64-chapter.xml
r5c8e74d r350ab24 6 6 ]> 7 7 8 <chapter id="chapter- bootscripts" xreflabel="Setting Up the System">9 <?dbhtml dir=" bootscripts"?>8 <chapter id="chapter-system-config" xreflabel="System Configuration"> 9 <?dbhtml dir="system-config"?> 10 10 <?dbhtml filename="chapter.html"?> 11 11 12 <title>S etting Up the System</title>12 <title>System Configuration</title> 13 13 14 14 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/> -
BOOK/system-config/sparc-chapter.xml
r5c8e74d r350ab24 6 6 ]> 7 7 8 <chapter id="chapter- bootscripts" xreflabel="Setting Up the System">9 <?dbhtml dir=" bootscripts"?>8 <chapter id="chapter-system-config" xreflabel="System Configuration"> 9 <?dbhtml dir="system-config"?> 10 10 <?dbhtml filename="chapter.html"?> 11 11 12 <title>S etting Up the System</title>12 <title>System Configuration</title> 13 13 14 14 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/> -
BOOK/system-config/sparc64-64-chapter.xml
r5c8e74d r350ab24 6 6 ]> 7 7 8 <chapter id="chapter- bootscripts" xreflabel="Setting Up the System">9 <?dbhtml dir=" bootscripts"?>8 <chapter id="chapter-system-config" xreflabel="System Configuration"> 9 <?dbhtml dir="system-config"?> 10 10 <?dbhtml filename="chapter.html"?> 11 11 12 <title>S etting Up the System</title>12 <title>System Configuration</title> 13 13 14 14 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/> -
BOOK/system-config/sparc64-chapter.xml
r5c8e74d r350ab24 6 6 ]> 7 7 8 <chapter id="chapter- bootscripts" xreflabel="Setting Up the System">9 <?dbhtml dir=" bootscripts"?>8 <chapter id="chapter-system-config" xreflabel="System Configuration"> 9 <?dbhtml dir="system-config"?> 10 10 <?dbhtml filename="chapter.html"?> 11 11 12 <title>S etting Up the System</title>12 <title>System Configuration</title> 13 13 14 14 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/> -
BOOK/system-config/x86-chapter.xml
r5c8e74d r350ab24 6 6 ]> 7 7 8 <chapter id="chapter- bootscripts" xreflabel="Setting Up the System">9 <?dbhtml dir=" bootscripts"?>8 <chapter id="chapter-system-config" xreflabel="System Configuration"> 9 <?dbhtml dir="system-config"?> 10 10 <?dbhtml filename="chapter.html"?> 11 11 12 <title>S etting Up the System</title>12 <title>System Configuration</title> 13 13 14 14 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/> -
BOOK/system-config/x86_64-64-chapter.xml
r5c8e74d r350ab24 6 6 ]> 7 7 8 <chapter id="chapter- bootscripts" xreflabel="Setting Up the System">9 <?dbhtml dir=" bootscripts"?>8 <chapter id="chapter-system-config" xreflabel="System Configuration"> 9 <?dbhtml dir="system-config"?> 10 10 <?dbhtml filename="chapter.html"?> 11 11 12 <title>S etting Up the System</title>12 <title>System Configuration</title> 13 13 14 14 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/> -
BOOK/system-config/x86_64-chapter.xml
r5c8e74d r350ab24 6 6 ]> 7 7 8 <chapter id="chapter- bootscripts" xreflabel="Setting Up the System">9 <?dbhtml dir=" bootscripts"?>8 <chapter id="chapter-system-config" xreflabel="System Configuration"> 9 <?dbhtml dir="system-config"?> 10 10 <?dbhtml filename="chapter.html"?> 11 11 12 <title>S etting Up the System</title>12 <title>System Configuration</title> 13 13 14 14 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
Note:
See TracChangeset
for help on using the changeset viewer.
