locales and foreign filenames with fat partitions
Hello,
I am trying to mount my fat partition with the option: iocharset=iso8859-8, but when I add that option I get the following error message:
-------------------------
bash-2.05b# mount winc
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
or too many mounted file systems
-------------------------
I changed this line in fstab:
-------------------------
/dev/hda1 /mnt/winc vfat user,auto,exec,rw,gid=100,uid=1000,iocharset=iso8859-8 0 0
-------------------------
All I want is to see herbew filenames on fat/ntfs partitions, I guess that I have to define somehow utf encoding (UTF-8), so I tried different methods ( I really don't know how it works):
first I ran these commands (as root), after I grabbed it from some guide for gentoo:
localedef -i he_IL -f UTF-8 he_IL.UTF-8
localedef -i en_US -f UTF-8 en_US.UTF-8
then I tried this:
LANG=en_US.UTF-8
LC_CTYPE=he_IL.UTF-8
LC_NUMERIC=he_IL.UTF-8
LC_TIME=he_IL.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=he_IL.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=he_IL.UTF-8
LC_NAME=he_IL.UTF-8
LC_ADDRESS=he_IL.UTF-8
LC_TELEPHONE=he_IL.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=he_IL.UTF-8
LC_ALL=
and put these definitions both in my /etc/profile (for everybody) and in case something goes wrong with that, I put it in /home/my_user/.bashrc as well.
I tried different options with mount:
iocharset=utf8
didn't work too.. though I found it in the man page for "mount" entry.
I don't really know what to do next, so I have to ask for your help.
I have slackware 9.1 with kernel 2.6.6.
thanx.
|