Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Dec 2006 14:37:34 +0800
From:      =?UTF-8?Q?=E5=BC=A0=E9=9F=A1=E6=AD=A6?= <weiwu@sdf.lonestar.org>
To:        freebsd-net@freebsd.org
Subject:   cannot read windows share
Message-ID:  <1165214254.14766.22.camel@joe.realss.com>

next in thread | raw e-mail | index | archive | help
Using FreeBSD 6.1, I can mount a windows share but the Chinese
characters in folder and file names look junk text to me. Charset
conversion (-E parameter of mount_smbfs) do not work at all. If I do
ls(1) to a directory that has Chinese character in its name, the process
'ls' will take about 80% CPU resource and hang there forever. Ctrl+C
cannot stop it (kill -KILL can). If I run other command that read any
file in the directory that has Chinese character in its name, that
application hangs there taking about 80% CPU resource too.

This process is better illustrated with this screenshot:
gopher://sdf.lonestar.org/I/users/weiwu/mount_chinese_smbshare.png

In the screenshot, I do have mounted the share with -E parameter which
should convert GB18030 folder names to UTF-8 but 
actually no conversion is done (see the ls | iconv which shows what it
should be looking like if the conversion is done)

Actually I have never successfully done charset conversion with
mount_smbfs, what did I do wrong?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1165214254.14766.22.camel>