LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 07-17-2009, 12:41 AM   #1
kite
Member
 
Registered: Aug 2003
Posts: 212

Rep: Reputation: 40
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, 05:11 PM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware 13.1
Posts: 1,445

Rep: Reputation: 74
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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 10:27 AM
vfat partition does not mount on lfs logicalfuzz Linux From Scratch 1 09-02-2005 11:12 AM
Can Mandriva mount the utf8 encode reiserfs partition??? homesp Mandriva 0 08-18-2005 08:07 AM
NTFS partition: how to mount with UTF8 charset NullDevice23 Linux - General 0 02-28-2005 09:30 AM
How do I mount remote vfat partition with nfs x9abm Linux - Networking 10 08-29-2003 03:26 AM


All times are GMT -5. The time now is 06:02 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration