LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-17-2009, 01:41 AM   #1
kite
Member
 
Registered: Aug 2003
Location: Shenzhen, China
Distribution: Slackware
Posts: 303

Rep: Reputation: 47
how to set default mount codepage for vfat partition as utf8


The default mount codepage for vfat partition seems to be iso-8859-1, which is not OK for non-English languages. Other than recompilation of kernel, could I set the default mount codepage to utf8 somewhere, so that under xfce thunar, I could mount my vfat format usb disk correctly without wrong encoded ???? file names? I know I could set it in /etc/fstab, but it is not generic enough for different usb drives.
 
Old 07-17-2009, 06:11 PM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,603

Rep: Reputation: 128Reputation: 128
Besides changing /etc/fstab you can of course recompile your kernel with that option set (File systems --> DOS/FAT/NT Filesystems --> VFAT support --> Default codepage for FAT).
I could imagine there is some way to do it with a HAL policy. After looking at this bug I think it would not be worth the work: http://bugzilla.xfce.org/show_bug.cgi?id=2891. You would have to patch and recompile xfce4. Changing one option in your kernel config and recompiling the kernel takes less time.
 
  


Reply

Tags
codepage, default, mount, vfat


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to let hal mount DOS/Win partition with UTF8? shreks Fedora 0 01-16-2006 11:27 AM
vfat partition does not mount on lfs logicalfuzz Linux From Scratch 1 09-02-2005 12:12 PM
Can Mandriva mount the utf8 encode reiserfs partition??? homesp Mandriva 0 08-18-2005 09:07 AM
NTFS partition: how to mount with UTF8 charset NullDevice23 Linux - General 0 02-28-2005 10:30 AM
How do I mount remote vfat partition with nfs x9abm Linux - Networking 10 08-29-2003 04:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration