Package: hal Version: 0.5.8.1-4 Severity: normal A USB HDD with a vfat partiton is not mounted with the "utf8" option. Therefore polish diactric characters are displayed as two squares.
Consultation in #hal on freenode suggested that those options are
missing in the <match key="volume.fstype" string="vfat"> section:
<merge key="volume.policy.mount_option.iocharset=utf8"
type="bool">true</merge>
<merge key="volume.policy.mount_option.quiet" type="bool">true</merge>
(Thanks to robtaylor)
The drive is mounted with the following options:
/dev/sdb2 on /media/usbhdd1 type vfat
(rw,noexec,nosuid,nodev,uid=1000,user=knt)
(I have an entry for /dev/sdb2 in my /etc/fstab, and I could easily add
"utf8" there, but the problem will reappear if my USB drive will be
remapped to another device)
lshal:
udi = '/org/freedesktop/Hal/devices/volume_uuid_7121_1957'
volume.policy.mount_option.noatime = false (bool)
volume.policy.mount_option.sync = false (bool)
volume.unmount.valid_options = {'lazy'} (string list)
volume.mount.valid_options = {'ro', 'sync', 'dirsync',
noatime', 'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'utf8',
'shortname=',
$
org.freedesktop.Hal.Device.Volume.method_execpaths =
{'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject'} (string
list)
org.freedesktop.Hal.Device.Volume.method_argnames = {'mount_point fstype
extra_options', 'extra_options', 'extra_options'} (string list)
org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'}
(string list)
org.freedesktop.Hal.Device.Volume.method_names =
{'Mount', 'Unmount', 'Eject'} (string list)
info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
volume.ignore = false (bool)
info.udi = '/org/freedesktop/Hal/devices/volume_uuid_7121_1957' (string)
volume.partition.flags = {} (string list)
volume.partition.uuid = '' (string)
volume.partition.label = '' (string)
volume.partition.type = '0x0b' (string)
volume.partition.scheme = 'mbr' (string)
info.product = 'Volume (vfat)' (string)
volume.partition.media_size = 80026361856 (0x12a1f16000) (uint64)
volume.partition.start = 21476206080 (0x50014e600) {uint64)
volume.size = 58547543040 {0xda1b49c00) (uint64)
volume.num_blocks = 114350670 (0x6d0da4e) (int)
volume.block_size = 512 (0x200) (int)
volume.partition.number = 2 (0x2) (int)
info.capabilities = {'volume', 'block'} (string list)
info.category = 'volume' (string)
volume.is_partition = true (bool)
volume.is_disc = false (bool)
volume.linux.is_device_mapper = false (bool)
volume.is_mounted_read_only = false (bool)
volume.is_mounted = true (bool)
volume.mount_point = '/media/usbhdd1' (string)
volume.label = '' (string)
volume.uuid = '7121-1957' (string)
volume.fsversion = 'FAT32' (string)
volume.fsusage = 'filesystem' (string)
volume.fstype = 'vfat' (string)
storage.model = '' (string)
block.storage_device
=
'/org/freedesktop/Hal/devices/storage_serial_ITE_TECH__INC__TOSHIBA_MK8025GA_0B4911000391'
(string)
block.is_volume = true (bool)
block.minor = 18 (0x12) (int)
block.major = 8 (0x8) (int)
block.device = '/dev/sdb2' (string)
linux.hotplug_type = 3 (0x3) (int)
info.parent
=
'/org/freedesktop/Hal/devices/storage_serial_ITE_TECH__INC__TOSHIBA_MK8025GA_0B4911000391'
(string)
linux.sysfs_path_device = '/sys/block/sdb/sdb2' (string)
linux.sysfs_path = '/sys/block/sdb/sdb2' (string)
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (1000, 'testing'), (600, 'stable'), (500, 'proposed-updates'),
(500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.2
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Versions of packages hal depends on:
ii adduser 3.100 Add and remove users and groups
ii dbus 1.0.2-1 simple interprocess messaging
syst
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii libdbus-1-3 1.0.2-1 simple interprocess messaging
syst
ii libdbus-glib-1-2 0.71-3 simple interprocess messaging
syst
ii libexpat1 1.95.8-3.3 XML parsing C library - runtime
li
ii libglib2.0-0 2.12.4-2 The GLib library of C routines
ii libhal-storage1 0.5.8.1-4 Hardware Abstraction Layer -
share
ii libhal1 0.5.8.1-4 Hardware Abstraction Layer -
share
ii libusb-0.1-4 2:0.1.12-2 userspace USB programming library
ii libvolume-id0 0.103-1 libvolume_id shared library
ii lsb-base 3.1-22 Linux Standard Base 3.1 init
scrip
ii pciutils 1:2.2.4~pre4-1 Linux PCI Utilities
ii udev 0.103-1 /dev/ and hotplug management
daemo
ii usbutils 0.72-7 USB console utilities
Versions of packages hal recommends:
ii eject 2.1.4-2.1 ejects CDs and operates
CD-Changer
-- no debconf information
--
/-----Powered by Debian------<< |< |/| -|- >>-------------------------\
| http://knt.smrod.org/ ~ Reg.Linux User: 300900 |
| FLUG, CK-LUG member~Member of CKSS, a polish AA:SF clan: ckss.one.pl|
\---------------------------------------------------------------------/
pgpqpBlIT3rUc.pgp
Description: PGP signature

