Changes in chapter09/udev.xml [360fdfca:b1774158]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter09/udev.xml
r360fdfca rb1774158 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 130 130 supported by a module. For example, the <emphasis>snd-fm801</emphasis> 131 131 driver supports PCI devices with vendor ID 0x1319 and device ID 0x0801, 132 and has an alias of < literal>pci:v00001319d00000801sv*sd*bc04sc01i*</literal>.132 and has an alias of <quote>pci:v00001319d00000801sv*sd*bc04sc01i*</quote>. 133 133 For most devices, the bus driver exports the alias of the driver that 134 134 would handle the device via <systemitem … … 136 136 <filename>/sys/bus/pci/devices/0000:00:0d.0/modalias</filename> file 137 137 might contain the string 138 < literal>pci:v00001319d00000801sv00001319sd00001319bc04sc01i00</literal>.138 <quote>pci:v00001319d00000801sv00001319sd00001319bc04sc01i00</quote>. 139 139 The default rules provided with udev will cause <command>udevd</command> 140 140 to call out to <command>/sbin/modprobe</command> with the contents of the … … 226 226 <literal>pre:</literal> dependencies, or a mixture of both 227 227 <literal>pre:</literal> and <literal>post:</literal> dependencies. See 228 the <ulink role='man' url='&man;modprobe.d.5'>modprobe.d(5)</ulink> 229 manual page for more information on <quote>softdep</quote> syntax and 230 capabilities.</para> 228 the <filename>modprobe.d(5)</filename> manual page for more information 229 on <quote>softdep</quote> syntax and capabilities.</para> 231 230 232 231 <para revision="sysv">If the module in question is not a wrapper and is … … 302 301 <para>This is due to the fact that udev, by design, handles uevents and 303 302 loads modules in parallel, and thus in an unpredictable order. This will 304 never be <quote>fixed .</quote>You should not rely upon the kernel device303 never be <quote>fixed</quote>. You should not rely upon the kernel device 305 304 names being stable. Instead, create your own rules that make symlinks with 306 305 stable names based on some stable attributes of the device, such as a
Note:
See TracChangeset
for help on using the changeset viewer.