Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2019 14:38:21 +0700
From:      Victor Sudakov <vas@sibptus.ru>
To:        freebsd-questions@freebsd.org
Subject:   Re: autofs problems
Message-ID:  <20191026073821.GA20100@admin.sibptus.ru>

next in thread | raw e-mail | index | archive | help

--MGYHOYXEY6WxJCY8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Victor Sudakov wrote:
>=20
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241475
> 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@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=3D${_fstype},nosuid,async   :/dev/${_p}"
+               # by VAS
+               echo "-fstype=3D${_fstype},nosuid,async,-L=3Dru_RU.UTF-8,-D=
=3DCP866   :/dev/${_p}"
                ;;
        *)
                echo "-fstype=3D${_fstype},nosuid :/dev/${_p}"
root@vas:~ #=20


--=20
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

--MGYHOYXEY6WxJCY8
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJds/ftAAoJEA2k8lmbXsY0bBEH/0TCEMIUvamUt976NywDm10u
FrGzqzWuZUgvlZRJCNFbISbKS+JbC1YXJjDS3rTMTuV2I81ipyjW44J5Qk4wfGWm
SP2hLN5TLbHboT8lEhRKsj/qBnbnqi0yfjhvrwVY57agB8/6d031vA7M/0wywOKF
0w0xsIPf60RpTxU82YAvU82D8yUSvWE/aYblDpF0WBZX0KZq9I7J0t2aOdscDz2n
Td5PSJkGt+8yQw+65aobHyWLY4PQSHPijP41tCcGwN0e+h6JseGoxVxHOCgPz3wh
pY5ylNh9FHgjXu9oiFZ2tzEtqZOKiPb1vuZUoobH/6SjHA/EWc9nf+ReALOAWS0=
=E85u
-----END PGP SIGNATURE-----

--MGYHOYXEY6WxJCY8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191026073821.GA20100>