thunar-volman: Unknown block device type "disk".
Submitted by Sam Varshavchik
Assigned to Jannis Pohlmann
Description
thunar-volman 0.8.1 (Fedora 25)
Plugging in a particular thumb drive, the following gets dumped to syslog:
Dec 31 13:04:18 thinkpad kernel: usb 3-2: new high-speed USB device number 3 using xhci_hcd Dec 31 13:04:18 thinkpad kernel: usb 3-2: New USB device found, idVendor=0781, idProduct=5575 Dec 31 13:04:18 thinkpad kernel: usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Dec 31 13:04:18 thinkpad kernel: usb 3-2: Product: Cruzer Glide Dec 31 13:04:18 thinkpad kernel: usb 3-2: Manufacturer: SanDisk Dec 31 13:04:18 thinkpad kernel: usb 3-2: SerialNumber: 2005194263165E0311F4 Dec 31 13:04:18 thinkpad kernel: usb-storage 3-2:1.0: USB Mass Storage device detected Dec 31 13:04:18 thinkpad kernel: scsi host6: usb-storage 3-2:1.0 Dec 31 13:04:18 thinkpad mtp-probe: checking bus 3, device 3: "/sys/devices/pci0000:00/0000:00:1c.6/0000:0e:00.0/usb3/3-2" Dec 31 13:04:18 thinkpad mtp-probe: bus: 3, device: 3 was not an MTP device Dec 31 13:04:18 thinkpad org.xfce.FileManager: thunar-volman: Unsupported USB device type "usb". Dec 31 13:04:18 thinkpad org.xfce.FileManager: thunar-volman: Unsupported USB device type "usb-storage". Dec 31 13:04:19 thinkpad kernel: scsi 6:0:0:0: Direct-Access SanDisk Cruzer Glide 1.00 PQ: 0 ANSI: 6 Dec 31 13:04:19 thinkpad kernel: sd 6:0:0:0: Attached scsi generic sg2 type 0 Dec 31 13:04:19 thinkpad kernel: sd 6:0:0:0: [sdb] 30464000 512-byte logical blocks: (15.6 GB/14.5 GiB) Dec 31 13:04:19 thinkpad kernel: sd 6:0:0:0: [sdb] Write Protect is off Dec 31 13:04:19 thinkpad kernel: sd 6:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA Dec 31 13:04:19 thinkpad kernel: sdb: sdb1 Dec 31 13:04:19 thinkpad kernel: sd 6:0:0:0: [sdb] Attached SCSI removable disk Dec 31 13:04:19 thinkpad org.xfce.FileManager: thunar-volman: Unknown block device type "disk".
And the new volume does not appear in Thunar.
The kernel itself has no issues reading the thumb drive:
[root@thinkpad ~]# fdisk /dev/sdb
Welcome to fdisk (util-linux 2.28.2). Changes will remain in memory only, until you decide to write them. Be careful before using the write command.
Command (m for help): p Disk /dev/sdb: 14.5 GiB, 15597568000 bytes, 30464000 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x567e68e2
Device Boot Start End Sectors Size Id Type /dev/sdb1 * 2048 30463999 30461952 14.5G c W95 FAT32 (LBA)
And I can mount it manually without any apparent issues:
[root@thinkpad 0]# pwd /var/run/user/0 [root@thinkpad 0]# mkdir thumbdrive [root@thinkpad 0]# mount /dev/sdb1 thumbdrive [root@thinkpad 0]# ls -al thumbdrive total 1584 drwxr-xr-x. 6 root root 8192 Dec 31 1969 . drwx------. 4 root root 100 Dec 31 13:07 .. drwxr-xr-x. 4 root root 8192 Dec 31 06:24 boot -rwxr-xr-x. 1 root root 389408 Dec 9 04:52 bootmgr -rwxr-xr-x. 1 root root 1178976 Nov 2 02:12 bootmgr.efi drwxr-xr-x. 4 root root 8192 Dec 31 06:24 efi -rwxr-xr-x. 1 root root 1048 Sep 25 12:06 reagent.xml drwxr-xr-x. 2 root root 8192 Dec 31 06:24 sources drwxr-xr-x. 2 root root 8192 Dec 31 06:24 'System Volume Information' [root@thinkpad 0]# umount /dev/sdb1
Version: 0.8.0