[Samba] mount.cifs doesn't do japanese?
David Wuertele
dave-gnus at bfnet.com
Mon Sep 13 21:38:51 GMT 2004
On a FC2 system (which includes kernel 2.6.5 and samba-3.0.3), I am
able to use "smbmount" to mount filesystems with japanese filenames on
them by specifying codepage=cp932. But when I mount with "mount.cifs"
the translation from SJIS to UTF-8 isn't done right:
# uname -a
Linux 5nave 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 i686 i386 GNU/Linux
# smbclient --version
Version 3.0.3-5
# mount.cifs --version
mount.cifs version: 1.2
#
# smbmount //my-server/share /mnt/my-server -o codepage=cp932
Password:
# ls -l /mnt/my-server
total 4194336
drwxr-xr-x 1 root root 4096 Sep 3 15:24 日本語
# umount /mnt/my-server
# mount.cifs //my-server/share /mnt/my-server -o codepage=cp932
Password:
# ls -l /mnt/my-server
total 131072
drwxrwxrwx 1 root root 0 Sep 3 15:24 日枥?
#
How can I make mount.cifs properly read Japanese filenames?
Thanks,
Dave
More information about the samba
mailing list