Glib function g_volume_get_mount always return NULL. More debug info from my local git: bash-4.1$ umount /media/uba1/; mount; echo; LC_ALL=C ./XFCE/git/thunar-volman.build/thunar-volman/thunar-volman --device-added /sys/dev/block/180:1; echo; mount; echo /dev/sda5 on / type reiserfs (rw) /dev/sda4 on /mnt type reiser4 (rw) none on /dev/shm type tmpfs (rw,noexec,nosuid,nodev,size=1024M) usbfs on /proc/bus/usb type usbfs (rw) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) (thunar-volman:31218): thunar-volman-DEBUG: tvm_device_added: (thunar-volman:31218): thunar-volman-DEBUG: UDEV_LOG = 3 (thunar-volman:31218): thunar-volman-DEBUG: DEVPATH = /devices/pci0000:00/0000:00:1a.7/usb7/7-6/7-6:1.0/block/uba/uba1 (thunar-volman:31218): thunar-volman-DEBUG: MAJOR = 180 (thunar-volman:31218): thunar-volman-DEBUG: MINOR = 1 (thunar-volman:31218): thunar-volman-DEBUG: DEVNAME = /dev/uba1 (thunar-volman:31218): thunar-volman-DEBUG: DEVTYPE = partition (thunar-volman:31218): thunar-volman-DEBUG: SUBSYSTEM = block (thunar-volman:31218): thunar-volman-DEBUG: ID_PATH = pci-0000:00:1a.7-usb-0:6:1.0 (thunar-volman:31218): thunar-volman-DEBUG: UDISKS_PRESENTATION_NOPOLICY = 0 (thunar-volman:31218): thunar-volman-DEBUG: UDISKS_PARTITION = 1 (thunar-volman:31218): thunar-volman-DEBUG: UDISKS_PARTITION_SCHEME = mbr (thunar-volman:31218): thunar-volman-DEBUG: UDISKS_PARTITION_NUMBER = 1 (thunar-volman:31218): thunar-volman-DEBUG: UDISKS_PARTITION_TYPE = 0x83 (thunar-volman:31218): thunar-volman-DEBUG: UDISKS_PARTITION_SIZE = 1998710784 (thunar-volman:31218): thunar-volman-DEBUG: UDISKS_PARTITION_FLAGS = boot (thunar-volman:31218): thunar-volman-DEBUG: UDISKS_PARTITION_SLAVE = /sys/devices/pci0000:00/0000:00:1a.7/usb7/7-6/7-6:1.0/block/uba (thunar-volman:31218): thunar-volman-DEBUG: UDISKS_PARTITION_OFFSET = 32256 (thunar-volman:31218): thunar-volman-DEBUG: UDISKS_PARTITION_ALIGNMENT_OFFSET = 0 (thunar-volman:31218): thunar-volman-DEBUG: DEVLINKS = /dev/block/180:1 /dev/disk/by-path/pci-0000:00:1a.7-usb-0:6:1.0-part1 (thunar-volman:31218): thunar-volman-DEBUG: tvm_g_volume_monitor_get_volume_for_kind ( 0x8053350, unix-device, /dev/uba1 ): (thunar-volman:31218): thunar-volman-DEBUG: tvm_g_volume_monitor_get_volume_for_kind: volumes = 0x807df10 (thunar-volman:31218): thunar-volman-DEBUG: tvm_g_volume_monitor_get_volume_for_kind: Check value = /dev/sdb1, identifier = /dev/uba1 (thunar-volman:31218): thunar-volman-DEBUG: tvm_g_volume_monitor_get_volume_for_kind: Not match. (thunar-volman:31218): thunar-volman-DEBUG: tvm_g_volume_monitor_get_volume_for_kind: Check value = /dev/uba1, identifier = /dev/uba1 (thunar-volman:31218): thunar-volman-DEBUG: tvm_g_volume_monitor_get_volume_for_kind: OK. Set volume for value = /dev/uba1, identifier = /dev/uba1 (thunar-volman:31218): thunar-volman-DEBUG: tvm_block_device_mount_finish: g_volume_mount_finish ( uba1, 0x8071ae0, (nil) ): TRUE (thunar-volman:31218): thunar-volman-DEBUG: tvm_block_device_mount_finish: Device mounted but mount = (nil) (thunar-volman:31218): thunar-volman-DEBUG: tvm_block_device_mount_finish: g_volume_get_name uba1 (thunar-volman:31218): thunar-volman-DEBUG: tvm_block_device_mount_finish: g_volume_get_uuid (null) (thunar-volman:31218): thunar-volman-DEBUG: tvm_block_device_mount_finish: g_volume_get_icon 0x80534a8 (thunar-volman:31218): thunar-volman-DEBUG: tvm_block_device_mount_finish: g_volume_get_drive (nil) (thunar-volman:31218): thunar-volman-DEBUG: tvm_block_device_mount_finish: g_volume_get_mount (nil) (thunar-volman:31218): thunar-volman-DEBUG: tvm_block_device_mount_finish: g_volume_can_mount 1 (thunar-volman:31218): thunar-volman-DEBUG: tvm_block_device_mount_finish: g_volume_should_automount 1 (thunar-volman:31218): thunar-volman-DEBUG: tvm_block_device_mount_finish: g_volume_get_activation_root (nil) thunar-volman: Unable to locate mount point. /dev/sda5 on / type reiserfs (rw) /dev/sda4 on /mnt type reiser4 (rw) none on /dev/shm type tmpfs (rw,noexec,nosuid,nodev,size=1024M) usbfs on /proc/bus/usb type usbfs (rw) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) /dev/uba1 on /media/uba1 type ext2 (rw,noexec,nosuid,nodev,user=xor) ----------------------------------------- uname -rsvpi Linux 2.6.32.24-1-i686-s32 #1 SMP Sat Nov 6 23:01:27 MSK 2010 Celeron(R) Dual-Core CPU T3100 @ 1.90GHz GenuineIntel udevadm --version 163 glib-2.26.0 cat /etc/fstab #/dev/ram / ext2 defaults 1 1 /dev/sda5 / reiserfs defaults 1 1 /swapfile swap swap defaults 0 0 #/dev/sda4 /mnt reiserfs defaults 1 1 /dev/sda4 /mnt reiser4 defaults 1 1 #/dev/shm tmpfs defaults 0 0 none /dev/shm tmpfs defaults,size=1024M,noexec,nodev,nosuid 0 0 usbfs /proc/bus/usb usbfs defaults 0 0 /dev/uba1 /media/uba1 ext2 defaults,noauto,user 0 0 /dev/sdb1 /media/sdb1 reiserfs defaults,noauto,user 0 0 #/dev/uba1 /media/uba1 auto defaults,noauto,user 0 0 #/dev/uba1 /media/usb vfat noauto,owner 0 0
I understand that it is not a thunar-volman bug, but a bug in glib.
According to https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/256749 this bug is likely fixed, and was not an Xfce bug in the first place. It should be marked closed/invalid.
Agreed re Comment #2.