nightmorph 07/06/05 19:14:13 Modified: udev-guide.xml Log: added another FAQ for bug 177105
Revision Changes Path 1.41 xml/htdocs/doc/en/udev-guide.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/udev-guide.xml?rev=1.41&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/udev-guide.xml?rev=1.41&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/udev-guide.xml?r1=1.40&r2=1.41 Index: udev-guide.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/udev-guide.xml,v retrieving revision 1.40 retrieving revision 1.41 diff -u -r1.40 -r1.41 --- udev-guide.xml 10 Apr 2007 20:55:33 -0000 1.40 +++ udev-guide.xml 5 Jun 2007 19:14:13 -0000 1.41 @@ -1,7 +1,7 @@ <?xml version='1.0' encoding="UTF-8"?> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/udev-guide.xml,v 1.40 2007/04/10 20:55:33 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/udev-guide.xml,v 1.41 2007/06/05 19:14:13 nightmorph Exp $ --> <guide link="/doc/en/udev-guide.xml"> <title>Gentoo udev Guide</title> @@ -19,8 +19,8 @@ <license/> -<version>0.30</version> -<date>2007-04-10</date> +<version>0.31</version> +<date>2007-06-05</date> <chapter> <title>What is udev?</title> @@ -378,6 +378,34 @@ </body> </section> <section> +<title>Device renaming</title> +<body> + +<p> +Recent versions of udev (104 and up) along with newer kernel versions (2.6.19 +and up) may change your disc device names, due to a change in the kernel's +libata implementation. A CD-RW device at <path>/dev/hdc</path> may be changed to +<path>/dev/sr0</path>. While this is not normally a problem, it may cause issues +for some applications that are hardcoded to look for devices at other locations. +For example, <c>media-sound/rip</c> expects to find discs at +<path>/dev/cdrom</path>, which becomes a problem if you use a newer kernel and +udev renames your device to <path>/dev/cdrom1</path>. +</p> + +<p> +To work around these issues, you must edit +<path>/etc/udev/rules.d/70-persistent-cd.rules</path> and assign the correct +name to the device. +</p> + +<p> +For more information on writing udev rules, be sure to read Daniel Drake's <uri +link="http://www.reactivated.net/udevrules.php">guide</uri>. +</p> + +</body> +</section> +<section> <title>Other issues</title> <body> -- [EMAIL PROTECTED] mailing list
