trueos / trueos-docs

9 stars 17 forks source link

Add note about localization option to automount options #53

Open Mrt134 opened 7 years ago

Mrt134 commented 7 years ago

From Issue 1478 (trueos-core):

beanpole135

Fixed in source - looks like the "large" flag in the msdosfs mounting routine got removed recently and that is causing the autofs mounting routine to fail.

If you want to fix it on your system right now, you can just remove that flag from "/etc/autofs/special_autmount" (you can copy the file from here[1] if you like - look at line 46).

[1] https://github.com/trueos/freebsd/blob/drm-next/etc/autofs/special_automount

One of the commits: trueos/freebsd@b350c7d

qpa

Many thanks Ken! I just fixed it on my system plus I added the locale option -L for my German locale setting:

"msdosfs") echo "-fstype=${_fstype},nosuid,async,-L=de_DE.UTF-8,-M=777,-o=longnames :/dev/${_p}"

Feature suggestion: Would it be possible to to automatically check for the system settings and add the corresponding locale option to "special_automount"?

q-pa

Explanation: the -L option was supposed to be formatted bold. It should read -L=de_DE.UTF-8, of course.

beanpole135

The locale option only works on ~50% of the msdosfs devices in my experience, so I if we hardcode it into the mounting routine then we will probably start seeing these error reports about it really quickly. In the old mounttray, we actually had a fallback mechanism where it would try to mount it with one command, then if it failed it would try a "no locale" mounting command after that. Since we moved to autofs for the actual mounting procedures, I do not know if it is possible to use something similar again or not.

q-pa

OK, I agree, more bug reports would not be helpful. Maybe a note could be added in the documentation, so a willing user knows which file to modify.

By the way, will the file special_automount be overwritten with each update?