UTF-8 volume.label problems

S.Çağlar Onur caglar at pardus.org.tr
Wed Nov 8 16:20:15 PST 2006


Hi;

If a volume has a utf-8 label, hal somehow can't handle and so for example KDE 
or hal-storage-mount can't mount these volumes. Here is the demonstration of  
problems, that CD labeled as "üğişçöıİÜĞŞÇÖ", all are valid utf-8 Turkish 
chars.

cd-info reports right label,

...
CD Analysis Report
CD-ROM with ISO 9660 filesystem and joliet extension level 3
ISO 9660: 51274 blocks, label `üğişçöıİÜĞŞÇÖ       '
Application: K3B THE CD KREATOR (C) 1998-2005 SEBASTIAN TRUEG AND THE K3B TEAM
Preparer   :
Publisher  :
System     : LINUX
Volume     : üğişçöıİÜĞŞÇÖ
Volume Set :

but lshal output,

udi 
= '/org/freedesktop/Hal/devices/volume_label________i_____________________'
...
  volume.label = 'üÄ_iÅ_çöıİÃ'  (string)
...
  volume.mount_point = '/media/üÄ_iÅ_çöıİÃ-1'  (string)
...
  info.product = 'üÄ_iÅ_çöıİÃ'  (string)
...
  info.udi 
= '/org/freedesktop/Hal/devices/volume_label________i_____________________'  
(string)
...

As a result hal-storage-mount try to use volume.mount_point (because its 
there) as a mount point and it fails because of these buggy chars. Any hint 
what may the problem?

Cheers
-- 
S.Çağlar Onur <caglar at pardus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20061109/4d4dc0a2/attachment.pgp


More information about the hal mailing list