From owner-freebsd-questions@FreeBSD.ORG Tue Dec 5 06:39:58 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 E39AA16A407 for ; Tue, 5 Dec 2006 06:39:58 +0000 (UTC) (envelope-from fbsd-questions@mawer.org) Received: from customer-domains.icp-qv1-irony11.iinet.net.au (customer-domains.icp-qv1-irony11.iinet.net.au [203.59.1.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6AE143CA8 for ; Tue, 5 Dec 2006 06:39:20 +0000 (GMT) (envelope-from fbsd-questions@mawer.org) Received: from 203-206-173-235.perm.iinet.net.au (HELO [10.24.1.1]) ([203.206.173.235]) by customer-domains.icp-qv1-irony11.iinet.net.au with ESMTP; 05 Dec 2006 14:38:50 +0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAEqjdEXLzq3r/2dsb2JhbAAN X-IronPort-AV: i="4.09,496,1157299200"; d="scan'208"; a="71534220:sNHT1795039218" Message-ID: <45751370.7040704@mawer.org> Date: Tue, 05 Dec 2006 17:36:32 +1100 From: Antony Mawer User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: =?UTF-8?B?5byg6Z+h5q2m?= References: <1165282478.5417.6.camel@joe.realss.com> <200612041946.15303.lane@joeandlane.com> <457507A4.40101@u.washington.edu> <457509AA.5030007@u.washington.edu> <1165300128.5417.36.camel@joe.realss.com> In-Reply-To: <1165300128.5417.36.camel@joe.realss.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Garrett Cooper , freebsd-questions@freebsd.org 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 06:39:59 -0000 On 5/12/2006 5:28 PM, 张韡武 wrote: > 在 2006-12-04一的 21:54 -0800,Garrett Cooper写道: >> Also, I'm not sure if FreeBSD has been configured to run the particular >> character set you need (nor am I sure where any documentation may be >> regarding how to set that up), but you also want to explore getting that >> solved in tandem with the mount_smbfs item. > > I read carefully with mount_smbfs and as far as I can tell mount_smbfs > is using iconv lib which compiled as kernel module. After I run > mount_smbfs I checked and made sure libiconv.ko is automatically loaded. > According to documents, mount_smbfs automatically load this kernel ... I don't know if this is at all useful, but I have come across the following patches, which appear to have been ported from Darwin, to improve handling of multibyte character sets: http://people.freebsd.org/~imura/kiconv/ It would be interesting to see these committed (if they are valuable), as I know there are issues with FreeBSD mount_smbfs when operating against the Mac OSX samba implementation, which (I am told) only speaks UCS2. Given the work already gone into these, it would be nice to see them finished off and committed... I wonder how many other smbfs-related improvements may exist in Darwin that might be worth looking at? http://www.opensource.apple.com/darwinsource/10.4.8.x86/smb-217.18/ Cheers Antony