How do I add utf8 to a certain mounted device?

Andrey Borzenkov arvidjaar at mail.ru
Sat Jul 1 21:51:14 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 02 July 2006 02:51, Xamindar wrote:
> I have searched the web all day for the answer but all I can find is
> stuff about fstab-sync, old versions of hal.
>
> I have a Zaurus that mounts as a usb flash drive.  I need it to mount
> with utf8 so I can read and copy over filenames that are in Japanese.
> At the moment I have to unmount it when hal mounts it and mount it
> manually with the option.
>
> Is there a way to have Hal mount this device with utf-8?  If not then
> I'm fine with having all my usb sticks mounted with utf-8.
>

well, gnome-volume-manager checks for user locale and adds "utf8" option if 
locale charset is UTF-8 (unless it using gnome-mount which does nothing of 
the sort). KDE media manager in 3.5.4 (I know it is not yet released) allows 
setting per-device utf8 option and for quite funny reasons defaults to it for 
all filesystems. You may check other clients what they do, ivman should allow 
you to specify options but it has other issues.

Unfortunately none of them either do automatically or allow setting 
of "codepage" which is mandatory for VFAT; which means that at this point 
mounting of VFAT containing Russian characters is effectively broken for me :
( Nor does any of them allow _any_ form of free customization (e.g. KDE 
volume manager e.g. allows only limited subset of options to be selected; 
g-v-m with or without g-m do not allow mount options configuration); so I am 
no more able to use options I have been using with old fstab-sync based HAL.

> By the way, where is the documentation for hal?  I can't find much at
> all, and the stuff I do find is distribution specific and outdated.
>

Well, some is on freedesktop.org, but as usual mostly it is source code ...

- -andrey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEp1DDR6LMutpd94wRAoxxAKDO9C304U+OpSbLQMou3ouLOh8t4QCglIxK
S+syF0ePR/gzfs96coHETyc=
=rabt
-----END PGP SIGNATURE-----


More information about the hal mailing list