msdosfs_iconv issues

blubee blubeeme gurenchan at gmail.com
Sun Jan 14 01:55:38 UTC 2018


On Sat, Jan 13, 2018 at 1:08 AM, blubee blubeeme <gurenchan at gmail.com>
wrote:

> according to man msdosfs
>
> I can run a command like this:
> mount_msdosfs -L en_US.UTF-8 /dev/da0s1 $HOME/usb
>
> this always returns operation not permitted.
>
> looking into that a bit further it seems that I need to load a
> msdosfs_iconv.ko and that needs to be root, using
> /etc/rc.conf
> or
> /boot/loader.conf
>
> the module is loaded at boot time but I still get operation not permitted.
>
> if I remove the locale option from mount_msdosfs the file loads but of
> course, I cannot read any of my documents.
>
> This seems a bit odd but I understand that constantly loading
> msdosfs_iconv can DDoS the system fine.
>
> How can I mount my drives with locale or at least proper utf-8 encoding?
>

[bumb]
This is the only thing that works so far:
https://forums.freebsd.org/threads/36897/

First mount_msdos -L [locale] with root, then unmount then mount with
regular user.

This totally ruins the point of mounting w/o root permissions.

Is there any way to fix this w/o doing root commands?


More information about the freebsd-questions mailing list