[CentOS] Accents in filenames on vfat filesystem

dan1 dan1 at edenpics.com
Sat Sep 3 23:13:08 UTC 2005


>That depends on the 'native' character set you are using.
>
>On my Fedore Core 2 system where the native Linux character set is set to 
>'iso-8859-2' the following in /etc/fstab works wonders (one line):
>
>/dev/hda1                                 /c          vfat 
>defaults,nodev,nosuid,quiet,umask=0000,showexec,noatime,uni_xlate,codepage=437,iocharset=iso8859-2
>
>If your system is set for UTF-8 (like most newer systems) then you'll need 
>to use something else (-o utf8 ?)
>
>Cheers,
>MaZe.

Thank you maze. Tru gave me the answer. We should put those mount options 
for it to work with CentoOS 4:
mount -t vfat -o utf8  /dev/hdb1 /samba_backups

I have tried and it seems to work well. I did not try to mount an already 
written FAT32 disk and look for the result but that's my next step..

Regards,
Daniel






More information about the CentOS mailing list