UTF-8 volume.label problems

Kay Sievers kay.sievers at vrfy.org
Wed Nov 8 23:50:52 PST 2006


On 11/9/06, S.Çağlar Onur <caglar at pardus.org.tr> wrote:
> 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?

What does:
  /lib/udev/vol_id --export /dev/cdrom
print?

Kay


More information about the hal mailing list