Date: Sat, 13 Jan 2018 23:16:14 -0500 From: Henry Hu <henry.hu.sh@gmail.com> To: blubee blubeeme <gurenchan@gmail.com> Cc: FreeBSD current <freebsd-current@freebsd.org> Subject: Re: msdosfs_iconv Message-ID: <CAEJt7hZ4mTRasMaoXzpvUMJs5JHL2WG__4B-wjJqLTN35jXmtw@mail.gmail.com> In-Reply-To: <CALM2mEkd=9um9T5O0HhhENTfcBcZs149-s_sXBA==4PDUAwvBQ@mail.gmail.com> References: <CALM2mE=D7jfqKC--=iAqMH6JdOOs63DENpscW-ekGtdRZdC%2BHQ@mail.gmail.com> <CAEJt7hbe4XvFzWTCM1-h-ghYZyAN6mnLLLtWS=Tt0gWfy7a9OQ@mail.gmail.com> <CALM2mEkd=9um9T5O0HhhENTfcBcZs149-s_sXBA==4PDUAwvBQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 13, 2018 at 10:56 PM, blubee blubeeme <gurenchan@gmail.com> wrote: > > > On Sun, Jan 14, 2018 at 11:53 AM, Henry Hu <henry.hu.sh@gmail.com> wrote: > >> >> >> On Sat, Jan 13, 2018 at 9:10 PM, blubee blubeeme <gurenchan@gmail.com> >> wrote: >> >>> This is a repost from freebsd-question; Hoping to get more exposure and >>> help here. >>> >>> I am trying to run mount_msdosfs with the option to set locale like this: >>> mount_msdosfs -L en_US.UTF-8 /dev/da0s1 $HOME/usb >>> >>> This returns operation not permitted. >>> >>> usrmount is set to 1 and everything mounts as expected w/o root if I >>> remove >>> the locale option. The problem here is that my document filenames are >>> garbled and I can't actually open the files. >>> >>> kiconvtool: https://wiki.freebsd.org/DmitryMarakasov/kiconvtool >>> is said to work but it does not, after installing it I still get the >>> exact >>> same error. >>> >>> Have you tried to kldload msdosfs_iconv first? >> >> Is there a way to set locale when using mount_msdosfs without sudo? >>> _______________________________________________ >>> freebsd-current@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-current >>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@f >>> reebsd.org" >>> >> >> >> >> -- >> Cheers, >> Henry >> > Yes, /etc/rc.conf has this line: > kld_list="nvidia-modeset msdosfs_iconv" > > I just tried that and it works. I can create filenames in Chinese on the mounted drive. The command I used: > mount_msdosfs -L zh_CN.UTF-8 /dev/da1p1 /tmp/y kernel modules: > kldstat | grep iconv 30 3 0xffffffff8506e000 458f libiconv.ko 33 1 0xffffffff8507a000 801 msdosfs_iconv.ko But I'm using 11.1-STABLE. Maybe something changed? -- Cheers, Henry
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEJt7hZ4mTRasMaoXzpvUMJs5JHL2WG__4B-wjJqLTN35jXmtw>