nightmorph 09/01/26 09:28:37
Modified: udev-guide.xml
Log:
added info on network device renaming to udev guide, bug 255613
Revision Changes Path
1.49 xml/htdocs/doc/en/udev-guide.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/udev-guide.xml?rev=1.49&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/udev-guide.xml?rev=1.49&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/udev-guide.xml?r1=1.48&r2=1.49
Index: udev-guide.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/udev-guide.xml,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- udev-guide.xml 7 Sep 2008 01:41:53 -0000 1.48
+++ udev-guide.xml 26 Jan 2009 09:28:37 -0000 1.49
@@ -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/udev-guide.xml,v 1.48 2008/09/07 01:41:53 nightmorph Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/udev-guide.xml,v 1.49 2009/01/26 09:28:37 nightmorph Exp $ -->
<guide link="/doc/en/udev-guide.xml">
<title>Gentoo udev Guide</title>
@@ -23,8 +23,8 @@
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
<license/>
-<version>3</version>
-<date>2008-09-06</date>
+<version>4</version>
+<date>2009-01-26</date>
<chapter>
<title>What is udev?</title>
@@ -200,6 +200,8 @@
[*] Support for hot-pluggable devices
File systems --->
+ [*] Inotify file change notification support
+ [*] Inotify support for userspace
Pseudo filesystems --->
[*] /proc file system support
[*] Virtual memory file system support (former shm fs)
@@ -371,7 +373,7 @@
</body>
</section>
<section>
-<title>Device renaming</title>
+<title>Block device renaming</title>
<body>
<p>
@@ -399,6 +401,34 @@
</body>
</section>
<section>
+<title>Network device renaming</title>
+<body>
+
+<p>
+Sometimes unplugging and replugging a network device (like a USB WiFi card) can
+rename your net device each time, incrementing the number by one.
+</p>
+
+<p>
+When this happens, you'll see it become <c>wlan0</c>, <c>wlan1</c>,
+<c>wlan2</c>, etc. This is because udev is adding additional rules to its rules
+file, instead of reloading the existing rules. Since udev watches its rules
+directory via inotify, you need inotify support in your kernel config:
+</p>
+
+<pre caption="Enabling inotify support in the kernel">
+File systems --->
+ [*] Inotify file change notification support
+ [*] Inotify support for userspace
+</pre>
+
+<p>
+Now udev will retain proper names for your network devices.
+</p>
+
+</body>
+</section>
+<section>
<title>udev loads modules in an unpredictable order</title>
<body>
|