svn commit: r230126 - stable/9/release/doc/en_US.ISO8859-1/errata

Hiroki Sato hrs at FreeBSD.org
Sun Jan 15 07:48:13 UTC 2012


Author: hrs
Date: Sun Jan 15 07:48:12 2012
New Revision: 230126
URL: http://svn.freebsd.org/changeset/base/230126

Log:
  Document ugen devctl event change.

Modified:
  stable/9/release/doc/en_US.ISO8859-1/errata/article.sgml

Modified: stable/9/release/doc/en_US.ISO8859-1/errata/article.sgml
==============================================================================
--- stable/9/release/doc/en_US.ISO8859-1/errata/article.sgml	Sun Jan 15 07:09:18 2012	(r230125)
+++ stable/9/release/doc/en_US.ISO8859-1/errata/article.sgml	Sun Jan 15 07:48:12 2012	(r230126)
@@ -242,6 +242,27 @@ boot</screen>
       <filename>/boot/loader.conf</filename>:</para>
 
     <programlisting>debug.acpi.disabled="hostres"</programlisting>
+
+    <para>A &man.devctl.4; event upon arrival of a &man.ugen.4; device
+      has been changed.  The event now includes
+      <literal>ugen</literal> and <literal>cdev</literal> variables
+      instead of <literal>device-name</literal>.  This change can
+      prevent the following &man.devd.8; rule which worked in a
+      previous releases from working:</para>
+
+    <programlisting>attach 0 {
+	match "device-name" "ugen[0-9]+.[0-9]+";
+	action "/path/to/script /dev/$device-name";
+}</programlisting>
+
+    <para>This should be updated to the following:</para>
+
+    <programlisting>attach 0 {
+	match "subsystem" "DEVICE";
+	match "type" "ATTACH";
+	match "cdev" "ugen[0-9]+.[0-9]+";
+	action "/path/to/script /dev/$cdev";
+}</programlisting>
   </sect1>
 
   <sect1 id="late-news">


More information about the svn-src-stable-9 mailing list