Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2012 15:10:07 GMT
From:      Andriy Gapon <avg@FreeBSD.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/165140: mount_msdosfs -W koi2dos cannot read file No.
Message-ID:  <201202151510.q1FFA7Wt085008@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/165140; it has been noted by GNATS.

From: Andriy Gapon <avg@FreeBSD.org>
To: Thor Ablestar <thor@irk.ru>
Cc: bug-followup@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



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