From owner-freebsd-questions@FreeBSD.ORG Fri Sep 19 07:28:03 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 F3529106568A for ; Fri, 19 Sep 2008 07:28:03 +0000 (UTC) (envelope-from dominique.goncalves@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.224]) by mx1.freebsd.org (Postfix) with ESMTP id C46678FC1E for ; Fri, 19 Sep 2008 07:28:03 +0000 (UTC) (envelope-from dominique.goncalves@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so269256rvf.43 for ; Fri, 19 Sep 2008 00:28:03 -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=TuaWamFaz5KgT6hly2J3QUUU3NZFgyzr5HlbqUF1Diw=; b=IlK16IhL2ddEBWib6i5SdzBNzclZbpMb1G25mFlJ7KncdDQpR6vRi0573rhz44lNKO xXJEXe2j4AAP4cobxUxaduRM/DD7FJpmChl67h11lE+heaLe0ilzxuLsS2i7DyhdMG1r 9I0aGPmFiFIVWmUsfeGW90/F+2DCMjcylbeTA= 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=Mo446+ABrBnwfgeVwk+usZD53mDZZC7xoJT7asYSNug+3YEukPvZ9D0wcl8mSKHDvo nzp8ZBOT4m1hbIAPhZ8jzo9miLu0+D7IdX4EmV6UVhfbEVgf9eEJHHg/mIk6zG8y/mko re6s96Q8HPxOMGv493xmV/y9GiJCP16qQOZFs= Received: by 10.141.161.6 with SMTP id n6mr8176358rvo.201.1221807924575; Fri, 19 Sep 2008 00:05:24 -0700 (PDT) Received: by 10.141.40.9 with HTTP; Fri, 19 Sep 2008 00:05:24 -0700 (PDT) Message-ID: <7daacbbe0809190005w7f790684q93d071939e7e6344@mail.gmail.com> Date: Fri, 19 Sep 2008 09:05:24 +0200 From: "Dominique Goncalves" To: ronggui In-Reply-To: <38b9f0350809181658x22adbfaexacdcf65a9e60c8d5@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> 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 07:28:04 -0000 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."