aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/symlinks.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07/symlinks.xml')
-rw-r--r--chapter07/symlinks.xml14
1 files changed, 10 insertions, 4 deletions
diff --git a/chapter07/symlinks.xml b/chapter07/symlinks.xml
index d19ce4155..e8a27d7ef 100644
--- a/chapter07/symlinks.xml
+++ b/chapter07/symlinks.xml
@@ -43,10 +43,16 @@ SUBSYSTEM=="block", ENV{ID_MODEL}=="PHILIPS_CDD5301", \
EOF</userinput></screen>
<note>
- <para>Although the examples in this book work properly, be aware
- that Udev does not recognize the backslash for line continuation.
- If modifying Udev rules with an editor, be sure to leave each rule
- on one physical line.</para>
+ <para>Be aware that Udev does not recognize the backslash for line
+ continuation. The examples in this book work 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>This way, the symlinks will stay correct even if you move the drives