Author: bdubbs
Date: 2007-10-29 20:22:29 -0600 (Mon, 29 Oct 2007)
New Revision: 8426
Modified:
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter06/createfiles.xml
trunk/BOOK/chapter07/symlinks.xml
Log:
Removed obsolete note from Creating Symlinks section about continuation lines
in udev rules. Changed dailout group to uucp for udev rule compatability.
Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml 2007-10-30 00:50:24 UTC (rev 8425)
+++ trunk/BOOK/chapter01/changelog.xml 2007-10-30 02:22:29 UTC (rev 8426)
@@ -40,6 +40,11 @@
<para>2007-10-29</para>
<itemizedlist>
<listitem>
+ <para>[bdubbs] - Removed obsolete note from Creating Symlinks section
+ about continuation lines in udev rules. Changed dailout group
+ to uucp for udev rule compatability.</para>
+ </listitem>
+ <listitem>
<para>[matthew] - Upgrade to the latest upstream patches for
Vim.</para>
</listitem>
Modified: trunk/BOOK/chapter06/createfiles.xml
===================================================================
--- trunk/BOOK/chapter06/createfiles.xml 2007-10-30 00:50:24 UTC (rev
8425)
+++ trunk/BOOK/chapter06/createfiles.xml 2007-10-30 02:22:29 UTC (rev
8426)
@@ -83,7 +83,7 @@
floppy:x:7:
disk:x:8:
lp:x:9:
-dialout:x:10:
+uucp:x:10:
audio:x:11:
video:x:12:
utmp:x:13:
Modified: trunk/BOOK/chapter07/symlinks.xml
===================================================================
--- trunk/BOOK/chapter07/symlinks.xml 2007-10-30 00:50:24 UTC (rev 8425)
+++ trunk/BOOK/chapter07/symlinks.xml 2007-10-30 02:22:29 UTC (rev 8426)
@@ -128,7 +128,7 @@
<para>Then write rules that create the symlinks, e.g.:</para>
-<screen role="nodump"><userinput>cat >
/etc/udev/rules.d/83-duplicate_devs.rules << EOF
+<screen role="nodump"><userinput>cat >
/etc/udev/rules.d/83-duplicate_devs.rules << "EOF"
<literal>
# Persistent symlinks for webcam and tuner
KERNEL=="video*", ATTRS{idProduct}=="1910", ATTRS{idVendor}=="0d81", \
@@ -138,18 +138,6 @@
</literal>
EOF</userinput></screen>
- <note>
- <para>Be aware that Udev does not recognize the backslash for line
- continuation. This example works properly because both the backslash
- and newline are ignored by the shell. This makes the shell send each
- rule to cat on only one line. (The shell ignores this sequence because
- the EOF string used in the here-document redirection is not enclosed in
- either double or single quotes. For more details, see the bash(1)
- manpage, and search it for "Here Documents".)</para>
- <para>If modifying Udev rules with an editor, be sure to leave each
- rule on one physical line.</para>
- </note>
-
<para>The result is that <filename>/dev/video0</filename> and
<filename>/dev/video1</filename> devices still refer randomly to the tuner
and the web camera (and thus should never be used directly), but there are
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page