From owner-freebsd-questions@FreeBSD.ORG Fri Sep 19 15:31:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8B8E1065678 for ; Fri, 19 Sep 2008 15:31:39 +0000 (UTC) (envelope-from ronggui.huang@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.189]) by mx1.freebsd.org (Postfix) with ESMTP id 52E1B8FC26 for ; Fri, 19 Sep 2008 15:31:39 +0000 (UTC) (envelope-from ronggui.huang@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so273786tid.3 for ; Fri, 19 Sep 2008 08:31:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=jgGpZThEQdiChj0HoYj3t3gkXYu9HjUTs20XtaUsyw0=; b=hPJYeR/pKhjoO0fGXWDcyaXBfe01R/AqlJDFd0lBVj8NXU/aZWxZsH1OH9bOI0xqUS xtBUsrwqRSB8MdUdRwF4H4H7985lDnj0XMTdiCp8jAmVH8EhpQRKVcVbzcC5A8Q4PtI1 LISbe1sDBGf8tovdJMIOtUtOGs3jNCjBlb9AI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=dGI0anNayvpNz1mc/IwBrRzKHB3CxpgEfUuvP9TrpqWBcohPQ66V/mUvsNS7ygN2+G Z3e56DuuldtWHKDtn7uZFk0icYo0w6KnABWfMOBkB+T0FZTCxr1o1asEftnzAU92cjQn /8ZDjgTXh6InlA530F1bwzbFhbwwjiO6lzzPg= Received: by 10.110.3.15 with SMTP id 15mr321679tic.26.1221838297450; Fri, 19 Sep 2008 08:31:37 -0700 (PDT) Received: by 10.110.41.5 with HTTP; Fri, 19 Sep 2008 08:31:37 -0700 (PDT) Message-ID: <38b9f0350809190831y489e03b0k8cd582fb82f7795@mail.gmail.com> Date: Fri, 19 Sep 2008 23:31:37 +0800 From: ronggui To: "Dominique Goncalves" In-Reply-To: <7daacbbe0809190005w7f790684q93d071939e7e6344@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <38b9f0350809181658x22adbfaexacdcf65a9e60c8d5@mail.gmail.com> <7daacbbe0809190005w7f790684q93d071939e7e6344@mail.gmail.com> Cc: User Questions Subject: Re: mount msdosfs with hal 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: Fri, 19 Sep 2008 15:31:40 -0000 You mean by gconf-editor? It is very strange. When I add "-L=zh_CN.eucCN" to the key, it won't mount any msdosfs anymore. PS: the default mount_option is [longnames, -u=] Thanks. On Fri, Sep 19, 2008 at 3:05 PM, Dominique Goncalves wrote: > Hi, > > On Fri, Sep 19, 2008 at 1:58 AM, ronggui wrote: >> Dear all, >> >> I want to use hal to auttomount the windows fat32 partition with >> gnome. after setting gnome_enable="YES", hal automount it, but there >> is a problem. hal seems to execute "mount_msdosfs /dev/xxx >> /mountpoint", so the encoding is not handled correctly. >> If I mount it manually, it should be "mount_msdosfs -D=CP936 >> -L=zh_CN.eucCN /dev/xxx /mountpoint". So my question is how to set the >> things right? I think I need to modify some fdi files, but just can >> not figure out. > > You need to add '-L=zh_CN.eucCN' in > /system/storage/default_options/vfat/mount_options with gedit. > I use this key to add '-o large' to mount correctly my msdosfs > partition of 500GB and it works. > > Hope this helps > >> >> Thanks in advance. Best >> >> >> -- >> HUANG Ronggui, Wincent >> Tel: (00852) 3442 3832 >> Ph.D. Candidate, CityU of HK >> Master of sociology, Fudan University, China >> Bachelor of Social Work, Fudan University, China >> Personal homepage: http://ronggui.huang.googlepages.com/ >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > > Regards. > > -- > There's this old saying: "Give a man a fish, feed him for a day. Teach > a man to fish, feed him for life." > -- HUANG Ronggui, Wincent Tel: (00852) 3442 3832 Ph.D. Candidate, CityU of HK Master of sociology, Fudan University, China Bachelor of Social Work, Fudan University, China Personal homepage: http://ronggui.huang.googlepages.com/