Re: mount msdosfs with hal
Hi, On Fri, Sep 19, 2008 at 1:58 AM, ronggui [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount msdosfs with hal
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 [EMAIL PROTECTED] wrote: Hi, On Fri, Sep 19, 2008 at 1:58 AM, ronggui [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount msdosfs with hal
Hi, On Fri, Sep 19, 2008 at 5:31 PM, ronggui [EMAIL PROTECTED] wrote: 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. My bad, yes of course it's with gconf-editor. I've just tried with -L=fr_FR.ISO8859-15 and also with L=zh_CN.eucCN and it's still mounting. $ gconftool-2 --get /system/storage/default_options/vfat/mount_options [longnames,-u=,large,-L=fr_FR.ISO8859-15] from my /var/log/messages: Sep 19 23:15:25 FreeGnome kernel: GEOM_LABEL: Label for provider da0s1 is msdosfs/JETDISK. Sep 19 23:15:31 FreeGnome gnome-keyring-daemon[1724]: adding removable location: volume_uuid_33D4_B30C at /usr/home/media/JETDISK___ $ mount|grep msdosfs /dev/msdosfs/JETDISK on /usr/home/media/JETDISK__ (msdosfs, local, nosuid) I'm not sure what's going on in your case sorry. You could try to report your problem at freebsd-gnome@ mailing list but read http://www.freebsd.org/gnome/docs/halfaq.html#q4 before. Don't know if it makes a difference but I use gnome 2.23.92. PS: the default mount_option is [longnames, -u=] Thanks. On Fri, Sep 19, 2008 at 3:05 PM, Dominique Goncalves [EMAIL PROTECTED] wrote: Hi, On Fri, Sep 19, 2008 at 1:58 AM, ronggui [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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/ 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mount msdosfs with hal
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/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]