Randy McMurchy wrote these words on 01/01/06 11:31 CST:
> 7) Added information in the Configuration section about creating and
> populating the /etc/hal/fdi/policy/30user/30user-policy.fdi file to
> support the iocharset and codepage stuff.
Mostly to Alexander, FYI to everyone else. Here is what is most
likely to end up in the book (or at least a modified version of
it. Alex, could you review the text, and the comments in the
created file and see if they need to be modified, or anything else
needs to be added?
Here is the text:
No configuration is necessary for the majority of installations on
systems configured with ISO-8859-1 compatible locales. The defaults
should work just fine. For some installations, tweaking of the
various policies may be required. One such configuration change
necessary in some locales is identifying the iocharset and codepage
variables in the /etc/fstab entries created by the fstab-sync
program. If changes are required to the configuration so that your
locale is properly identified in the entries created in /etc/fstab,
issue the following commands as the root user (you must substitute
the proper data for the [iocharset] and [codepage] info:
And here is the created file:
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<!--
This file is used to set custom options to the HAL policy settings.
The default policy settings are defined in files contained in the
/usr/share/hal/fdi/policy directories. User defined customizations
should be in files contained in the /etc/hal/fdi/policy directories.
-->
<deviceinfo version="0.2">
<device>
<match key="info.udi" \
string="/org/freedesktop/Hal/devices/computer">
<!-- Set the iocharset variable in the /etc/fstab file entry -->
<merge \
key="storage.policy.default.mount_option.iocharset=[iocharset]" \
type="bool">true</merge>
<!-- Set the codepage variable in the /etc/fstab file entry -->
<merge \
key="storage.policy.default.mount_option.codepage=[codepage]" \
type="bool">true</merge>
</match>
</device>
</deviceinfo>
--
Randy
rmlscsi: [GNU ld version 2.15.94.0.2 20041220] [gcc (GCC) 3.4.3]
[GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686]
15:16:01 up 99 days, 40 min, 3 users, load average: 1.40, 1.09, 0.68
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page