Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 254566

Summary: gnome-base/gnome-mount - unicode support with vfat
Product: Gentoo Linux Reporter: Alex Kocherov <akocherov>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED WONTFIX    
Severity: normal CC: marcin.deranek, serkan
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: this patch for gnome-mount.schema
ebuild with adding patch for schema

Description Alex Kocherov 2009-01-11 17:32:46 UTC
many people recompile kernel with this options to support auto mount usb-flash with vfat pertition

File Systems -->
  DOS/FAT/NT Filesystems  -->
    (utf8) Default iocharset for fat

But this don't right way. Right way wrote in this solutions 
Like this:
http://www.gentoo.org/doc/ru/utf-8.xml
http://www.gentoo.org/doc/de/utf-8.xml
http://www.gentoo.org/doc/fr/utf-8.xml

We need mount vfat with utf8 option. But in default gnome-mount.schema don't  have this option.
Comment 1 Alex Kocherov 2009-01-11 17:34:58 UTC
Created attachment 178095 [details, diff]
this patch for gnome-mount.schema
Comment 2 Alex Kocherov 2009-01-11 17:35:44 UTC
Created attachment 178097 [details]
ebuild with adding patch for schema
Comment 3 Serkan Kaba (RETIRED) gentoo-dev 2009-01-11 18:35:54 UTC
isn't the option iocharset=utf8?
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-01-11 19:33:01 UTC
gnome-mount provides a panel for nautilus properties precisely to do that. utf-8 charset for vfat systems is often enough a wrong idea so there is no way it's going to be the default. Thanks for reporting anyway.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-01-11 19:33:39 UTC
wontfix per previous comment
Comment 6 Alex Kocherov 2009-01-12 08:00:39 UTC
(In reply to comment #4)
> gnome-mount provides a panel for nautilus properties precisely to do that.
> utf-8 charset for vfat systems is often enough a wrong idea so there is no way
> it's going to be the default. Thanks for reporting anyway.
> 

Саn you try to write example where option utf8 for vfat is wrong?

PS: see ebuild this option will be set to default with use-flag unicode
Comment 7 Alex Kocherov 2009-01-12 08:02:50 UTC
(In reply to comment #3)
> isn't the option iocharset=utf8?
> 

Yes isn't, see /usr/src/linux/Documentation/filesystems/vfat.txt
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-01-25 13:07:33 UTC
*** Bug 301999 has been marked as a duplicate of this bug. ***
Comment 9 Marcin Deranek 2010-01-25 21:02:48 UTC
BTW: To get nautilius properties for setting mount options you need to add nautilius use flag when emerging gnome-mount as this is not enabled by default. Again, at best you can set mount options per drive *ONLY* when some media is actually inserted. Taking into account that modern card readers present themselves as multiple drives (eg. one for CompactFlash, one for SD, one for MemoryStick etc.) this make the whole exercise a bit painful if you're dealing with different flash cards..
Most likely running gconf-editor and setting /system/storage/default_options/vfat once is a better alternative. But will I remember it if I want get the very same setup on a different box in a month time ? Probably not.. Is there a way to get it working out of the box ? Other Linux distos somehow managed to do that..