From owner-freebsd-questions@FreeBSD.ORG Tue Dec 5 01:43:41 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 51C4F16A412 for ; Tue, 5 Dec 2006 01:43:41 +0000 (UTC) (envelope-from lane@joeandlane.com) Received: from elasmtp-dupuy.atl.sa.earthlink.net (elasmtp-dupuy.atl.sa.earthlink.net [209.86.89.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B5FE43CA2 for ; Tue, 5 Dec 2006 01:43:04 +0000 (GMT) (envelope-from lane@joeandlane.com) Received: from [66.47.111.183] (helo=joeandlane.com) by elasmtp-dupuy.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1GrPLP-0003Jg-Ex for freebsd-questions@freebsd.org; Mon, 04 Dec 2006 20:43:39 -0500 Received: from joeandlane.com (localhost.localnet.local [127.0.0.1]) by joeandlane.com (8.13.8/8.13.1) with ESMTP id kB51kFYD019636 for ; Mon, 4 Dec 2006 19:46:15 -0600 (CST) (envelope-from lane@joeandlane.com) Received: from localhost (localhost [[UNIX: localhost]]) by joeandlane.com (8.13.8/8.13.1/Submit) id kB51kFQ0019484 for freebsd-questions@freebsd.org; Mon, 4 Dec 2006 19:46:15 -0600 (CST) (envelope-from lane@joeandlane.com) X-Authentication-Warning: joeandlane.com: lholcombe set sender to lane@joeandlane.com using -f From: Lane To: freebsd-questions@freebsd.org Date: Mon, 4 Dec 2006 19:46:15 -0600 User-Agent: KMail/1.9.4 References: <1165282478.5417.6.camel@joe.realss.com> In-Reply-To: <1165282478.5417.6.camel@joe.realss.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200612041946.15303.lane@joeandlane.com> X-CD-SOLUTIONS-MailScanner-Information: Please contact the ISP for more information X-CD-SOLUTIONS-MailScanner: Found to be clean X-CD-SOLUTIONS-MailScanner-From: lane@joeandlane.com X-ELNK-Trace: e56a4b6ca9bdfda11aa676d7e74259b7b3291a7d08dfec7903772f69354e203482d77f0c04a4acd5350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 66.47.111.183 Subject: Re: (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:43:41 -0000 On Monday 04 December 2006 19:34, 张韡武 wrote: > 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? > weiwu, One thing comes to mind: Try your question here: http://us1.samba.org/samba/docs/FAQ/ and here: http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/ and here: http://us1.samba.org/samba/archives.html and here: https://lists.samba.org/mailman/ Your question is specific to samba, and probably not related to FreeBSD-specific issues. lane P.S. I note that the hosts in the links above are mostly "us1." That's probably something to do with the language specification on my system, but may be different for you. Check out www.samba.org for better links.