/[gentoo]/xml/htdocs/doc/en/openrc-migration.xml
Gentoo

Diff of /xml/htdocs/doc/en/openrc-migration.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.20 Revision 1.21
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.20 2011/01/13 03:19:01 robbat2 Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.21 2011/01/13 03:34:13 robbat2 Exp $ -->
4 4
5<guide link="/doc/en/openrc-migration.xml"> 5<guide link="/doc/en/openrc-migration.xml">
6<title>Baselayout and OpenRC Migration Guide</title> 6<title>Baselayout and OpenRC Migration Guide</title>
7 7
8<author title="Author"> 8<author title="Author">
165In the above examples, the modules and their parameters would only be passed 165In the above examples, the modules and their parameters would only be passed
166to 2.6.x series kernels. The new configuration allows for fine grained 166to 2.6.x series kernels. The new configuration allows for fine grained
167control over the modules and parameters based on kernel version. 167control over the modules and parameters based on kernel version.
168</p> 168</p>
169 169
170<impo>
171The <b>module*</b> variables are not cumulative. The more version-specific
172variables will override the more general variables.
173</impo>
174
175<note>
176Please note the difference between <b>module_</b> and <b>modules_</b>.
177</note>
178
170<p> 179<p>
171An in-depth example would be: 180An in-depth example would be:
172</p> 181</p>
173 182
174<pre caption="detailed example of /etc/conf.d/modules"> 183<pre caption="detailed example of /etc/conf.d/modules">
175<comment># Always load ochi1394 and ieee1394, no matter the kernel version</comment>
176modules="ohci1394 ieee1394"
177<comment># Only load tun and usbserial for 2.6.x series kernels</comment>
178modules_2_6="tun usbserial"
179<comment># Only load cx88_dvb for 2.6.23 kernels</comment>
180modules_2_6_23="cx88_dvb"
181<comment># Only load ivtv for 2.6.23-gentoo-r5</comment> 184<comment># Only load ivtv for 2.6.23-gentoo-r5</comment>
182modules_2_6_23_gentoo_r5="ivtv" 185modules_2_6_23_gentoo_r5="ivtv"
186<comment># Only load cx88_dvb for 2.6.23 kernels (other than -gentoo-r5)</comment>
187modules_2_6_23="cx88_dvb"
188<comment># Only load tun and usbserial for 2.6.x series kernels where x != 23</comment>
189modules_2_6="tun usbserial"
190<comment># Otherwise load ochi1394 and ieee1394</comment>
191modules="ohci1394 ieee1394"
183 192
184<comment># For 2.6.23-gentoo-r5, pass video_br=2 to cx88_dvb</comment> 193<comment># For 2.6.23-gentoo-r5, pass video_br=2 to cx88_dvb</comment>
185module_cx88_dvb_args_2_6_23_gentoo_r5="video_br=2" 194module_cx88_dvb_args_2_6_23_gentoo_r5="video_br=2"
186<comment># For 2.6.x series kernels, always pass vendor and product</comment> 195<comment># For 2.6.x series kernels, always pass vendor and product</comment>
187module_usbserial_args_2_6="vendor=0x1410 product=0x2110" 196module_usbserial_args_2_6="vendor=0x1410 product=0x2110"
188<comment># Always pass debug to ieee1394</comment> 197<comment># Always pass debug to ieee1394</comment>
189module_ieee1394_args="debug" 198module_ieee1394_args="debug"
190</pre> 199</pre>
191
192<impo>
193The <b>module*</b> variables are not cumulative. The more version-specific
194variables will override the more general variables.
195</impo>
196
197<note>
198Please note the difference between <b>module_</b> and <b>modules_</b>.
199</note>
200 200
201</body> 201</body>
202</section> 202</section>
203<section id="boot"> 203<section id="boot">
204<title>Boot runlevel</title> 204<title>Boot runlevel</title>

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.20