[Bug 241475] autofs: no way to pass locale options to msdosfs
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Oct 26 07:11:59 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241475
--- Comment #6 from Victor Sudakov <vas at sibptus.ru> ---
(In reply to Masachika ISHIZUKA from comment #5)
Well, I'm not afraid to modify the original /etc/autofs/special_media. In fact
I can make it produce the following output:
root at vas:~ # /etc/autofs/special_media da0
-fstype=msdosfs,nosuid,async,-L=ru_RU.UTF-8,-D=CP866 :/dev/da0
But it's an ugly undocumented way.
root at vas:~ # diff -u /etc/autofs/special_media.bak /etc/autofs/special_media
--- /etc/autofs/special_media.bak 2019-10-26 14:02:02.810753000 +0700
+++ /etc/autofs/special_media 2019-10-26 14:02:59.638463000 +0700
@@ -58,7 +58,7 @@
fi
;;
"ext2fs" | "msdosfs")
- echo "-fstype=${_fstype},nosuid,async :/dev/${_p}"
+ echo "-fstype=${_fstype},nosuid,async,-L=ru_RU.UTF-8,-D=CP866
:/dev/${_p}"
;;
*)
echo "-fstype=${_fstype},nosuid :/dev/${_p}"
root at vas:~ #
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list