Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2008 09:05:24 +0200
From:      "Dominique Goncalves" <dominique.goncalves@gmail.com>
To:        ronggui <ronggui.huang@gmail.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: mount msdosfs with hal
Message-ID:  <7daacbbe0809190005w7f790684q93d071939e7e6344@mail.gmail.com>
In-Reply-To: <38b9f0350809181658x22adbfaexacdcf65a9e60c8d5@mail.gmail.com>
References:  <38b9f0350809181658x22adbfaexacdcf65a9e60c8d5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Fri, Sep 19, 2008 at 1:58 AM, ronggui <ronggui.huang@gmail.com> 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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7daacbbe0809190005w7f790684q93d071939e7e6344>