misc/165140: mount_msdosfs -W koi2dos cannot read file No.
Andriy Gapon
avg at FreeBSD.org
Wed Feb 15 15:10:07 UTC 2012
The following reply was made to PR misc/165140; it has been noted by GNATS.
From: Andriy Gapon <avg at FreeBSD.org>
To: Thor Ablestar <thor at irk.ru>
Cc: bug-followup at FreeBSD.org
Subject: Re: misc/165140: mount_msdosfs -W koi2dos cannot read file No.
Date: Wed, 15 Feb 2012 17:04:36 +0200
on 15/02/2012 15:53 Thor Ablestar said the following:
>
>> Right. You have to use UTF-8 locale.
>>
> 1. Do I understand correctly that /usr/src/sbin/mount_msdosfs/mount_msdosfs.c
> takes the conversion table from /usr/ports/converters/libiconv ?
Well, as unexpected as it is, the answer is yes.
mount_msdosfs uses libkiconv(3) which dlopen()s libiconv.so, which is not provided
by the base system and thus has to come from a thirdparty, typically the iconv port.
We already have a BSD-licensed iconv in the src tree, but it is not connected to
the build yet.
> 2. As I understand, accessibility of the file containing "No." in it's name
> depends entirely on -L argument for mount_msdosfs command, and not on LC_CTYPE.
That -L controls how the OS internally represents the file names on the filesystem.
> The filenames may LOOK differently but the files are still accessible under their
> garbaged names.
Locale controls output and input of characters.
--
Andriy Gapon
More information about the freebsd-bugs
mailing list