nightmorph 09/02/11 09:09:40 Modified: openrc-migration.xml Log: added udev bit to the openrc migration guide, bug 253396
Revision Changes Path 1.13 xml/htdocs/doc/en/openrc-migration.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/openrc-migration.xml?rev=1.13&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/openrc-migration.xml?rev=1.13&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/openrc-migration.xml?r1=1.12&r2=1.13 Index: openrc-migration.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- openrc-migration.xml 5 Oct 2008 08:42:44 -0000 1.12 +++ openrc-migration.xml 11 Feb 2009 09:09:40 -0000 1.13 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.12 2008/10/05 08:42:44 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.13 2009/02/11 09:09:40 nightmorph Exp $ --> <guide link="/doc/en/openrc-migration.xml"> <title>Baselayout and OpenRC Migration Guide</title> @@ -24,8 +24,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>1.7</version> -<date>2008-09-11</date> +<version>1.8</version> +<date>2009-02-11</date> <chapter> <title>Background</title> @@ -245,6 +245,33 @@ </body> </section> <section> +<title>Udev</title> +<body> + +<p> +OpenRC no longer starts <c>udev</c> by default, but it does need to be present +in the <c>sysfs</c> runlevel to be started. The OpenRC ebuild should detect if +<c>udev</c> was previously enabled and add it to the <c>sysfs</c> runlevel. +However, to be safe, check if <c>udev</c> is present: +</p> + +<pre caption="Verifying udev"> +# <i>ls -l /etc/runlevels/sysfs</i> +lrwxrwxrwx 1 root root 14 2009-01-29 08:00 /etc/runlevels/sysfs/udev -> \ +/etc/init.d/udev +</pre> + +<p> +If <c>udev</c> is not listed, add it to the correct runlevel: +</p> + +<pre caption="Adding udev to the sysfs runlevel"> +# <i>rc-update add udev sysfs</i> +</pre> + +</body> +</section> +<section> <title>Network</title> <body>