The udev event looks like this:

UDEV  [1238756110.231878] add      
/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2:1.0/host9/target9:0:0/9:0:0:0/block/sdf/sdf1
 (block)
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8.2/1-8.2:1.0/host9/target9:0:0/9:0:0:0/block/sdf/sdf1
SUBSYSTEM=block
DEVTYPE=partition
SEQNUM=1909
ID_VENDOR=OTi
ID_VENDOR_ENC=OTi\x20\x20\x20\x20\x20
ID_MODEL=Flash_Disk
ID_MODEL_ENC=Flash\x20Disk\x20\x20\x20\x20\x20\x20
ID_REVISION=1.11
ID_SERIAL=OTi_Flash_Disk_F3018E93E8BADA0-0:0
ID_SERIAL_SHORT=F3018E93E8BADA0
ID_TYPE=disk
ID_INSTANCE=0:0
ID_BUS=usb
ID_USB_INTERFACES=:080650:
ID_PATH=pci-0000:00:1d.7-usb-0:8.2:1.0-scsi-0:0:0:0
ID_FS_USAGE=filesystem
ID_FS_TYPE=vfat
ID_FS_VERSION=FAT32
ID_FS_UUID=6E13-F868
ID_FS_UUID_ENC=6E13-F868
ID_FS_LABEL=Pitti_USB
ID_FS_LABEL_ENC=Pitti\x20USB
DEVNAME=/dev/sdf1
MAJOR=8
MINOR=81
DEVLINKS=/dev/block/8:81 
/dev/disk/by-id/usb-OTi_Flash_Disk_F3018E93E8BADA0-0:0-part1 
/dev/disk/by-path/pci-0000:00:1d.7-usb-0:8.2:1.0-scsi-0:0:0:0-part1 
/dev/disk/by-uuid/6E13-F868 /dev/disk/by-label/Pitti\x20USB

Currently, hal uses ID_FS_LABEL, which gets the '_' smuggled in. Should
hal use ID_FS_LABEL_ENC instead and decode it somehow, or should udev
not mangle ID_FS_LABEL?

-- 
REGRESSION: volume labels have underscores instead of spaces
https://bugs.launchpad.net/bugs/347370
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to