Randy McMurchy wrote:
Alexander E. Patrakov wrote these words on 12/31/05 09:26 CST:


While you are at it, please also configure HAL so that it uses the
"comment=managed" keyword in /etc/fstab and mounts VFAT correctly for
non-ISO-8859-1 users.


Would this perhaps be better in the locale-specific page?

How can I test that the "comment-managed" keyword in fstab will
mount VFAT correctly for non-ISO-8859-1 users?

> Why can't we make it so that using the "comment=managed" works
> for all users?

Sorry. I made two proposals in one mail, and confused you.

Proposal 1:

<merge key="storage.policy.default.mount_root"
type="string">/media</merge>
  <merge key="storage.policy.default.use_managed_keyword"
type="bool">true</merge>
  <merge key="storage.policy.default.managed_keyword.primary"
type="string">comment=managed</merge>
  <merge key="storage.policy.default.managed_keyword.secondary"
type="string">kudzu</merge>

This works for all users, and you should be able to test it by plugging your flash drive in, seeing that the fstab line appears, removing it, and seeing that the line disappears.

Proposal 2:

<merge
key="storage.policy.default.mount_option.iocharset=[replaceme]"
type="bool">true</merge>
  <merge key="storage.policy.default.mount_option.codepage=[replaceme]"
type="bool">true</merge>

This requires per-site configuration, since the correct values for [replaceme] depend on the locale. You can add:

<merge
key="storage.policy.default.mount_option.iocharset=iso8859-1"
type="bool">true</merge>
  <merge key="storage.policy.default.mount_option.codepage=437"
type="bool">true</merge>

and see that the "iocharset=iso8859-1,codepage=437" options (that match the kernel defaults appropriate fro en_US) appear in the fstab line for your flash drive. If you want instructions to see how different values of those options are needed for a different locale, please say so.

Understand, I have no issues with what you're saying here. I'd
like to be able to do this stuff you are recommending, so that I
am more qualified to present the information intelligently on the
HAL page.

Thanks for your good intentions.

--
Alexander E. Patrakov
Don't mail to [EMAIL PROTECTED]: the server is off until 2006-01-11
Use my GMail or linuxfromscratch address instead
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to