Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2019 07:11:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 241475] autofs: no way to pass locale options to msdosfs
Message-ID:  <bug-241475-227-frqLHR57Gk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-241475-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-241475-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241475

--- Comment #6 from Victor Sudakov <vas@sibptus.ru> ---
(In reply to Masachika ISHIZUKA from comment #5)
Well, I'm not afraid to modify the original /etc/autofs/special_media. In f=
act
I can make it produce the following output:

root@vas:~ # /etc/autofs/special_media da0
-fstype=3Dmsdosfs,nosuid,async,-L=3Dru_RU.UTF-8,-D=3DCP866    :/dev/da0

But it's an ugly undocumented way.

root@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=3D${_fstype},nosuid,async   :/dev/${_p}"
+               echo "-fstype=3D${_fstype},nosuid,async,-L=3Dru_RU.UTF-8,-D=
=3DCP866=20=20
:/dev/${_p}"
                ;;
        *)
                echo "-fstype=3D${_fstype},nosuid :/dev/${_p}"
root@vas:~ #

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241475-227-frqLHR57Gk>