From owner-freebsd-questions@FreeBSD.ORG Thu Sep 18 23:58:52 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 D922F1065674 for ; Thu, 18 Sep 2008 23:58:52 +0000 (UTC) (envelope-from ronggui.huang@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.191]) by mx1.freebsd.org (Postfix) with ESMTP id 639738FC25 for ; Thu, 18 Sep 2008 23:58:52 +0000 (UTC) (envelope-from ronggui.huang@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so44613tid.3 for ; Thu, 18 Sep 2008 16:58:51 -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:mime-version:content-type:content-transfer-encoding :content-disposition; bh=iyS49yzbP3fGzRr9O3ItGiiIuaaasc/+GBRkxxcdR60=; b=bY9U39anq9hUfRFB+lA3A245YIs+sBtztT9H9XkaGAQ6SalpJ43l5rfwci4xcWU/Cc yM+rIewDZSnEuzbCS771i9H65n97oYehKiKOcOwewIWibf1jTPYsknIRRhCrIK7DoE5v 1GyYFiADQ98CWjIWFBc02IQ+Uch6KM1JiUIkI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=g0emoPN7bEDhVEDo8Wo1Z3sMaXza7xhBduzDndQ/ku+bAY5Nekg2fjCDXzHsWdscXe f0qV/wnmrLI+hsL7MX3ZYm34DZrMO+djsWMz/tbCXwETBYlvEey32B9tPZ88o6NFaYMF PlLCjwy+nkTXqUwb+j7aYTE0RxoOtJ7Xs+p6w= Received: by 10.110.5.14 with SMTP id 14mr5897585tie.47.1221782330982; Thu, 18 Sep 2008 16:58:50 -0700 (PDT) Received: by 10.110.41.5 with HTTP; Thu, 18 Sep 2008 16:58:50 -0700 (PDT) Message-ID: <38b9f0350809181658x22adbfaexacdcf65a9e60c8d5@mail.gmail.com> Date: Fri, 19 Sep 2008 07:58:50 +0800 From: ronggui To: "User Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: 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: Thu, 18 Sep 2008 23:58:52 -0000 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. 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/