! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Thunar mounts USB flash with wrong encoding
Status:
RESOLVED: WORKSFORME
Product:
Thunar-vfs
Component:
General

Comments

Description Vitaut Bajaryn 2010-03-30 13:04:18 CEST
When I try to mount a USB flash, Thunar says:
"Cannot mount "CRUZER".
mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error
In some cases useful info is found in syslog - try dmesg | tail or so ."
dmesg|tail: "FAT: IO charset utf-8 not found". When mounting manually with "iocharset=utf8" it works.
I set the default encoding in kernel to "utf8" and am using Gentoo.
Comment 1 Vitaut Bajaryn 2010-04-25 10:04:51 CEST
I can't mount any USB storage devices. And don't want to add everything to FSTab. Is there a way to set the default encoding to "utf8"? Or set in FSTab to mount any removable FAT32 devices with "iocharset=utf8,umask=000"?
Comment 2 Raphael Groner 2011-07-21 03:40:38 CEST
You could solve that with an udev rule since Xfce4 uses udev for automount of usb storage devices.

For instance:

# Filesystem-specific mount options
ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},utf8,gid=100,umask=002"

See also: https://wiki.archlinux.org/index.php/Udev#Auto_mounting_USB_devices
Comment 3 Robby Workman editbugs 2014-11-16 08:46:27 CET
If I'm not mistaken, this has been resolved by changes to the components that xfce/thunar uses for mounting of removable devices; in essence, this bug should no longer exist. Please reopen if I'm incorrect.
Comment 4 Vitaut Bajaryn 2014-11-16 13:25:37 CET
Yes, nowadays this works correctly out-of-the-box (On KDE now, but must be the same in Xfce).

Bug #6353

Reported by:
Vitaut Bajaryn
Reported on: 2010-03-30
Last modified on: 2014-11-16

People

Assignee:
Jannis Pohlmann
CC List:
3 users

Version

Version:
unspecified

Attachments

Additional information