From owner-freebsd-questions@FreeBSD.ORG Tue Dec 5 01:34:40 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F138716A403 for ; Tue, 5 Dec 2006 01:34:40 +0000 (UTC) (envelope-from weiwu@sdf.lonestar.org) Received: from bossdog.realss.com (bossdog.realss.com [211.157.108.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FAF043CA2 for ; Tue, 5 Dec 2006 01:34:03 +0000 (GMT) (envelope-from weiwu@sdf.lonestar.org) Received: from localhost (unknown [127.0.0.1]) by bossdog.realss.com (Postfix) with ESMTP id C3B211C013C for ; Tue, 5 Dec 2006 09:34:47 +0800 (CST) Received: from bossdog.realss.com ([127.0.0.1]) by localhost (bossdog.realss.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23018-01 for ; Tue, 5 Dec 2006 09:34:45 +0800 (CST) Received: from [218.193.55.195] (unknown [59.57.233.87]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by bossdog.realss.com (Postfix) with ESMTP id 849991C00C6 for ; Tue, 5 Dec 2006 09:34:45 +0800 (CST) From: =?UTF-8?Q?=E5=BC=A0=E9=9F=A1=E6=AD=A6?= To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Tue, 05 Dec 2006 09:34:38 +0800 Message-Id: <1165282478.5417.6.camel@joe.realss.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at bossdog.realss.com Subject: (repost) cannot read windows share X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2006 01:34:41 -0000 This is a re-post, I am getting desperate because my work require me to connect to this share and my colleague can mount the share on Debian. I will have to move to install Debian if I wish to go on working... But I am already used to my BSD. It's too strange to move to another OS for such a tiny problem! Could what I mention below be a bug of FreeBSD mount_smbfs? 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?