From 8857ace2491d464e80adaa778319038c82f0ff06 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Tue, 30 Oct 2007 02:22:29 +0000 Subject: Removed obsolete note from Creating Symlinks section about continuation lines in udev rules. Changed dailout group to uucp for udev rule compatability. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8426 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter07/symlinks.xml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'chapter07/symlinks.xml') diff --git a/chapter07/symlinks.xml b/chapter07/symlinks.xml index 3abd34932..4b0aafeed 100644 --- a/chapter07/symlinks.xml +++ b/chapter07/symlinks.xml @@ -128,7 +128,7 @@ Then write rules that create the symlinks, e.g.: -cat > /etc/udev/rules.d/83-duplicate_devs.rules << EOF +cat > /etc/udev/rules.d/83-duplicate_devs.rules << "EOF" # Persistent symlinks for webcam and tuner KERNEL=="video*", ATTRS{idProduct}=="1910", ATTRS{idVendor}=="0d81", \ @@ -138,18 +138,6 @@ KERNEL=="video*", ATTRS{device}=="0x036f", ATTRS{vendor}=="0x109e", \ EOF - - 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".) - If modifying Udev rules with an editor, be sure to leave each - rule on one physical line. - - The result is that /dev/video0 and /dev/video1 devices still refer randomly to the tuner and the web camera (and thus should never be used directly), but there are -- cgit v1.2.3-54-g00ecf