You are not logged in.

#1 2007-08-01 15:56:43

mortan
Member
Registered: 2007-07-20
Posts: 8

mount ext. hard drive with right locale

Hi there!

I have some problems getting my external hard drive mounted in the right way. I use this piece of code for HAL to get my drive mounted with the ntfs-3g driver:

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<!-- mount ntfs volume with the ntfs-3g driver to enable write support -->
    <device>
        <match key="volume.fstype" string="ntfs">
            <match key="@block.storage_device:storage.hotpluggable" bool="true">
                <merge key="volume.fstype" type="string">ntfs-3g</merge>
                <merge key="volume.policy.mount_filesystem" type="string">ntfs-3g</merge>
                <append key="volume.mount.valid_options" type="strlist">locale=de_DE.UTF-8</append>
            </match>
        </match>
    </device>
</deviceinfo>

Works  quite well, unfortunately the drive is not mounted with the right locale so that all files with language special characters are "hidden" (not there, ignored... whatever).

Mounting it manually works good:

mount /dev/sdd1 /mnt/tmp1/ -t ntfs-3g -o locale=de_DE.UTF-8

Any tips for me?

Regards

Offline

Board footer

Powered by FluxBB