Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jan 2012 07:48:12 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r230126 - stable/9/release/doc/en_US.ISO8859-1/errata
Message-ID:  <201201150748.q0F7mCNw069096@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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">



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201150748.q0F7mCNw069096>