Fixed the storage policy file created in the HAL instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5514 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2006-01-02 01:04:22 +00:00
parent 1f93d11fb8
commit 75da594d10

View File

@ -337,17 +337,17 @@ should be in files contained in the /etc/hal/fdi/policy directories.
<deviceinfo version="0.2"> <deviceinfo version="0.2">
<device> <device>
<match key="info.udi" \ <match key="info.udi"
string="/org/freedesktop/Hal/devices/computer"> string="/org/freedesktop/Hal/devices/computer">
<!-- Set the iocharset variable in the /etc/fstab file entry --> <!-- Set the iocharset variable in the /etc/fstab file entry -->
<merge \ <merge
key="storage.policy.default.mount_option.iocharset=<replaceable>[iocharset]</replaceable>" \ key="storage.policy.default.mount_option.iocharset=<replaceable>[iocharset]</replaceable>"
type="bool"&gt;true&lt;/merge&gt; type="bool"&gt;true&lt;/merge&gt;
&lt;!-- Set the codepage variable in the /etc/fstab file entry --&gt; &lt;!-- Set the codepage variable in the /etc/fstab file entry --&gt;
&lt;merge \ &lt;merge
key="storage.policy.default.mount_option.codepage=<replaceable>[codepage]</replaceable>" \ key="storage.policy.default.mount_option.codepage=<replaceable>[codepage]</replaceable>"
type="bool"&gt;true&lt;/merge&gt; type="bool"&gt;true&lt;/merge&gt;
&lt;/match&gt; &lt;/match&gt;
@ -363,9 +363,8 @@ EOF</userinput></screen>
ease readability of the file, put everything between the ease readability of the file, put everything between the
&lt;angle brackets&gt; and &lt;merge&gt;&lt;/merge&gt; tags on one &lt;angle brackets&gt; and &lt;merge&gt;&lt;/merge&gt; tags on one
line. You must have at least one space character line. You must have at least one space character
<quote><keycap> </keycap></quote> where the backslashes where the ends of the lines were. The file would then look like this
<quote><keycap>\</keycap></quote> are. The file would then look like (trimmed at the top and bottom for brevity):</para>
this (trimmed at the top and bottom to show only changed lines):</para>
<screen><literal> &lt;device&gt; <screen><literal> &lt;device&gt;
&lt;match key="<replaceable>[text]</replaceable>" string="<replaceable>[text]</replaceable>"&gt; &lt;match key="<replaceable>[text]</replaceable>" string="<replaceable>[text]</replaceable>"&gt;