/[gentoo]/xml/htdocs/doc/en/udev-guide.xml
Gentoo

Diff of /xml/htdocs/doc/en/udev-guide.xml

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

Revision 1.40 Revision 1.41
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 3
4<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/udev-guide.xml,v 1.40 2007/04/10 20:55:33 nightmorph Exp $ --> 4<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/udev-guide.xml,v 1.41 2007/06/05 19:14:13 nightmorph Exp $ -->
5 5
6<guide link="/doc/en/udev-guide.xml"> 6<guide link="/doc/en/udev-guide.xml">
7<title>Gentoo udev Guide</title> 7<title>Gentoo udev Guide</title>
8 8
9<author title="Author"> 9<author title="Author">
17This document explains what udev is and how you can use udev to fit your needs. 17This document explains what udev is and how you can use udev to fit your needs.
18</abstract> 18</abstract>
19 19
20<license/> 20<license/>
21 21
22<version>0.30</version> 22<version>0.31</version>
23<date>2007-04-10</date> 23<date>2007-06-05</date>
24 24
25<chapter> 25<chapter>
26<title>What is udev?</title> 26<title>What is udev?</title>
27<section> 27<section>
28<title>The /dev Directory</title> 28<title>The /dev Directory</title>
376</p> 376</p>
377 377
378</body> 378</body>
379</section> 379</section>
380<section> 380<section>
381<title>Device renaming</title>
382<body>
383
384<p>
385Recent versions of udev (104 and up) along with newer kernel versions (2.6.19
386and up) may change your disc device names, due to a change in the kernel's
387libata implementation. A CD-RW device at <path>/dev/hdc</path> may be changed to
388<path>/dev/sr0</path>. While this is not normally a problem, it may cause issues
389for some applications that are hardcoded to look for devices at other locations.
390For example, <c>media-sound/rip</c> expects to find discs at
391<path>/dev/cdrom</path>, which becomes a problem if you use a newer kernel and
392udev renames your device to <path>/dev/cdrom1</path>.
393</p>
394
395<p>
396To work around these issues, you must edit
397<path>/etc/udev/rules.d/70-persistent-cd.rules</path> and assign the correct
398name to the device.
399</p>
400
401<p>
402For more information on writing udev rules, be sure to read Daniel Drake's <uri
403link="http://www.reactivated.net/udevrules.php">guide</uri>.
404</p>
405
406</body>
407</section>
408<section>
381<title>Other issues</title> 409<title>Other issues</title>
382<body> 410<body>
383 411
384<p> 412<p>
385If device nodes are not created when a module is loaded from 413If device nodes are not created when a module is loaded from

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

  ViewVC Help
Powered by ViewVC 1.1.20