FS#17567 - [hal] extracts incorrect volume name
Attached to Project:
Arch Linux
Opened by Byron Clark (byronc) - Monday, 21 December 2009, 05:02 GMT
Last edited by Eric Belanger (Snowman) - Monday, 21 December 2009, 06:40 GMT
Opened by Byron Clark (byronc) - Monday, 21 December 2009, 05:02 GMT
Last edited by Eric Belanger (Snowman) - Monday, 21 December 2009, 06:40 GMT
|
Details
Description: I have a Sansa Clip+ with a MicroSD card
inserted. The MicroSD card is usually found as /dev/sdc1
with label FuzeCard. hal-0.5.13-3 put the value 'FuzeCard'
in the volume.label field, while hal-0.5.14-1 puts garbage
in the field.
$ dosfslabel /dev/sdc1 FuzeCard $ lshal -u '/org/freedesktop/Hal/devices/volume_uuid_78EF_794A' udi = '/org/freedesktop/Hal/devices/volume_uuid_78EF_794A' block.device = '/dev/sdc1' (string) block.is_volume = true (bool) block.major = 8 (0x8) (int) block.minor = 33 (0x21) (int) block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_SanDisk_Sansa_Clip__8GB_BF1AFE146340B6A80000000000000000_0_1' (string) info.capabilities = {'volume', 'block'} (string list) info.category = 'volume' (string) info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list) info.parent = '/org/freedesktop/Hal/devices/storage_serial_SanDisk_Sansa_Clip__8GB_BF1AFE146340B6A80000000000000000_0_1' (string) info.product = 'xNT' (string) info.udi = '/org/freedesktop/Hal/devices/volume_uuid_78EF_794A' (string) linux.hotplug_type = 3 (0x3) (int) linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-6/1-6:1.0/host2/target2:0:0/2:0:0:1/block/sdc/sdc1' (string) org.freedesktop.Hal.Device.Volume.method_argnames = {'mount_point fstype extra_options', 'extra_options', 'extra_options'} (string list) org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject'} (string list) org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 'Eject'} (string list) org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'} (string list) volume.block_size = 512 (0x200) (int) volume.fstype = 'vfat' (string) volume.fsusage = 'filesystem' (string) volume.fsversion = 'FAT32' (string) volume.ignore = false (bool) volume.is_disc = false (bool) volume.is_mounted = true (bool) volume.is_mounted_read_only = false (bool) volume.is_partition = true (bool) volume.label = 'xNT' (string) volume.linux.is_device_mapper = false (bool) volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'relatime', 'noexec', 'quiet', 'remount', 'exec', 'utf8', 'shortname=', 'codepage=', 'iocharset=', 'umask=', 'dmask=', 'fmask=', 'uid=', 'flush'} (string list) volume.mount_point = '/media/xNT' (string) volume.num_blocks = 15556608 (0xed6000) (uint64) volume.partition.media_size = 7969177600 (0x1db000000) (uint64) volume.partition.number = 1 (0x1) (int) volume.partition.start = 4194304 (0x400000) (uint64) volume.size = 7964983296 (0x1dac00000) (uint64) volume.unmount.valid_options = {'lazy'} (string list) volume.uuid = '78EF-794A' (string) |
This task depends upon
Closed by Eric Belanger (Snowman)
Monday, 21 December 2009, 06:40 GMT
Reason for closing: Not a bug
Additional comments about closing: corrupt filesystem.
Monday, 21 December 2009, 06:40 GMT
Reason for closing: Not a bug
Additional comments about closing: corrupt filesystem.
$ blkid /dev/sdc1
/dev/sdc1: LABEL="x^RNT^EM- M-^A;M-hM-^Q3" UUID="78EF-794A" TYPE="vfat"