autofs problems
Victor Sudakov
vas at sibptus.ru
Sat Oct 26 07:38:24 UTC 2019
Victor Sudakov wrote:
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241475
> autofs: no way to pass locale options to msdosfs
I had to modify /etc/autofs/special_media directly, but this is kind of
ugly. There definitely should be a configuration option.
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:13:23.654008000 +0700
@@ -58,7 +58,8 @@
fi
;;
"ext2fs" | "msdosfs")
- echo "-fstype=${_fstype},nosuid,async :/dev/${_p}"
+ # by VAS
+ echo "-fstype=${_fstype},nosuid,async,-L=ru_RU.UTF-8,-D=CP866 :/dev/${_p}"
;;
*)
echo "-fstype=${_fstype},nosuid :/dev/${_p}"
root at vas:~ #
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20191026/28136e41/attachment.sig>
More information about the freebsd-questions
mailing list